/* WHY SECTION BASE */
.section {
  max-width: var(--max-width);
  margin: 100px auto;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

/* DECORATIVE SHAPES */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
  filter: blur(60px);
}

.shape-top-left {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #c4f4e3, #a2dfcb);
  top: -50px;
  left: -50px;
  animation: floatShape 12s ease-in-out infinite alternate;
}

.shape-bottom-right {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #dff8ec, #b9ead3);
  bottom: -60px;
  right: -60px;
  animation: floatShape 15s ease-in-out infinite alternate-reverse;
}

.bubble {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(14, 107, 74, 0.2);
  border-radius: 50%;
  z-index: 1;
  animation: floatBubble 6s ease-in-out infinite;
}

.bubble-1 { top: 25%; left: 15%; animation-delay: 0s; }
.bubble-2 { top: 60%; right: 20%; animation-delay: 2s; }

/* ANIMATION KEYFRAMES */
@keyframes floatShape {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatBubble {
  0% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-15px) scale(1.1); opacity: 0.35; }
  100% { transform: translateY(0) scale(1); opacity: 0.2; }
}

/* WHY HEADER */
.why-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.why-label {
  color: rgba(18, 18, 18, 0.6);
  font-weight: 600;
  letter-spacing: 1.6px;
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.why-header h2 {
  font-family: "Merriweather", serif;
  font-size: 38px;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.circled-word {
  position: relative;
  color: var(--green-700);
  font-family: "Pacifico", cursive;
  font-size: 42px;
  padding: 0 4px;
}

.animate-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 6px;
  background: rgba(12, 92, 60, 0.18);
  border-radius: 4px;
  transition: width 0.7s ease;
}

.animate-underline.is-visible::after {
  width: 100%;
}

/* WHY GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
  z-index: 2;
}

/* WHY CARDS */
.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
}

.why-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 48px rgba(0,0,0,0.08);
}

/* IMAGES */
.why-img {
  height: 90px;
  margin: 0 auto 16px;
  object-fit: contain;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.why-card:hover .why-img {
  transform: translateY(-4px);
}

.why-card h3 {
  margin: 12px 0 12px;
  color: var(--green-700);
  font-size: 21px;
  font-weight: 600;
}

.why-card p {
  color: rgba(18,18,18,0.72);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ANIMATIONS: fade-up + stagger */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.45s; }
.delay-3 { animation-delay: 0.65s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-header h2 {
    font-size: 30px;
  }

  .circled-word {
    font-size: 34px;
  }
}
