/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background-color: #fff;
}

h1, h2, h3, h4 {
  color: #2d3748;
}

/* HERO */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  background: linear-gradient(135deg, #2f855a, #38a169);
  color: white;
}

.hero-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
}

.hero-text h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 15px 0;
  color: white;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 550px;
  color: white;
}

.hero-image {
  flex: 1 1 300px;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  width: 360px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* SECTION */
.section {
  padding: 80px 5%;
  text-align: center;
}

.section.light {
  background-color: #f0fdfa;
}

.section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* CARDS LAYOUT */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #4a5568;
}

/* MIDDLE SECTION CARDS: 2 x 2 */
.section.light .cards .card {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 16px;
  width: calc(50% - 30px);
  padding: 20px;
  text-align: left;
}

.section.light .card .icon {
  width: 56px;
  height: 56px;
  background-color: #e6f5ec;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f855a;
  flex-shrink: 0;
}

.section.light .card .icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.section.light .card .card-text {
  flex: 1;
}

/* BOTTOM SECTION CARDS: 1 x 4 */
.section:not(.light) .cards .card {
  width: 220px;
  text-align: center;
  padding: 20px;
}

.section:not(.light) .card .icon {
  width: 56px;
  height: 56px;
  background-color: #e6f5ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #2f855a;
}

.section:not(.light) .card .icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

/* QUOTE */
blockquote {
  font-style: normal;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #2d3748;
  text-align: center;
  background: #e6f5ec;
  padding: 24px;
  border-left: 5px solid #38a169;
  border-radius: 8px;
  max-width: 800px;
  margin: 40px auto;
}

/* FOOTER */
footer {
  background: #2f855a;
  color: white;
  padding: 24px 5%;
  text-align: center;
}

footer p {
  font-size: 1.25rem;
}

footer small {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section.light .cards .card,
  .section:not(.light) .cards .card {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    text-align: center;
    margin-top: 30px;
  }

  .section.light .card .icon {
    margin: 0 auto 12px;
  }
}
