/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: #0b0e1a;
  color: #e8eaf6;
  overflow-x: hidden;
}

/* ===== TOKENS ===== */
:root {
  --accent: #6c63ff;
  --accent2: #00d4aa;
  --gold: #f5c842;
  --dark: #0b0e1a;
  --card: #141828;
  --card2: #1a1f35;
  --text: #e8eaf6;
  --muted: #8890b5;
  --border: rgba(108,99,255,0.2);
  --radius: 16px;
  --glow: 0 0 30px rgba(108,99,255,0.25);
}

/* ===== UTIL ===== */
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 12px;
}
.eyebrow.center { display: block; text-align: center; }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; font-weight: 700; }
h2.center { text-align: center; }
.center { text-align: center; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; padding: 14px 32px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s; box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,99,255,0.6); }
.btn-primary.sm { padding: 10px 22px; font-size: 14px; }
.btn-primary.full { width: 100%; text-align: center; }
.btn-ghost {
  display: inline-block; padding: 14px 24px;
  background: transparent; color: var(--text);
  border: none; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--accent2); }
.btn-outline {
  display: inline-block; padding: 10px 22px;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 50px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-nav {
  display: inline-block; padding: 10px 22px;
  background: var(--accent); color: #fff;
  border-radius: 50px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  min-height: 64px;
  box-sizing: border-box;
  transition: background 0.3s, backdrop-filter 0.3s;
  /* Always-on gradient so the logo, links and Enroll button stay readable
     over any hero photo/video underneath, instead of only the middle
     portion looking dark while the logo/button edges look washed out. */
  background: linear-gradient(180deg, rgba(8,10,20,0.65) 0%, rgba(8,10,20,0.35) 70%, rgba(8,10,20,0) 100%);
}
.nav.scrolled {
  background: rgba(11,14,26,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 100%; margin: 0; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.25; vertical-align: middle; }
.logo-row { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.logo-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 58px; font-weight: 700; line-height: 0.8;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(108,99,255,0.35));
  margin-right: -3px;
}
.logo-text { display: inline-flex; flex-direction: column; line-height: 1.25; }
.logo-badge {
  display: inline-block; align-self: flex-start;
  font-size: 9px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--dark); background: var(--gold);
  border-radius: 999px; padding: 2px 8px; margin-bottom: 3px;
}
.logo-name { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: 0.2px; }
.logo-loc { font-size: 11px; font-weight: 600; color: var(--accent2); letter-spacing: 0.3px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-nav { color: #fff !important; } /* keep Enroll Now text white always, not just on hover */
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }
@media (max-width: 900px) and (min-width: 641px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .logo-name { font-size: 14px; }
  .logo-loc { font-size: 9px; }
  .logo-mark { font-size: 40px; }
  .logo-badge { font-size: 8px; padding: 1px 6px; }
}
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  position: fixed;
  top: calc(var(--nav-h, 64px) + 36px); /* sit below nav AND the marquee bar */
  left: 0; right: 0; z-index: 150; /* above marquee (99) so it's never hidden */
  background: #141828; border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--nav-h, 64px) - 36px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 16px 24px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); font-size: 16px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
  gap: 48px;
  max-width: 1160px; margin: 0 auto;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,212,170,0.1) 0%, transparent 50%),
              #0b0e1a;
}
.key-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(12, 1fr);
  opacity: 0.07;
}
.key-cell {
  border: 1px solid var(--accent);
  border-radius: 4px;
  margin: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--accent);
  font-family: monospace;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-tag {
  display: inline-block; padding: 6px 16px;
  border: 1px solid var(--accent2); color: var(--accent2);
  border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05; font-weight: 700;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-cta { display: flex; align-items: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.badge {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 20px; text-align: center;
}
.badge span { display: block; font-size: 22px; font-weight: 700; color: var(--gold); }
.badge small { color: var(--muted); font-size: 12px; }

/* KEYBOARD CARD */
.hero-visual { flex: 0 0 auto; }
.keyboard-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
  box-shadow: var(--glow);
  min-width: 300px;
}
.wpm-display {
  text-align: center; margin-bottom: 20px;
  background: linear-gradient(135deg, #1a1f35, #0f1322);
  border-radius: 12px; padding: 16px;
  border: 1px solid var(--border);
}
.wpm-num { font-size: 56px; font-weight: 700; color: var(--accent2); line-height: 1; }
.wpm-label { display: block; font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.keyboard-row {
  display: flex; gap: 5px; justify-content: center;
  margin-bottom: 5px;
}
.key {
  width: 26px; height: 26px;
  background: #1e2440; border: 1px solid var(--border);
  border-radius: 5px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; color: var(--muted);
  transition: all 0.1s;
}
.key.active { background: var(--accent); color: #fff; box-shadow: 0 0 10px rgba(108,99,255,0.5); }
.space-bar {
  height: 26px; background: #1e2440; border: 1px solid var(--border);
  border-radius: 5px; margin-top: 5px; width: 100%;
  transition: all 0.1s;
}
.space-bar.active { background: var(--accent); }
.kbd-caption { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }

/* ===== MARQUEE ===== */
.marquee-wrap {
  background: var(--accent);
  padding: 14px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 28px; white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-track span { font-size: 14px; font-weight: 600; color: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-size: 16px; }
.about-text .btn-primary { margin-top: 12px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.a-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.a-icon { font-size: 28px; margin-bottom: 10px; }
.a-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.a-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ===== COURSES ===== */
.courses { background: var(--card2); }
.courses h2 { margin-bottom: 48px; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  transition: all 0.25s;
}
.course-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--glow); }
.course-card.featured { border-color: var(--accent); box-shadow: var(--glow); }
.course-card.combo { border-color: var(--gold); }
.course-card.combo:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(245,200,66,0.2); }
.badge-course {
  display: inline-block; padding: 4px 12px;
  background: rgba(108,99,255,0.15); color: var(--accent);
  border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.course-card.combo .badge-course { background: rgba(245,200,66,0.15); color: var(--gold); }
.course-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.course-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
.course-features { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-features li { font-size: 14px; color: var(--muted); }
.course-features li { color: #b0b8d8; }
.course-price {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.course-price span { font-size: 20px; font-weight: 700; color: var(--accent2); }
.course-price small { font-size: 13px; color: var(--muted); font-weight: 400; }

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--accent) 0%, #4a43cc 100%);
  padding: 72px 24px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat-item p { font-size: 15px; font-weight: 500; opacity: 0.85; margin-top: 8px; }
.stat-num { font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; }
.stat-suffix { font-size: clamp(28px, 3vw, 48px); font-weight: 700; }

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative; transition: all 0.25s;
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.testi-card.highlight { border-color: var(--accent); box-shadow: var(--glow); }
.testi-quote {
  font-size: 64px; font-family: 'Playfair Display', serif;
  color: var(--accent); line-height: 0.8; margin-bottom: 16px;
}
.testi-card p { color: var(--muted); line-height: 1.7; font-size: 15px; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 15px; }
.testi-author small { color: var(--muted); font-size: 12px; }
.stars { color: var(--gold); font-size: 16px; }

/* ===== CONTACT ===== */
.contact { background: var(--card2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-left h2 { margin-bottom: 12px; }
.contact-left p { color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci span { font-size: 20px; flex-shrink: 0; }
.ci p { color: var(--muted); font-size: 15px; line-height: 1.5; }

.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.contact-form input,
.contact-form select {
  width: 100%; padding: 14px 16px;
  background: #0b0e1a; border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus { border-color: var(--accent); }
.contact-form select option { background: #141828; }
.contact-form input[type="date"] { cursor: pointer; }
.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); cursor: pointer; opacity: 0.8;
}
.contact-form input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* ===== FOOTER ===== */
.footer { background: #070a14; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h5 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  text-align: center; padding: 20px;
  color: var(--muted); font-size: 13px;
}

/* ===== SCROLL ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-visual { display: none; }
  .keyboard-card { min-width: 0; width: 100%; max-width: 340px; }
  .courses-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== HERO SLIDESHOW ===== */
.hero-slider {
  position: relative; width: 100%; height: 100vh;
  min-height: 600px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slider-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(8,10,20,0.82) 40%, rgba(8,10,20,0.45) 100%);
}
.hero-content-wrap {
  position: relative; z-index: 2;
  max-width: 1160px; width: 100%; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 48px;
  padding-top: 80px;
}
.hero-text-box { flex: 1; max-width: 580px; }
.hero-text-box.text-in { animation: textFade 0.6s ease; }
@keyframes textFade { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* slider controls */
.slide-prev, .slide-next {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 18px; cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.slide-prev:hover, .slide-next:hover { background: var(--accent); }
.slide-prev { left: 20px; }
.slide-next { right: 20px; }
.slide-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: #fff; width: 24px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero-content-wrap { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-text-box { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
}
@media (max-width: 640px) { .hero-visual { display: none; } .keyboard-card { min-width: 0; width: 100%; max-width: 340px; } }

/* ===== HERO SLIDESHOW (PHP version) ===== */
.hero-slider { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slider-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(8,10,20,0.82) 40%, rgba(8,10,20,0.45) 100%); }
.hero-content-wrap { position: relative; z-index: 2; max-width: 1160px; width: 100%; margin: 0 auto; padding: 80px 24px 0; display: flex; align-items: center; justify-content: center; gap: 48px; }
.hero-text-box { flex: 1; max-width: 580px; }
.hero-text-box.text-in { animation: textFade 0.6s ease; }
@keyframes textFade { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.slide-prev, .slide-next { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer; backdrop-filter: blur(6px); }
.slide-prev:hover, .slide-next:hover { background: var(--accent); }
.slide-prev { left: 20px; } .slide-next { right: 20px; }
.slide-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: all 0.3s; }
.dot.active { background: #fff; width: 24px; border-radius: 4px; }
.marquee-track a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: opacity 0.2s; }
.marquee-track a:hover { opacity: 0.7; text-decoration: underline; }
@media (max-width: 900px) { .hero-content-wrap { flex-direction: column; text-align: center; } .hero-cta, .hero-badges { justify-content: center; } }
@media (max-width: 640px) { .hero-visual { display: none; } .keyboard-card { min-width: 0; width: 100%; max-width: 340px; } }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366; border-radius: 50%;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all 0.3s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.7); }

/* ===== BUTTON HOVER PURPLE EFFECT (all buttons) ===== */
.btn-primary:hover { background: #5a52e0; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,99,255,0.6); }
.btn-outline:hover { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(108,99,255,0.4); }
.btn-ghost:hover { color: var(--accent); }
.btn-nav:hover { background: #5a52e0; box-shadow: 0 4px 16px rgba(108,99,255,0.5); }
.nav-links a:hover { color: var(--accent) !important; }
.nav-links a.btn-nav:hover { color: #fff !important; } /* keep Enroll Now text white on hover */

 to{transform:translateX(-50%)} }




/* ===== BUTTON HOVER — FULL PURPLE BOX on ALL buttons ===== */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-nav,
.abtn-primary {
  transition: all 0.2s ease !important;
}
.btn-primary:hover,
.btn-outline:hover,
.btn-ghost:hover,
.btn-nav:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 6px 24px rgba(108,99,255,0.5) !important;
  transform: translateY(-2px) !important;
}


/* ===== SITE MARQUEE (below nav, above content, all pages) ===== */
.site-marquee {
  position: fixed;
  /* top tracks the nav's REAL rendered height (set via JS as --nav-h)
     instead of a hardcoded guess, so it never gets cut/looks squashed
     on scroll, on different pages, or on smaller screens. */
  top: var(--nav-h, 64px);
  left: 0; right: 0;
  z-index: 99;
  background: var(--accent);
  overflow: hidden;
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.site-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  height: 100%;
  animation: siteMarquee 30s linear infinite;
}
.site-marquee-track:hover { animation-play-state: paused; }
.site-marquee-track a {
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.site-marquee-track a:hover { opacity: 0.75; text-decoration: underline; }
.site-marquee-track span { color: #fff; font-size: 13px; font-weight: 500; flex-shrink: 0; }
.mdot { opacity: 0.5; flex-shrink: 0; }
@keyframes siteMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== ANNOUNCEMENT BAR (below hero, home page only) ===== */
.announce-bar {
  background: var(--gold);
  overflow: hidden;
  padding: 10px 0;
}
.announce-track {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap; width: max-content;
  animation: siteMarquee 25s linear infinite;
}
.announce-track:hover { animation-play-state: paused; }
.announce-track a {
  color: #1a1200; text-decoration: none;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.announce-track a:hover { text-decoration: underline; }
.announce-track span { color: #1a1200; font-size: 13px; font-weight: 600; flex-shrink: 0; }

/* Offset body content so nav + marquee don't overlap */
body { padding-top: 0; }
.hero-slider { padding-top: calc(var(--nav-h, 64px) + 36px); }
.hero-content-wrap { padding-top: 20px !important; }
.page-hero { padding-top: calc(var(--nav-h, 64px) + 76px) !important; }
.nav.scrolled { background: rgba(11,14,26,0.95); backdrop-filter: blur(12px); }

/* Mobile-only: hero text stacks with the typing widget, so let it start
   safely below the nav + marquee bar instead of being vertically centered
   (which was pushing it up behind the bars and clipping the widget). */
@media (max-width: 900px) {
  .hero-slider { height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; align-items: center; }
  .hero-content-wrap { padding-top: 150px !important; padding-bottom: 90px; }
  /* Keep all 3 stat badges on one fixed row regardless of exact screen
     width, instead of wrapping differently on different phones. */
  .hero-badges { flex-wrap: nowrap !important; gap: 8px; }
  .badge { padding: 10px 8px; flex: 1 1 0; min-width: 0; }
  .badge span { font-size: 16px; }
  .badge small { font-size: 10px; }
}
@media (max-width: 480px) {
  .hero-content-wrap { padding-top: 165px !important; }
  .hero-title { font-size: 40px !important; }
}

/* ===== PHOTO LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,6,12,0.94);
  align-items: center; justify-content: center;
  flex-direction: column;
  padding: 24px;
  animation: lbFade 0.2s ease;
}
.lightbox-overlay.open { display: flex; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-caption {
  color: #fff; font-size: 15px; font-weight: 600;
  margin-top: 16px; text-align: center; max-width: 700px;
}
.lightbox-back {
  position: absolute; top: 24px; left: 24px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 10px 20px;
  border-radius: 50px; font-size: 14px; font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.lightbox-back:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .lightbox-back { top: 14px; left: 14px; padding: 8px 16px; font-size: 13px; }
}

/* ===== HOME GALLERY AUTO-SCROLL (3 visible, never-ending) ===== */
.home-gallery-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.home-gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: galleryScroll 18s linear infinite;
  padding: 8px 0 16px;
}
.home-gallery-track:hover { animation-play-state: paused; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.hg-item {
  flex: 0 0 calc((100vw - 80px) / 3);
  max-width: 420px;
  min-width: 260px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  cursor: pointer;
}
.hg-item:hover { border-color: var(--accent); }
.hg-item img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.hg-item:hover img { transform: scale(1.05); }
.hg-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff; font-size: 13px; font-weight: 600;
}
