@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: #fff;
  color: #333;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2em 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* ========== LEFT NAVIGATION ========== */
.nav-left {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  flex: 1;
}

.nav-link {
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
  color: #16a34a;
}

.nav-chevron {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

/* ========== DROPDOWN STYLES ========== */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  border: 1px solid #e8e8e8;
  min-width: 500px;
  list-style: none;
  padding: 16px;
  margin: 0;
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 9000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 4px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Section headings inside dropdown */
.dd-heading {
  grid-column: 1 / -1;
  padding: 2px 8px 6px;
  font-size: 10px;
  font-weight: 800;
  color: #116e4a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Thin divider line */
.dd-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: #f0f0f0;
  margin: 6px 0;
}

/* View-all + services row at bottom */
.dd-view-all {
  grid-column: 1 / -1;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 4px;
  display: flex;
  gap: 4px;
}

.dd-view-all a {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #116e4a !important;
  background: rgba(17, 110, 74, 0.06) !important;
  text-align: center;
  transition: background 0.2s !important;
}

.dd-view-all a:hover {
  background: rgba(17, 110, 74, 0.14) !important;
  color: #116e4a !important;
}

/* Regular product / service links */
.dropdown-menu li a {
  display: block;
  padding: 8px 10px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-menu li a:hover {
  background: rgba(17, 110, 74, 0.07);
  color: #116e4a;
}

/* Logo link — remove default underline/outline */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  outline: none;
}

.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.inner-page .logo-img {
  height: 175px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

/* SEARCH BOX */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  width: 200px;
  height: 38px;
  transition: all 0.3s ease;
}

.search-box:hover,
.search-box:focus-within {
  /* background: rgba(255, 255, 255, 0.98); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.search-icon {
  width: 16px;
  height: 16px;
  color: #1f7a4c;
  flex-shrink: 0;
  stroke-width: 2;
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  font-weight: 400;
  color: #1f7a4c;
  width: 100%;
  height: 100%;
  transition: color 0.3s ease;
}

.search-input::placeholder {
  color: #1f7a4c;
}

.search-input:focus::placeholder {
  color: #1f7a4c;
}

/* CONTACT BUTTON */
.contact-btn {
  background: #1f7a4c;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  height: 35px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.contact-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.contact-btn:hover {
  background: #15803d;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  transform: translateY(-2px);
}

.contact-btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ========== HAMBURGER STYLES ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 10001;
  margin-left: 10px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Navbar Scrolled State for Hamburger */
.navbar.scrolled .hamburger span {
  background-color: #fff;
}

/* Hamburger Animation when Active */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= INNER PAGE NAVBAR (all pages except home) ================= */

.inner-page .navbar {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Solidify slightly when scrolled */
.inner-page .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Nav links — dark text on light background */
.inner-page .nav-link {
  color: #1a1a1a;
  opacity: 1;
}

.inner-page .nav-link:hover {
  color: #116e4a;
  opacity: 1;
}

/* Hamburger lines — dark */
.inner-page .hamburger span {
  background-color: #1a1a1a;
}

/* Inner page dropdown inherits base styles — no overrides needed */

/* Search box — subtle border on light navbar */
.inner-page .search-box {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.inner-page .search-icon {
  color: #555;
}

.inner-page .search-input {
  color: #333;
}

.inner-page .search-input::placeholder {
  color: #888;
}

/* ================= FOOTER ================= */

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(135deg, #1f7a4c 0%, #1a6a41 100%);
  color: #e6f4ea;
  width: 100%;
  padding-top: 72px;
  margin-top: 80px;
}

/* ================= CONTAINER ================= */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 56px;
}

/* ================= LEFT SECTION ================= */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 225px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-description {
  max-width: 320px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #d1fae5;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-top: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 3em;
  color: #ffff;
  opacity: 0.85;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  opacity: 2;
  color: #ffffff;
}

.social-link svg {
  width: 1.4em;
  height: 1.8em;
  stroke: #ffff;
  stroke-width: 2;
}

/* ================= LINKS SECTIONS ================= */
.footer-links-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-heading {
  font-size: 1em;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  font-weight: 400;
  color: #d1fae5;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  opacity: 1;
}

/* ================= CONTACT SECTION ================= */
.footer-contact-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.address-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: 8px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.address-box:hover {
  background: rgba(255, 255, 255, 0.1);
}

.location-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.address-text {
  font-size: 13px;
  line-height: 1.6;
  color: #d1fae5;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.copyright-text strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-policies {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.policy-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.policy-link:hover {
  color: #ffffff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 320px) {
  .nav-left.active {
    padding-bottom: 400px;
  }

  .dropdown-menu {
    margin-top: 1em;
  }
}
/* MOBILE & TABLET NAVIGATION */
@media (max-width: 768px) {
  .navbar {
    background: rgba(0, 0, 0, 0.85);
  }

  .navbar.scrolled {
    background: rgba(26, 106, 65, 0.98);
  }

  .nav-inner {
    padding: 8px 14px;
    display: flex;
    /* Removed justify-content: space-between to allow flex-grow on nav-center */
    align-items: center;
    gap: 0;
  }

  .hamburger {
    display: flex !important;
    visibility: visible;
  }

  .nav-left {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a6a41;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: 0.4s ease-in-out;
    z-index: 10000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-left.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.2em;
  }

  .dropdown {
    flex-direction: column;
    height: auto;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.25);
    min-width: 100%;
    width: 260px;
    display: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    border-radius: 8px;
    padding: 8px;
    margin-top: 4px;
  }

  .dropdown:hover .dropdown-menu {
    display: grid;
  }

  .dd-heading {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    padding: 6px 8px 2px;
  }
  .dd-divider {
    background: rgba(255, 255, 255, 0.12);
  }
  .dd-view-all {
    flex-direction: column;
    border-top-color: rgba(255, 255, 255, 0.12);
  }
  .dd-view-all a {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    font-size: 12px !important;
  }

  .dropdown-menu li a {
    padding: 8px 10px;
    font-size: 13px;
    color: #ffffff;
    opacity: 0.85;
    border-radius: 6px;
  }

  .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    opacity: 1;
  }

  .nav-chevron {
    margin-left: 5px;
  }

  .search-box {
    display: none;
  }

  .nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .nav-center {
    position: static;
    transform: none;
    margin: 0;
    max-width: 60%;
  }

  .logo-img {
    height: 36px;
    width: auto;
  }

  /* Keep inner page logo consistent on mobile without changing structure */
  .inner-page .logo-img {
    height: 36px;
  }

  /* Fix for very small devices (320px - 425px) */
  @media (max-width: 480px) {
    
    .nav-inner {
      padding: 0px 0px;
    }
    .logo-img {
      height: 30px;
    }
    .inner-page .logo-img {
      height: 70px;
    }

    .search-box {
      padding: 0 10px;
      width: 120px;
    }
    .search-box input {
      font-size: 5px;
      width: 80px;
    }
  }

  .contact-btn {
    display: none !important;
  }

  .footer-left {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    height: 48px;
    margin: 0 auto 8px;
  }

  .footer-description {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2em;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    gap: 30px;
    padding: 0 24px 40px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px 32px;
  }

  .footer-description {
    max-width: 98%;
    text-align: justify;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .footer-policies {
    justify-content: center;
    gap: 16px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .footer-container {
    padding: 0 12px 24px;
  }

  .social-icons {
    gap: 10px;
  }

  .address-box {
    padding: 10px;
  }
  .footer-policies {
    text-align: center;
    justify-content: center;
  }
}
