:root {
  --navy: #1A2B4A;
  --gold: #B8860B;
  --gold-light: #F0C040;
  --cream: #F9F5EE;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --muted: #555;
  --border: #D8CDB4;
  --green: #2D6A4F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 75px; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); }
a { text-decoration: none; color: inherit; }

/* NAVIGATION */
header {
  position: sticky;
  top: 0;
  background: var(--navy);
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 3px solid var(--gold);
}
.logo-container h1 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 900;
}
.logo-container h1 span { color: var(--gold-light); }
.logo-container p {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}
nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
nav ul li a { color: var(--white); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
nav ul li a:hover { color: var(--gold-light); }
@media (max-width: 760px) {
  header { padding: 16px 5%; flex-wrap: wrap; gap: 10px; }
  .logo-container h1 { font-size: 1.25rem; }
  nav ul { gap: 0; }
  nav ul li:not(:last-child) { display: none; }
  .btn-nav { padding: 8px 14px; font-size: 0.85rem; }
}
.btn-nav { background: var(--gold); color: var(--navy) !important; padding: 10px 20px; border-radius: 4px; font-weight: 700; }

/* HERO SECTION */
.hero {
  display: flex; align-items: center; padding: 80px 8%; gap: 50px; min-height: 75vh;
  position: relative;
  background-color: #0d1a2b;
  background-image: linear-gradient(100deg, rgba(9,20,33,0.42) 0%, rgba(9,20,33,0.22) 42%, rgba(9,20,33,0.05) 100%), url('images/hero-mother-son.webp');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
}
@media (max-width: 1300px) and (min-width: 969px) {
  .hero-content h2 { font-size: 2.7rem; }
  .hero-content { max-width: 460px; }
}
@media (max-width: 968px) { .hero { flex-direction: column; text-align: center; padding: 40px 20px;
  background-color: #0d1a2b;
  background-image: linear-gradient(180deg, rgba(9,20,33,0.6) 0%, rgba(9,20,33,0.3) 30%, rgba(9,20,33,0.55) 100%), url('images/hero-mother-son.webp');
  background-size: cover;
  background-position: 75% 30%;
  background-repeat: no-repeat;
}
  .hero-content h2 { font-size: 2.2rem; }
}
.hero-content { flex: 1; max-width: 620px; }
.hero-tag { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold-light); font-size: 1.4rem; margin-bottom: 10px; }
.hero-content h2 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-content p { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; max-width: 600px; }
.hero-content p strong { color: var(--gold-light) !important; }
.hero-highlight {
  font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold-light) !important;
  font-size: 1.05rem !important; border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 35px !important;
}
@media (max-width: 968px) { .hero-highlight { border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 12px; } }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 968px) { .hero-btns { justify-content: center; } }
.btn-main { background: var(--gold); color: var(--navy); padding: 16px 36px; font-weight: 700; border-radius: 4px; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.45); transition: transform 0.18s ease, box-shadow 0.18s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(0,0,0,0.5); }
.btn-sub { border: 2px solid rgba(255,255,255,0.75); color: var(--white); padding: 14px 34px; font-weight: 600; border-radius: 4px; transition: background 0.18s ease, color 0.18s ease; }
.btn-sub:hover { background: var(--white); color: var(--navy); }
.hero-graphics { display: none; }

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 968px) { .hero-badges { justify-content: center; } }
/* MOBILE HERO REDESIGN (mobile only — desktop hero above is untouched) */
.hero-desc-mobile { display: none; }
.hero-badges-mobile { display: none; }
@media (max-width: 768px) {
  .hero {
    min-height: 86vh;
    max-height: 100vh;
    padding: 26px 20px 22px;
    justify-content: center;
    background-position: 60% 0%; /* final crop: keeps subject's face and laptop in frame on narrow screens */
  }
  .hero-tag { font-size: 0.92rem; margin-bottom: 6px; }
  .hero-content h2 {
    font-size: clamp(1.3rem, 6.2vw, 1.6rem);
    line-height: 1.18;
    margin-bottom: 10px;
  }
  /* Original long paragraph is hidden on mobile; a short version replaces it below */
  .hero-content p.hero-desc { display: none; }
  .hero-desc-mobile {
    display: block;
    color: rgba(255,255,255,0.86);
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: 92%;
    margin: 0 auto 14px;
  }
  /* Decorative quote line dropped on mobile to save vertical space */
  .hero-highlight { display: none; }
  .hero-btns { gap: 12px; margin-top: 2px; }
  /* Feature pills move out of the Hero and render in their own strip below it */
  .hero-badges { display: none; }
  .hero-badges-mobile {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 20px 26px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
  }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--navy);
  background: var(--white); border: 1px solid var(--border); padding: 8px 14px; border-radius: 30px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* STATISTICS SECTION */
.stats-section { background: var(--navy); padding: 50px 8%; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { text-align: center; padding: 20px 14px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-card:last-child { border-right: none; }
@media (max-width: 900px) { .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; } .stat-card:nth-last-child(-n+2) { border-bottom: none; } }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 900; color: var(--gold-light); margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.78); line-height: 1.4; }

/* WHO WE SERVE SECTION */
.serve-section { padding: 80px 8%; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.serve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.serve-card { background: var(--cream); border: 1px solid rgba(216,205,180,0.5); border-radius: 8px; padding: 30px 24px; text-align: center; }
.serve-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 18px;
}
.serve-card h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }
.serve-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.55; }
.serve-note { text-align: center; max-width: 640px; margin: 40px auto 0; color: var(--navy); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; line-height: 1.6; }

/* THE MASTER EMBED PROFILE CARD */
.hero-graphics { flex: 1; display: flex; justify-content: center; }
.profile-showcase-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 360px;
  position: relative;
}
.profile-showcase-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--gold); border-top-left-radius: 8px; border-top-right-radius: 8px;
}
.avatar-circle {
  width: 110px; height: 110px; background: var(--cream); border-radius: 50%; margin: 10px auto 20px; border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.p-name { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--navy); }
.p-role { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-bottom: 15px; }
.p-tag { background: var(--cream); color: var(--navy); padding: 8px 15px; font-weight: 700; font-size: 0.85rem; border-radius: 4px; }

/* WHY CHOOSE US SECTIONS FROM ORIGINAL KANHAIYA FILE */
.why-section { background: var(--white); padding: 60px 8%; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h3 { font-family: 'Playfair Display', serif; font-size: 2.3rem; color: var(--navy); }
.section-title p { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.why-card { background: var(--cream); padding: 25px; border-radius: 6px; border: 1px solid rgba(216,205,180,0.5); }
.why-card h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

/* FACULTY LIST (YOUR REAL ELITE NETWORK) */
.faculty-section { padding: 80px 8%; background: var(--cream); }
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.fac-card { background: var(--white); border-radius: 8px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.fac-img-box { background: #EAEAEA; height: 200px; display: flex; align-items: center; justify-content: center; color: #888; font-weight: 600; font-size: 3rem; }
.fac-details { padding: 25px; }
.fac-details h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 4px; }
.fac-sub { color: var(--gold); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.5px; }
.fac-details p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* PRICING PLANS COMPONENT */
.pricing-section { padding: 80px 8%; background: var(--white); border-top: 1px solid var(--border); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
@media (max-width: 360px) {
  .price-grid { grid-template-columns: 1fr; }
}
.price-card { background: var(--cream); border: 2px solid var(--border); border-radius: 8px; padding: 40px 30px; text-align: center; position: relative; }
.price-card.featured { border-color: var(--navy); }
.featured-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--navy); color: white; padding: 4px 15px; font-size: 0.75rem; font-weight: 700; border-radius: 20px; text-transform: uppercase; }
.price-card h4 { font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }
.price-amt { font-size: 2.2rem; font-weight: 900; color: var(--navy); margin-bottom: 5px; }
.price-amt span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-card p { font-size: 0.85rem; color: var(--gold); font-weight: 700; margin-bottom: 25px; text-transform: uppercase; }
.price-features { list-style: none; text-align: left; margin-bottom: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.price-features li { font-size: 0.9rem; margin-bottom: 12px; color: var(--text); display: flex; gap: 10px; }

/* COMING SOON — COMMERCE MENTORSHIP */
.commerce-section { padding: 80px 8%; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.commerce-pill {
  display: inline-block; background: var(--navy); color: var(--white); padding: 5px 16px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 20px; margin-top: 6px;
}
.commerce-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.commerce-card { background: var(--cream); padding: 25px; border-radius: 6px; border: 1px solid rgba(216,205,180,0.5); position: relative; opacity: 0.92; }
.commerce-card h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }
.commerce-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.commerce-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: 0.9rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ADMISSION FORM MATCHING ORIGINAL DOUBLE DROPDOWN LOGIC */
.admission-section { padding: 80px 8%; background: var(--cream); }
.form-wrapper { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 40px; max-width: 750px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
@media (max-width: 600px) { .form-row { flex-direction: column; gap: 20px; } }
.form-group { flex: 1; display: flex; flex-direction: column; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; text-transform: uppercase; }
.form-control { padding: 12px; border: 1px solid var(--border); background: var(--cream); border-radius: 4px; font-size: 0.95rem; font-family: inherit; }
.form-submit-btn { background: var(--navy); color: var(--white); padding: 15px; width: 100%; border: none; font-weight: 700; font-size: 1rem; border-radius: 4px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; }

/* STUDENT JOURNEY */
.journey-section { padding: 80px 8%; background: var(--white); border-top: 1px solid var(--border); }
.journey-track { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; position: relative; }
.journey-step { flex: 1; min-width: 160px; text-align: center; position: relative; padding: 0 10px; }
.journey-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 16px; font-family: 'Playfair Display', serif; position: relative; z-index: 2;
}
.journey-step h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.journey-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.journey-line {
  position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 1;
}
@media (max-width: 900px) {
  .journey-track { flex-direction: column; align-items: stretch; gap: 30px; }
  .journey-line { display: none; }
  .journey-step { text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 0; }
  .journey-num { margin: 0; flex-shrink: 0; }
}

/* WHY PARENTS TRUST US */
.trust-section { padding: 80px 8%; background: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 26px; }
.trust-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.trust-item h4 { font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.trust-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* TESTIMONIALS */
.testimonial-section { padding: 80px 8%; background: var(--white); border-top: 1px solid var(--border); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 28px; position: relative; }
.testimonial-quote { font-size: 0.92rem; color: var(--text); line-height: 1.65; font-style: italic; margin-bottom: 18px; }
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--border); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; color: var(--navy); flex-shrink: 0;
}
.testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.testimonial-sub { font-size: 0.76rem; color: var(--muted); }
.testimonial-placeholder-tag {
  position: absolute; top: 14px; right: 14px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(184,134,11,0.12); color: var(--gold); padding: 3px 8px; border-radius: 3px; font-weight: 700;
}

/* FAQ */
.faq-section { padding: 80px 8%; background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 14px; overflow: hidden; }
.faq-question {
  padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 0.95rem; color: var(--navy);
}
.faq-question .icon { font-size: 1.2rem; color: var(--gold); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 14px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 22px 18px; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 300px; }

/* FINAL CTA SECTION */
.final-cta-section { background: var(--navy); padding: 70px 8%; text-align: center; }
.final-cta-section h3 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--white); margin-bottom: 14px; }
.final-cta-section p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 540px; margin: 0 auto 32px; line-height: 1.6; }
.final-cta-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary { background: var(--gold); color: var(--navy); padding: 16px 36px; font-weight: 700; border-radius: 4px; box-shadow: 0 8px 22px -6px rgba(184,134,11,0.5); transition: transform 0.18s ease; }
.btn-cta-primary:hover { transform: translateY(-2px); }
.btn-cta-secondary { border: 2px solid rgba(255,255,255,0.5); color: var(--white); padding: 14px 34px; font-weight: 600; border-radius: 4px; transition: background 0.18s ease, border-color 0.18s ease; }
.btn-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* FOOTER MATCHING EXACT TEXT FROM ORIGINAL BACKEND */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 8% 0; font-size: 0.85rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-col h5 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; font-family: 'Playfair Display', serif; }
.footer-col p { line-height: 1.6; font-size: 0.85rem; margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-statement {
  text-align: center; font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold-light);
  font-size: 1.05rem; letter-spacing: 0.3px; padding-bottom: 30px; max-width: 1100px; margin: 0 auto;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; text-align: center; font-size: 0.78rem;
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-light); }
footer strong { color: var(--white); }

/* Floating WhatsApp contact button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.45);
  z-index: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -6px rgba(0,0,0,0.5);
  border-color: var(--gold-light);
}
.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-light);
}
@media (max-width: 760px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg {
    width: 21px;
    height: 21px;
  }
}

/* Meet Our Faculty section (placeholder profiles) */
.team-section { padding: 80px 8%; background: var(--cream); border-top: 1px solid var(--border); }

.team-slider { display: flex; align-items: center; gap: 18px; max-width: 980px; margin: 0 auto; }
.team-track-viewport { overflow: hidden; flex: 1; }
.team-track { display: flex; gap: 32px; transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }

.team-slide { flex: 0 0 78%; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
  padding: 48px; display: flex; align-items: center; gap: 44px; text-align: left;
  opacity: 0.4; transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}
.team-slide.is-active .team-card { opacity: 1; transform: scale(1); box-shadow: 0 18px 40px -18px rgba(0,0,0,0.16); }

.team-portrait {
  flex-shrink: 0; width: 190px; height: 240px; border-radius: 4px;
  background: var(--cream); border: 1px solid var(--gold);
  box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--border);
  display: flex; align-items: center; justify-content: center;
}
.team-portrait svg { width: 62px; height: 62px; fill: var(--navy); opacity: 0.55; }

.team-content { flex: 1; min-width: 0; }
.team-name { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--navy); margin-bottom: 6px; }
.team-role {
  color: var(--gold); font-weight: 700; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 1.5px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border);
}
.team-philosophy {
  font-family: 'Playfair Display', serif; font-style: italic; color: var(--muted);
  font-size: 1rem; line-height: 1.65; margin-bottom: 22px; max-width: 480px;
}
.team-profile-link {
  background: none; border: none; padding: 0; cursor: default;
  font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1px; color: var(--gold); text-transform: uppercase;
}

.team-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.team-arrow svg { width: 18px; height: 18px; }
.team-arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.team-arrow:active:not(:disabled) { transform: scale(0.94); }
.team-arrow:disabled { opacity: 0.3; cursor: default; }

.team-counter { text-align: center; margin-top: 24px; font-family: 'Playfair Display', serif; font-style: italic; color: var(--muted); font-size: 0.85rem; letter-spacing: 1px; }
.team-counter-current { color: var(--gold); font-weight: 700; font-style: normal; }

@media (max-width: 760px) {
  .team-slider { gap: 10px; }
  .team-slide { flex: 0 0 100%; }
  .team-card { flex-direction: column; align-items: flex-start; gap: 22px; padding: 30px 20px; }
  .team-portrait { width: 100%; height: 170px; }
  .team-portrait svg { width: 46px; height: 46px; }
  .team-name { font-size: 1.4rem; }
  .team-philosophy { max-width: none; }
  .team-arrow { width: 38px; height: 38px; }
}

/* Enrolment flow — structural preview of future payment/enrolment steps */
.enrol-flow-section { padding: 70px 8% 80px; background: var(--white); border-top: 1px solid var(--border); }
.enrol-steps { display: flex; align-items: flex-start; justify-content: center; max-width: 1000px; margin: 0 auto; gap: 0; }
.enrol-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 160px; flex-shrink: 0; }
.enrol-step-num {
  width: 50px; height: 50px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold);
  color: var(--gold-light); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.enrol-step-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.enrol-step-connector { flex: 1; height: 2px; background: var(--border); margin-top: 25px; min-width: 20px; }
.enrol-reassurance {
  text-align: center; margin-top: 40px; font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--gold); font-size: 0.95rem; letter-spacing: 0.3px;
}
@media (max-width: 760px) {
  .enrol-steps { flex-direction: column; align-items: center; gap: 6px; }
  .enrol-step { width: 100%; flex-direction: row; text-align: left; gap: 14px; justify-content: flex-start; max-width: 320px; }
  .enrol-step-num { margin-bottom: 0; flex-shrink: 0; }
  .enrol-step-connector { width: 2px; height: 22px; margin: 0 0 0 24px; }
}

/* Enrolment flow — Step 1 interactive program selection */
.enrol-step1-panel {
  max-width: 640px; margin: 0 auto; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}
.enrol-step1-panel.is-open { max-height: 300px; opacity: 1; margin: 40px auto 0; }
.enrol-step1-title {
  text-align: center; font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--navy); font-size: 1.05rem; margin-bottom: 20px;
}
.enrol-program-options { display: flex; gap: 20px; }
.enrol-program-option {
  flex: 1; background: var(--white); border: 1.5px solid var(--border); border-radius: 6px;
  padding: 22px 16px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  color: var(--navy); cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.enrol-program-option:hover { border-color: var(--gold); }
.enrol-program-option:active { transform: scale(0.98); }
.enrol-program-option.is-selected {
  border-color: var(--gold); background: var(--navy); color: var(--gold-light);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.3);
}
@media (max-width: 600px) {
  .enrol-program-options { flex-direction: column; gap: 14px; }
}

/* Enrolment flow — Step 2 student details panel */
.enrol-step2-panel {
  max-width: 750px; margin: 0 auto; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height 0.6s ease, opacity 0.5s ease, margin 0.5s ease;
}
.enrol-step2-panel.is-open { max-height: 1200px; opacity: 1; margin: 40px auto 0; }
.enrol-step2-title {
  text-align: center; font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--navy); font-size: 1.05rem; margin-bottom: 8px;
}
.enrol-selected-program {
  text-align: center; font-size: 0.85rem; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 24px;
}
.enrol-step2-form-wrapper { padding: 32px; }
@media (max-width: 600px) {
  .enrol-step2-form-wrapper { padding: 24px 20px; }
}

/* Enrolment flow — Step 3 batch/session confirmation panel */
.enrol-step3-panel {
  max-width: 560px; margin: 0 auto; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height 0.6s ease, opacity 0.5s ease, margin 0.5s ease;
}
.enrol-step3-panel.is-open { max-height: 600px; opacity: 1; margin: 40px auto 0; }
.enrol-step3-title {
  text-align: center; font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--navy); font-size: 1.05rem; margin-bottom: 20px;
}
.enrol-summary-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: 6px;
  padding: 28px 32px; margin-bottom: 24px;
}
.enrol-summary-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.enrol-summary-row:last-child { border-bottom: none; }
.enrol-summary-label {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold);
}
.enrol-summary-value { font-size: 0.95rem; font-weight: 600; color: var(--navy); text-align: right; }
@media (max-width: 600px) {
  .enrol-summary-card { padding: 22px 20px; }
  .enrol-summary-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .enrol-summary-value { text-align: left; }
}

/* Enrolment flow — Step 4 secure payment panel */
.enrol-step4-panel {
  max-width: 560px; margin: 0 auto; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height 0.6s ease, opacity 0.5s ease, margin 0.5s ease;
}
.enrol-step4-panel.is-open { max-height: 600px; opacity: 1; margin: 40px auto 0; }
.enrol-step4-title {
  text-align: center; font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--navy); font-size: 1.05rem; margin-bottom: 20px;
}
.enrol-reassurance--inline { margin-top: 16px; }
