:root {
  --green: #2e8b57;
  --dark-green: #1e5f3a;
  --gray: #555;
  --light-gray: #f5f5f5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

/* ===== HEADER & NAV ===== */
header {
  background: #fff;
  border-bottom: 3px solid var(--green);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

    /* ===== DESKTOP: large single image ===== */
    .desktop-image {
      display: none;          /* hidden by default (mobile-first) */
      width: 100%;
      max-width: 1200px;      /* optional: limit how wide the large image gets */
      margin: 0 auto;
    }

    .desktop-image img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* ===== MOBILE: series of smaller images ===== */
    .mobile-images {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      height: auto;
      max-width: 500px;       /* never wider than the phone screen */
      padding: 12px;
    }

    .mobile-images img {
      width: 100%;            /* fill the available width */
      max-width: 500px;        /* hard limit to phone screen width */
      height: auto;
      display: block;
      border-radius: 8px;
    }

    /* Show desktop version on screens ≥ 768px */
    @media (min-width: 768px) {
      .desktop-image {
        display: block;
      }
      .mobile-images {
        display: none;
      }
    }

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-green);
  padding: 0.4rem;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav a {
  color: var(--gray);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--green);
  background: rgba(46, 139, 87, 0.08);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(30, 95, 58, 0.82), rgba(30, 95, 58, 0.82));
  background-color: var(--dark-green);
  color: white;
  text-align: center;
  padding: 3.5rem 1.25rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.25rem);
}

/* ===== CONTENT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

h2 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

h3 {
  color: var(--green);
  margin: 1.25rem 0 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--light-gray);
  padding: 1.4rem;
  border-radius: 10px;
  border-left: 5px solid var(--green);
}

/* ===== FORM ===== */
.form-section {
  background: var(--light-gray);
  padding: 1.75rem 1.25rem;
  border-radius: 12px;
  margin-top: 2.5rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1 1 200px;
}

.call-button {
  display: inline-block;
  align-items: center;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 40px;          /* bigger size */
  background-color: #28a745;   /* strong green */
  color: white;                /* white text */
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;             /* larger text */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  transition: all 0.2s ease;
}

.call-button:hover {
  background-color: #218838;   /* slightly darker green on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.call-button:active {
  transform: translateY(0);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;          /* prevents iOS zoom */
  -webkit-appearance: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.required {
  color: #c00;
}

.radio-group {
  display: none;
  margin: 0.75rem 0 1.25rem;
  padding: 0.75rem;
  background: #fff;
  border-radius: 8px;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  font-weight: normal;
  margin-right: 1.5rem;
  cursor: pointer;
  gap: 0.4rem;
}

button[type="submit"] {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  max-width: 320px;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: var(--dark-green);
}

/* ===== FOOTER ===== */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 1.75rem 1.25rem;
  margin-top: 3rem;
  font-size: 0.95rem;
}

footer a {
  color: #8f8;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 3px solid var(--green);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
    margin: 0;
    border-radius: 0;
  }

  .logo img {
    height: 52px;
  }

  .hero {
    padding: 2.75rem 1.25rem;
  }

  .container {
    padding: 1.75rem 1.15rem;
  }

  .form-section {
    padding: 1.5rem 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0.85rem;
  }

  .form-group {
    flex: 1 1 100%;
  }

  button[type="submit"] {
    width: 100%;
    max-width: none;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .logo img {
    height: 46px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }
}

