@import url('https://fonts.cdnfonts.com/css/work-sans');

* {
  font-family: 'Work Sans', sans-serif;
}

html,
body {
  overflow-x: hidden;
}

/*main {*/
/*  flex: 1 0 auto;*/
/*  padding: 2.5rem 0;*/
/*}*/

/* ======================= HEADER ======================= */
.custom-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1050;
}

.custom-header .navbar {
  padding: 0.6rem 0;
}

/* Logo */
.custom-header .brand-block {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.custom-header .brand-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background-color: #0c6a3d;
  /* neon green */
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-header .brand-icon-circle i {
  color: #0b3a34;
  font-size: 20px;
}

.custom-header .brand-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0b3a34;
  letter-spacing: 0.02em;
}

/* Nav links */
.custom-header .navbar-nav {
  align-items: center;
  gap: 1.75rem;
}

.custom-header .nav-link-custom {
  font-size: 0.95rem;
  color: #29353d;
  text-decoration: none;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.custom-header .nav-link-custom:hover {
  color: #0b3a34;
}

.custom-header .caret-down {
  font-size: 0.7rem;
}

.custom-header .dropdown-toggle::after {
  display: none;
}

/* Contact button */
.custom-header .contact-btn {
  background-color: #0c6a3d;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-header .contact-btn:hover {
  /* color: #0b3a34; */
  filter: brightness(0.95);
}

.custom-header .mega-dropdown {
  position: static;
  /* we’ll control the menu itself */
}

/* ========== DESKTOP MEGA MENUS (>= 992px) ========== */
@media (min-width: 992px) {
  .custom-header .mega-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1600px, 100vw - 2rem);
    /* center and no clipping */
    padding: 1.5rem 0;
    border-radius: 20px;
    border: none;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.15);
    background-color: #faf9f6;
  }

  .custom-header .mega-inner {
    padding-inline: 1.75rem;
  }
}

/* Mega menu inner styles */
.custom-header .mega-hero {
  background-color: #0b3a34;
  border-radius: 24px;
  padding: 1.5rem 1.25rem;
  color: #0c6a3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.custom-header .mega-hero-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.custom-header .mega-hero-shape {
  margin-top: 1.4rem;
  border-radius: 40px;
  background-color: #0c6a3d;
  width: 100%;
  height: 140px;
}

.custom-header .mega-column-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.custom-header .mega-link {
  display: block;
  font-size: 14px;
  color: #0f2c30;
  text-decoration: none;
  margin-bottom: 3px;
  padding: 5px 14px;
  margin-left: -14px;
}

.custom-header .mega-link:hover {
  color: #007e6b;
  background: #0c6a3d;
  border-radius: 10px;
}

/* Toggler */
.custom-header .navbar-toggler {
  border: none;
  padding: 0.25rem 0.4rem;
}

.custom-header .navbar-toggler-icon-custom {
  font-size: 1.4rem;
  color: #0b3a34;
}


/* ========== MOBILE / TABLET (< 992px) ========== */
@media (max-width: 991.98px) {

  /* ================= Header ================= */
  .custom-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1050;
  }

  .custom-header .navbar {
    padding: .55rem 0;
  }

  /* ================= Mobile Menu Panel ================= */
  .custom-header .navbar-collapse {
    margin-top: .65rem;
    padding: .85rem .85rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);

    /* 🔥 SCROLL FIX */
    max-height: calc(100vh - 90px);
    /* header height minus */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* scrollbar style */
  .custom-header .navbar-collapse::-webkit-scrollbar {
    width: 8px;
  }

  .custom-header .navbar-collapse::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.18);
    border-radius: 10px;
  }

  /* ================= Menu List ================= */
  .custom-header .navbar-nav {
    align-items: stretch;
    gap: .35rem;
    width: 100%;
  }

  .custom-header .nav-item {
    width: 100%;
  }

  /* ================= Menu Links ================= */
  .custom-header .nav-link-custom {
    width: 100%;
    padding: .85rem .95rem;
    border-radius: 14px;
    color: #0f2c30;
    background: #f7f8fa;
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    line-height: 1.1;
  }

  .custom-header .nav-link-custom:hover {
    background: #eef2f7;
    color: #0b3a34;
  }

  /* Active dropdown */
  .custom-header .nav-item.dropdown.show>.nav-link-custom {
    background: #0b3a34;
    color: #0c6a3d;
    border-color: rgba(11, 58, 52, .25);
  }

  .custom-header .caret-down i {
    transition: transform .25s ease;
  }

  .custom-header .nav-item.dropdown.show .caret-down i {
    transform: rotate(180deg);
  }

  /* ================= Dropdown (Accordion Style) ================= */
  .custom-header .mega-dropdown {
    position: relative;
  }

  .custom-header .mega-dropdown .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    margin: .35rem 0;
    padding: .55rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: none;

    /* 🔥 dropdown scroll */
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* hide desktop hero */
  .custom-header .mega-hero {
    display: none !important;
  }

  /* ================= Dropdown Content ================= */
  .custom-header .mega-inner {
    padding-inline: 0;
  }

  .custom-header .mega-inner .row.g-3.mega-inner {
    gap: .6rem !important;
  }

  .custom-header .mega-inner .col-12 {
    margin-bottom: 0;
  }

  .custom-header .mega-column-title {
    font-size: .8rem;
    font-weight: 700;
    color: #55616b;
    margin: .35rem .35rem .4rem;
    text-transform: none;
  }

  .custom-header .mega-link {
    display: block;
    width: 100%;
    padding: .7rem .85rem;
    margin-bottom: .35rem;
    border-radius: 12px;
    background: #f7f8fa;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #0f2c30;
    font-size: .92rem;
  }

  .custom-header .mega-link:hover {
    background: #0c6a3d;
    border-color: rgba(196, 241, 50, .4);
    color: #0b3a34;
  }

  /* ================= Mobile Contact Button ================= */
  .custom-header .nav-item.d-lg-none.mt-2 {
    margin-top: .65rem !important;
  }

  .custom-header .contact-btn.w-100 {
    width: 100%;
    border-radius: 14px;
    padding: .85rem 1rem;
    font-weight: 600;
  }

  /* ================= Toggler ================= */
  .custom-header .navbar-toggler {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 12px;
    padding: .35rem .55rem;
  }

  .custom-header .navbar-toggler:focus {
    box-shadow: none;
  }

  /* prevent body horizontal issues */
  body {
    overflow-x: hidden;
  }

  .custom-footer .footer-logo-wrap {
    text-align: center;
    margin-bottom: 2rem;
  }

  .custom-footer .footer-main {
    padding: 3rem 2rem !important;
  }
}



/* ======================= FOOTER ======================= */
.custom-footer {
  background-color: #0b3a34;
  color: #ffffff;
  flex-shrink: 0;
}

.custom-footer .footer-main {
  padding: 3.5rem 0 2.5rem;
}

.custom-footer .footer-logo-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.custom-footer .footer-logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.custom-footer .footer-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #0c6a3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-footer .footer-logo-circle i {
  color: #0b3a34;
  font-size: 22px;
}

.custom-footer .footer-logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.custom-footer .footer-column-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #b6c6c4;
}

.custom-footer .footer-link {
  display: block;
  font-size: 0.9rem;
  color: #f0f5f4;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.custom-footer .footer-link:hover {
  color: #0c6a3d;
}

.custom-footer .footer-contact-item {
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.custom-footer .footer-contact-item i {
  margin-top: 0.15rem;
}

.custom-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  font-size: 0.8rem;
  color: #c7d4d2;
}

.custom-footer .footer-bottom a {
  color: #c7d4d2;
  text-decoration: none;
}

.custom-footer .footer-bottom a:hover {
  color: #0c6a3d;
}

.custom-footer .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.custom-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  margin-left: 0.45rem;
  font-size: 0.8rem;
}

.custom-footer .footer-socials a:hover {
  background-color: #0c6a3d;
  color: #0b3a34;
  border-color: transparent;
}