* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #2f6b3f;
    --yellow: #fff3c9;
    --border: rgba(0, 0, 0, 0.08);
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= NAVBAR ================= */

.navbar {
    background: var(--yellow);
    position: fixed;
    /* 🔥 Make navbar fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    /* stay on top */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* optional: subtle shadow */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 44px;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--green);
}

.nav-menu a.active {
    font-weight: 600;
}

/* Buttons */
.btn {
    background: var(--green);
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

/* 🔥 FIX: override nav-menu link color */
.nav-menu .btn,
.nav-menu .btn-cta {
    color: #ffffff !important;
}

/* Hamburger */
#nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--green);
}

/* ================= HERO ================= */

.hero {
    background: var(--yellow);
    padding: 140px 0 90px;
    /* 🔥 Add top padding to avoid overlap with fixed navbar */
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--green);
}

/* Wave */
.wave {
    position: absolute;
    bottom: -1px;
    width: 100%;
}

.wave svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: var(--yellow);
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid var(--border);
        display: none;
        z-index: 1000;
    }

    #nav-toggle:checked~.nav-menu {
        display: flex;
    }

    .nav-menu a {
        padding: 16px;
        font-size: 16px;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a.active {
        background: rgba(47, 107, 63, 0.08);
    }

    /* Mobile Get Started */
    .btn-cta {
        margin: 20px;
        width: calc(100% - 40px);
        font-size: 16px;
        padding: 14px 0;
    }

    .hero h1 {
        font-size: 26px;
    }
}



/* Contact Grid Styling */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 60px 5%;
    background-color: #fff;
}

.info-card {
    background-color: #E2F6C9;
    /* Light mint green */
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.icon-circle {
    color: #2e7d32;
    /* Forest Green */
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* Map and Form Section */
.interactive-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 5% 80px;
}

.map-container {
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-container {
    background-color: #1b5e20;
    /* Darker green from design */
    padding: 45px;
    border-radius: 25px;
    color: white;
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.get-in-touch-form input,
.get-in-touch-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.get-in-touch-form input::placeholder,
.get-in-touch-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.get-in-touch-form button {
    background: white;
    color: #1b5e20;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* Footer Shape */
.main-footer {
    background-color: #f9faf7;
    padding: 120px 5% 40px;
    border-top-left-radius: 50% 80px;
    /* Creates the top curve */
    border-top-right-radius: 50% 80px;
    margin-top: -60px;
    /* Overlap with section above */
}

/* Responsive */
@media (max-width: 850px) {
    .interactive-section {
        grid-template-columns: 1fr;
    }
}

.get-in-touch-form{ display: flex;
  flex-direction: column;
  gap: 15px;
  }

  .get-in-touch-form input,
  .get-in-touch-form textarea {
      padding: 12px;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 14px;
      width: 100%;
      box-sizing: border-box;
  }

  .get-in-touch-form button {
      position: relative;
      padding: 12px;
      background: #2f6b3f;
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      overflow: hidden;
      transition: background 0.3s ease;
  }

  .get-in-touch-form button:hover {
      background: #1a3c1a;
  }

  /* Button Loader */
  .btn-loader {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 18px;
      height: 18px;
      border: 3px solid #fff;
      border-top: 3px solid transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      transform: translate(-50%, -50%);
      display: none;
  }

  button.sending .btn-text {
      visibility: hidden;
  }

  button.sending .btn-loader {
      display: block;
  }

  @keyframes spin {
      0% {
          transform: translate(-50%, -50%) rotate(0deg);
      }

      100% {
          transform: translate(-50%, -50%) rotate(360deg);
      }
  }

  /* ---------- CUSTOM ALERT ---------- */
  .custom-alert {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      background: #2f6b3f;
      color: #fff;
      padding: 25px 30px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      z-index: 10000;
      transition: transform 0.3s ease, opacity 0.3s ease;
      opacity: 0;
  }

  .custom-alert.show {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
  }

  .custom-alert p {
      margin-bottom: 20px;
      font-size: 16px;
  }

  .custom-alert button {
      padding: 8px 20px;
      border: none;
      border-radius: 8px;
      background: #fff;
      color: #2f6b3f;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s ease, color 0.3s ease;
  }

  .custom-alert button:hover {
      background: #1a3c1a;
      color: #fff;
  }





  /* ================= footer ================= */
  :root {
      --brand-green: #2d5a27;
      --card-bg: #e8f5e9;
      --footer-bg: #f9faf7;
  }

  /* Contact Cards */
  .kp-contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      padding: 60px 5%;
  }

  .kp-info-card {
      background: var(--card-bg);
      padding: 30px;
      border-radius: 20px;
  }

  .kp-info-card h3 {
      color: var(--brand-green);
      margin: 15px 0 10px;
  }

  /* Map & Form Row */
  .kp-interactive-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      padding: 0 5% 100px;
  }

  .kp-map-box,
  .kp-form-box {
      height: 450px;
      border-radius: 25px;
      overflow: hidden;
  }

  .kp-form-box {
      background: var(--brand-green);
      padding: 40px;
      color: white;
  }

  /* The Curved Footer */
  .kp-main-footer {
      background-color: var(--footer-bg);
      padding: 140px 5% 40px;
      margin-top: -80px;
      /* This creates the smooth concave "dip" seen in the image */
      clip-path: ellipse(150% 100% at 50% 100%);
  }

  .kp-footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr 1.5fr 2fr;
      gap: 40px;
  }

  .kp-footer-content h4 {
      color: var(--brand-green);
      margin-bottom: 20px;
      font-size: 1.1rem;
  }

  .kp-footer-content ul {
      list-style: none;
      padding: 0;
  }

  .kp-footer-content ul li {
      margin-bottom: 8px;
  }

  .kp-footer-content a {
      text-decoration: none;
      color: #444;
      font-size: 0.9rem;
  }

  /* Newsletter UI */
  .kp-input-group input {
      width: 100%;
      padding: 15px 20px;
      border-radius: 30px;
      border: 1px solid #eee;
      margin-bottom: 12px;
  }

  .kp-input-group button {
      width: 100%;
      padding: 15px;
      background: var(--brand-green);
      color: white;
      border: none;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
  }

  .kp-copyright {
      text-align: center;
      margin-top: 80px;
      font-size: 0.8rem;
      color: #888;
  }

  /* Social Icons */
  .kp-socials {
      display: flex;
      gap: 15px;
      margin-top: 20px;
  }

  .kp-socials i {
      color: #8bc34a;
      font-size: 1.2rem;
  }

  /* Mobile View */
  @media (max-width: 992px) {

      .kp-interactive-row,
      .kp-footer-content {
          grid-template-columns: 1fr;
      }
  }