/* ===== ABOUT HERO ===== */
.about-hero {
  min-height: 480px;
  background: url('images/aboutpage-banner.jpg') center/cover no-repeat;
  background-color: #6b3050;
  display: flex; align-items: center;
  position: relative;
}
.about-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,18,60,0.82) 0%, rgba(79,70,229,0.4) 50%, rgba(20,18,60,0.3) 100%);
}
.about-hero-overlay {
  position: relative; z-index: 1;
  padding: 56px 80px;
  color: #fff;
  max-width: 820px; margin: 0 auto; text-align: center;
}
.about-hero-overlay .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: slideDown 0.8s ease forwards;
}
.about-hero-overlay h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800; margin-bottom: 16px;
  color: #fff; line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.about-hero-desc {
  font-size: 0.97rem; opacity: 0.9; line-height: 1.75; text-align: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* ===== HOW WE STARTED ===== */
.how-started {
  display: flex; gap: 64px;
  padding: 100px 80px; align-items: flex-start;
  background: #fff;
}
.how-left { flex: 1; }
.how-left h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 4px; }
.how-img {
  width: 100%; height: 360px;
  border-radius: 20px;
  object-fit: cover; object-position: center top;
  margin: 24px 0 20px;
  box-shadow: 0 12px 40px rgba(79,70,229,0.15);
  background: #d0d8e8;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.how-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(79,70,229,0.2);
}
.how-left p { color: #6b7280; font-size: 0.93rem; line-height: 1.8; margin-bottom: 12px; }
.how-right {
  flex: 0 0 280px; padding-top: 52px;
  background: linear-gradient(135deg, #f5f7ff, #eef2ff);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid #e0e4f5;
}
.how-stat { padding: 18px 0; display: flex; flex-direction: column; gap: 5px; }
.how-stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem; font-weight: 600;
  color: #4f46e5; text-transform: uppercase; letter-spacing: 0.9px;
}
.how-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: #1e1b4b;
}
.how-divider { border: none; border-top: 1px solid #e0e4f5; }

/* ===== MISSION ===== */
.mission {
  display: flex; gap: 60px;
  padding: 100px 80px; align-items: flex-start;
  background: #f5f7ff;
  position: relative;
}
.mission::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #818cf8, #06b6d4);
}
.mission-left { flex: 1; }
.mission-left h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 4px; }
.mission-left p { color: #6b7280; font-size: 0.93rem; line-height: 1.82; margin-top: 14px; }
.mission-right { flex: 0 0 400px; }
.mission-img {
  width: 100%; height: 420px;
  border-radius: 20px;
  object-fit: cover; object-position: center;
  box-shadow: 0 12px 40px rgba(79,70,229,0.15);
  background: #d0d8e8;
  transition: transform 0.4s ease;
}
.mission-img:hover { transform: translateY(-4px); }

/* ===== EDUCATORS ===== */
.educators {
  padding: 100px 80px; background: #fff;
  position: relative;
}
.educators h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 4px; }
.educators-grid {
  display: flex; gap: 48px;
  margin-top: 48px; flex-wrap: wrap;
}
.educator-card {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
  flex: 1; min-width: 180px;
  transition: transform 0.4s ease;
}
.educator-card:hover { transform: translateY(-8px); }
.educator-card img {
  width: 100%; max-width: 240px;
  height: 310px;
  object-fit: cover; object-position: center top;
  border-radius: 20px; background: #d0d8e8;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transition: box-shadow 0.4s ease;
}
.educator-card:hover img {
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.educator-info { display: flex; flex-direction: column; gap: 5px; }
.educator-info h3 { font-size: 1.05rem; font-weight: 700; color: #1e1b4b; }
.educator-exp {
  font-size: 0.82rem; color: #fff;
  background: linear-gradient(135deg, #4f46e5, #3730a3);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.educator-subject { font-size: 0.88rem; color: #374151; font-weight: 700; }

/* ===== WHAT WE OFFER ===== */
.what-offer {
  display: flex; gap: 44px;
  padding: 100px 80px; background: #f5f7ff;
  align-items: flex-start;
}
.offer-left { flex: 1; }
.offer-left h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 4px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.offer-card {
  background: #fff; border-radius: 16px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid #e0e4f5;
  box-shadow: 0 2px 10px rgba(79,70,229,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #818cf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.offer-card:hover::before { transform: scaleX(1); }
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(79,70,229,0.14); }
.offer-card h3 { font-size: 1rem; font-weight: 700; color: #1e1b4b; line-height: 1.4; }
.offer-card p  { font-size: 0.88rem; color: #6b7280; line-height: 1.75; flex: 1; }
.offer-right { flex: 0 0 260px; padding-top: 68px; }
.offer-right img {
  width: 100%; height: 480px;
  border-radius: 20px;
  object-fit: cover; object-position: center;
  box-shadow: 0 12px 40px rgba(79,70,229,0.15);
  background: #d0d8e8;
}

/* ================================================================
   RESPONSIVE — TABLET
================================================================ */
@media (max-width: 1024px) {
  .about-hero-overlay { padding: 40px; }
  .how-started, .mission, .educators, .what-offer { padding: 72px 40px; }
  .how-right { flex: 0 0 240px; }
  .mission-right { flex: 0 0 340px; }
  .offer-right { flex: 0 0 220px; }
}

/* ================================================================
   RESPONSIVE — MOBILE
================================================================ */
@media (max-width: 768px) {
  .about-hero { min-height: 380px; }
  .about-hero-overlay { padding: 40px 20px; }
  .about-hero-overlay h1 { font-size: 1.5rem; }
  .about-hero-desc { font-size: 0.9rem; }

  .how-started { flex-direction: column; padding: 60px 20px; gap: 24px; }
  .how-right { flex: none; width: 100%; padding-top: 0; }
  .how-img { height: 240px; }

  .mission { flex-direction: column; padding: 60px 20px; gap: 28px; }
  .mission-right { flex: none; width: 100%; }
  .mission-img { height: 260px; }

  .educators { padding: 60px 20px; }
  .educators-grid { gap: 28px; }
  .educator-card { min-width: calc(50% - 14px); }
  .educator-card img { max-width: 100%; min-height: 220px; }

  .what-offer { flex-direction: column; padding: 60px 20px; gap: 28px; }
  .offer-right { flex: none; width: 100%; padding-top: 0; }
  .offer-right img { height: 240px; }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-hero-overlay h1 { font-size: 1.3rem; }
  .educator-card { min-width: 100%; }
  .how-stat-value { font-size: 1.3rem; }
}
