
@media (min-width: 1600px) {
  .main-menu-btn{
    /*color: red !important;*/
    padding: 3px 5px !important;
    font-size: 14px !important;
  }
}

/* ================= BASE ================= */
.site-header {
  background: #fff;
  font-family: "Manrope", sans-serif;
}

/* ================= TOP ================= */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.brand img {
  height: 44px;
}

.brand-text {
  line-height: 16px;
}

.brand-text strong {
  font-size: 28px;
  font-weight: 700;
}

.brand-text span {
  font-size: 14px;
  color: #424242;
}

/* ================= ICONS ================= */
.header-icons {
  display: flex;
  gap: 18px;
  list-style: none;
}

.header-icons i {
  color: #6cab1f;
  font-size: 16px;
}


/* Divider after Search icon (first item only) */
.header-icons li:first-child {
  position: relative;
  padding-right: 14px;
  margin-right: 0;
}

.header-icons li:first-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #dcdcdc;
}



/* ================= NAV ================= */
.header-nav {
  position: relative;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 16px 0;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a,
.menu-btn {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #939598;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 2px 5px;
}

.nav-menu a {
  text-decoration: none;
}



/* Main menu hover */
.nav-menu > li > a:hover,
.nav-menu > li > .menu-btn:hover {
  color: #6cab1f;
}



/* ================= ACTIVE STATE ================= */

/* Active link (leaf pages) */
.nav-menu a.active {
  color: #6cab1f;
  font-weight: bold;
}

/* Active parent buttons (Products, Heat Exchangers) */
.nav-menu li.active > .menu-btn {
  color: #6cab1f;
  font-weight: 500;
}

/* Optional: subtle underline only for top-level active */
/*.nav-menu > li.active > .menu-btn::before,
.nav-menu > li > a.active::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: #6cab1f;
  position: absolute;
  top: -16px;
}
*/

.nav-menu a,
.menu-btn {
  transition: color 0.2s ease;
}




.menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
}

/* ================= DROPDOWN ================= */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  list-style: none;
  z-index: 100;
}

li.open > .dropdown {
  display: block;
}

.dropdown .dropdown {
  top: 0;
  left: 100%;
}

.dropdown .menu-btn {
  padding: 12px 18px;
  width: 100%;
  text-align: left;
  color: #555;
}

.dropdown a{
  padding: 12px 18px;
  width: 100%;
  text-align: left;
  color: #555;
  display: block;
}

/* icon rotate */
.submenu-icon {
  transition: transform 0.25s ease;
}

li.open > .menu-btn .submenu-icon {
  transform: rotate(45deg);
}

/* ================= MOBILE ================= */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  color: #6cab1f;
}

.menu-toggle .fa-xmark {
  display: none;
}

.menu-toggle.open .fa-bars {
  display: none;
}

.menu-toggle.open .fa-xmark {
  display: inline-block;
}


/* Dropdown item hover */
.dropdown a:hover,
.dropdown .menu-btn:hover {
  background-color: #f4f8f2; /* light green tint */
  color: #6cab1f;
}


.dropdown a,
.dropdown .menu-btn {
  transition: background-color 0.2s ease, color 0.2s ease;
}






@media (min-width: 993px) {
  .nav-menu {
    position: static;
    transform: none !important;
  }
}






@media (max-width: 992px) {

  .header-top {
    padding: 14px 20px;
  }

  .brand img {
    height: 24px;
  }

  .brand-text {
    line-height: 11px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .header-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


  .nav-menu {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    list-style: none;

    position: fixed;
    inset: 0;
    top: var(--header-height, 56px);
    background: #fff;

    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    z-index: 10;
  }



  .nav-menu li {
    width: 100%;
  }

  .nav-menu a,
  .menu-btn {
    width: 100%;
    text-align: left;
    padding: 0;
    font-size: 15px;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 16px;
  }

  .dropdown .menu-btn {
    padding: 12px 0;
    width: 100%;
    text-align: left;
    color: #555;
  }

  .dropdown a {
    padding: 6px 0px;
  }

  .dropdown li {
    list-style: disc;
  }
}


@media (max-width: 992px) {
  .nav-menu > li.active > .menu-btn::after {
    display: none;
  }
}



/* ================= GSAP NAV UNDERLINE ================= */

.nav-underline {
  position: absolute;
  top: -1px;              /* aligns with your design */
  height: 3px;
  background: #6cab1f;
  width: 0;
  transform-origin: left;
  pointer-events: none;
}





/* ================= MOBILE STICKY HEADER ================= */
@media (max-width: 992px) {

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
  }

  body {
    padding-top: 56px; /* header height */
  }

}





