@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");
:root {
  --font1: "Jost", sans-serif;
  --font2: "Merriweather", serif;
  --color1: #ffbc59;
  --color2: #014305;
  --color3: #f5f5f5;
  --color4: #252525;
  --color5: #252525;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  font-family: var(--font1);
}
.w {
  width: 1200px;
  margin: 0 auto;
}
.fsb {
  display: flex;
  justify-content: space-between;
}
.fsa {
  display: flex;
  justify-content: space-around;
}
.fcc {
  display: flex;
  justify-content: center;
  align-items: center;
}
.e1 {
  text-align: center;
}
a:focus,
button:focus,
textarea:focus,
input:focus {
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  text-decoration: none;
}
.fd {
  flex-direction: column;
  display: flex;
}

/* common  */

h2 {
  color: var(--color5);
  font-weight: 700;
  position: relative;
  font-size: 36px;
  text-align: center;
}
h2:after {
  position: absolute;
  left: 0;
  bottom: -10px;
  right: 0;
  height: 4px;
  width: 80px;
  background: var(--color5);
  content: "";
  margin: 0 auto;
}
p {
  color: var(--color4);
}

/* header  */

.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 30px;
  color: var(--color4);
}

.social-links a {
  color: #333;
  margin-right: 15px;
  text-decoration: none;
}

header {
  background-color: white;
}

.top-bar {
  background-color: #f5f5f5;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

#i1 {
  width: 150px;
}
.search-cart-row {
  display: flex;
  column-gap: 100px;
  justify-content: end;
}
.a44:last-child {
  margin-right: 0;
}
/* removed .i2:last-child rule so icons maintain their right margin by default */
#d9 {
  display: flex;
  align-items: center;
  /* remove absolute positioning so header items don't overlap and align responsively */
  position: absolute;
  /* left: auto; */
  /* margin-left: 20px; */
  top: 5px;
  right: 0;
}
#d10 {
  text-align: center;
}
#i5 {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.s4 {
  font-weight: bold;
  font-size: 17px;
  color: var(--color4);
}
.nav-row {
  /* keep nav vertically aligned with logo */
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: -20px;
}
#d1234 {
  display: none;
}
.header-top-row {
  display: flex;
  justify-content: space-between;
  /* center logo and header controls vertically on desktop */
  align-items: center;
  margin-top: 8px;
  position: relative;
}
.header-right-content {
  height: auto;
  width: auto;
  margin-top: 10px;
}
.i2 {
  width: 15px;
  height: auto;
  margin-right: 10px;
}

/* Ensure the last .i2 in a list has no right margin (overrides the default 10px) */
#i222 {
  margin-right: 0 !important;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 70px;
  justify-content: end;
}

/* Make nav itself a flex container so the nav list and the search form align on one row */
nav {
  display: flex;
  align-items: center;
  gap: 20px; /* space between menu and search */
}

nav a {
  text-decoration: none;
  color: var(--color4);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--color2);
}

.search-bar {
  display: flex;
  gap: 0;
  width: auto;
}

.search-input {
  flex: 1;
  padding: 0px 20px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  border-right: none;
  height: 45px;
  width: fit-content;
}

.search-btn {
  background-color: var(--color2);
  color: white;
  padding: 0px 30px;
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  white-space: nowrap;
  height: 45px;
  width: fit-content;
}

#z11d1 {
  width: 150px;
  display: flex;
  justify-content: center;
}

/* --- Mobile Menu Styles --- */

.mobile-menu,
.mobile-menu * {
  box-sizing: border-box;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  padding: 20px;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

#i1-mobile {
  width: 150px;
}

.close-btn {
  font-size: 30px;
  cursor: pointer;
  color: var(--color4);
}

.mobile-top-bar {
  padding: 20px 0;
  font-size: 16px;
  color: var(--color4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* This is a safeguard; the search bar is removed from HTML but kept here for completeness */
.mobile-search-bar-wrap {
  display: none !important;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-top: 1px solid #e0e0e0;
}

.mobile-nav ul li a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  color: var(--color4);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-nav ul li a:hover {
  color: var(--color2);
}

.mobile-nav .dropdown-menu {
  padding-left: 20px;
  background-color: #f5f5f5;
}

.mobile-nav .dropdown-menu li a {
  padding: 10px 0;
  font-size: 16px;
  text-transform: none;
}

.mobile-social-links {
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

/* footer  */
.d101 {
  width: 29%;
  flex-direction: column;
  display: flex;
}
.a102 {
  color: var(--color2);
  font-weight: bold;
}
.a102:hover {
  text-decoration: underline;
}
.d102 {
  width: 18%;
  flex-direction: column;
  display: flex;
}
#i100 {
  width: 120px;
  margin-bottom: 20px;
}
.a100:hover {
  color: var(--color2);
  font-weight: 500;
}

.s100 {
  font-size: 16px;
  color: var(--color5);
  line-height: 24px;
  list-style: none;
  margin-bottom: 15px;
}
.hhhh100 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color5);
}
.a100 {
  font-size: 16px;
  color: var(--color4);
  margin-bottom: 15px;
}
.in100 {
  width: 60%;
  height: 35px;
  padding: 0 10px;
  border: 1px solid var(--color5);
}
.bt100 {
  width: 40%;
  height: 35px;
  padding: 0 10px;
  background-color: var(--color2);
  color: white;
  text-transform: uppercase;
  margin-left: -6px;
  font-size: 15px;
  font-weight: 700;
}
.s101 {
  padding: 0px 0 15px 0;
  color: var(--color5);
}
.i101 {
  width: 15px;
  height: 15px;
}
.a101 {
  display: inline-block;
  margin: 0 5px;
  background-color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  color: black;
  text-decoration: none;
  align-items: center;
  display: flex;
  justify-content: center;
}
.social-media-icons {
  display: flex;
  padding: 20px 0;
}
.copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  border-top: 1px solid var(--color5);
  margin-top: 30px;
  color: var(--color5);
}
.copyright a:hover {
  text-decoration: underline;
}
#ft {
  background-color: var(--color3);
  padding: 80px 0 0 0;
}
.i105 {
  color: var(--color1);
}
.search-bar {
  align-items: center;
  display: flex;
}
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 35px;
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 3px solid var(--color2);
  margin-top: 0;
  flex-direction: column;
  gap: 0px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  padding: 12px 20px;

  font-weight: 500;
  transition: all 0.3s;
  width: 100%;
  display: flex;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  color: var(--color4);
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
  color: var(--color2);
  padding-left: 25px;
}

/* Dropdown Arrow Indicator */
/* .dropdown > a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.3s;
} */

.ko1 {
  color: red;
}

@media screen and (max-width: 1240px) {
  .w {
    width: 96%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1150px) {
  nav ul{gap:40px;}
}

@media screen and (max-width: 1000px) {
  .search-bar {
    width: 260px;
  }
  .search-input {
    width: 70%;
  }
  .search-btn {
    width: 30%;
    padding: 0px 10px;
  }
  nav ul {
    gap: 60px;
  }
  #d9 {
    left: 210px;
  }

  .search-new {
    width: auto;
  }
  .bt100 {
    font-size: 13px;
  }

    /* header  */
  /* Show the menu icon */
  #d1234 {
    display: block;
    cursor: pointer;
    padding: 5px;
  }

  /* Hide Desktop Navigation and Socials */
  .desktop-nav,
  .desktop-social-links {
    display: none !important;
  }

  /* HIDE Phone Contact Info in the main header */
  #d9 {
    position: unset;
    display: none;
    padding: 10px;
  }
  .d99 {
    display: block !important;
  }
  #d10 {
    text-align: center;
  }

  /* Keep Search Bar visible by ensuring its container is visible */
  .desktop-only-search {
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 0;
    width: 100%;
    margin-top: 15px;
  }

  /* Adjust header structure for mobile */
  .header-top-row {
    align-items: start;
    margin-top: 0;
    padding: 10px 20px 0 20px;
  }

  .header-right-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
  }

  .nav-row {
    justify-content: end;
    width: 100%;
    margin-top: 10px;
  }

  #z11d1 {
    width: auto;
  }
  .mobile-menu {
    text-align: center;
  }
  .mobile-menu-header {
    justify-content: center;
  }
  .close-btn {
    position: absolute;
    top: 20px;
    left: 50px;
  }
  .mobile-nav .dropdown-menu {
    padding-left: 0px;
    left: 50%;
    top: 90px;
    transform: translate(-50%, -50%);
  }

  #desSeach {
    display: none;
  }

  .mobile-nav{justify-content: center;}
}
@media screen and (max-width: 768px) {
  /* footer  */
  #d100 {
    flex-wrap: wrap;
  }
  .d101 {
    width: 33%;
    padding: 10px 0;
  }
  .d102 {
    width: 24%;
  }
  .d103 {
    width: 50%;
  }
  .in100 {
    padding-top: 1px;
  }


}

@media screen and (max-width: 576px) {
  /* footer  */
  .d101,
  .d102,
  #d103 {
    width: 46%;
  }
  #ft {
    padding: 40px 0 0 0;
  }

  /* header  */
  .header-top-row {
    padding: 0px;
  }

  #i1 {
    width: 150px;
  }
  .search-bar {
    width: 250px;
  }
  .top-bar {
    display: flex;
    justify-content: center;
  }
  /* footer  */
  .d101,
  .d102,
  #d103 {
    width: 100%;
    text-align: center;
    align-items: center;
    padding: 10px 0;
  }
}

@media screen and (max-width: 460px) {
  /* header  */
  .header-top-row {
    flex-direction: column;
    align-items: center;
  }
  .desktop-only-search {
    justify-content: center;
    margin-top: 5px;
  }
  .top-bar-left {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  #d1234 {
    position: absolute;
    top: 0;
  }
}
