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

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-warm: #f59e0b;
  --success: #10b981;
  --text: #1e1b4b;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-soft: #f8f7ff;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(79,70,229,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(79,70,229,0.15), 0 4px 16px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ===================== TYPOGRAPHY ===================== */
.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(79,70,229,0.2);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,70,229,0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(79,70,229,0.3);
}
.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

.btn-full { width: 100%; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  padding: 0;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.logo-icon {
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.logo-accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--primary); font-weight: 600; }
.mobile-menu a:hover { color: var(--primary); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #1e40af 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #818cf8, #4f46e5);
  top: -200px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, #0891b2);
  bottom: -100px; left: -100px;
  animation: float2 10s ease-in-out infinite;
}

.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, #d97706);
  top: 50%; left: 40%;
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ===================== HERO VISUAL — SESSION CARD ===================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 480px;
}

/* Decorative rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.hero-ring-1 {
  width: 380px; height: 380px;
  animation: ring-spin 20s linear infinite;
  border-style: dashed;
  border-color: rgba(129,140,248,0.25);
}
.hero-ring-2 {
  width: 500px; height: 500px;
  border-color: rgba(6,182,212,0.12);
  animation: ring-spin 32s linear infinite reverse;
}
.hero-ring-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
  border: none;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

/* Central session card */
.session-card {
  position: relative;
  z-index: 2;
  width: 300px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.session-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.session-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(16,185,129,0.8);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(16,185,129,0.6); }
  50%       { box-shadow: 0 0 14px rgba(16,185,129,1); }
}

.session-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

.session-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.session-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }

.topic-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(6,182,212,0.15);
  border: 1px solid rgba(6,182,212,0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.topic-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.session-progress { display: flex; flex-direction: column; gap: 6px; }

.progress-track {
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 4px;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
  animation: progress-shimmer 2s ease-in-out infinite;
}
@keyframes progress-shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.progress-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}

.session-participants { display: flex; flex-direction: column; gap: 10px; }

.participant {
  display: flex;
  align-items: center;
  gap: 10px;
}

.part-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}

.part-info { display: flex; flex-direction: column; }
.part-name { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.part-role { font-size: 0.7rem; color: rgba(255,255,255,0.45); }

.session-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.waveform span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--primary-light), var(--accent));
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.waveform span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 8px;  animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 16px; animation-delay: 0.2s; }
.waveform span:nth-child(7) { height: 12px; animation-delay: 0.1s; }
.waveform span:nth-child(8) { height: 20px; animation-delay: 0.3s; }
.waveform span:nth-child(9) { height: 9px;  animation-delay: 0.15s; }
.waveform span:nth-child(10){ height: 14px; animation-delay: 0.25s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1);   opacity: 0.7; }
  50%       { transform: scaleY(1.7); opacity: 1; }
}

.session-footer-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* Floating chips */
.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.hero-chip strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.hero-chip small  { display: block; font-size: 0.7rem; color: var(--text-muted); }

.chip-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--success), #059669);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.chip-star {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent-warm), #d97706);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.chip-flag {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chip-1 {
  bottom: 60px;
  left: -30px;
  animation: chip-float 7s ease-in-out infinite;
}
.chip-2 {
  top: 50px;
  right: -20px;
  animation: chip-float 5s ease-in-out infinite 1s;
}
.chip-3 {
  bottom: 140px;
  right: -40px;
  animation: chip-float 8s ease-in-out infinite 0.5s;
}

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

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 20px;
  text-align: center;
  overflow: hidden;
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.trust-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.trust-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===================== SERVICES ===================== */
.services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(79,70,229,0.03) 0%, #fff 100%);
  box-shadow: var(--shadow-md);
}

.service-card.featured::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  margin-bottom: 8px;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.service-card:hover .service-icon svg {
  color: #fff;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.8rem;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===================== HOW IT WORKS ===================== */
.how-it-works {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--success));
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 28px;
  position: relative;
  box-shadow: 0 8px 24px rgba(79,70,229,0.3);
  transition: transform var(--transition);
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step:nth-child(2) .step-number { background: linear-gradient(135deg, #6366f1, var(--accent)); }
.step:nth-child(3) .step-number { background: linear-gradient(135deg, var(--accent), var(--success)); }
.step:nth-child(4) .step-number { background: linear-gradient(135deg, var(--success), #059669); }

.step-content {
  padding: 20px 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  width: 100%;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================== TUTORS ===================== */
.tutors { background: #fff; }

.tutors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.tutor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}

.tutor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,70,229,0.2);
}

.tutor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.tutor-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.tutor-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2px;
  margin-bottom: 8px;
}

.tutor-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tutor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(79,70,229,0.07);
  color: var(--primary);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius-full);
}

.tutor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.tutor-meta span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.tutors-cta {
  text-align: center;
}

.tutors-cta p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials { background: var(--bg-soft); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-testimonial {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  background: linear-gradient(135deg, rgba(79,70,229,0.04), rgba(6,182,212,0.04));
  border-color: rgba(79,70,229,0.15);
}

.quote-icon {
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  padding-top: 8px;
  position: relative;
  z-index: 1;
}

.featured-testimonial .testimonial-text {
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  flex-direction: column;
  text-align: center;
  min-width: 140px;
}

.featured-testimonial .testimonial-author {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

.stars {
  color: var(--accent-warm);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ===================== CONTACT ===================== */
.contact { background: #fff; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info .section-tag { text-align: left; display: inline-block; }
.contact-info > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79,70,229,0.15);
  transition: background 0.3s ease;
}
.contact-point-icon svg {
  width: 20px; height: 20px;
  color: var(--primary);
  transition: color 0.3s ease;
}
.contact-point:hover .contact-point-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.contact-point:hover .contact-point-icon svg { color: #fff; }

.contact-point strong {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-point p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #ef4444;
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 16px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 48px 32px;
}

.success-icon { font-size: 4rem; margin-bottom: 20px; }

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color var(--transition);
}

.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps::before { display: none; }
  .tutors-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .featured-testimonial { grid-column: 1 / -1; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual {
    height: 360px;
    order: -1;
  }

  .chip-1 { left: 0; bottom: 20px; }
  .chip-2 { right: 0; top: 20px; }
  .chip-3 { display: none; }
  .hero-ring-2 { width: 340px; height: 340px; }
  .session-card { width: 260px; }

  .services-grid { grid-template-columns: 1fr; }
  .tutors-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .featured-testimonial { flex-direction: column; }
  .featured-testimonial .testimonial-author { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; flex-direction: row; text-align: left; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; }
  .step-number { margin-bottom: 0; flex-shrink: 0; width: 56px; height: 56px; font-size: 1.1rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .chip-2, .chip-3 { display: none; }
  .trust-logos { gap: 8px 12px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ===================== SCROLL PROGRESS BAR ===================== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-warm));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(79,70,229,0.5);
}

/* ===================== CURSOR GLOW ===================== */
#cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* ===================== SESSION TIMER TICK ===================== */
/* timer is animated via JS */.session-time { transition: color 0.3s; }

/* ===================== SERVICE ICON BOUNCE ON HOVER ===================== */
.service-card:hover .service-icon {
  animation: icon-bounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30%       { transform: translateY(-10px) scale(1.15); }
  60%       { transform: translateY(-4px) scale(1.05); }
}

/* ===================== SHIMMER ON FEATURED CARD ===================== */
.service-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.5) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  pointer-events: none;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===================== STEP NUMBER PULSE ===================== */
.step:hover .step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse-ring 0.8s ease-out forwards;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ===================== TUTOR AVATAR GLOW ===================== */
.tutor-card:hover .tutor-avatar {
  box-shadow: 0 0 0 4px rgba(255,255,255,0.8), 0 0 20px rgba(79,70,229,0.35);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* ===================== QUOTE ICON ANIMATION ===================== */
.testimonial-card:hover .quote-icon {
  opacity: 0.28;
  transform: scale(1.15) rotate(-4deg);
  transition: all 0.4s ease;
}

/* ===================== NAV LINK ACTIVE STATE ===================== */
.nav-links a.active:not(.btn) {
  color: var(--primary) !important;
}
.nav-links a.active:not(.btn)::after { width: 100% !important; }

/* btn-nav active page indicator */
.btn-nav.active {
  background: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: 0 2px 16px rgba(55,48,163,0.4) !important;
}

/* ===================== FORM INPUT FOCUS GLOW ===================== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  animation: input-glow 0.3s ease forwards;
}

@keyframes input-glow {
  from { box-shadow: 0 0 0 0 rgba(79,70,229,0); }
  to   { box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
}

/* ===================== SUCCESS ANIMATION ===================== */
.anim-scale-in {
  animation: scale-pop 0.5s cubic-bezier(0.36,0.07,0.19,0.97) forwards;
}

@keyframes scale-pop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

/* ===================== TRUST ITEM ACTIVE PULSE ===================== */
.trust-item:hover {
  animation: trust-pop 0.3s cubic-bezier(0.36,0.07,0.19,0.97);
}

@keyframes trust-pop {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(-5px); }
}

/* ===================== HERO BADGE FLOAT ===================== */
.badge {
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ===================== GRADIENT BORDER ON TUTOR CARD HOVER ===================== */
.tutor-card {
  background-clip: padding-box;
}

.tutor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  margin: -1.5px;
}

.tutor-card:hover::before { opacity: 1; }
.tutor-card { position: relative; z-index: 0; }

/* ===================== ACTIVE SECTION INDICATOR ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== HERO PARTICLES ===================== */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0;
  animation: particle-float linear infinite;
}
@keyframes particle-float {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.35; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-110vh) scale(0.5); opacity: 0; }
}

/* ===================== SCROLL INDICATOR ===================== */
.scroll-indicator {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 0 40px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }
.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.scroll-arrow {
  color: var(--primary);
  animation: bounce-arrow 1.6s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ===================== TRUST MARQUEE ===================== */
.trust-marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 4px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust-marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 52s linear infinite;
}
.trust-marquee:hover { animation-play-state: paused; }
.trust-marquee .trust-item {
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: 12px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================== BUTTON RIPPLE ===================== */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-burst 0.55s cubic-bezier(0.4,0,0.2,1) forwards;
  pointer-events: none;
}
@keyframes ripple-burst {
  to { transform: scale(4); opacity: 0; }
}

/* ===================== MIRO-STYLE SCROLL ANIMATIONS ===================== */

/* Clip-path text reveal */
.reveal-line {
  overflow: hidden;
  display: block;
}
.reveal-line-inner {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease;
}
.reveal-line-inner.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* Scroll-driven section pin wrapper */
.scroll-scene {
  position: relative;
}

/* Feature highlight — big full-bleed section that pins & reveals */
.scroll-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 0;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.scroll-feature.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Word-by-word highlight sweep */
.highlight-sweep {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sweep-gradient 3s linear infinite;
}
@keyframes sweep-gradient {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Stagger children with data-delay */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
[data-stagger].in-view > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
[data-stagger].in-view > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.1s; }
[data-stagger].in-view > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.2s; }
[data-stagger].in-view > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.3s; }
[data-stagger].in-view > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.4s; }
[data-stagger].in-view > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.5s; }

/* Parallax depth layers */
.parallax-slow  { will-change: transform; }
.parallax-med   { will-change: transform; }

/* Section fade-up with blur */
.blur-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.blur-reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Scale-in from edges */
.scale-in-left {
  opacity: 0;
  transform: translateX(-50px) scale(0.95);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.scale-in-right {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.scale-in-left.in-view,
.scale-in-right.in-view {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Number pop */
.number-pop {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.number-pop:hover { transform: scale(1.15); }

/* Underline draw animation for section titles */
.draw-underline {
  position: relative;
  display: inline-block;
}
.draw-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.draw-underline.in-view::after { width: 100%; }

/* ===================== CURRICULUM GRID ===================== */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .curriculum-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .curriculum-grid { grid-template-columns: 1fr; } }

.curriculum-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.curriculum-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(79,70,229,0.25);
  transform: translateY(-4px);
}
.curriculum-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.curriculum-icon svg { width: 20px; height: 20px; color: var(--primary); transition: color 0.3s ease; }
.curriculum-card:hover .curriculum-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.curriculum-card:hover .curriculum-icon svg { color: #fff; }
.curriculum-num {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--primary); opacity: 0.45;
}
.curriculum-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; }
.curriculum-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.curriculum-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(79,70,229,0.06);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.curriculum-note svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }

/* ===================== DARK MODE ===================== */
[data-theme="dark"] {
  --bg: #0f0e1a;
  --bg-soft: #191728;
  --bg-card: #1d1c2e;
  --text: #e8e8f5;
  --text-secondary: #9090b8;
  --text-muted: #5a5a8a;
  --border: #2a2840;
  --border-light: #222038;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
}
[data-theme="dark"] .navbar { background: rgba(15,14,26,0.95); border-bottom-color: var(--border); }
[data-theme="dark"] .navbar.scrolled { background: rgba(15,14,26,0.98); }
[data-theme="dark"] .session-card,
[data-theme="dark"] .hero-chip { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .trust-item {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-secondary);
}
[data-theme="dark"] .footer { background: #08070f; }

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(20deg);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Dark mode — additional fixes */
[data-theme="dark"] .hero { background: linear-gradient(135deg, #0a091a 0%, #13112a 50%, #0d1a33 100%); }
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .mission-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .tl-card,
[data-theme="dark"] .credential,
[data-theme="dark"] .journey-card,
[data-theme="dark"] .curriculum-card,
[data-theme="dark"] .step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .contact-form { background: var(--bg-card); }
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--border);
}
[data-theme="dark"] .book-package-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .book-package-featured { background: linear-gradient(145deg, #1e1b4b, #2d2980); border-color: transparent; }
[data-theme="dark"] .pricing-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .compare-table { background: var(--bg-card); }
[data-theme="dark"] .compare-table thead tr { background: var(--bg-soft); }
[data-theme="dark"] .compare-table tbody tr:hover { background: var(--bg-soft); }
[data-theme="dark"] .faq-question { background: var(--bg-card); color: var(--text); border-color: var(--border); }
[data-theme="dark"] .faq-answer { background: var(--bg-soft); border-color: var(--border); }
[data-theme="dark"] .included-card { background: var(--bg-card); border-color: var(--border); }

/* ===================== DARK MODE — SECTION & ELEMENT FIXES ===================== */

/* Sections with hardcoded white backgrounds */
[data-theme="dark"] .how-it-works {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
[data-theme="dark"] .tutors  { background: var(--bg); }
[data-theme="dark"] .contact { background: var(--bg); }

/* Featured service card gradient fix */
[data-theme="dark"] .service-card.featured {
  background: linear-gradient(180deg, rgba(79,70,229,0.12) 0%, var(--bg-card) 100%);
}

/* Form inputs & selects */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--text-muted); }

/* Step numbers */
[data-theme="dark"] .step-number {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

/* Step connectors */
[data-theme="dark"] .step-connector { background: var(--border); }

/* Section backgrounds that use bg-soft inline style */
[data-theme="dark"] [style*="background:var(--bg-soft)"],
[data-theme="dark"] [style*="background: var(--bg-soft)"] {
  background: var(--bg-soft) !important;
}

/* Hero shapes opacity adjustment */
[data-theme="dark"] .shape { opacity: 0.15; }

/* Navbar mobile menu */
[data-theme="dark"] .mobile-menu {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="dark"] .mobile-menu a { color: var(--text); }
[data-theme="dark"] .mobile-menu a:hover { color: var(--primary); }

/* Scroll progress bar */
[data-theme="dark"] #scroll-progress { background: var(--primary); }

/* Gradient text in dark mode stays readable */
[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About page sections */
[data-theme="dark"] .mission-section,
[data-theme="dark"] .values-section { background: var(--bg) !important; }
[data-theme="dark"] .founder-section { background: var(--bg-soft) !important; }
[data-theme="dark"] .timeline-section { background: var(--bg) !important; }
[data-theme="dark"] .about-cta-section { background: linear-gradient(135deg, #1e1b4b, #1e3a8a) !important; }

/* Pricing page */
[data-theme="dark"] .pricing-cards-section { background: var(--bg-soft); }
[data-theme="dark"] .included-section { background: var(--bg) !important; }
[data-theme="dark"] .faq-section { background: var(--bg-soft) !important; }
[data-theme="dark"] .compare-table tbody td { color: var(--text-secondary); }
[data-theme="dark"] .compare-table tbody td:first-child { color: var(--text); }
[data-theme="dark"] .compare-featured-col { background: rgba(79,70,229,0.1); }
[data-theme="dark"] thead .compare-featured-col { background: rgba(79,70,229,0.18); }

/* Footer */
[data-theme="dark"] .footer-bottom { border-top-color: var(--border); }
[data-theme="dark"] .footer-bottom-links a { color: var(--text-muted); }
