/* ─────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 400px;
  max-height: 720px;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text box */
.hero-text {
  position: absolute;
  top: 60%;
  left: 90%;
  transform: translate(-90%, -55%);
  max-width: 580px;
  width: 90vw;
  padding-inline: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}
.hero-text h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.15;
}
.hero-text p {
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.45;
}

.hero-button {
  align-self: flex-start;
  background: #283618;
  color: #fff;
  border-radius: 8px;
  padding: clamp(0.55rem, 1vw, 0.75rem) clamp(1.1rem, 2.2vw, 1.8rem);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.hero-button:hover {
  background: #3c4d21;
}

/* Tablet / phone */
@media (max-width: 900px) {
  .hero-text {
    left: 50%;
    top: 58%;
    transform: translate(-50%, -58%);
    text-align: center;
    align-items: center;
  }
}
/* Extra-small phones */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  .hero-text p {
    font-size: clamp(0.85rem, 4vw, 1rem);
  }
}
/* NEW: keep hero centered on narrow phones */
@media (max-width: 600px) {
  .hero-text {
    left: 50%;
    top: 60%;
    transform: translate(-50%, -60%);
    width: 90%;
  }
}

/* ─────────────────────────────────────────
   Cards Section
   ───────────────────────────────────────── */
.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .cards-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #faf9f6;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Body */
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 4vw, 1.5rem);
  text-align: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}
.card-body h3 {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  color: #283618;
}
.card-body p {
  margin: 0;
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  color: #555;
}

.card-button {
  align-self: center;
  background: #283618;
  color: #fff;
  border-radius: 8px;
  padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(0.85rem, 2.4vw, 0.95rem);
  text-decoration: none;
  transition: background 0.3s ease;
}
.card-button:hover {
  background: #3c4d21;
}

/* ─────────────────────────────────────────
   Fade-in utilities (IntersectionObserver)
   ───────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.observe {
  opacity: 0;
}
.observe.in-view {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ─────────────────────────────────────────
   Stats Strip  (original)
   ───────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  background: #f9faf9;
  border-top: 4px solid #283618;
  border-bottom: 4px solid #283618;
}
.stat {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #283618;
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.stat strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.stat span {
  font-size: 1rem;
  color: #333;
}

/* ─────────────────────────────────────────
   About section  (original)
   ───────────────────────────────────────── */
.about {
  text-align: center;
  padding: 3rem 1rem;
  background: #f5f5f5;
  border-left: 12px solid #283618;
  border-right: 12px solid #283618;
}

/* ─────────────────────────────────────────
   Global page fade
   ───────────────────────────────────────── */
body {
  opacity: 1;
  transition: opacity 0.6s ease;
}
body.loaded {
  opacity: 1;
}

/* ================================================================
   OVERRIDES – lighter accents / remove heavy green bars
   (these come last so they win the cascade)
   ================================================================ */

/* 1️⃣  ABOUT section cleanup */
.about {
  background: #ffffff; /* pure white tile           */
  border: none !important; /* kill 12-px green bars     */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* soft lift                 */
  max-width: 1200px;
  margin: 0 auto; /* align with cards grid     */
}

/* 2️⃣  STATS strip cleanup */
.stats-strip {
  background: #ffffff;
  border: none !important; /* remove thick green lines  */
  padding: 2.5rem 1rem;
}

/* Subtle separators above sections */
.stats-strip::before,
.about::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(0, 0, 0, 0.06);
  margin: -1.25rem 0 2rem 0;
}

/* 3️⃣  Text colour tweak */
.stat strong {
  color: #1f3520;
} /* darker, less saturated    */

/* 4️⃣  Card grid backdrop */
.cards-section {
  background: #f8f9f8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* 5️⃣  Consistent button hover */
.hero-button:hover {
  background: #4a5d32;
}

.about::before {
  display: none !important;
}

.stats-strip::before {
  display: none !important;
}

/* ─────  WHY-CHOOSE-US redesign  ─────────────────────────── */
.about {
  /* layout / spacing */
  max-width: 1000px; /* narrower than full page   */
  margin: 2rem auto; /* space above & below       */
  padding: 3rem 2rem;

  /* look & feel */
  background: #ffffff; /* pure white tile           */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

  /* reset anything inherited */
  border: none !important;
}
.about::before {
  display: none !important;
} /* kill old separator */

/* nice green accent line under the heading */
.about h2 {
  position: relative;
  display: inline-block; /* shrink to text width      */
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #1f3520;
}
.about h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #4a5d32; /* same hover-green as button */
  border-radius: 3px;
}

/* paragraph tone */
.about p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #444;
  max-width: 70ch;
  margin: 0 auto; /* keep text nicely centered  */
}

/* put near the bottom of your stylesheet */
.seo-content {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}
.seo-content h2,
.seo-content h3 {
  color: #1f3520;
  margin-bottom: 0.75rem;
}
.seo-content ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
}
.seo-content li {
  margin-bottom: 0.5rem;
}
