/* HERO */
.edu-hero {
  height: 75vh;
  background-image: url('/images/active-parents-care.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edu-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
}
.edu-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 850px;
}
.edu-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}
.edu-hero-content p {
  font-size: 1.2rem;
}

.edu-hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


/* SPLIT SECTION */
.edu-split {
  display: flex;
  gap: 40px;
  padding: 60px 40px;
  align-items: center;
}
.split-image img {
  width: 100%;
  border-radius: 12px;
}
.split-text h2 {
  margin-bottom: 15px;
}
.split-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}


/* BENEFITS GRID */
.edu-benefits {
  background: #f9f9f9;
  text-align: center;
  padding: 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.edu-benefits .subtext {
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #555;
  font-size: 1.1rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.benefit-item:hover img {
  transform: scale(1.05);
}

.benefit-item-content {
  padding: 25px;
  text-align: left;
}

.benefit-item h3 {
  font-size: 1.5rem;
  color: #004d40;
  margin-bottom: 12px;
}

.benefit-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .edu-benefits h2 {
    font-size: 2rem;
  }
}


/* STORIES */
.edu-stories {
  padding: 20px 20px;
  text-align: center;
}
.story-cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}
.story-card {
  width: 330px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.story-content {
  padding: 20px;
}


/* COMPARE SECTION */
.edu-compare {
  padding: 20px 20px;
  background: linear-gradient(180deg, #f9fafb 0%, #e0f7fa 100%);
  text-align: center;
  
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.compare-box {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.compare-box img {
   width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
/* Compare section list styling upgrade */
.edu-compare ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.edu-compare ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f9fb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Icon style */
.edu-compare ul li::before {
  content: "✔️";
  font-size: 1.1rem;
  margin-top: 1px;
}

/* COLOR VARIATIONS */
.compare-box.left ul li {
  background: #fff6f6;
  border-left: 4px solid #e74c3c;
}

.compare-box.left ul li::before {
  content: "⚠️";
}

.compare-box.right ul li {
  background: #f2fff5;
  border-left: 4px solid #2ecc71;
}

.compare-box.right ul li::before {
  content: "🌿";
}



/* FINAL CTA */
.edu-final-cta {
  background: #e91e63;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}
.cta-btn {
  background: #fff;
  color: #e91e63;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #f6d8e2;
}
