/* === HERO SECTION === */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1rem;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* === CARD GRID SECTION === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  color: inherit;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card h3 {
  padding: 16px 18px 0;
  color: #16342f;
  font-size: 1.15rem;
}

.card p {
  padding: 8px 18px 20px;
  color: #4d5c5a;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  padding: 64px 20px;
  background: #f7f7f7;
}

.testimonials h2 {
  text-align: center;
  margin: 0 0 28px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: #1f5a47;
  letter-spacing: 0.3px;
}

.testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimonial {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial p {
  margin: 0 0 10px;
  color: #444;
  line-height: 1.6;
  font-style: italic;
}

.testimonial span {
  display: block;
  font-weight: 600;
  color: #2b6b58;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
}
