/* ============================================================
   SPEAXA — Landing Page Stylesheet
   Premium Dark Theme with Purple Gradient Accents
   ============================================================ */

:root {
  --primary: #3CBDB0;
  --primary-dark: #2A9F94;
  --secondary: #0F766E;
  --accent: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark-alt: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --glass: rgba(255, 255, 255, 0.7);
  --gradient: linear-gradient(135deg, #3CBDB0, #0F766E);
  --gradient-warm: linear-gradient(135deg, #F59E0B, #EF4444);
  --shadow: 0 10px 30px rgba(60,189,176,0.1);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── Typography ──────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-wrap: balance;
}

p, blockquote, li {
  text-wrap: pretty;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.spx-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.spx-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
}

.spx-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.spx-brand .brand-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.spx-brand span { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text-primary); }

.navbar .nav-link { color: var(--text-secondary) !important; font-weight: 500; padding: 8px 14px !important; border-radius: 8px; transition: all 0.2s; }
.navbar .nav-link:hover { color: var(--primary) !important; background: rgba(60,189,176,0.08); }
.navbar-toggler i { color: var(--text-primary) !important; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-spx-primary {
  background: var(--gradient);
  color: white; border: none; border-radius: 12px;
  font-weight: 600; font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.btn-spx-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.btn-spx-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(60,189,176,0.4); color: white; }
.btn-spx-primary:hover::before { left: 100%; }

.btn-outline-primary { border-color: var(--primary); color: var(--primary); border-radius: 12px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(15, 23, 42, 0.2); color: var(--text-primary); border-radius: 12px; font-weight: 600; }
.btn-outline-light:hover { background: rgba(15, 23, 42, 0.05); color: var(--text-primary); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: radial-gradient(ellipse at 30% 50%, rgba(60,189,176,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(15,118,110,0.05) 0%, transparent 50%),
              var(--bg-dark);
  min-height: 100vh;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(60,189,176,0.1);
  border: 1px solid rgba(60,189,176,0.25);
  border-radius: 50px; padding: 8px 20px;
  font-size: 0.9rem; font-weight: 600; color: var(--secondary);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 520px; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Hero Visual Split Layout ─────────────────────────────────────────── */
/* ── Hero Visual Split Layout ─────────────────────────────────────────── */
.hero-visual-split {
  position: relative;
  width: 560px;
  height: 540px;
}

.visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06), 
              0 1px 3px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 5;
}

.hero-teacher-card {
  top: 15px;
  left: 10px;
  width: 290px;
  height: auto !important;
  border-color: rgba(60, 189, 176, 0.25) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05), 
              0 0 30px rgba(60, 189, 176, 0.05) !important;
  transform: perspective(1000px) rotateY(12deg) rotateX(4deg) translateZ(0);
  animation: float-hero-teacher 6s ease-in-out infinite;
}

.hero-teacher-card:hover {
  animation-play-state: paused;
  transform: perspective(1000px) rotateY(4deg) rotateX(2deg) translate3d(0, -12px, 30px) !important;
  box-shadow: 0 35px 70px rgba(60, 189, 176, 0.22) !important;
  z-index: 10;
}

.hero-student-card {
  bottom: 15px;
  right: 10px;
  width: 290px;
  height: auto !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05), 
              0 0 30px rgba(59, 130, 246, 0.05) !important;
  transform: perspective(1000px) rotateY(-12deg) rotateX(4deg) translateZ(0);
  animation: float-hero-student 6s ease-in-out infinite 3s;
}

.hero-student-card:hover {
  animation-play-state: paused;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translate3d(0, -12px, 30px) !important;
  box-shadow: 0 35px 70px rgba(59, 130, 246, 0.18) !important;
  z-index: 10;
}

@keyframes float-hero-teacher {
  0%, 100% { transform: perspective(1000px) rotateY(12deg) rotateX(4deg) translate3d(0, 0, 0); }
  50% { transform: perspective(1000px) rotateY(12deg) rotateX(4deg) translate3d(0, -10px, 15px); }
}

@keyframes float-hero-student {
  0%, 100% { transform: perspective(1000px) rotateY(-12deg) rotateX(4deg) translate3d(0, 0, 0); }
  50% { transform: perspective(1000px) rotateY(-12deg) rotateX(4deg) translate3d(0, -10px, 15px); }
}

/* Card Headers */
.card-header-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0F766E !important;
  background: rgba(60, 189, 176, 0.08) !important;
  border: 1px solid rgba(60, 189, 176, 0.15) !important;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.8px;
}

.card-header-label.student-label {
  color: #1D4ED8 !important;
  background: rgba(59, 130, 246, 0.08) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #EF4444;
  border-radius: 50%;
  animation: visual-pulse 1.5s infinite;
}

.green-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
}

@keyframes visual-pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.6; }
}

/* Teacher Stream styling */
.teacher-stream {
  position: relative;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: #0F172A;
}

.teacher-feed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-stream:hover .teacher-feed-img {
  transform: scale(1.05);
}

.hero-stream-subject-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.7);
  color: white !important;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  z-index: 2;
}

.teacher-name-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: white !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 2;
}

.teacher-badge-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #F59E0B;
  color: #78350F !important;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Classroom UI */
.classroom-stats {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.stat-badge {
  font-size: 0.72rem;
  color: var(--text-secondary) !important;
  background: rgba(15, 23, 42, 0.04) !important;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.classroom-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ctrl-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary) !important;
  font-size: 12px;
}

.ctrl-dot.active {
  background: rgba(60, 189, 176, 0.25) !important;
  color: var(--primary) !important;
}

/* Student Dashboard inside card */
.student-profile-summary {
  background: rgba(15, 23, 42, 0.03) !important;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.04) !important;
}

.student-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(60, 189, 176, 0.2);
}

.student-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary) !important;
}

.student-grade {
  font-size: 0.68rem;
  color: var(--text-secondary) !important;
}

.student-streak {
  font-size: 0.72rem;
  font-weight: 700;
  color: #F59E0B !important;
  background: rgba(245, 158, 11, 0.1) !important;
  padding: 2px 6px;
  border-radius: 6px;
}

.student-progress-section {
  text-align: left;
}

.progress-bar-container {
  height: 6px;
  background: rgba(15, 23, 42, 0.06) !important;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3CBDB0, #0F766E, #3CBDB0) !important;
  background-size: 200% 100% !important;
  border-radius: 4px;
  animation: progress-gradient 3s linear infinite;
}

@keyframes progress-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.progress-status {
  font-size: 0.65rem;
  color: var(--text-secondary) !important;
  font-style: italic;
}

.student-upcoming-class {
  background: rgba(245, 158, 11, 0.04) !important;
  border: 1px dashed rgba(245, 158, 11, 0.3) !important;
  padding: 8px 12px;
  border-radius: 12px;
  text-align: left;
}

.upcoming-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #B45309 !important;
  display: flex;
  align-items: center;
}

.upcoming-topic {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ── Sections ────────────────────────────────────────────────── */
.section-py { padding: 80px 0; }
.bg-dark-alt { background: var(--bg-dark-alt); }

.section-badge {
  display: inline-block;
  background: rgba(60,189,176,0.1);
  color: var(--secondary);
  border: 1px solid rgba(60,189,176,0.25);
  border-radius: 50px; padding: 4px 16px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 12px auto 0; }

/* ── Step Cards ──────────────────────────────────────────────── */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(60,189,176,0.4); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Outfit', sans-serif; font-size: 4rem; font-weight: 900;
  color: rgba(60,189,176,0.08); line-height: 1;
}
.step-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.step-card h4 { font-weight: 700; margin-bottom: 12px; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── Course Cards ────────────────────────────────────────────── */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(60,189,176,0.4); }
.course-thumbnail {
  height: 160px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.course-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.6); color: white;
  border-radius: 8px; padding: 3px 10px; font-size: 0.75rem;
}
.course-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 10px; }
.course-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--border); }
.course-price { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--primary); }

/* ── Teacher Cards ───────────────────────────────────────────── */
.teacher-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(60, 189, 176, 0.12);
  border-color: rgba(60, 189, 176, 0.35);
}
.teacher-avatar-wrapper {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 8px 20px rgba(60, 189, 176, 0.2);
  transition: all 0.3s ease;
}
.teacher-avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  transition: all 0.5s ease;
}
.teacher-card:hover .teacher-avatar-wrapper {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 25px rgba(60, 189, 176, 0.3);
}
.teacher-level-badge {
  display: inline-block; border-radius: 50px; padding: 4px 14px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 12px;
}
.level-bronze { background: rgba(205,127,50,0.15); color: #CD7F32; }
.level-silver { background: rgba(192,192,192,0.15); color: #C0C0C0; }
.level-gold { background: rgba(255,215,0,0.15); color: #FFD700; }
.level-elite { background: rgba(60,189,176,0.2); color: var(--primary); }
.level-elite-mentor { background: rgba(60,189,176,0.2); color: var(--primary); }

.teacher-subject-tag {
  display: inline-block;
  background: rgba(60, 189, 176, 0.06);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 650;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(60, 189, 176, 0.12);
}
.teacher-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  margin-bottom: 12px;
}
.teacher-rating-box i {
  color: #F59E0B;
}
.teacher-meta-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}
.teacher-meta-item i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* ── Feature Cards ───────────────────────────────────────────── */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white; margin-bottom: 20px;
}
.feature-card h5 { font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px; padding: 32px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.featured-testimonial { border-color: rgba(60,189,176,0.4); background: rgba(60,189,176,0.05); }
.stars { color: #F59E0B; font-size: 1.2rem; letter-spacing: 2px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: radial-gradient(circle at 80% 20%, rgba(60, 189, 176, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 118, 110, 0.12) 0%, transparent 50%),
              #0B1329;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(60, 189, 176, 0.1);
  filter: blur(120px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section .display-5 {
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.cta-section .lead {
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 600px;
  margin: 0 auto;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #3CBDB0, #0F766E);
  color: #FFFFFF !important;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(60, 189, 176, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(60, 189, 176, 0.5);
  filter: brightness(1.1);
  color: #FFFFFF !important;
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-cta-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
  color: #FFFFFF !important;
}

/* ── Generic Premium Card ────────────────────────────────────── */
.spx-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.spx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(60, 189, 176, 0.12);
  border-color: rgba(60, 189, 176, 0.3);
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 24px; padding: 40px;
}

.spx-input {
  background: rgba(15, 23, 42, 0.03) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important; border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: all 0.2s;
}
.spx-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(60,189,176,0.1) !important;
  outline: none !important;
}
.spx-input::placeholder { color: var(--text-secondary) !important; }
select.spx-input option { background: var(--bg-card); color: var(--text-primary); }

.contact-info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-item i {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(60,189,176,0.15); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-info-item a { color: var(--text-secondary); text-decoration: none; }
.contact-info-item a:hover { color: var(--primary); }

/* ── Social ──────────────────────────────────────────────────── */
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(15, 23, 42, 0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

/* ── Footer ──────────────────────────────────────────────────── */
.spx-footer {
  background: #0B1329;
  color: rgba(255, 255, 255, 0.6) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 32px;
}
.spx-footer .text-white, .spx-footer h4.text-white {
  color: #FFFFFF !important;
}
.spx-footer .text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}
.spx-footer .footer-brand span {
  color: #FFFFFF !important;
}
.spx-footer .footer-heading {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.spx-footer .text-muted {
  color: rgba(255, 255, 255, 0.5) !important;
}
.spx-footer .footer-links {
  list-style: none;
  padding: 0;
}
.spx-footer .footer-links li {
  margin-bottom: 10px;
}
.spx-footer .footer-links a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-block;
}
.spx-footer .footer-links a:hover {
  color: var(--primary) !important;
  transform: translateX(4px);
}
.spx-footer .social-links {
  display: flex;
  gap: 12px;
}
.spx-footer .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s;
}
.spx-footer .social-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.spx-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.spx-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* ── Particles ───────────────────────────────────────────────── */
.hero-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-stats { gap: 20px; }
  .step-card { margin-bottom: 8px; }
  .contact-form-card { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Text Visibility Overrides for Light Theme ───────────────── */
body .text-white {
  color: var(--text-primary) !important;
}
body .text-white-50 {
  color: var(--text-secondary) !important;
}
/* Keep white text on solid colored gradients and buttons */
.cta-section .text-white {
  color: #ffffff !important;
}
.cta-section .text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}
.btn .text-white {
  color: #ffffff !important;
}
.btn-spx-primary, .btn-primary {
  color: #ffffff !important;
}
.spx-brand span, .footer-brand span {
  color: var(--text-primary) !important;
}
.navbar .btn .text-white, .navbar .btn-outline-light {
  color: var(--text-primary) !important;
}
.navbar .btn-spx-primary {
  color: #ffffff !important;
}

/* ── Blog Card & UI Spacing Adjustments ──────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(60, 189, 176, 0.15);
  border-color: rgba(60, 189, 176, 0.4);
}
.blog-card-img-wrapper {
  overflow: hidden;
  height: 200px;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}
.active-cat {
  background: var(--gradient) !important;
  color: white !important;
  border-color: transparent !important;
}

/* ── Premium FAQ Accordion ───────────────────────────────────── */
.spx-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spx-accordion .accordion-item:hover {
  border-color: rgba(60, 189, 176, 0.3) !important;
  box-shadow: 0 8px 25px rgba(60, 189, 176, 0.08);
}

.spx-accordion .accordion-button {
  background-color: var(--bg-card) !important;
  color: var(--text-primary) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600 !important;
  padding: 20px 24px;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.spx-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark) !important;
  background-color: rgba(60, 189, 176, 0.03) !important;
}

/* Custom indicator icon */
.spx-accordion .accordion-button::after {
  background-image: none !important;
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spx-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  color: var(--primary-dark);
}

.spx-accordion .accordion-collapse {
  border: none !important;
}

.spx-accordion .accordion-body {
  padding: 0 24px 24px 24px;
  background-color: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.spx-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(60, 189, 176, 0.4) !important;
  box-shadow: 0 8px 25px rgba(60, 189, 176, 0.08);
}

/* ── Course Details Modal & Guest Checkout Styling ───────────────── */
#courseDetailsModal .modal-content {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
  border-radius: 24px !important;
  color: var(--text-primary) !important;
}
#courseDetailsModal .modal-header {
  border-bottom: 1px solid var(--border) !important;
  padding: 24px 30px 16px 30px !important;
}
#courseDetailsModal .modal-body {
  padding: 30px !important;
  color: var(--text-primary) !important;
}
#courseDetailsModal h3, 
#courseDetailsModal h4, 
#courseDetailsModal h5, 
#courseDetailsModal h6,
#courseDetailsModal .modal-title {
  color: var(--text-primary) !important;
}
#courseDetailsModal p, 
#courseDetailsModal span, 
#courseDetailsModal div, 
#courseDetailsModal label {
  color: var(--text-secondary) !important;
}
#courseDetailsModal strong {
  color: var(--text-primary) !important;
}
#courseDetailsModal .spx-input {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: all 0.3s ease !important;
}
#courseDetailsModal .spx-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(60, 189, 176, 0.2) !important;
  outline: none !important;
}
#courseDetailsModal .bg-dark-alt {
  background: rgba(60, 189, 176, 0.05) !important;
  border: 1px solid rgba(60, 189, 176, 0.15) !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
  color: var(--text-primary) !important;
}
#courseDetailsModal .bg-dark-alt:hover {
  border-color: var(--primary) !important;
  background: rgba(60, 189, 176, 0.08) !important;
}
#courseDetailsModal .bg-dark-alt h6 {
  color: var(--primary-dark) !important;
}
#courseDetailsModal .bg-dark-alt .text-muted,
#courseDetailsModal .bg-dark-alt .text-white,
#courseDetailsModal .bg-dark-alt span,
#courseDetailsModal .bg-dark-alt div {
  color: var(--text-secondary) !important;
}
#courseDetailsModal .alert-info {
  background: rgba(60, 189, 176, 0.08) !important;
  color: var(--primary-dark) !important;
  border: 1px solid rgba(60, 189, 176, 0.15) !important;
}
#courseDetailsModal .btn-close,
.modal-content .btn-close {
  background-color: rgba(15, 23, 42, 0.08) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 50% !important;
  opacity: 0.85 !important;
  padding: 10px !important;
  transition: all 0.25s ease !important;
  filter: none !important;
}
#courseDetailsModal .btn-close:hover,
.modal-content .btn-close:hover {
  background-color: #EF4444 !important;
  filter: invert(1) !important;
  opacity: 1 !important;
  transform: rotate(90deg);
}
#courseDetailsModal .badge {
  background: rgba(60, 189, 176, 0.1) !important;
  color: #0F766E !important;
  border: 1px solid rgba(60, 189, 176, 0.2) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
}

/* ── Dismissible Announcement Bar ────────────────────────────── */
body.has-announcement {
  padding-top: 40px;
}
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #0F766E, #3CBDB0);
  color: white;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 50px 0 20px;
}
.btn-close-announcement {
  position: absolute;
  right: 15px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  line-height: 1;
}
.btn-close-announcement:hover {
  color: #fff;
}
#mainNav {
  transition: top 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Premium Pills Glass (Testimonials) ───────────────────────── */
.spx-pills-glass {
  background: rgba(15, 23, 42, 0.04) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}
.spx-pills-glass .nav-link {
  color: var(--text-secondary) !important;
  transition: all 0.3s ease;
  border: none !important;
}
.spx-pills-glass .nav-link.active {
  background: var(--gradient) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(60, 189, 176, 0.3);
}


.spx-input-sms {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-size: 0.9rem;
  padding: 10px 14px !important;
  transition: all 0.2s;
}
.spx-input-sms:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(60,189,176,0.15) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  outline: none;
}
.counselling-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}
.counselling-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 4px;
}
.play-store-btn {
  transition: transform 0.2s;
}
.play-store-btn:hover {
  transform: scale(1.02);
}
.footer-bottom-bar {
  border-top: 1px solid var(--border) !important;
}
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon-btn:hover {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── Demo Video Modal Premium Styling ────────────────────────────────────── */
#demoVideoModal .modal-content {
  background: radial-gradient(circle at 10% 20%, #1E293B 0%, #0F172A 95%) !important;
  border: 1px solid rgba(60, 189, 176, 0.25) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(60, 189, 176, 0.1) !important;
  border-radius: 28px !important;
  overflow: hidden;
  backdrop-filter: blur(16px);
  color: #ffffff !important;
}

#demoVideoModal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 24px 28px 16px 28px !important;
}

#demoVideoModal .modal-title {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

#demoVideoModal .modal-title i {
  color: var(--primary) !important;
}

#demoVideoModal .btn-close {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  opacity: 0.75 !important;
  padding: 8px !important;
  filter: invert(1) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#demoVideoModal .btn-close:hover {
  background-color: #EF4444 !important;
  border-color: #EF4444 !important;
  filter: invert(1) !important;
  opacity: 1 !important;
  transform: rotate(90deg) !important;
}

#demoVideoModal .ratio-16x9 {
  border: 1px solid rgba(60, 189, 176, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(60, 189, 176, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#demoVideoModal .ratio-16x9:hover {
  border-color: rgba(60, 189, 176, 0.5) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(60, 189, 176, 0.2) !important;
}

#demoVideoModal .fallback-link-wrapper {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem;
}

#demoVideoModal .fallback-link-wrapper a {
  color: var(--primary) !important;
  transition: color 0.2s ease;
}

#demoVideoModal .fallback-link-wrapper a:hover {
  color: var(--primary-dark) !important;
}

#demoVideoModal .modal-heading {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

#demoVideoModal .modal-desc {
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.925rem;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

#demoVideoModal .btn-spx-primary {
  background: var(--gradient) !important;
  border: none !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 32px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(60, 189, 176, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateY(0);
}

#demoVideoModal .btn-spx-primary:hover {
  box-shadow: 0 12px 30px rgba(60, 189, 176, 0.55) !important;
  transform: translateY(-2px);
}

#demoVideoModal .btn-spx-primary:active {
  transform: translateY(1px);
}



