/* =========================================================
   NZERU Education Hub — Premium Design System
   ========================================================= */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --purple:     #7c3aed;
  --purple-text:#230340;
  --violet:     #9333ea;
  --deep:       #230340;
  --ink:        #1e1b2e;
  --ink-soft:   #3d3557;
  --muted:      #f8f5ff;
  --white:      #ffffff;
  --border:     rgba(0, 0, 0, 0.08);
  --grad:       linear-gradient(135deg, #7c3aed 0%, #9333ea 55%, #a855f7 100%);
  --grad-dark:  linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  --shadow-sm:  0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md:  0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 24px 64px rgba(0, 0, 0, 0.12);
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --transition: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fdfdff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────── */
.container { width: min(1160px, 90vw); margin-inline: auto; }

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 253, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}
.scrolled .site-header {
  box-shadow: 0 4px 24px rgba(91, 33, 182, 0.10);
  background: rgba(253, 253, 255, 0.98);
}

.navbar {
  width: min(1200px, 96vw);
  min-height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 16px;
  transition: min-height var(--transition), gap var(--transition);
}
.compact .navbar { min-height: 64px; gap: 16px; }

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  transition: width var(--transition), height var(--transition),
              opacity var(--transition), transform var(--transition);
}

/* Search */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: min(540px, 40vw);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: var(--shadow-sm);
  transition: width var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.search-wrap:focus-within {
  border-color: var(--purple-text);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
#siteSearch {
  width: 100%;
  height: 36px;
  border: none;
  background: transparent;
  outline: none;
  padding: 0 36px 0 10px;
  font: 500 14px 'Poppins';
  color: var(--ink);
}
#siteSearch::placeholder { color: #a09cbe; }
.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}
.search-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-inline,
.icon-asset,
.feature-icon,
.subject-card .subject-icon,
.choice-card .icon,
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.icon-inline img,
.icon-asset img,
.feature-icon img,
.subject-card .subject-icon img,
.choice-card .icon img,
.icon-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.icon-inline {
  width: 22px;
  height: 22px;
}
.icon-inline--sm {
  width: 18px;
  height: 18px;
}
.icon-inline--md {
  width: 26px;
  height: 26px;
}
.icon-inline--lg {
  width: 36px;
  height: 36px;
}

/* Suggestions */
.suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 9999;
  max-height: 380px;
  overflow: auto;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.suggestions.show { display: block; transform: translateY(0); opacity: 1; }
.suggestions a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--transition), color var(--transition);
}
.suggestions a:not(:last-child) { border-bottom: 1px solid rgba(124, 58, 237, 0.06); }
.suggestions a:hover { background: var(--muted); color: var(--purple-text); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 32px);
  flex: 1;
  margin-left: 0;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: inherit;
  transition: color var(--transition), transform var(--transition);
}
.nav-links a::after,
.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after,
.dropdown-toggle.active::after { width: 100%; }
.nav-links a:hover,
.dropdown-toggle:hover,
.nav-links a.active,
.dropdown-toggle.active { color: var(--purple-text); }

.dropdown-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  display: none;
  padding: 8px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 20;
}
.dropdown.open .dropdown-menu { display: grid; }
.dropdown-menu a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--muted); color: var(--purple-text); }

/* Chevron */
.chevron {
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
}

/* Register pill */
.register-dropdown { position: relative; flex-shrink: 0; }
.register-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 210px;
  display: none;
  padding: 8px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 20;
}
.register-dropdown.open .register-menu { display: grid; }
.register-menu a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-text);
  transition: background var(--transition);
}
.register-menu a:hover { background: var(--muted); }

.register-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--purple);
  border-radius: 999px;
  padding: 10px 22px;
  color: var(--purple-text);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.register-pill:hover {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
  transform: translateY(-1px);
}


/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

/* Ghost */
.btn.ghost {
  min-width: 200px;
  height: 50px;
  padding: 0 28px;
  border: 2px solid var(--purple);
  background: #fff;
  color: var(--purple-text);
}
.btn.ghost:hover {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28);
}

/* Solid (filled) */
.btn.solid {
  height: 48px;
  padding: 0 26px;
  border: none;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}
.btn.solid:hover {
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.38);
}

/* Wide */
.btn.wide {
  min-width: 280px;
  height: 52px;
  border: none;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}
.btn.wide:hover {
  background: var(--grad-dark);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.38);
}

.btn.white {
  border: 2px solid var(--purple);
  background: #fff;
  color: var(--purple-text);
  box-shadow: none;
}
.btn.white:hover {
  background: #f8f5ff;
  color: var(--deep);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.18);
}

/* Secondary */
.btn.secondary {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--purple-text);
}
.btn.secondary:hover {
  background: var(--muted);
  box-shadow: var(--shadow-sm);
}

/* Outline-light (hero) */
.outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  min-width: 150px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.outline-light:hover {
  background: #fff;
  color: var(--purple-text);
  border-color: #fff;
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background-color: #2a0f5d;
  background-image: linear-gradient(100deg, rgba(91, 33, 182, 0.38) 0%, rgba(124, 58, 237, 0.24) 45%, rgba(168, 85, 247, 0.12) 100%), url('../assets/images/Hero%20bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(91, 33, 182, 0.3) 0%, rgba(124, 58, 237, 0.2) 45%, rgba(168, 85, 247, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(55, 15, 125, 0.18) 0%, rgba(91, 33, 182, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 60px clamp(20px, 5vw, 72px);
  margin: 0;
  transform: none;
}
.hero-top {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.95;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.5vw, 66px);
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -1.5px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.75));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outline-light {
  margin: 32px 0 0;
  justify-content: flex-start;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}
.hero-actions .outline-light {
  margin: 0;
}
.hero-actions .outline-light:first-child {
  background: #5b00b0;
  color: var(white);
  border-color: #fff;
}
.hero-actions .outline-light:first-child:hover {
  background: #f8f5ff;
  color: var(--deep);
  border-color: #f8f5ff;
}
.hero-actions .outline-light.secondary {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}
.hero-actions .outline-light.secondary:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* =========================================================
   HERO SEARCH STRIP
   ========================================================= */

.hero-search-strip {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.search-strip-inner {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.search-strip-copy {
  text-align: center;
}

.search-strip-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--ink);
}

.hero-search-strip .search-wrap {
  width: min(62vw, 1080px);
  max-width: 100%;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-search-strip .search-wrap:focus-within {
  border-color: #000;
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.12);
}

.hero-search-strip .search-icon {
  right: 14px;
}

.hero-search-strip #siteSearch {
  background: transparent;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-color: #faf7fd;
}
.how.section-light {
  background:
    radial-gradient(circle at 10% 20%, rgba(123, 47, 247, 0.03) 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(177, 77, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.02) 0%, transparent 50%),
    #faf7fd;
}
.how::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: #7B2FF7;
  filter: blur(120px);
  opacity: 0.04;
  top: -80px;
  left: -120px;
  border-radius: 50%;
  pointer-events: none;
}
.how::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: #B14DFF;
  filter: blur(130px);
  opacity: 0.04;
  bottom: -120px;
  right: -150px;
  border-radius: 50%;
  pointer-events: none;
}
.how > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.how h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--purple-text);
  letter-spacing: -0.6px;
}
.how .section-subtitle {
  font-size: 15px;
  line-height: 1.55;
  max-width: 540px;
  margin: 10px auto 0;
  color: var(--ink-soft);
  opacity: 0.8;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--purple-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin: 40px 0;
  width: 100%;
  position: relative;
}
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border-radius: 18px;
  background: linear-gradient(135deg, #7B2FF7 0%, #9333EA 50%, #B14DFF 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
  min-height: auto;
}
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;
}
.step-card:hover::before {
  opacity: 1;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(123, 47, 247, 0.18);
}
.step-card-image-wrap {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.step-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.step-card:hover .step-card-image-wrap img {
  transform: scale(1.06);
}
.step-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(123, 47, 247, 0.12), rgba(30, 9, 80, 0.65));
  z-index: 1;
}
.step-card-body {
  padding: 22px 20px 24px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.step-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

/* Staggered delay for scroll reveal animations removed */

.step-card h3 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.step-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* CTA Section Styles */
.how-cta {
  margin-top: 40px;
  text-align: center;
  width: 100%;
}
.how-cta p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  opacity: 0.85;
}
.how-cta .btn.ghost {
  display: inline-flex;
  width: auto;
  min-width: 180px;
  max-width: 240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 42px;
  line-height: 42px;
}

/* =========================================================
   PURPLE BAND — COURSE SECTIONS
   ========================================================= */

.purple-band {
  padding: 72px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
}
.purple-band::before,
.purple-band::after {
  content: "";
  display: none;
}
.purple-band .container {
  position: relative;
  z-index: 2;
}
.purple-band h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}
.purple-band.school {
  border-top: none;
}

/* Unified Parallax Background Wrapper styles */
.parallax-section-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
}
.parallax-bg,
.parallax-overlay {
  display: none;
}
.parallax-content {
  position: relative;
  z-index: 2;
}
.parallax-section-wrapper .purple-band::before,
.parallax-section-wrapper .purple-band::after {
  display: none;
}
.parallax-section-wrapper .purple-band {
  padding: 48px 0;
}
.parallax-section-wrapper .purple-band:first-of-type {
  padding-top: 80px;
  padding-bottom: 24px;
}
.parallax-section-wrapper .purple-band:last-of-type {
  padding-top: 24px;
  padding-bottom: 80px;
}

@media (max-width: 900px) {
  .purple-band::before {
    background-attachment: scroll;
  }
  .js-parallax-enabled .parallax-bg {
    top: 0;
    height: 100%;
    will-change: transform;
  }
}

.course-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.course-grid.two { grid-template-columns: repeat(2, 1fr); }
.course-grid.three { grid-template-columns: repeat(3, 1fr); }

.course-card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--purple-text);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  align-self: start;
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.course-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--deep);
}
.course-card p,
.course-card li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.course-card .card-summary {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--ink);
}
.course-card .card-details {
  display: none;
  margin-top: 6px;
}
.course-card.is-expanded .card-details {
  display: block;
}
.course-card ul {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 0;
}
.course-card li::before {
  content: '✦ ';
  color: var(--purple-text);
  font-size: 10px;
}
.course-card .card-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.course-card .card-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
  white-space: nowrap;
}
.course-card .card-toggle:hover {
  text-decoration: underline;
}
.course-card .btn.ghost {
  margin-top: 0;
  min-width: 0;
  height: 42px;
  padding: 0 18px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Course image thumbnail in cards */
.course-card .card-img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

/* Team card icons */
.course-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  line-height: 1;
}
.course-card .card-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* =========================================================
   WHY SECTION (How We Offer Best Classes)
   ========================================================= */

.why {
  position: relative;
  padding: 100px 0 120px;
  background-color: #ffffff;
  overflow: hidden;
}

/* Background Decorative Elements */
.why-decor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.why-decor-blob.blob-1 {
  width: 350px;
  height: 350px;
  background: rgba(124, 58, 237, 0.08);
  top: -50px;
  left: -120px;
}
.why-decor-blob.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(147, 51, 234, 0.07);
  bottom: 80px;
  right: -80px;
}
.why-decor-dots {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(rgba(124, 58, 237, 0.12) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.why .container {
  position: relative;
  z-index: 1;
}

/* Upper Two-Column Layout */
.why-upper-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

/* Left Column: Heading & Text */
.why-tagline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple);
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}
.why-text-col h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 850;
  color: var(--deep);
  margin-bottom: 20px;
}
.highlight-grad {
  background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 580px;
}

/* Left Column Compact Stats */
.why-left-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 540px;
}
.left-stat-item {
  display: flex;
  flex-direction: column;
}
.left-stat-number {
  font-size: 24px;
  font-weight: 850;
  color: var(--purple);
  margin-bottom: 4px;
}
.left-stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Right Column: Hero Image with Floating Badges */
.why-image-col {
  display: flex;
  justify-content: center;
}
.why-hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(35, 3, 64, 0.12) 100%);
  border-radius: 28px;
  pointer-events: none;
}
.why-hero-image-wrap:hover {
  transform: translateY(-4px);
}
.why-hero-image-wrap:hover .why-hero-img {
  transform: scale(1.03);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(35, 3, 64, 0.08);
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}
.floating-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  display: grid;
  place-items: center;
}
.floating-badge .badge-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.floating-badge .badge-icon-text {
  font-size: 18px;
}
.floating-badge .badge-content {
  display: flex;
  flex-direction: column;
}
.floating-badge .badge-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.2;
}
.floating-badge .badge-subtitle {
  font-size: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  opacity: 0.8;
  margin-top: 1px;
}

/* Badge Floating Positions and Animations */
.badge-1 {
  bottom: 28px;
  left: -48px;
  animation-delay: 0s;
}
.badge-2 {
  top: 40px;
  right: -48px;
  animation-delay: 1.8s;
}
.badge-3 {
  bottom: 140px;
  right: -36px;
  animation-delay: 0.9s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Middle Section: Premium Feature Cards */
.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}
.premium-feature-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease;
  z-index: 1;
}
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.feature-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.06);
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease;
  margin-bottom: 24px;
  color: var(--purple);
}
.feature-icon-container img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.premium-feature-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 12px;
}
.premium-feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  opacity: 0.9;
}
.card-learn-more {
  font-size: 13px;
  font-weight: 750;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}
.card-learn-more .arrow {
  transition: transform 0.3s ease;
}

/* Card Hover States */
.premium-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 12px 40px rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.25);
}
.premium-feature-card:hover .card-glow {
  opacity: 1;
}
.premium-feature-card:hover .feature-icon-container {
  transform: scale(1.08);
  background-color: var(--purple);
}
.premium-feature-card:hover .feature-icon-container img {
  filter: brightness(0) invert(1);
}
.premium-feature-card:hover .card-learn-more {
  color: var(--violet);
}
.premium-feature-card:hover .card-learn-more .arrow {
  transform: translateX(4px);
}

/* Lower Section: Statistics Strip */
.why-stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 5;
}
.strip-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.stat-number {
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 850;
  color: var(--deep);
  line-height: 1;
}
.stat-plus {
  font-size: 26px;
  font-weight: 800;
  color: var(--purple);
  margin-left: 2px;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.strip-separator {
  width: 1px;
  height: 60px;
  background-color: var(--border);
}

/* Scroll Reveal Base Classes */
.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left {
  transform: translate3d(-30px, 0, 0);
}
.reveal-right {
  transform: translate3d(30px, 0, 0);
}
.reveal-up {
  transform: translate3d(0, 40px, 0);
}
.reveal-on-scroll.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Staggered Children Animation */
.reveal-stagger-item {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-stagger-item.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Tablet Styles */
@media (max-width: 900px) {
  .why-upper-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 56px;
    text-align: center;
  }
  .why-intro-text {
    margin-left: auto;
    margin-right: auto;
  }
  .why-left-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .why-hero-image-wrap {
    max-width: 440px;
    margin: 0 auto;
  }
  .floating-badge.badge-1 {
    left: -24px;
    bottom: 20px;
  }
  .floating-badge.badge-2 {
    right: -24px;
    top: 20px;
  }
  .floating-badge.badge-3 {
    right: -20px;
    bottom: 120px;
  }
  .why-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 56px;
  }
  .premium-feature-card {
    padding: 32px;
  }
}

/* Mobile Styles */
@media (max-width: 560px) {
  .why {
    padding: 60px 0 80px;
  }
  .why-upper-grid {
    gap: 36px;
    margin-bottom: 40px;
  }
  .why-left-stats {
    gap: 16px;
  }
  .left-stat-number {
    font-size: 20px;
  }
  .left-stat-label {
    font-size: 11px;
  }
  .why-hero-img {
    height: 320px;
  }
  
  /* Reposition badges for mobile to sit inside the container */
  .floating-badge {
    padding: 8px 12px;
    border-radius: 12px;
    gap: 8px;
  }
  .floating-badge .badge-icon {
    width: 28px;
    height: 28px;
  }
  .floating-badge .badge-icon img {
    width: 14px;
    height: 14px;
  }
  .floating-badge .badge-icon-text {
    font-size: 14px;
  }
  .floating-badge .badge-title {
    font-size: 11px;
  }
  .floating-badge .badge-subtitle {
    font-size: 8px;
  }
  .floating-badge.badge-1 {
    left: 12px;
    bottom: 12px;
  }
  .floating-badge.badge-2 {
    right: 12px;
    top: 12px;
  }
  .floating-badge.badge-3 {
    display: none; /* Hide third badge on small screens to prevent overcrowding */
  }

  /* Cards Horizontal swipe slider */
  .why-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 10px 4px 24px;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;
    margin-right: calc(-50vw + 50%);
    margin-left: calc(-50vw + 50%);
    padding-right: 5vw;
    padding-left: 5vw;
  }
  .why-cards-grid::-webkit-scrollbar {
    display: none;
  }
  .why-cards-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .premium-feature-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 28px;
  }
  .premium-feature-card h4 {
    font-size: 16px;
  }
  .premium-feature-card p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Stats Strip Stacking */
  .why-stats-strip {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }
  .strip-separator {
    width: 80%;
    height: 1px;
  }
  .stat-number {
    font-size: 32px;
  }
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 72px clamp(20px, 5vw, 56px);
  background:
    linear-gradient(100deg, rgba(91, 33, 182, 0.97) 0%, rgba(124, 58, 237, 0.92) 55%, rgba(168, 85, 247, 0.22) 100%),
    url('../assets/images/contact-student.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-copy,
.contact-faq {
  position: relative;
  z-index: 1;
}
.contact-card {
  width: 100%;
  max-width: 560px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}
.contact-card h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  color: var(--deep);
}
.contact-card > p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #e7def8;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fcfbff;
  color: var(--ink);
  font: 500 15px 'Poppins';
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-text);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8d84a6; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  border: none;
  border-radius: 999px;
  padding: 14px;
  background: var(--grad);
  color: #fff;
  font: 700 16px 'Poppins';
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-form button:hover {
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.22);
  transform: translateY(-1px);
}
.contact-faq {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #5b21b6;
  border: none;
  align-self: start;
}
.faq-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-header p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.82;
  margin-bottom: 18px;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 15px 'Poppins';
  text-align: left;
  cursor: pointer;
}
.faq-question span {
  font-size: 18px;
  line-height: 1;
  transition: transform var(--transition);
}
.faq-item.active .faq-question span {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.84);
}
.faq-item.active .faq-answer {
  max-height: 140px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  position: relative;
  padding: 56px 0 32px;
  background: #5b21b6;
  color: #fff;
  overflow: hidden;
  border-top: none;
}
.footer-home {
  background: #fff;
  color: #000;
}
.footer-home h3,
.footer-home p,
.footer-home .footer-contact-line,
.footer-home a,
.footer-home .footer-note {
  color: #000;
}
.footer-home .footer-contact-line span {
  color: rgba(0, 0, 0, 0.72);
}
.footer-home a:hover {
  color: #000;
  opacity: 0.95;
}
.footer-home .footer-socials a {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
}
.footer-home .footer-socials a:hover {
  background: #000;
  color: #fff;
}
.footer-home .footer-socials a:hover img {
  filter: none;
}
.footer-purple {
  background: #5b21b6;
  color: #fff;
  border-top-color: transparent;
  box-shadow: none;
}
.footer::before {
  display: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer h3 {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
}
.footer p,
.footer .footer-contact-line {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.footer-brand p { max-width: 340px; margin: 14px 0 20px; }
.footer a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color var(--transition), transform var(--transition), opacity var(--transition);
}
.footer a:hover { color: var(--purple-text); transform: translateX(3px); }
.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-contact-line span { color: rgba(91, 33, 182, 0.55); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-contact-line a { display: inline; margin: 0; }
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--deep);
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  border: 0;
  transition: background var(--transition), color var(--transition), transform var(--transition), opacity var(--transition);
}
.footer-socials a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform var(--transition), opacity var(--transition);
}
.footer-socials a:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
  opacity: 0.92;
}
.footer-socials a:hover img {
  transform: scale(1.05);
}
.footer,
.footer-purple {
  color: #fff;
}
.footer:not(.footer-home) h1,
.footer:not(.footer-home) h2,
.footer:not(.footer-home) h3,
.footer:not(.footer-home) h4,
.footer:not(.footer-home) h5,
.footer:not(.footer-home) h6,
.footer:not(.footer-home) p,
.footer:not(.footer-home) span,
.footer:not(.footer-home) small,
.footer:not(.footer-home) div,
.footer:not(.footer-home) a,
.footer:not(.footer-home) li,
.footer:not(.footer-home) input,
.footer:not(.footer-home) textarea,
.footer:not(.footer-home) button,
.footer:not(.footer-home) em,
.footer:not(.footer-home) strong,
.footer:not(.footer-home) label,
.footer:not(.footer-home) .footer-contact-line,
.footer:not(.footer-home) .footer-note,
.footer-purple h3,
.footer-purple p,
.footer-purple .footer-contact-line,
.footer-purple .footer a,
.footer-purple .footer-note {
  color: #fff;
}
.footer:not(.footer-home) .footer-contact-line span,
.footer-purple .footer-contact-line span {
  color: rgba(255, 255, 255, 0.72);
}
.footer:not(.footer-home) a:hover,
.footer-purple .footer a:hover {
  color: #fff;
  opacity: 0.95;
}
.footer-home a:hover {
  color: #000;
  opacity: 0.95;
}
.footer-purple .footer-socials a {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.footer-purple .footer-socials a:hover {
  background: #fff;
  color: var(--deep);
}
.footer-purple .footer-socials a:hover img {
  filter: none;
}
.footer-note {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}
.footer-divider {
  margin: 32px 0 24px;
  border: none;
  border-top: 1px solid rgba(124, 58, 237, 0.08);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */

.page-hero {
  padding: 90px 20px 80px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-hero p {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  opacity: 0.85;
  line-height: 1.65;
}

/* ── Premium Hero (Shared Layout) ── */
.premium-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  padding: 0;
  color: #fff;
  text-align: center;
}

.premium-hero .hero-parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  transform: scale(1);
  filter: saturate(1.05);
}

/* Background image overrides */
.about-hero .hero-parallax-bg {
  background-image: url('../assets/images/about top banner bg.webp');
}
.msce-hero .hero-parallax-bg {
  background-image: url('../assets/images/Hero  bg (3).jpg');
}
.prof-hero .hero-parallax-bg {
  background-image: url('../assets/images/Hero  bg (4).jpg');
}

.premium-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 9, 80, 0.65) 0%, rgba(15, 5, 40, 0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

.premium-hero .hero-light-effects {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.premium-hero .blur-blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
}

.premium-hero .blob-1 {
  background: var(--purple);
  top: -50px;
  left: 8%;
}

.premium-hero .blob-2 {
  background: #a855f7;
  bottom: -50px;
  right: 12%;
}

.premium-hero .hero-content {
  position: relative;
  z-index: 3;
  width: min(800px, 90vw);
  margin: 0 auto;
  padding: 0 20px 40px; /* offset for SVG wave divider */
}



.premium-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroRevealUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-hero p {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(20px);
  animation: heroRevealUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.25s forwards;
}

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

.premium-hero .hero-divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 70px;
  z-index: 4;
  pointer-events: none;
}

.premium-hero .hero-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #fdfdff; /* matches body background */
}

@media (max-width: 768px) {
  .premium-hero {
    height: 50vh;
    min-height: 350px;
  }
  .premium-hero .hero-divider {
    height: 40px;
  }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 64px 0;
}
.info-grid article {
  padding: 32px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.info-grid h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 10px;
}
.info-grid p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* Cards four */
.cards-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 0 64px;
}
.cards-four article {
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cards-four article .icon-inline {
  width: 36px;
  height: 36px;
}
.cards-four article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--purple-text);
}

/* Stats */
.stats {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 56px 8vw;
  background: linear-gradient(135deg, rgba(249, 246, 255, 0.96) 0%, rgba(240, 232, 255, 0.96) 100%);
  text-align: center;
  gap: 16px;
  overflow: hidden;
}

.stats > div { padding: 16px 8px; }
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/about top banner bg.webp');
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  transform: scale(1);
  opacity: 0.16;
  z-index: -1;
}
.stats > div {
  position: relative;
  z-index: 1;
  padding: 16px 8px;
}
.stats strong {
  display: block;
  color: var(--purple-text);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.stats span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   SHARED PARALLAX BACKGROUND SYSTEM
   ========================================================= */

.shared-parallax-section {
  position: relative;
  z-index: 1;
}

.shared-parallax-section::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #130924;
  background-image: linear-gradient(135deg, rgba(30, 9, 80, 0.88) 0%, rgba(15, 5, 40, 0.94) 100%), url('../assets/images/Hero  bg (3).jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.shared-parallax-section .page-hero {
  background: transparent;
}

/* =========================================================
   PROFESSIONAL DEVELOPMENT PAGE
   ========================================================= */

.filters,
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0;
}
.filter,
.tab {
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  background: #fff;
  color: var(--purple-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.filter:hover,
.tab:hover {
  border-color: var(--purple-text);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.filter.active,
.tab.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}
.tab-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 8px;
}
.training-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.training-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.training-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--deep);
}
.training-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.training-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.training-card span img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.thumb {
  position: relative;
  height: 160px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ede5ff, #f5eeff);
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   MSCE/IGSCE PAGE — SUBJECT CARDS
   ========================================================= */

.subject-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.subject-grid.active { display: grid; }

.subject-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.subject-card .subject-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 14px;
}
.subject-card .subject-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.subject-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 6px;
}
.subject-card p {
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0.75;
  line-height: 1.65;
}

/* =========================================================
   REGISTRATION PAGES
   ========================================================= */

.register-page {
  min-height: calc(100vh - 80px);
  padding: 52px 20px;
  background: linear-gradient(135deg, #f8f4ff 0%, #ffffff 100%);
}
.registration-shell {
  width: min(1140px, 100%);
  margin: 0 auto;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #ede5ff;
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-pill:hover { transform: translateY(-1px); }
.step-pill span {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--purple-text);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.step-pill small { display: block; color: #7b7b9b; font-weight: 500; }
.step-pill.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}
.step-pill.active span { background: rgba(255,255,255,0.2); color: #fff; }
.step-pill.active small { color: rgba(255,255,255,0.85); }
.step-pill.completed { background: #d1fae5; color: #065f46; }
.step-pill.completed span { background: #fff; color: #065f46; }

.register-card {
  width: min(960px, 96vw);
  text-align: left;
  margin: 0 auto;
}
.application-card {
  text-align: left;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.form-step {
  display: none;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.form-step.active { display: block; opacity: 1; transform: translateX(0); }
.section-heading {
  margin: 0 0 24px;
  color: var(--purple-text);
  font-size: 24px;
  font-weight: 700;
}

/* Form fields */
.floating-field {
  position: relative;
  margin-bottom: 8px;
}
.floating-field input,
.floating-field select,
.floating-field textarea,
.register-card input,
.register-card select,
.register-card textarea {
  width: 100%;
  border: 1.5px solid #e0d4ff;
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  background: #fff;
  color: var(--ink);
  font: 500 15px 'Poppins';
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.floating-field input:focus,
.floating-field select:focus,
.floating-field textarea:focus {
  border-color: var(--purple-text);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}
.floating-field label {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9b8ec0;
  background: #fff;
  padding: 0 5px;
  font-size: 14px;
  transition: 0.2s ease;
}
.floating-field input:focus + label,
.floating-field select:focus + label,
.floating-field textarea:focus + label,
.floating-field input:not(:placeholder-shown) + label,
.floating-field textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 11px;
  color: var(--purple-text);
}
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }

/* Info cards */
.info-card, .notice-card, .summary-box, .upload-zone {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #faf6ff 0%, #f4e8ff 100%);
  border: 1px solid #e0d2ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.info-card { display: flex; flex-direction: column; gap: 14px; }
.info-header {
  display: flex; gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.80);
  border: 1px solid #ece0ff;
}
.info-header h1 {
  margin: 0 0 6px;
  font-size: 26px;
  color: #2b1d50;
  font-weight: 700;
}
.info-header p { margin: 0; color: #5d5180; line-height: 1.7; font-size: 14px; }
.icon-badge {
  width: 52px; min-width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  box-shadow: none;
}
.notice-card h3, .summary-box h3 { margin: 0 0 8px; color: var(--purple-text); font-size: 16px; }
.notice-card p, .notice-card li { margin: 0; color: #5d5180; line-height: 1.7; font-size: 14px; }
.notice-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid #ede0ff;
}
.contact-strip p { margin: 0; color: #4f4374; font-size: 13px; line-height: 1.6; }
.consent-row {
  display: flex; align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #f7f0ff;
  border: 1px solid #e6d8ff;
  color: #4c3a6a;
  font-weight: 600;
  font-size: 14px;
}
.consent-row input { margin: 0; accent-color: var(--purple-text); width: 18px; height: 18px; flex-shrink: 0; }
.consent-row span { line-height: 1.6; color: #3f3357; font-weight: 600; }

/* Radio / subject picker */
.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.radio-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 20px;
  border: 2px solid #e8d8ff;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff 0%, #f7f0ff 100%);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.radio-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.radio-card.selected { border-color: var(--purple-text); background: #f3eaff; }
.subject-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.subject-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff, #f8f1ff);
  border: 1.5px solid #e5d5ff;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.subject-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.subject-option.selected {
  border-color: var(--purple-text);
  background: linear-gradient(135deg, #ede5ff, #e5d5ff);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.14);
}
.subject-option .check-pill {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #ece0ff;
  color: transparent;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.subject-option.selected .check-pill { background: var(--purple); color: #fff; }
.subject-option input { display: none; }

.subject-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.locked-subject-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 600;
}

/* Payment */
.payment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.payment-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff, #f7f0ff);
  border: 1px solid #e6d8ff;
  box-shadow: var(--shadow-sm);
}
.payment-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.payment-card h3 { margin: 0; color: var(--purple-text); font-size: 15px; }
.payment-card p { margin: 4px 0; color: #4d3660; font-size: 13px; }
.copy-btn {
  border: none; border-radius: 999px;
  padding: 6px 12px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.copy-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.24); }
.upload-zone input[type="file"] { margin-top: 8px; }
.preview-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #6f5a91;
  font-size: 14px;
}
.step-actions {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 14px; margin-top: 24px;
}
.step-actions .btn { min-width: 140px; padding: 14px 26px; font-size: 15px; }

/* Summary */
.summary-box .summary-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #e5d8ff;
}
.summary-box .summary-row:last-child { border-bottom: 0; }
.summary-box .fee-value { font-weight: 800; color: var(--purple-text); }

/* Modal */
.modal {
  position: fixed; inset: 0;
  display: none; place-items: center;
  background: rgba(0,0,0,0.5);
  z-index: 100; backdrop-filter: blur(4px);
}
.modal.show { display: grid; }
.modal > div {
  width: min(520px, 92vw);
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal-actions { display: grid; gap: 12px; margin-top: 20px; }
.modal-actions .ghost { min-width: 0; }

/* Preview card */
.preview-card {
  width: min(960px, 96vw);
  max-height: 90vh;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.preview-card iframe {
  width: 100%;
  min-height: 70vh;
  border: 1px solid #e5d8ff;
  border-radius: var(--radius-md);
}
.preview-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }

/* Register hero (register.html) */
.register-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 20px 80px;
  background:
    radial-gradient(circle at top left, rgba(145, 91, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #f8f3ff 0%, #fcfbff 58%, #f4eefe 100%);
  position: relative;
  isolation: isolate;
}
.register-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(124, 58, 237, 0.10) 0 1px, transparent 1px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.75), transparent 60%);
  background-size: 24px 24px, auto;
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}
.register-page::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.04) 100%);
  pointer-events: none;
}
.register-hero {
  width: min(1180px, 94vw);
  padding: clamp(28px, 4.6vw, 54px) clamp(20px, 4.2vw, 48px);
  border-radius: 32px;
  background: linear-gradient(135deg, #f4ebff 0%, #ffffff 100%);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(35, 3, 64, 0.08);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(124, 58, 237, 0.08);
}
.register-hero::before,
.register-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.65;
}
.register-hero::before {
  inset: -90px -80px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 72%);
}
.register-hero::after {
  inset: auto auto -100px -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.30), transparent 72%);
}
.register-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.step-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}
.step-title-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.hero-title {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}
.hero-subtitle {
  margin: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
}
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 16px);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: clamp(10px, 1.8vw, 18px) clamp(12px, 3.5vw, 36px);
  width: fit-content;
  margin: 0 auto;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  position: relative;
}
.progress-indicator::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
  position: relative;
}
.progress-step .step-dot {
  width: clamp(22px, 2.4vw, 28px);
  height: clamp(22px, 2.4vw, 28px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.progress-step .step-name {
  font-size: clamp(11.5px, 1.3vw, 14px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.progress-arrow {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}
.progress-step.active .step-dot {
  background: #fff;
  border-color: #fff;
  color: var(--purple-text);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
}
.progress-step.active .step-name {
  color: #fff;
  font-weight: 700;
}
.progress-step.active + .progress-arrow {
  color: rgba(255, 255, 255, 0.82);
}
.selection-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 24px 28px;
  width: min(1180px, 94vw);
  margin: 44px auto 0;
  position: relative;
  z-index: 10;
}
.choice-tile {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 28px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 24px 64px rgba(35, 3, 64, 0.12);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.choice-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(124, 58, 237, 0.04), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.choice-tile:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 35px 90px rgba(124, 58, 237, 0.16), 0 0 30px rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.24);
}
.choice-tile.selected {
  transform: scale(1.02);
  border: 2px solid var(--purple);
  background: rgba(251, 248, 255, 0.96);
  box-shadow: 0 40px 100px rgba(124, 58, 237, 0.2);
}
.choice-tile.selected:hover {
  transform: scale(1.02) translateY(-3px);
}
.choice-banner {
  position: relative;
  height: 132px;
  padding: 16px;
  background-size: cover;
  background-position: center;
}
.choice-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 3, 64, 0.1) 0%, rgba(35, 3, 64, 0.42) 100%);
  pointer-events: none;
}
.choice-banner-school {
  background-image: linear-gradient(135deg, rgba(106, 62, 207, 0.25), rgba(35, 3, 64, 0.45)), url('../assets/images/msce-classes-banner.png');
}
.choice-banner-development {
  background-image: linear-gradient(135deg, rgba(138, 94, 255, 0.24), rgba(35, 3, 64, 0.44)), url('../assets/images/professional-dev-banner.png');
}
.choice-banner-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.tile-content {
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3.25vw, 32px) clamp(24px, 3.2vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tile-checkmark {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.26s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
  z-index: 2;
}
.choice-tile.selected .tile-checkmark {
  opacity: 1;
  transform: scale(1);
}
.tile-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.choice-tile:hover .tile-icon-wrapper {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 12px 24px rgba(124, 58, 237, 0.08);
}
.tile-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.tile-title {
  margin: 0 0 10px 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tile-description {
  margin: 0 0 20px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex-grow: 1;
}
.tile-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(124, 58, 237, 0.05);
  color: var(--purple-text);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.06);
}
.badge-icon {
  font-size: 12px;
}
.cta-btn {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
  color: #fff;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.26s ease, box-shadow 0.26s ease, filter 0.26s ease;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.16);
  outline: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cta-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.24);
}
.choice-tile:hover .cta-btn {
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.24);
}
.cta-btn .arrow {
  transition: transform 0.26s ease;
  display: inline-block;
}
.choice-tile:hover .cta-btn .arrow {
  transform: translateX(5px);
}
.selection-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a89fbf;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  user-select: none;
  min-width: 56px;
}
.selection-divider::before,
.selection-divider::after {
  content: '';
  width: 1px;
  flex-grow: 1;
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0) 0%, rgba(124, 58, 237, 0.2) 50%, rgba(124, 58, 237, 0) 100%);
  margin: 12px 0;
}
.divider-text {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(30, 20, 70, 0.05);
}
.tile-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  background: rgba(124, 58, 237, 0.12);
  pointer-events: none;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  margin-top: -100px;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
.reassurance-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-top: 12px;
  margin-bottom: 56px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.reassurance-footer span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reassurance-footer .check-icon {
  color: #10b981;
  font-weight: 700;
  font-size: 15px;
}
.register-process {
  width: min(1180px, 94vw);
  margin: 0 auto 48px auto;
  padding: 36px 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(124, 58, 237, 0.06);
}
.register-process h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--purple-text);
  font-size: 22px;
  font-weight: 700;
}
.register-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.register-process-grid div {
  padding: 24px;
  border-radius: 16px;
  background: var(--muted);
  color: #513a70;
  font-size: 14px;
  border: 1px solid rgba(124, 58, 237, 0.08);
}
.register-process-grid div strong {
  display: block;
  font-size: 16px;
  color: var(--purple-text);
  margin-bottom: 8px;
}
.footer-purple {
  position: relative;
  margin-top: 36px;
  padding-top: 44px;
  background: #5b21b6;
}
.footer-purple .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .register-hero {
    padding: 24px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f4ebff 0%, #ffffff 100%);
  }
  .register-hero-content {
    align-items: center;
  }
  .progress-indicator {
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 24px;
  }
  .selection-wrapper {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 24px;
  }
  .selection-divider {
    flex-direction: row;
    width: 100%;
    margin: 8px 0;
    min-height: auto;
  }
  .selection-divider::before,
  .selection-divider::after {
    width: auto;
    height: 1px;
    background: linear-gradient(to right, rgba(124, 58, 237, 0) 0%, rgba(124, 58, 237, 0.2) 50%, rgba(124, 58, 237, 0) 100%);
    margin: 0 16px;
  }
  .reassurance-footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }
  .register-process {
    padding: 28px 24px;
  }
  .register-process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .register-page {
    padding: 18px 14px 64px;
  }
  .hero-title {
    margin-bottom: 14px;
  }
  .hero-subtitle {
    margin-bottom: 22px;
    font-size: 14px;
  }
  .progress-arrow {
    display: none;
  }
  .progress-indicator {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 14px;
    padding: 12px 16px;
    border-radius: 20px;
  }
  .progress-step .step-dot {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .progress-step .step-name {
    font-size: 12px;
  }
  .choice-banner {
    height: 110px;
  }
}
@media (max-width: 480px) {
  .register-hero {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .step-title-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }
  .progress-indicator {
    gap: 8px 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .progress-step .step-dot {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .progress-step .step-name {
    font-size: 11px;
  }
  .selection-wrapper {
    margin-top: 32px;
    gap: 16px;
  }
  .choice-tile {
    border-radius: 20px;
  }
  .tile-content {
    padding: 20px 18px 22px;
  }
  .tile-icon-wrapper {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  .tile-icon {
    width: 24px;
    height: 24px;
  }
  .tile-title {
    font-size: 19px;
    margin-bottom: 8px;
  }
  .tile-description {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .tile-meta {
    margin-bottom: 24px;
    gap: 6px 8px;
  }
  .meta-badge {
    padding: 4px 10px;
    font-size: 12px;
  }
  .cta-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .tile-checkmark {
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
  }
  .reassurance-footer {
    gap: 8px;
    font-size: 12px;
    margin-bottom: 32px;
  }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

/* Scroll reveal animations removed */

.center { text-align: center; }

/* =========================================================
   RESPONSIVE — TABLET (≤ 900px)
   ========================================================= */

@media (max-width: 900px) {
  .navbar,
  .scrolled .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 10px 16px;
    gap: 10px;
  }
  .menu-toggle { display: flex; }
  .register-pill { display: none; }
  .register-dropdown { display: none; order: 11; width: 100%; }
  .nav-links.open ~ .register-dropdown { display: block; }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 14px 0 18px;
    font-size: 17px;
    margin-left: 0;
    order: 10;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-links.open { display: flex; }

  .search-wrap {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 100px;
    margin: 0;
    padding: 2px 8px;
  }
  #siteSearch { height: 34px; font-size: 13px; padding: 0 36px 0 10px; }
  /* Preserve logo size while scrolling */
  .scrolled .brand-mark { width: 80px; height: 80px; opacity: 1; margin: 0; }
  .hero { min-height: 480px; background-position: 65% center; }
  .hero-copy { padding: 52px 6vw; transform: none; }
  .steps,
  .course-grid.two,
  .course-grid.three,
  .contact-section,
  .footer-grid,
  .info-grid,
  .cards-four,
  .stats,
  .subject-grid,
  .form-grid { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .course-grid { gap: 20px; }
  .contact-copy { padding: 40px 6vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; justify-content: center; }
  .why-hero-image-wrap { max-width: 100%; }
}

@media (min-width: 901px) {
}

/* =========================================================
   RESPONSIVE — MOBILE (≤ 560px)
   ========================================================= */

@media (max-width: 560px) {
  .container { width: min(94vw, 1160px); }
  .steps {
    gap: 32px;
    margin: 36px 0 28px;
    padding: 0 10px;
  }
  .step-card {
    padding: 0;
    margin: 0;
    min-height: auto;
  }

  .brand-mark { width: 60px; height: 60px; }
  .hero { min-height: 280px; }
  .hero-copy { padding: 24px 14px; }
  .hero h1 { font-size: 32px; line-height: 1.12; }
  .hero-top { font-size: 12px; }
  .ghost { min-width: 100%; }
  .course-card { padding: 24px 20px; }
  .page-hero { padding: 64px 18px 56px; }
  .register-page { padding: 24px 12px; }
  .application-card { padding: 20px 18px; }
  .stepper { grid-template-columns: 1fr; }
  .register-hero { padding: 28px 20px; }
  .register-choice-grid,
  .register-process-grid,
  .radio-grid,
  .payment-grid,
  .subject-picker,
  .contact-strip,
  .form-grid.two { grid-template-columns: 1fr; }
  .subject-option { padding: 11px; }
  .info-header { flex-direction: column; align-items: flex-start; padding: 14px; }
  /* .feature-row styles removed in favor of why-cards-grid responsive design */
  .filters, .tabs { gap: 8px; }
  .filter, .tab { padding: 9px 16px; font-size: 13px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 36px 6vw; }
  .cards-four { grid-template-columns: repeat(2, 1fr); }
  .contact-section {
    padding: 44px 0;
    gap: 18px;
    border-radius: 0;
  }
  .contact-card,
  .contact-faq {
    width: 100%;
    max-width: none;
    padding: 22px 18px;
    border-radius: 0;
    margin: 0;
  }
  .footer { padding: 48px 16px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   PAYMENT OPTIONS — PAY NOW / PAY LATER
   ========================================================= */

.payment-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.payment-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px 28px;
  border-radius: var(--radius-lg);
  border: 2.5px solid #e6d8ff;
  background: linear-gradient(145deg, #ffffff 0%, #f8f2ff 100%);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.06);
  overflow: hidden;
  text-align: center;
  user-select: none;
}

.payment-option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.payment-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.16);
  border-color: var(--purple-text);
}

.payment-option-card.selected {
  border-color: var(--purple-text);
  background: linear-gradient(145deg, #f0e6ff 0%, #ead9ff 100%);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.2), 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.payment-option-card.selected .poc-icon-wrap {
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
}

.payment-option-card.selected .poc-icon-wrap svg {
  stroke: #fff;
}

.poc-select-ring {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d4b8ff;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  background: #fff;
}

.payment-option-card.selected .poc-select-ring {
  background: var(--purple);
  border-color: var(--purple-text);
}

.poc-select-ring svg {
  width: 12px;
  height: 12px;
  stroke: transparent;
  transition: stroke 0.2s ease;
}

.payment-option-card.selected .poc-select-ring svg {
  stroke: #fff;
}

.poc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0e6ff, #e8d5ff);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.poc-icon-wrap svg {
  width: 30px;
  height: 30px;
  stroke: var(--purple);
  stroke-width: 2;
  transition: stroke 0.25s ease;
}

.poc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.poc-subtitle {
  font-size: 13.5px;
  color: #6b5a8c;
  margin: 0;
  line-height: 1.5;
}

.payment-now-details {
  display: none;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.payment-now-details.show {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Payment status badge */
.payment-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 16px 0;
}

.payment-status-badge.status-paid {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 1.5px solid #6ee7b7;
}

.payment-status-badge.status-pending {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1.5px solid #fcd34d;
}

.payment-status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.7); }
}


.pay-later-card {
  display: none;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #fcd34d;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.pay-later-card.show {
  display: none;
}

.pay-later-card h3 {
  color: #92400e;
  font-size: 18px;
  margin: 0 0 8px;
}

.pay-later-card p {
  color: #78350f;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   DRAG-AND-DROP UPLOAD ZONE
   ========================================================= */

.drag-drop-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  border: 2.5px dashed #c4a5f0;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f8f3ff 0%, #f0e9ff 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 160px;
}

.drag-drop-zone:hover,
.drag-drop-zone.dragover {
  border-color: var(--purple-text);
  background: linear-gradient(145deg, #ede6ff 0%, #e4d5ff 100%);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
}

.drag-drop-zone.dragover {
  transform: scale(1.01);
}

.drag-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.ddz-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ece4ff, #ddd0ff);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ddz-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--purple);
  stroke-width: 1.8;
}

.ddz-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.ddz-subtitle {
  font-size: 13px;
  color: #7c6a9e;
  margin: 0;
}

.ddz-formats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.ddz-format-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-text);
  font-size: 11px;
  font-weight: 700;
}

.ddz-preview {
  width: 100%;
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5d8ff;
  display: none;
}

.ddz-preview.show { display: block; }

.ddz-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.ddz-preview-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.ddz-preview-file svg {
  width: 28px;
  height: 28px;
  stroke: var(--purple);
  flex-shrink: 0;
}

.ddz-file-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.ddz-file-size {
  font-size: 12px;
  color: #9580b5;
}

.ddz-remove-btn {
  margin-left: auto;
  background: none;
  border: 1px solid #e0d0f8;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--purple-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ddz-remove-btn:hover {
  background: #f0e6ff;
  border-color: var(--purple-text);
}

/* =========================================================
   FINAL REVIEW — 3 ACTION BUTTONS
   ========================================================= */

.final-review-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 10px;
}

.review-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px 24px;
  border-radius: var(--radius-lg);
  border: 2px solid #e6d8ff;
  background: linear-gradient(145deg, #ffffff, #f8f2ff);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}

.review-action-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.15);
  border-color: var(--purple-text);
}

.review-action-btn.primary-action {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.review-action-btn.primary-action:hover {
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.4);
  transform: translateY(-5px);
}

.review-action-btn.primary-action .rab-icon-wrap { background: rgba(255,255,255,0.2); }
.review-action-btn.primary-action .rab-icon-wrap svg { stroke: #fff; }
.review-action-btn.primary-action .rab-title { color: #fff; }
.review-action-btn.primary-action .rab-desc { color: rgba(255,255,255,0.8); }

.rab-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0e6ff, #e8d5ff);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rab-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--purple);
  stroke-width: 2;
}

.rab-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.rab-desc {
  font-size: 12px;
  color: #8a78a8;
  margin: 0;
  line-height: 1.4;
}

/* =========================================================
   INVOICE SUMMARY — ENHANCED
   ========================================================= */

.invoice-summary-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #e6d8ff;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.07);
  margin: 16px 0;
}

.invoice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--grad);
  color: #fff;
}

.invoice-header h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.invoice-header .invoice-ref {
  font-size: 12px;
  opacity: 0.85;
}

.invoice-body {
  background: #fff;
  padding: 0;
}

.invoice-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #f0e8ff;
}

.invoice-line:last-child { border-bottom: 0; }

.invoice-line-label {
  font-size: 13.5px;
  color: #5d4e7a;
  font-weight: 500;
}

.invoice-line-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.invoice-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #f0e6ff, #ead9ff);
  border-top: 2px solid #d4b0ff;
}

.invoice-total-label {
  font-size: 16px;
  font-weight: 800;
  color: var(--deep);
}

.invoice-total-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--purple-text);
}

/* =========================================================
   COURSE SELECTION CARDS (Pro Dev)
   ========================================================= */

.course-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.course-select-card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 2px solid #e8d8ff;
  background: linear-gradient(135deg, #fff 0%, #f7f0ff 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.course-select-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-text);
}

.course-select-card.selected {
  border-color: var(--purple-text);
  background: linear-gradient(135deg, #f0e6ff 0%, #ead5ff 100%);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.18);
}

.csc-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d4b8ff;
  background: #fff;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.course-select-card.selected .csc-check {
  background: var(--purple);
  border-color: var(--purple-text);
}

.csc-check svg {
  width: 12px;
  height: 12px;
  stroke: transparent;
  transition: stroke 0.2s ease;
}

.course-select-card.selected .csc-check svg { stroke: #fff; }

.csc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  padding-right: 28px;
}

.csc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.csc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-text);
}

.csc-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--purple-text);
  margin: 8px 0 0;
}

/* Learning mode selector */
.learning-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.learning-mode-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 2px solid #e8d8ff;
  background: linear-gradient(135deg, #fff, #f8f2ff);
  cursor: pointer;
  transition: all 0.3s ease;
}

.learning-mode-card:hover,
.learning-mode-card.selected {
  border-color: var(--purple-text);
  background: linear-gradient(135deg, #f0e6ff, #e8d5ff);
}

.lmc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ede4ff, #e0d0ff);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lmc-icon svg { width: 20px; height: 20px; stroke: var(--purple); stroke-width: 2; }

.lmc-label { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0; }
.lmc-sub { font-size: 12px; color: #7d6aa0; margin: 0; }

/* =========================================================
   SUCCESS SCREEN
   ========================================================= */

.success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.success-screen.show { display: flex; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success-check-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 3px solid #6ee7b7;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  position: relative;
  animation: popIn 0.5s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.success-check-ring svg {
  width: 44px;
  height: 44px;
  stroke: #059669;
  stroke-width: 2.5;
}

.success-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  text-align: center;
}

.success-subtext {
  font-size: 15px;
  color: #6b5a8c;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 480px;
}

.success-ref-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0e6ff, #ead9ff);
  border: 2px solid #c4a5f0;
  margin-bottom: 24px;
}

.success-ref-label {
  font-size: 12px;
  color: #7c6a9e;
  font-weight: 600;
}

.success-ref-number {
  font-size: 17px;
  font-weight: 800;
  color: var(--purple-text);
  letter-spacing: 0.5px;
}

.success-next-steps {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #e6d8ff;
  margin-bottom: 28px;
}

.sns-header {
  padding: 14px 20px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.sns-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0e8ff;
  background: #fff;
}

.sns-item:last-child { border-bottom: 0; }

.sns-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.sns-text {
  font-size: 13.5px;
  color: #4d3f6a;
  line-height: 1.6;
  margin: 0;
}

.success-download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.success-download-btns .btn {
  flex: 1;
  min-width: 180px;
  text-align: center;
}

/* =========================================================
   COMMUNITY CTA
   ========================================================= */

.community-cta {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a0533 0%, #2d1167 50%, #4a1d96 100%);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  margin-top: 8px;
}

.community-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.community-cta::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  color: #e9d5ff;
  margin-bottom: 16px;
}

.community-cta h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.community-cta p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
  line-height: 1.6;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  position: relative;
  z-index: 1;
}

.whatsapp-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
  background: #20bf5e;
}

.whatsapp-cta-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* Email prepared notice */
.email-prepared-notice {
  display: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #c4a5f0;
  margin-top: 20px;
  animation: slideDown 0.4s ease both;
}

.email-prepared-notice.show { display: block; }

.epn-header {
  padding: 16px 20px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.epn-header svg { width: 20px; height: 20px; stroke: #fff; flex-shrink: 0; }

.epn-body {
  padding: 20px;
  background: #fff;
}

.epn-body p {
  font-size: 14px;
  color: #4d3f6a;
  line-height: 1.7;
  margin: 0 0 16px;
}

.epn-attach-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.epn-attach-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f7f2ff;
  border: 1px solid #e6d8ff;
  font-size: 13.5px;
  color: #3d3557;
  font-weight: 600;
}

.epn-attach-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--purple);
  flex-shrink: 0;
}

/* =========================================================
   STEP TRANSITIONS
   ========================================================= */

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: stepFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =========================================================
   INVOICE LIVE BADGE
   ========================================================= */

.live-fee-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0e6ff, #e8d5ff);
  border: 1.5px solid #c4a5f0;
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 700;
}

.live-fee-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulseDot 1.5s infinite;
}

/* =========================================================
   RESPONSIVE — PAYMENT OPTIONS
   ========================================================= */

@media (max-width: 900px) {
  .final-review-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .payment-options-grid { grid-template-columns: 1fr; }
  .course-select-grid { grid-template-columns: 1fr; }
  .learning-mode-grid { grid-template-columns: 1fr; }
  .final-review-actions { grid-template-columns: 1fr; }
  .success-download-btns { flex-direction: column; }
  .whatsapp-cta-btn { width: 100%; }
  .community-cta { padding: 32px 20px; }
  .community-cta h3 { font-size: 21px; }
}

