:root {
  --primary: #FF4D7A;
  --primary-deep: #E8215A;
  --secondary: #7C5CFF;
  --secondary-deep: #5A3FE0;
  --mint: #23E6A8;
  --accent: #FFC857;
  --dark: #171338;
  --darker: #0A0818;
  --darkest: #050310;
  --light: #F4F1FF;
  --glass: rgba(23, 19, 56, 0.72);
  --glass-border: rgba(124, 92, 255, 0.32);
  --mono: 'IBM Plex Mono', monospace;
  --display: 'Space Grotesk', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { font-family: 'Inter', sans-serif; background: var(--darker); color: var(--light); overflow-x: hidden; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--secondary); color: #fff; }

/* ---- Performans: hareket azaltma tercihi ve düşük güçlü cihazlar (Smart TV, eski telefon/tablet) ----
   Bu blok, ekrandaki sürekli çalışan dekoratif animasyonları ve pahalı blur (bulanıklık)
   efektlerini zayıf donanımlı cihazlarda kapatarak titreme/donma sorununu engeller. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  /* Logo etrafındaki yıldızlar, logo yazısındaki ışık süzmesi ve yanıp sönen imleç
     her zaman çalışmaya devam etsin (bilgisayarda "hareket azaltma" ayarı açık olsa bile) */
  .orbit-ring { animation: orbit 22s linear infinite !important; }
  .orbit-ring:nth-child(3) { animation: orbit 32s linear infinite reverse !important; }
  .orbit-ring:nth-child(4) { animation: orbit 15s linear infinite !important; }
  .real-star { animation: realStarPulse 2.6s ease-in-out infinite !important; }
  .starfield { animation: starSpin 90s linear infinite, twinkle 3.2s ease-in-out infinite !important; }
  .nav-logo-text::after { animation: navLogoSweep 3.6s ease-in-out infinite !important; }
  .hero-text .slogan .cursor { animation: blink 1s step-end infinite !important; }
}
html.reduce-fx .shooting-stars,
html.reduce-fx .particles,
html.reduce-fx .about-galaxy-spiral,
html.reduce-fx .about-orbit-ring,
html.reduce-fx .about-mini-stars,
html.reduce-fx .about-glow-blob,
html.reduce-fx .mini-star { display: none !important; }
html.reduce-fx .galaxy-bg::before,
html.reduce-fx .stars-far, html.reduce-fx .stars-mid, html.reduce-fx .stars-near,
html.reduce-fx .hero-text h1, html.reduce-fx .navbar::after,
html.reduce-fx .hero-logo-main, html.reduce-fx .hero-logo-container::before,
html.reduce-fx .about-badge, html.reduce-fx .hero-eyebrow .dot,
html.reduce-fx .schools-section::before, html.reduce-fx .whatsapp-float { animation: none !important; }
html.reduce-fx .navbar, html.reduce-fx .stat-item, html.reduce-fx .course-card,
html.reduce-fx .feature-box, html.reduce-fx .testimonial-card, html.reduce-fx .faq-item,
html.reduce-fx .contact-form, html.reduce-fx .mobile-menu, html.reduce-fx .quick-nav,
html.reduce-fx .district-chip, html.reduce-fx .about-badge, html.reduce-fx .info-modal-overlay,
html.reduce-fx .schools-section {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  background: rgba(10,8,24,0.94) !important;
}
html.reduce-fx .hero-text h1 {
  background-position: 0% center !important;
  filter: none !important;
}

/* ---- Ambient mesh background ---- */
.galaxy-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; background: var(--darker); }
.galaxy-bg::before { content: ''; position: absolute; top: -20%; left: -20%; width: 140%; height: 140%; will-change: transform; background:
  radial-gradient(ellipse 800px 650px at 12% 8%, rgba(255,77,122,0.16) 0%, transparent 60%),
  radial-gradient(ellipse 750px 650px at 92% 18%, rgba(124,92,255,0.20) 0%, transparent 58%),
  radial-gradient(ellipse 700px 600px at 15% 92%, rgba(35,230,168,0.10) 0%, transparent 55%),
  radial-gradient(ellipse 900px 700px at 95% 95%, rgba(255,200,87,0.08) 0%, transparent 60%);
  animation: meshDrift 30s ease-in-out infinite;
  transform: translate3d(0,0,0);
}
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}
.galaxy-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,24,0.15) 0%, rgba(10,8,24,0.45) 60%, rgba(10,8,24,0.8) 100%); }

/* ---- Layered deep-space starfield (parallax + twinkle) ---- */
.stars-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-repeat: repeat; }
.stars-far {
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 65%, #fff, transparent),
    radial-gradient(1px 1px at 50% 12%, #fff, transparent), radial-gradient(1px 1px at 68% 80%, #fff, transparent),
    radial-gradient(1px 1px at 85% 35%, #fff, transparent), radial-gradient(1px 1px at 5% 90%, #fff, transparent),
    radial-gradient(1px 1px at 22% 45%, #fff, transparent), radial-gradient(1px 1px at 40% 92%, #fff, transparent),
    radial-gradient(1px 1px at 60% 55%, #fff, transparent), radial-gradient(1px 1px at 78% 8%, #fff, transparent),
    radial-gradient(1px 1px at 92% 68%, #fff, transparent), radial-gradient(1px 1px at 15% 5%, #fff, transparent);
  background-size: 260px 260px;
  animation: twinkleSoft 7s ease-in-out infinite;
}
.stars-mid {
  opacity: 0.65;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 30%, #fff, transparent), radial-gradient(1.4px 1.4px at 38% 8%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 58% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 75% 22%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 88% 78%, #fff, transparent), radial-gradient(1.4px 1.4px at 24% 82%, #fff, transparent),
    radial-gradient(1.7px 1.7px at 46% 45%, #fff, transparent), radial-gradient(1.5px 1.5px at 6% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 95% 40%, rgba(200,190,255,0.9), transparent), radial-gradient(1.4px 1.4px at 66% 95%, rgba(200,230,255,0.9), transparent);
  background-size: 460px 460px;
  animation: twinkleSoft 4.5s ease-in-out infinite 1.2s;
}
.stars-near {
  opacity: 0.85;
  background-image:
    radial-gradient(2.4px 2.4px at 18% 24%, #fff 0%, rgba(255,255,255,0.5) 55%, transparent 100%),
    radial-gradient(2px 2px at 52% 70%, #fff 0%, rgba(255,255,255,0.5) 55%, transparent 100%),
    radial-gradient(2.6px 2.6px at 80% 15%, rgba(210,225,255,1) 0%, rgba(210,225,255,0.5) 55%, transparent 100%),
    radial-gradient(2.2px 2.2px at 30% 88%, #fff 0%, rgba(255,255,255,0.5) 55%, transparent 100%),
    radial-gradient(2.4px 2.4px at 92% 55%, rgba(255,225,200,1) 0%, rgba(255,225,200,0.5) 55%, transparent 100%),
    radial-gradient(2px 2px at 8% 68%, #fff 0%, rgba(255,255,255,0.5) 55%, transparent 100%);
  background-size: 620px 620px;
  animation: twinkleStrong 3.2s ease-in-out infinite 0.6s;
}
@keyframes twinkleSoft { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.75; } }
@keyframes twinkleStrong { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ---- Occasional shooting stars ---- */
.shooting-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shooting-star { position: absolute; width: 140px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0)); filter: drop-shadow(0 0 6px rgba(180,200,255,0.85)); opacity: 0; transform: rotate(-32deg); animation: shoot 10s linear infinite; }
.shooting-star:nth-child(1) { top: 6%; left: -14%; animation-delay: 1s; animation-duration: 9s; }
.shooting-star:nth-child(2) { top: 24%; left: -14%; animation-delay: 5.5s; animation-duration: 12s; }
.shooting-star:nth-child(3) { top: 46%; left: -14%; animation-delay: 9.2s; animation-duration: 14s; }
@keyframes shoot {
  0% { transform: translate(0, 0) rotate(-32deg); opacity: 0; }
  2% { opacity: 1; }
  9% { opacity: 0; }
  100% { transform: translate(1500px, 950px) rotate(-32deg); opacity: 0; }
}
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; animation: particleFloat 8s ease-in-out infinite; }
@keyframes particleFloat { 0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; } 25% { transform: translateY(-30px) translateX(15px); opacity: 0.8; } 50% { transform: translateY(-15px) translateX(-10px); opacity: 0.6; } 75% { transform: translateY(-40px) translateX(20px); opacity: 0.9; } }

/* ---- Navbar ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 4%; height: 74px; display: flex; align-items: center; justify-content: space-between; background: rgba(10, 8, 24, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border); transition: all 0.35s ease; }
.navbar::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--mint), transparent); background-size: 200% 100%; animation: scanline 6s linear infinite; opacity: 0.8; }
@keyframes scanline { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.navbar.scrolled { height: 62px; background: rgba(10, 8, 24, 0.96); box-shadow: 0 4px 30px rgba(124, 92, 255, 0.25); }
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--light); text-decoration: none; letter-spacing: 0.5px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; position: relative; overflow: hidden; }
.nav-logo-title { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.5px; color: var(--light); }
.nav-logo-sub { font-family: var(--mono); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.6px; margin-top: 1px; background: linear-gradient(120deg, var(--mint), var(--secondary), var(--primary), var(--mint)); background-size: 300% auto; background-position: 38% center; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.92; }
.nav-logo span { background: linear-gradient(120deg, var(--mint), var(--secondary), var(--primary), var(--mint)); background-size: 300% auto; background-position: 38% center; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* Yazılar yerinde durur (renkler sabit akış), arkadan geçen bir ışık süzmesi (shimmer) olur */
.nav-logo-text::after { content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0.7) 55%, transparent 100%); mix-blend-mode: overlay; pointer-events: none; animation: navLogoSweep 3.6s ease-in-out infinite; }
@keyframes navLogoSweep { 0% { left: -60%; } 35% { left: 130%; } 100% { left: 130%; } }
.nav-logo-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid var(--secondary); box-shadow: 0 0 20px rgba(124, 92, 255, 0.55); flex-shrink: 0; transition: box-shadow 0.3s ease; }
.nav-logo:hover .nav-logo-icon { box-shadow: 0 0 30px rgba(255, 77, 122, 0.6); }
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nav-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.nav-links a { color: #a9a1d4; text-decoration: none; font-size: 0.85rem; font-weight: 500; position: relative; transition: color 0.3s; padding: 8px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--mint)); transition: width 0.3s ease; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--light); text-shadow: 0 0 10px rgba(124,92,255,0.5); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 0 15px rgba(255, 77, 122, 0.4); white-space: nowrap; }
.nav-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 25px rgba(255, 77, 122, 0.55), 0 0 40px rgba(124, 92, 255, 0.35); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--light); font-size: 1.5rem; cursor: pointer; padding: 10px; }

main { position: relative; z-index: 1; padding-top: 74px; }

/* ---- Hero ---- */
.hero { min-height: calc(100vh - 74px); display: flex; align-items: center; justify-content: center; padding: 60px 4%; position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; max-width: 1300px; width: 100%; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 1px; color: var(--mint); background: rgba(35,230,168,0.08); border: 1px solid rgba(35,230,168,0.3); padding: 6px 14px; border-radius: 50px; margin-bottom: 20px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
.hero-text h1 { font-family: var(--display); font-size: 3.3rem; font-weight: 800; line-height: 1.14; margin-bottom: 20px; background: linear-gradient(100deg, #fff 15%, var(--secondary) 38%, var(--primary) 55%, var(--mint) 70%, #fff 88%); background-size: 280% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 20px rgba(124,92,255,0.25)); animation: titleShimmer 8s ease-in-out infinite; }
@keyframes titleShimmer { 0% { background-position: 0% center; } 50% { background-position: 100% center; } 100% { background-position: 0% center; } }
.hero-text .slogan { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 1.1rem; color: var(--mint); font-weight: 500; margin-bottom: 24px; letter-spacing: 0.5px; text-shadow: 0 0 15px rgba(35,230,168,0.4); }
.hero-text .slogan .cursor { display: inline-block; width: 9px; height: 1.15em; background: var(--mint); margin-left: 2px; animation: blink 1s step-end infinite; box-shadow: 0 0 8px var(--mint); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-text p { font-size: 1.05rem; color: #c4bee8; margin-bottom: 32px; max-width: 520px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; padding: 15px 34px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; text-decoration: none; border: none; border-bottom: 3px solid #a3123e; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 0 rgba(0,0,0,0.15); display: inline-flex; align-items: center; gap: 8px; -webkit-tap-highlight-color: transparent; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 77, 122, 0.4); }
.btn-primary:active { transform: translateY(1px); border-bottom-width: 1px; }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-secondary { background: rgba(124, 92, 255, 0.08); color: var(--light); padding: 15px 32px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1.5px dashed rgba(124, 92, 255, 0.55); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { border-color: var(--mint); border-style: solid; background: rgba(35, 230, 168, 0.12); transform: translateY(-2px); color: var(--mint); }
.btn-secondary.btn-orange { border-color: rgba(255, 149, 0, 0.6); color: #ffb238; background: rgba(255, 149, 0, 0.1); }
.btn-secondary.btn-orange:hover { border-color: #ff9500; border-style: solid; background: rgba(255, 149, 0, 0.18); color: #ff9500; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-logo-container { position: relative; width: 380px; height: 380px; }
.hero-logo-main { width: 100%; height: 100%; position: relative; z-index: 2; border-radius: 50%; overflow: hidden; box-shadow: 0 0 50px rgba(124, 92, 255, 0.45); border: 3px solid var(--secondary); animation: floatSlow 4s ease-in-out infinite; }
@keyframes floatSlow { 0%, 100% { transform: translate(0, 0) rotate(-1.5deg); } 50% { transform: translate(6px, -20px) rotate(1.5deg); } }
.hero-logo-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-logo-container::before { content: ''; position: absolute; top: 50%; left: 50%; width: 153%; height: 153%; transform: translate(-50%, -50%); border-radius: 50%; background:
    radial-gradient(circle at 32% 28%, rgba(255,77,122,0.22) 0%, transparent 42%),
    radial-gradient(circle at 68% 72%, rgba(124,92,255,0.26) 0%, transparent 46%),
    radial-gradient(circle at 50% 50%, rgba(35,230,168,0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(10,8,24,0) 50%, rgba(10,8,24,0.92) 76%);
  animation: glowPulse 6s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes glowPulse { 0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.starfield { position: absolute; top: 50%; left: 50%; width: 640px; height: 640px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform;
  background-image:
    radial-gradient(1.6px 1.6px at 15% 22%, #fff 100%, transparent 100%),
    radial-gradient(1.2px 1.2px at 32% 68%, #fff 100%, transparent 100%),
    radial-gradient(2px 2px at 48% 14%, rgba(255,255,255,0.9) 100%, transparent 100%),
    radial-gradient(1.3px 1.3px at 62% 40%, #fff 100%, transparent 100%),
    radial-gradient(1.7px 1.7px at 78% 78%, #fff 100%, transparent 100%),
    radial-gradient(1.2px 1.2px at 84% 25%, #fff 100%, transparent 100%),
    radial-gradient(2px 2px at 10% 82%, rgba(255,255,255,0.85) 100%, transparent 100%),
    radial-gradient(1.4px 1.4px at 25% 48%, #fff 100%, transparent 100%),
    radial-gradient(1.4px 1.4px at 90% 55%, #fff 100%, transparent 100%),
    radial-gradient(1.8px 1.8px at 55% 88%, rgba(255,255,255,0.9) 100%, transparent 100%),
    radial-gradient(1.2px 1.2px at 70% 10%, #fff 100%, transparent 100%),
    radial-gradient(1.5px 1.5px at 5% 40%, #fff 100%, transparent 100%);
  mask-image: radial-gradient(circle, black 55%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle, black 55%, transparent 78%);
  animation: starSpin 90s linear infinite, twinkle 3.2s ease-in-out infinite;
}
@keyframes starSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.orbit-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(124, 92, 255, 0.16); border-radius: 50%; animation: orbit 22s linear infinite; z-index: 1; }
.orbit-ring:nth-child(2) { width: 450px; height: 450px; }
.orbit-ring:nth-child(3) { width: 520px; height: 520px; animation-duration: 32s; animation-direction: reverse; border-color: rgba(255, 77, 122, 0.14); }
.orbit-ring:nth-child(4) { width: 380px; height: 380px; animation-duration: 15s; border-color: rgba(35, 230, 168, 0.14); }
@keyframes orbit { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
/* ---- Realistic sparkle stars orbiting the logo ---- */
.real-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0) 75%); animation: realStarPulse 2.6s ease-in-out infinite; }
.real-star::before, .real-star::after { content: ''; position: absolute; top: 50%; left: 50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent); border-radius: 2px; }
.real-star::before { width: 26px; height: 1px; transform: translate(-50%, -50%); }
.real-star::after { width: 1px; height: 26px; transform: translate(-50%, -50%); }
.orbit-ring:nth-child(2) .real-star { top: -3px; left: 50%; margin-left: -2.5px; box-shadow: 0 0 10px 2px rgba(255,255,255,0.95), 0 0 24px 6px rgba(124,92,255,0.55); }
.orbit-ring:nth-child(3) .real-star { top: 50%; right: -3px; margin-top: -2.5px; width: 4px; height: 4px; animation-delay: 1.1s; box-shadow: 0 0 9px 2px rgba(255,255,255,0.95), 0 0 20px 6px rgba(255,77,122,0.5); }
.orbit-ring:nth-child(3) .real-star::before { width: 20px; }
.orbit-ring:nth-child(3) .real-star::after { height: 20px; }
.orbit-ring:nth-child(4) .real-star { bottom: -2px; left: 50%; margin-left: -2px; width: 4px; height: 4px; animation-delay: 0.5s; box-shadow: 0 0 8px 2px rgba(255,255,255,0.95), 0 0 18px 5px rgba(35,230,168,0.5); }
.orbit-ring:nth-child(4) .real-star::before { width: 18px; }
.orbit-ring:nth-child(4) .real-star::after { height: 18px; }
@keyframes realStarPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
.mini-star { position: absolute; background: #fff; border-radius: 50%; box-shadow: 0 0 6px 1px #fff; animation: twinkle 2.6s ease-in-out infinite; z-index: 1; }

/* ---- Stats ---- */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; max-width: 1000px; margin: -40px auto 0; padding: 0 4%; position: relative; z-index: 10; }
.stat-item { text-align: center; padding: 28px 18px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 18px; position: relative; transition: all 0.35s ease; overflow: hidden; }
.stat-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,92,255,0.08), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.stat-item:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.55); box-shadow: 0 14px 34px rgba(124, 92, 255, 0.22), 0 0 20px rgba(255, 77, 122, 0.12); }
.stat-item:hover::before { opacity: 1; }
.stat-icon { font-size: 1.6rem; margin-bottom: 6px; filter: drop-shadow(0 0 8px rgba(124,92,255,0.5)); position: relative; z-index: 1; }
.stat-item .number { font-family: var(--display); font-size: 2.3rem; font-weight: 800; color: var(--secondary); display: block; text-shadow: 0 0 15px rgba(124,92,255,0.5); position: relative; z-index: 1; }
.stat-item:nth-child(2) .number { color: var(--primary); text-shadow: 0 0 15px rgba(255,77,122,0.5); }
.stat-item:nth-child(3) .number { color: var(--mint); text-shadow: 0 0 15px rgba(35,230,168,0.5); }
.stat-item:nth-child(4) .number { color: var(--accent); text-shadow: 0 0 15px rgba(255,200,87,0.5); }
.stat-item .label { font-size: 0.85rem; color: #9d94c9; margin-top: 4px; position: relative; z-index: 1; }


/* ---- Quick contact ---- */
.home-quick-contact { max-width: 1000px; margin: 20px auto 0; padding: 0 4%; }
.quick-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(255,77,122,0.16), rgba(124,92,255,0.14)); border: 1px solid var(--glass-border); border-radius: 18px; padding: 20px 26px; position: relative; overflow: hidden; }
.quick-contact-content { flex: 1; min-width: 260px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quick-contact-text h4 { font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
.quick-contact-text p { font-size: 0.85rem; color: #9d94c9; }
.quick-contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.home-promo-video { max-width: 1160px; margin: 30px auto 0; padding: 0 4%; }
.promo-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 60px rgba(124, 92, 255, 0.25), 0 0 40px rgba(255, 77, 122, 0.12); background: #000; }
.promo-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; }
#promoVideoEmbed { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-unmute-btn { position: absolute; bottom: 18px; right: 18px; z-index: 3; background: rgba(5,3,16,0.85); border: 1px solid var(--glass-border); color: #fff; padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.3s ease; font-family: 'Inter', sans-serif; }
.video-unmute-btn:hover { border-color: var(--mint); box-shadow: 0 0 15px rgba(35, 230, 168, 0.3); }
.video-unmute-btn.hidden { display: none; }
.promo-video-clickcatch { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: transparent; }
.promo-video-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-decoration: none; background: linear-gradient(135deg, rgba(255,77,122,0.45), rgba(124,92,255,0.4)), url('https://img.youtube.com/vi/JbKUu3Pg1oc/hqdefault.jpg') center/cover no-repeat; }
.promo-video-fallback-play { width: 74px; height: 74px; border-radius: 50%; background: rgba(5,3,16,0.75); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; border: 2px solid rgba(255,255,255,0.5); transition: all 0.3s ease; }
.promo-video-fallback:hover .promo-video-fallback-play { background: var(--primary); box-shadow: 0 0 25px rgba(255,77,122,0.5); }
.promo-video-fallback-label { background: rgba(5,3,16,0.75); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif; }
.qc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; text-decoration: none; background: var(--glass); border: 1px solid var(--glass-border); color: var(--light); transition: all 0.3s ease; white-space: nowrap; }
.qc-btn:hover { transform: translateY(-2px); border-color: var(--mint); }
.qc-btn.qc-whatsapp { color: #25d366; border-color: rgba(37,211,102,0.4); }
.qc-btn.qc-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; color: #fff; }

/* ---- Info modal ---- */
.info-modal-overlay { position: fixed; inset: 0; background: rgba(5,3,16,0.75); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.info-modal-overlay.active { display: flex; }
.info-modal-box { background: var(--darker); border: 1px solid var(--glass-border); border-radius: 22px; max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.5); animation: modalPop 0.25s ease; }
@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.info-modal-box img { width: 100%; height: 200px; object-fit: cover; display: block; border-radius: 22px 22px 0 0; }
.info-modal-body { padding: 22px 24px 26px; }
.info-modal-body h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 12px; color: var(--mint); }
.info-modal-body p { font-size: 0.9rem; line-height: 1.7; color: #c4bee8; }
.info-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(5,3,16,0.85); border: 1px solid var(--glass-border); color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.info-modal-close:hover { background: #ef4444; border-color: #ef4444; }
.kvkk-group { margin-top: 4px; }
.kvkk-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.82rem; color: #c4bee8; line-height: 1.5; padding: 6px; border-radius: 8px; transition: background 0.2s; }
.kvkk-label:hover { background: rgba(124, 92, 255, 0.1); }
.kvkk-label input[type="checkbox"] { margin-top: 2px; width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--secondary); cursor: pointer; border: 2px solid var(--secondary); border-radius: 4px; }
.kvkk-label a { color: var(--mint); text-decoration: underline; }
.form-group.invalid input:not([type="checkbox"]), .form-group.invalid select { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239,68,68,0.2); }
.kvkk-group.invalid { border: 1px solid #ef4444; border-radius: 8px; }
.kvkk-group.invalid .kvkk-label { color: #ef4444; }

/* ---- Admin modal ---- */
.admin-modal-box { max-width: 340px; text-align: center; }
.admin-modal-body { padding: 30px 26px; }
.admin-modal-body h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 16px; }
.admin-modal-body input[type="password"] { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.05); color: var(--light); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.admin-modal-body input[type="password"]:focus { outline: none; border-color: var(--secondary); }
.admin-modal-error { color: #ef4444; font-size: 0.8rem; min-height: 16px; margin-bottom: 8px; }
.admin-modal-success { color: #34d399; font-size: 0.8rem; min-height: 16px; margin-bottom: 8px; }
.admin-modal-body .pw-hint { font-size: 0.75rem; color: #9d94c9; margin: -8px 0 14px; text-align: left; }

/* ---- Sections ---- */
.section { padding: 110px 4%; max-width: 1300px; margin: 0 auto; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-flex; align-items: center; gap: 0; padding: 6px 16px; background: rgba(124, 92, 255, 0.12); border: 1px solid var(--glass-border); border-radius: 8px; color: var(--mint); font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; font-family: var(--mono); margin-bottom: 18px; }
.section-tag::before { content: '// '; opacity: 0.55; }
.section-title { font-family: var(--display); font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; background: linear-gradient(100deg, #fff 10%, var(--secondary) 35%, var(--primary) 55%, var(--mint) 75%, #fff 95%); background-size: 250% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.5px; animation: sectionTitleFlow 7s ease-in-out infinite; }
@keyframes sectionTitleFlow { 0% { background-position: 0% center; } 50% { background-position: 100% center; } 100% { background-position: 0% center; } }
html.reduce-fx .section-title { animation: none !important; background-position: 0% center !important; }
.section-subtitle { color: #9d94c9; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.course-card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 0; position: relative; overflow: hidden; transition: all 0.4s ease; cursor: pointer; }
.course-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--mint)); opacity: 0; transition: opacity 0.3s; z-index: 2; }
.course-card:hover { transform: translateY(-8px); border-color: rgba(124, 92, 255, 0.55); box-shadow: 0 20px 60px rgba(124, 92, 255, 0.22), 0 0 40px rgba(255, 77, 122, 0.12); }
.course-card:hover::before { opacity: 1; }
.course-card:hover .course-card-img { transform: scale(1.06); }
.course-card-img { width: 100%; height: 220px; object-fit: cover; display: block; border-bottom: 1px solid var(--glass-border); transition: transform 0.5s ease; }
.course-card-body { padding: 30px 28px; }
.course-card h3 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 12px; color: var(--light); }
.course-card p { color: #9d94c9; font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--mint); background: rgba(35, 230, 168, 0.1); padding: 6px 14px; border-radius: 50px; font-weight: 500; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-box { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 32px 24px; text-align: center; transition: all 0.35s ease; }
.feature-box:hover { transform: translateY(-6px); border-color: rgba(255, 77, 122, 0.5); box-shadow: 0 15px 40px rgba(255, 77, 122, 0.16), 0 0 30px rgba(124, 92, 255, 0.12); }
.feature-box:hover .icon { transform: rotate(-8deg) scale(1.08); }
.feature-box .icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 16px; box-shadow: 0 6px 20px rgba(124, 92, 255, 0.3); transition: transform 0.35s ease; }
.feature-box h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--light); font-family: var(--display); font-weight: 700; }
.feature-box p { font-size: 0.9rem; color: #9d94c9; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.about-image { position: relative; display: flex; justify-content: center; padding: 30px; }
.about-image img { width: 100%; max-width: 450px; border-radius: 24px; box-shadow: 0 25px 60px rgba(124, 92, 255, 0.3), 0 0 40px rgba(255, 77, 122, 0.12); border: 1px solid var(--glass-border); position: relative; z-index: 2; }
.about-image::before { content: ''; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: 2px solid var(--secondary); border-radius: 24px; opacity: 0.35; z-index: 1; pointer-events: none; }
.about-galaxy-spiral { position: absolute; top: 50%; left: 50%; width: 560px; height: 560px; max-width: 140%; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(124,92,255,0.4), rgba(255,77,122,0.28), rgba(35,230,168,0.22), rgba(255,200,87,0.18), rgba(124,92,255,0.4)); filter: blur(48px); opacity: 0.6; z-index: 0; animation: spiralSpin 55s linear infinite; pointer-events: none; }
@keyframes spiralSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.about-glow-blob { position: absolute; top: 50%; left: 50%; width: 480px; height: 480px; max-width: 120%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.12), transparent 55%); filter: blur(6px); z-index: 1; opacity: 0.7; animation: glowPulse 6s ease-in-out infinite; pointer-events: none; }
.about-orbit-ring { position: absolute; top: 50%; left: 50%; width: 490px; height: 490px; max-width: 118%; transform: translate(-50%, -50%) rotate(-14deg); border: 1.5px dashed rgba(124,92,255,0.45); border-radius: 50%; z-index: 3; animation: orbitSpin 42s linear infinite; pointer-events: none; }
.about-orbit-ring::before { content: ''; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: radial-gradient(circle at 35% 30%, #fff, var(--mint)); border-radius: 50%; box-shadow: 0 0 16px var(--mint), 0 0 4px #fff; }
.about-orbit-ring::after { content: ''; position: absolute; bottom: 6%; right: 2%; width: 7px; height: 7px; background: radial-gradient(circle at 35% 30%, #fff, var(--secondary)); border-radius: 50%; box-shadow: 0 0 12px var(--secondary); }
@keyframes orbitSpin { from { transform: translate(-50%, -50%) rotate(-14deg); } to { transform: translate(-50%, -50%) rotate(346deg); } }
.about-mini-stars span { position: absolute; width: 4px; height: 4px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px 2px rgba(255,255,255,0.8); animation: twinkleStrong 2.6s ease-in-out infinite; z-index: 1; }
.about-mini-stars span:nth-child(1) { top: 6%; left: 12%; animation-delay: 0s; }
.about-mini-stars span:nth-child(2) { top: 18%; right: 6%; animation-delay: 0.6s; }
.about-mini-stars span:nth-child(3) { bottom: 22%; left: 2%; animation-delay: 1.2s; }
.about-mini-stars span:nth-child(4) { bottom: 8%; right: 18%; animation-delay: 1.8s; }
.about-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(15,12,35,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 12px 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.35), 0 0 20px rgba(124,92,255,0.25); z-index: 4; animation: floatSlow 5s ease-in-out infinite; }
.about-badge .badge-icon { font-size: 1.4rem; line-height: 1; }
.about-badge .badge-text { display: flex; flex-direction: column; gap: 2px; }
.about-badge strong { font-family: var(--display); font-size: 1.05rem; color: #fff; line-height: 1.15; }
.about-badge small { font-size: 0.7rem; color: #a9a1d4; white-space: nowrap; }
.about-badge-top { top: 4%; left: -6%; }
.about-badge-bottom { bottom: 2%; right: -6%; animation-delay: 1.4s; }
.about-text h2 { font-family: var(--display); font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
.about-text p { color: #9d94c9; margin-bottom: 20px; line-height: 1.8; font-size: 1rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.highlight-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #c4bee8; background: rgba(124,92,255,0.07); border: 1px solid var(--glass-border); border-radius: 12px; padding: 10px 14px; transition: all 0.25s ease; }
.highlight-item:hover { background: rgba(124,92,255,0.15); transform: translateY(-3px); border-color: rgba(124,92,255,0.45); box-shadow: 0 8px 20px rgba(124,92,255,0.2); }
.highlight-item .check { width: 24px; height: 24px; background: linear-gradient(135deg, var(--mint), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; color: #0A0818; font-weight: 800; box-shadow: 0 0 10px rgba(35,230,168,0.4); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; border: 1px solid var(--glass-border); transition: all 0.3s ease; -webkit-tap-highlight-color: transparent; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; pointer-events: none; }
.gallery-item video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; background: #000; }
.gallery-item .video-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(5,3,16,0.75); color: #fff; font-size: 0.75rem; padding: 4px 9px; border-radius: 20px; display: flex; align-items: center; gap: 4px; z-index: 4; pointer-events: none; }
.gallery-item:hover img, .gallery-item:active img { transform: scale(1.08); }
.gallery-item:hover { box-shadow: 0 0 30px rgba(124, 92, 255, 0.3); border-color: rgba(124, 92, 255, 0.5); }

.gallery-admin-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: -10px 0 26px; }
.gallery-admin-bar button { background: var(--glass); border: 1px solid var(--glass-border); color: var(--light); padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: 'Inter', sans-serif; }
.gallery-admin-bar button:hover { border-color: var(--mint); box-shadow: 0 0 15px rgba(35,230,168,0.25); }
.gallery-admin-bar button.btn-add { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; display: inline-flex; align-items: center; }
.gallery-item .admin-controls { position: absolute; top: 8px; right: 8px; display: none; gap: 6px; z-index: 5; }
.gallery-grid.admin-mode .gallery-item .admin-controls { display: flex; }
.gallery-item .admin-controls button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--glass-border); cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; background: rgba(5,3,16,0.85); color: #fff; }
.gallery-item .admin-controls .btn-del:hover { background: #ef4444; border-color: #ef4444; }
.gallery-item .admin-controls .btn-edit:hover { background: var(--secondary); border-color: var(--secondary); }
.gallery-item .drag-handle { position: absolute; top: 8px; left: 8px; z-index: 5; display: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(5,3,16,0.85); color: #fff; align-items: center; justify-content: center; font-size: 1rem; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.gallery-grid.admin-mode .gallery-item .drag-handle { display: flex; }
.gallery-item.dragging { opacity: 0.4; }
.gallery-item.drag-placeholder { outline: 2px dashed var(--secondary); outline-offset: -2px; }
.gallery-grid.admin-mode .gallery-item { border-color: rgba(124, 92, 255, 0.4); border-style: dashed; }

.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.97); z-index: 10000; justify-content: center; align-items: center; padding: 20px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 95%; max-height: 85vh; border-radius: 16px; box-shadow: 0 0 60px rgba(124, 92, 255, 0.5); border: 2px solid var(--secondary); animation: lbIn 0.3s ease; object-fit: contain; }
.lightbox video { max-width: 95%; max-height: 85vh; border-radius: 16px; box-shadow: 0 0 60px rgba(124, 92, 255, 0.5); border: 2px solid var(--secondary); animation: lbIn 0.3s ease; }
@keyframes lbIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.lightbox-close { position: absolute; top: 15px; right: 20px; font-size: 2.5rem; color: #fff; cursor: pointer; z-index: 10001; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: rgba(255,77,122,0.5); border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); transition: all 0.3s; line-height: 1; -webkit-tap-highlight-color: transparent; }
.lightbox-close:hover { background: var(--primary); box-shadow: 0 0 20px rgba(255,77,122,0.6); }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 32px; position: relative; transition: transform 0.3s ease, border-color 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(35,230,168,0.4); }
.testimonial-card::before { content: '"'; font-family: var(--display); font-size: 4rem; color: var(--secondary); opacity: 0.35; position: absolute; top: 10px; left: 20px; line-height: 1; }
.testimonial-text { color: #c4bee8; font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.testimonial-author .name { font-weight: 600; color: var(--light); font-size: 0.95rem; }
.testimonial-author .info { font-size: 0.8rem; color: #9d94c9; }
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(124, 92, 255, 0.5); }
.faq-question { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--light); font-size: 1rem; transition: color 0.3s; -webkit-tap-highlight-color: transparent; }
.faq-question:hover { color: var(--mint); text-shadow: 0 0 10px rgba(35,230,168,0.3); }
.faq-question .toggle { width: 28px; height: 28px; background: rgba(124, 92, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-question .toggle { background: var(--primary); transform: rotate(180deg); box-shadow: 0 0 15px rgba(255, 77, 122, 0.5); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: #9d94c9; line-height: 1.7; font-size: 0.95rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; transition: all 0.3s ease; border-radius: 12px; padding: 8px; }
a[href] .contact-item:hover { background: rgba(124,92,255,0.1); }
.contact-item .icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3); }
.contact-item .icon.whatsapp-icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.contact-item .icon.phone-icon { background: linear-gradient(135deg, #4facfe, #2b6fd6); box-shadow: 0 4px 15px rgba(79,172,254,0.3); }
.contact-item .icon.mail-icon { background: linear-gradient(135deg, #ffb238, #ff8a00); box-shadow: 0 4px 15px rgba(255,138,0,0.3); }
.contact-item .icon.address-icon { background: linear-gradient(135deg, #23e6a8, #0d9e77); box-shadow: 0 4px 15px rgba(35,230,168,0.3); }
.contact-item .icon.hours-icon { background: linear-gradient(135deg, #a78bfa, #6d28d9); box-shadow: 0 4px 15px rgba(167,139,250,0.3); }
.contact-item .icon.instagram-icon { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); box-shadow: 0 4px 15px rgba(220,39,67,0.3); }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item .text h4 { font-size: 1rem; margin-bottom: 4px; color: var(--light); }
.contact-item .text p { font-size: 0.9rem; color: #9d94c9; text-decoration: none; transition: color 0.3s; }
a[href] .contact-item .text h4 { color: var(--mint); }
a[href] .contact-item:hover .text h4 { text-shadow: 0 0 10px rgba(35,230,168,0.5); }
a[href] .contact-item:hover .text p { color: var(--light); }
.contact-form { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: #c4bee8; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; background: rgba(10, 8, 24, 0.55); border: 1px solid var(--glass-border); border-radius: 12px; color: var(--light); font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: all 0.3s; outline: none; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12), 0 0 15px rgba(124, 92, 255, 0.2); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-container { width: 100%; height: 350px; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border); margin-top: 40px; background: var(--dark); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 999; width: 60px; height: 60px; background: linear-gradient(135deg, #25d366, #128c7e); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; text-decoration: none; box-shadow: 0 0 25px rgba(37, 211, 102, 0.5); transition: all 0.3s ease; animation: pulse 2s infinite; }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 0 40px rgba(37, 211, 102, 0.7); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 25px rgba(37, 211, 102, 0.5); } 50% { box-shadow: 0 0 40px rgba(37, 211, 102, 0.8); } }

.footer { background: rgba(10, 8, 24, 0.98); border-top: 1px solid var(--glass-border); padding: 60px 4% 30px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; max-width: 1300px; margin: 0 auto 40px; }
.footer-brand h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--mint); }
.footer-brand p { color: #9d94c9; font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #9d94c9; text-decoration: none; font-size: 1rem; transition: all 0.3s; }
.footer-social a svg { width: 20px; height: 20px; fill: currentColor; }
.footer-social a:hover { background: var(--secondary); color: white; border-color: var(--secondary); transform: translateY(-3px); box-shadow: 0 0 15px rgba(124, 92, 255, 0.4); }
.footer-social a.whatsapp-link:hover { background: #25d366; border-color: #25d366; }
.footer-social a.instagram-link:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.footer-col h4 { font-size: 1rem; margin-bottom: 20px; color: var(--light); font-family: var(--display); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9d94c9; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--mint); text-shadow: 0 0 10px rgba(35,230,168,0.3); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: #63588f; font-size: 0.85rem; max-width: 1300px; margin: 0 auto; }

.schools-section { background: linear-gradient(135deg, rgba(255,77,122,0.15), rgba(124,92,255,0.14)); border: 1px solid var(--glass-border); border-radius: 20px; padding: 32px 28px; margin: 40px auto; max-width: 900px; text-align: center; position: relative; overflow: hidden; }
.schools-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(124,92,255,0.12) 0%, transparent 60%); animation: schoolGlow 10s ease-in-out infinite; }
@keyframes schoolGlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10%, 5%); } }
.schools-section h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 10px; position: relative; z-index: 1; }
.schools-section p { color: #9d94c9; font-size: 0.92rem; line-height: 1.6; max-width: 650px; margin: 0 auto 18px; position: relative; z-index: 1; }
.school-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.school-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(124, 92, 255, 0.2); border: 1px solid var(--glass-border); padding: 8px 16px; border-radius: 50px; font-size: 0.82rem; color: var(--mint); }

.districts-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.district-chip { background: rgba(124, 92, 255, 0.08); border: 1px solid var(--glass-border); color: #c4bee8; font-size: 0.78rem; padding: 6px 14px; border-radius: 50px; transition: all 0.3s ease; }
.district-chip:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-2px); }

.mobile-menu { position: fixed; top: 74px; left: 0; right: 0; background: rgba(10, 8, 24, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); padding: 20px; z-index: 999; display: none; }

.quick-nav { display: none; }
.quick-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 10px 4%; scrollbar-width: none; }
.quick-nav-inner::-webkit-scrollbar { display: none; }
.quick-nav-inner a { flex-shrink: 0; white-space: nowrap; color: #c4bee8; text-decoration: none; font-size: 0.78rem; font-weight: 600; padding: 8px 16px; border-radius: 50px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); transition: all 0.25s; }
.quick-nav-inner a.active { color: white; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; box-shadow: 0 0 12px rgba(124, 92, 255, 0.4); }
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 14px 16px; color: #9d94c9; text-decoration: none; font-weight: 500; border-radius: 10px; transition: all 0.3s; }
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(124, 92, 255, 0.12); color: var(--light); }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 2000; text-decoration: none; }
.skip-link:focus { left: 0; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; display: none; }
.form-status.success { display: block; background: rgba(35,230,168,0.15); border: 1px solid rgba(35,230,168,0.4); color: #6ee7b7; }
.form-status.error { display: block; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.courses-grid .reveal.visible:nth-child(2), .features-grid .reveal.visible:nth-child(2), .testimonials-grid .reveal.visible:nth-child(2) { transition-delay: 0.08s; }
.courses-grid .reveal.visible:nth-child(3), .features-grid .reveal.visible:nth-child(3), .testimonials-grid .reveal.visible:nth-child(3) { transition-delay: 0.16s; }
.features-grid .reveal.visible:nth-child(4) { transition-delay: 0.24s; }
.features-grid .reveal.visible:nth-child(5) { transition-delay: 0.32s; }
.features-grid .reveal.visible:nth-child(6) { transition-delay: 0.4s; }
.features-grid .reveal.visible:nth-child(7) { transition-delay: 0.48s; }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-text .slogan { justify-content: center; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-container { width: 220px; height: 220px; }
  .orbit-ring:nth-child(2) { width: 280px; height: 280px; }
  .orbit-ring:nth-child(3) { width: 330px; height: 330px; }
  .orbit-ring:nth-child(4) { width: 235px; height: 235px; }
  .starfield { width: 420px; height: 420px; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-image { order: -1; padding: 20px 5%; }
  .about-image img { max-width: 100%; }
  .about-galaxy-spiral { width: 300px; height: 300px; max-width: 100%; filter: blur(28px); opacity: 0.4; }
  .about-glow-blob { width: 260px; height: 260px; max-width: 90%; opacity: 0.4; }
  .about-orbit-ring { width: 280px; height: 280px; max-width: 92%; }
  .about-badge-top { top: 0; left: 2%; }
  .about-badge-bottom { bottom: -4%; right: 2%; }
  .about-highlights { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin: 24px 4% 0; }
  .section { padding: 60px 4%; }
  .section-title { font-size: 2rem; }
  .hero-text h1 { font-size: 2.4rem; }
  .schools-section { padding: 26px 20px; margin: 32px auto; }
}

@media (max-width: 768px) {
  .quick-contact-inner { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 18px; }
  .quick-contact-content { flex-direction: column; align-items: stretch; }
  .quick-contact-actions { justify-content: center; }
  .home-promo-video { margin: 20px auto 0; padding: 0 3%; }
  .promo-video-wrap { border-radius: 16px; aspect-ratio: 16/9; }
  .video-unmute-btn { bottom: 12px; right: 12px; padding: 8px 16px; font-size: 0.78rem; }
  .qc-btn { flex: 1; justify-content: center; }
  .info-modal-box { max-width: 92vw; }
  .info-modal-box img { height: 160px; }
  .galaxy-bg { opacity: 0.55; position: fixed; }
  .stars-far, .stars-mid { opacity: 0.45; }
  .stars-near { opacity: 0.7; }
  .shooting-stars { display: none; }
  .particles { position: fixed; display: block; }
  body { background: var(--darker); }
  .navbar, .stat-item, .course-card, .feature-box,
  .testimonial-card, .faq-item, .contact-form, .mobile-menu,
  .schools-section, .district-chip {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(10, 8, 24, 0.88);
  }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .quick-nav { display: block; position: sticky; top: 62px; z-index: 900; background: rgba(10, 8, 24, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border); }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text .slogan { font-size: 1rem; }
  .hero-text p { font-size: 0.9rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.9rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 4% 0; }
  .stat-item { padding: 18px 10px; border-radius: 14px; }
  .stat-item .number { font-size: 1.6rem; }
  .stat-item .label { font-size: 0.75rem; }
  .stat-icon { font-size: 1.2rem; margin-bottom: 4px; }
  .schools-section { padding: 20px 16px; margin: 24px 4%; }
  .schools-section h3 { font-size: 1.15rem; }
  .schools-section p { font-size: 0.85rem; }
  .district-chip { font-size: 0.72rem; padding: 5px 12px; }
  .courses-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-logo-container { width: 230px; height: 230px; margin-bottom: 10px; }
  .orbit-ring:nth-child(2) { width: 265px; height: 265px; }
  .orbit-ring:nth-child(3) { width: 300px; height: 300px; }
  .orbit-ring:nth-child(4) { width: 220px; height: 220px; }
  .starfield { width: 380px; height: 380px; }
  .contact-form { padding: 24px 16px; }
  .faq-question { font-size: 0.9rem; padding: 16px; }
  .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.85rem; width: 100%; justify-content: center; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons a { width: 100%; text-align: center; justify-content: center; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .nav-logo { font-size: 1.15rem; gap: 10px; }
  .nav-logo-icon { width: 52px; height: 52px; }
  .nav-logo-title { font-size: 1.05rem; }
  .nav-logo-sub { font-size: 0.55rem; }
  .navbar { padding: 0 4%; height: 62px; }
  .navbar.scrolled { height: 56px; }
  main { padding-top: 62px; }
  .hero { min-height: auto; padding: 24px 4% 36px; }
  .orbit-ring { display: block; }
  .section { padding: 34px 4%; }
  .section-header { margin-bottom: 24px; }
  .course-card-body { padding: 20px; }
  .course-card h3 { font-size: 1.1rem; }
  .gallery-item { aspect-ratio: 1/1; }
  .lightbox { padding: 15px; }
  .lightbox img { max-width: 98%; max-height: 80vh; }
  .lightbox-close { top: 10px; right: 15px; width: 40px; height: 40px; font-size: 2rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-box { padding: 20px 14px; }
  .feature-box .icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .feature-box h4 { font-size: 0.95rem; }
  .feature-box p { font-size: 0.8rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item { border-radius: 12px; }
  .hero-logo-container { width: 190px; height: 190px; margin-bottom: 8px; }
  .orbit-ring:nth-child(2) { width: 225px; height: 225px; }
  .orbit-ring:nth-child(3) { width: 260px; height: 260px; }
  .orbit-ring:nth-child(4) { width: 190px; height: 190px; }
  .starfield { width: 340px; height: 340px; }
  .hero-text h1 { font-size: 1.5rem; }
  .section-title { font-size: 1.4rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-item { padding: 16px 8px; }
  .stat-item .number { font-size: 1.25rem; }
  .section { padding: 26px 3%; }
  .section-header { margin-bottom: 18px; }
  .section-tag { font-size: 0.7rem; padding: 4px 14px; }
  .about-badge { padding: 8px 12px; gap: 8px; }
  .about-badge .badge-icon { font-size: 1.1rem; }
  .about-badge strong { font-size: 0.9rem; }
  .about-badge small { font-size: 0.62rem; }
  .about-badge-top { top: -6px; left: 0; }
  .about-badge-bottom { bottom: -10px; right: 0; }
  .about-galaxy-spiral { width: 230px; height: 230px; filter: blur(20px); opacity: 0.35; }
  .about-glow-blob { width: 200px; height: 200px; opacity: 0.35; }
  .about-orbit-ring { width: 215px; height: 215px; }
}
