:root {
  --green: #00A651;
  --dark: #1f1f1f;
  --light: #ffffff;
  --grey: #f6f7f5;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* Containers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Headings */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 3rem;
}

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: url('/images/seedling.png') center bottom / cover no-repeat;
}



/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

/* Ensure hero content stays above overlay */
.hero > * {
  position: relative;
  z-index: 2;
}

/* =====================
   SECTIONS
===================== */
.section {
  background: var(--grey);
  position: relative; /* FIX 2: stacking context */
}

.section.light {
  background: var(--light);
}

/* =====================
   GRIDS
===================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* =====================
   CARDS
===================== */
.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =====================
   CHECKLIST
===================== */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.checklist li::before {
  content: "✔";
  color: var(--green);
  position: absolute;
  left: 0;
}

/* =====================
   CTA
===================== */
.cta {
  background: var(--green);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

/* =====================
   BUTTON
===================== */
.primary-btn {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* =====================
   NAVIGATION (UNCHANGED VISUALLY)
===================== */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 42px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
/* Desktop: never show hamburger */
.nav-toggle {
  display: none !important;
}

/* =====================
   PAGE HEADER (SINGLE SOURCE OF TRUTH)
===================== */
.page-header {
  position: relative;
  padding: 6rem 1.5rem;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  overflow: hidden; /* FIX 3 */
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

/* Page-specific images */
.header-about {
  background-image: url("images/about.png");
}

.header-services {
  background-image: url("images/services.png");
}

.header-contact {
  background-image: url("images/contact.png");
}

/* =====================
   CONTACT
===================== */
.contact-details {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.contact-details li {
  margin-bottom: 0.8rem;
}

.contact-details a {
  color: var(--green);
  text-decoration: none;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
}

/* Map */
.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .grid-2 {
    display: block;
  }
}
@media (max-width: 768px) {
  .contact-form {
    position: static;
    width: 100%;
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 16px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .contact-form button,
  .contact-form .primary-btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
  }
}
@media (max-width: 768px) {
  .section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 768px) {

  /* Force predictable sizing everywhere */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  /* Reduce container padding on mobile */
  .section .container {
    padding: 2rem 1rem;
  }

  /* Kill grid math completely */
  .grid-2 {
    display: block;
  }

  /* Make form a true mobile card */
  .contact-form {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0 0 0;
    padding: 1.25rem;
    border-radius: 14px;
  }

  /* Inputs fit the card exactly */
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }

  /* Mobile-friendly textarea */
  .contact-form textarea {
    min-height: 110px;
  }

  /* Full-width button (this matters visually) */
  .contact-form button,
  .contact-form .primary-btn {
    width: 100%;
    padding: 0.9rem;
  }
}

/* =====================
   MOBILE (UNCHANGED DESIGN)
===================== */

@media (max-width: 768px) {
  .hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }
}
.nav-toggle {
  display: none;
}
@media (max-width: 768px) {

  /* Show hamburger */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.9rem;
    cursor: pointer;
  }

  /* Hide nav links initially */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.95);
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    text-align: right;
    z-index: 20;
  }

  /* Show when toggled */
  .nav-links.open {
    display: block;
  }

  .nav-links a {
    display: block;
    margin: 0.9rem 0;
    font-size: 1.05rem;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;
  }
}
