/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #49BBBD;
  --teal-dark: #3aa8aa;
  --teal-light: rgba(73,187,189,0.12);
  --navy: #1e2a3a;
  --navy-mid: #2f327d;
  --white: #ffffff;
  --off-white: #f6f9fa;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #0f172a;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text); background: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 60px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(73,187,189,0.12);
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; font-weight: 800;
  letter-spacing: 0.14em; color: var(--text);
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-size: 13px; color: var(--gray); font-weight: 500; }
.nav-cta {
  background: var(--teal); color: white;
  padding: 10px 24px; border-radius: 50px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.01em;
  transition: all 0.2s;
  box-shadow: 0 3px 16px rgba(73,187,189,0.3);
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ════════════════════════════════
   HERO SECTION — main redesign
════════════════════════════════ */
.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 60px 0 60px;
  background: linear-gradient(160deg, #e8f8f8 0%, #f0fafa 30%, #ffffff 60%, #f5f7ff 100%);
  position: relative;
  overflow: hidden;
  gap: 0;
}

/* subtle grid pattern */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(73,187,189,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73,187,189,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Hero Left ── */
.hero-left {
  position: relative; z-index: 2;
  padding: 60px 0;
  animation: fadeLeft 0.7s ease both;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(73,187,189,0.1);
  border: 1.5px solid rgba(73,187,189,0.25);
  color: #2a9597; padding: 7px 18px;
  border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 28px; letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.italic-highlight {
  font-style: italic;
  color: var(--navy-mid);
}
.teal-word { color: var(--teal); }

.hero-sub {
  font-size: 16px; line-height: 1.75;
  color: var(--gray); margin-bottom: 36px;
  max-width: 460px; font-weight: 400;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  padding: 14px 30px; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 6px 24px rgba(73,187,189,0.35);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(73,187,189,0.45);
}
.btn-primary.large { padding: 16px 40px; font-size: 16px; }

.btn-ghost {
  color: var(--gray); font-size: 14px; font-weight: 600;
  text-decoration: none; padding: 14px 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--teal); }

/* Inline stats row */
.hero-stats {
  display: flex; align-items: center; gap: 0;
}
.stat-pill {
  display: flex; flex-direction: column; padding-right: 28px;
}
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 800; color: var(--text);
}
.stat-l { font-size: 12px; color: var(--gray); font-weight: 500; margin-top: 2px; }
.stat-sep {
  width: 1px; height: 36px;
  background: var(--gray-light);
  margin-right: 28px;
}

/* ── Hero Right ── */
.hero-right {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  height: 100%; min-height: 580px;
  animation: fadeRight 0.7s 0.1s ease both;
}

/* big teal blob behind image */
.hero-blob {
  position: absolute;
  bottom: 0; right: -30px;
  width: 420px; height: 520px;
  background: linear-gradient(145deg, rgba(73,187,189,0.18), rgba(73,187,189,0.06));
  border-radius: 60% 40% 40% 60% / 50% 50% 60% 40%;
  z-index: 0;
}

/* student image */
.hero-img {
  position: relative; z-index: 2;
  width: 100%; max-width: 520px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(73,187,189,0.15));
  animation: floatImg 5s ease-in-out infinite;
}
@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* orbit tags */
.orbit-tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.orbit-tag {
  position: absolute;
  background: white;
  border: 1.5px solid rgba(73,187,189,0.25);
  padding: 7px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700; color: var(--navy-mid);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  white-space: nowrap;
  animation: floatTag 4s ease-in-out infinite;
}
.ot1 { top: 60px; left: 10px; animation-delay: 0s; }
.ot2 { top: 160px; right: 0px; animation-delay: 1s; }
.ot3 { bottom: 180px; left: 0px; animation-delay: 2s; }
.ot4 { bottom: 80px; right: 10px; animation-delay: 3s; }
@keyframes floatTag {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* floating stat cards */
.float-card {
  position: absolute; z-index: 4;
  background: white; border-radius: 16px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1.5px solid rgba(73,187,189,0.15);
  animation: floatCard 4s ease-in-out infinite;
}
.fc1 { top: 80px; left: -20px; animation-delay: 0.5s; }
.fc2 { top: 50%; right: -20px; transform: translateY(-50%); animation-delay: 1.5s; }
.fc3 { bottom: 120px; left: -10px; animation-delay: 2.5s; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.fc2 { animation: floatCard2 4s 1.5s ease-in-out infinite; }
@keyframes floatCard2 {
  0%,100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 7px)); }
}
.fc-icon { font-size: 26px; }
.fc-val {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 800; color: var(--teal);
  line-height: 1;
}
.fc-label { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; padding: 28px 60px; gap: 0;
}
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 0 40px; }
.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--teal);
}
.trust-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.trust-div { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ── FORM SECTION ── */
.form-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; padding: 100px 60px;
  background: var(--off-white);
}
.form-badge {
  display: inline-block;
  background: #fff3cd; color: #856404;
  border: 1px solid #ffc107;
  padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600; margin-bottom: 20px;
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.form-sub { color: var(--gray); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.form-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.form-perks li { font-size: 14px; color: var(--text); font-weight: 500; }

.form-right {
  background: white; border-radius: 24px;
  padding: 40px; box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  border: 1px solid var(--gray-light);
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select {
  border: 1.5px solid var(--gray-light); border-radius: 10px;
  padding: 12px 16px; font-size: 14px; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none; transition: border 0.2s; background: white; width: 100%;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(73,187,189,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; background: var(--teal); color: white;
  border: none; border-radius: 50px; padding: 15px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s; margin-top: 8px;
  box-shadow: 0 4px 20px rgba(73,187,189,0.3);
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 12px; }
.success-msg { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-msg h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: var(--teal); margin-bottom: 8px;
}
.success-msg p { color: var(--gray); font-size: 14px; line-height: 1.6; }
.hidden { display: none !important; }

/* ── FEATURES ── */
.features { padding: 100px 60px; background: white; text-align: center; }
.section-tag {
  display: inline-block; color: var(--teal);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800; line-height: 1.2;
  color: var(--text); margin-bottom: 56px;
}
.teal { color: var(--teal); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: var(--off-white); border-radius: 20px;
  padding: 36px 28px; text-align: left;
  border: 1.5px solid transparent; transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--teal); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(73,187,189,0.12);
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text);
}
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ── EXAMS STRIP ── */
.exams-strip {
  background: linear-gradient(135deg, var(--teal), #3a9e9e);
  padding: 32px 60px; text-align: center;
}
.exams-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 16px; font-weight: 500; }
.exams-list { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.exams-list span {
  background: rgba(255,255,255,0.2); color: white;
  padding: 6px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 100px 60px; background: var(--off-white); text-align: center; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.testi-card {
  background: white; border-radius: 20px; padding: 32px;
  text-align: left; border: 1.5px solid var(--gray-light); transition: all 0.2s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.testi-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 30px rgba(73,187,189,0.15);
  transform: translateY(-8px);
}
.testi-stars { font-size: 14px; margin-bottom: 14px; }
.testi-text { font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testi-college { font-size: 12px; color: var(--teal); margin-top: 2px; }

/* ── FINAL CTA ── */
.final-cta { background: var(--navy); padding: 100px 60px; text-align: center; }
.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.2;
}
.final-cta p { color: rgba(255,255,255,0.55); font-size: 16px; margin-bottom: 36px; }
.cta-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.cta-trust span { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ── FOOTER ── */
.footer {
  background: #0a1628; padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.12em; color: white;
}
.footer-text { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

/* ── ANIMATIONS ── */
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.loader {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: white; border-radius: 50%;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .navbar { padding: 14px 24px; }
  .nav-phone { display: none; }
  .hero { grid-template-columns: 1fr; padding: 50px 24px 0; text-align: center; min-height: auto; }
  .hero-right { min-height: 360px; }
  .hero-img { max-width: 320px; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 28px; }
  .float-card { display: none; }
  .orbit-tags { display: none; }
  .trust-strip { padding: 24px; }
  .trust-item { padding: 12px 20px; }
  .trust-div { display: none; }
  .form-section { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .exams-strip { padding: 28px 24px; }
  .testimonials { padding: 60px 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card.featured { transform: none; }
  .final-cta { padding: 60px 24px; }
  .footer { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
}

/* ════════════════════════════════
   POPUP FORM
════════════════════════════════ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.popup-overlay.active {
  opacity: 1; pointer-events: all;
}

.popup-box {
  background: white;
  border-radius: 24px;
  width: 100%; max-width: 500px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s ease;
  position: relative;
}
.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}

/* Top teal strip */
.popup-header {
  background: linear-gradient(135deg, var(--teal), #3a9e9e);
  padding: 28px 32px 24px;
  position: relative;
  text-align: center;
}
.popup-close {
  position: absolute; top: 14px; right: 18px;
  background: rgba(255,255,255,0.2); border: none;
  color: white; width: 30px; height: 30px;
  border-radius: 50%; font-size: 18px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: rgba(255,255,255,0.35); }

.popup-emoji { font-size: 36px; margin-bottom: 8px; }
.popup-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 800; color: white;
  margin-bottom: 4px;
}
.popup-header p { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 400; }

/* Urgency bar */
.popup-urgency {
  background: #fff3cd; border-bottom: 1px solid #fde68a;
  padding: 8px 32px; text-align: center;
  font-size: 12px; font-weight: 600; color: #856404;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Form body */
.popup-body { padding: 24px 32px 28px; }

.popup-body .form-group { margin-bottom: 14px; }
.popup-body .form-group label { font-size: 12px; font-weight: 600; color: var(--text); }
.popup-body .form-group input,
.popup-body .form-group select {
  border: 1.5px solid var(--gray-light);
  border-radius: 10px; padding: 11px 14px;
  font-size: 14px; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none; width: 100%;
  transition: border 0.2s; background: white;
}
.popup-body .form-group input:focus,
.popup-body .form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(73,187,189,0.12);
}
.popup-body .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.popup-submit {
  width: 100%; background: var(--teal); color: white;
  border: none; border-radius: 50px; padding: 14px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s; margin-top: 6px;
  box-shadow: 0 4px 16px rgba(73,187,189,0.3);
}
.popup-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }

.popup-note {
  text-align: center; font-size: 11px;
  color: var(--gray); margin-top: 10px;
}

.popup-success {
  padding: 40px 32px; text-align: center;
}
.popup-success .s-icon { font-size: 48px; margin-bottom: 12px; }
.popup-success h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--teal); margin-bottom: 8px;
}
.popup-success p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* countdown ring */
.popup-timer {
  position: absolute; bottom: 14px; right: 18px;
  font-size: 11px; color: rgba(255,255,255,0.7);
  font-weight: 500;
}

@media (max-width: 540px) {
  .popup-box { border-radius: 18px; }
  .popup-header { padding: 22px 20px 18px; }
  .popup-body { padding: 20px; }
  .popup-body .form-row { grid-template-columns: 1fr; }
}