/* ===== Header Base ===== */
.main-header {
  width: 100%;
  min-width: 800px; /* your requirement */
  padding: 18px 0 0 0;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  z-index: 10000;
  background-color: none !important;
}

.header-container {
  width: 100%;
  max-width: 1248px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}
.header-nav {
    padding: 6px !important;
    border: 1px solid #2E2E2E;
    border-radius: 48px;
    width: 40% !important;
    justify-content: center;
    align-items: center;
    display: flex;
        height: 34px;
}

/* ===== Logo ===== */
.header-logo img {
  width: 64px;
  color: white !important;
  /* height: 65px; */
}

/* ===== Nav Menu ===== */
.header-nav ul {
  display: flex;
  gap: 17px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* justify-content: center; */
  align-items: center;
}

/*.header-nav ul {*/
/*    border: 1px solid gray;*/
/*    padding: 6px 14px;*/
/*    border-radius: 28px;*/
/*}*/

.header-nav ul li {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: black;
  cursor: pointer;
  padding: 10px 18px;
  min-height: 36px;
  line-height: 1;
  border-radius: 24px;
  transition: padding 150ms ease, background 150ms ease, color 150ms ease;
  display: flex;
  align-items: center;
}

/* Active "Home" with green gradient background */
.header-nav ul li.active {
  background: linear-gradient(90deg, #069A77 -16.75%, #0DCEA8 113.25%);
  color: #fff;
  padding: 0 20px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(6, 154, 119, 0.18);
}

/* ===== Contact Button ===== */
.header-btn a {
  padding: 9px 25px;
  border-radius: 30px;
  border: 1px solid #045D4C;
  font-family: Inter, sans-serif;
  font-size: 17px;
  color: #010101;
  text-decoration: none;
  display: inline-block;
}

/* ============================= */
/*       RESPONSIVE BREAKPOINTS  */
/* ============================= */

/* ===== Tablet (≤1140px) ===== */
@media (max-width: 1140px) {
  .main-header {
    min-width: unset;
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== Mobile (≤480px) ===== */
@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .header-btn a {
    padding: 12px 20px;
  }
}



/* ========================== */
/*        MOBILE HEADER       */
/* ========================== */

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  user-select: none;
}

/* Mobile dropdown */
.mobile-menu {
  display: none;
  background: #fff;
  width: 100%;
  padding: 15px 0;
  border-top: 1px solid #ccc;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  padding: 14px 20px;
  font-size: 18px;
  /* border-bottom: 1px solid #e6e6e6; */
}

.mobile-menu ul li a {
  text-decoration: none;
  color: black;
}

.mobile-contact a {
  border: 1px solid #045D4C;
  padding: 10px 18px;
  border-radius: 25px;
  display: inline-block;
}

/* ========================== */
/*       MOBILE ONLY          */
/* ========================== */

@media (max-width: 768px) {

  /* Hide desktop nav on mobile */
  .desktop-nav {
    display: none !important;
  }

  .hamburger {
    display: block;
  }

  .header-container {
    padding: 10px 18px;
            display: flex;
        flex-direction: row;
        justify-content: space-between;
  }
  nav#mobileMenu {
    position: absolute;
    z-index: 100000;
    top: 104px;
    height: 100%;
}
.plusrevolve {
    display: none !important;
}

  .header-logo img {
    width: 130px;
  }



      .hero-buttons {
        flex-direction: row !important;
        gap: 12px;
    }
    .hero-sub {
        font-size: 15px !important;
        line-height: 30px;
    }
}
/* sticky */

/* KEEP THE MAIN HEADER WHITE */
.main-header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background: none !important; /* stays white */
  backdrop-filter: 0;
  transition: all 0.3s ease;
  padding: 8px 0 !important;
  z-index: 100000;
}

/* ONLY CONTAINER GOES BLACK */
.main-header.sticky .header-container {
  background-color: #010101 !important;
  border-radius: 50px;
  padding: 0 22px;
  transition: all 0.3s ease;
}

/* NAV + TEXT TURN WHITE */
.main-header.sticky .header-nav {
  border-color: 0;
  background: none;
  padding: 6px !important;
  border-radius: 40px;
  border: 0 !important;
}

.main-header.sticky .header-nav ul li {
  color: white;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 14px;
  min-height: 36px;
  line-height: 1;
  transition: padding 150ms ease, background 150ms ease, color 150ms ease;
  display: flex;
  align-items: center;
}

.main-header.sticky .header-nav ul li.active {
  background: white;
  color: black !important;
  padding: 0 24px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.main-header.sticky .header-btn a {
  border-color: none;
  color: white;
  padding: 11px 31px;
  background: linear-gradient(90deg, #0DCEA8 -16.75%, #07997D 113.25%) !important;
  box-shadow: 0 0 20px rgba(6, 154, 119, 0.5);
}
.header-btn.desktop-nav :hover{
  color: white !important;
  border: 0px solid white;
   background: linear-gradient(90deg, #0DCEA8 -16.75%, #07997D 113.25%) !important;
  box-shadow: 0 0 20px rgba(6, 154, 119, 0.5);
}

/* SHRINK LOGO */
.main-header.sticky .header-logo img {
  width: 64px;
  transition: 0.3s ease;
}
nav ul li a {
    text-decoration: none !important;
    color: black;
    /* padding: 10px 25px; */
}
.active a {
    color: white !important;
}

.sticky li a {
    color:rgb(141, 141, 141) !important;
}
.sticky .active a {
    color: black !important;
}