/* ============================================================
   CLASSMASTER O'QUV MARKAZI — Ultra Premium Dark Cosmic Theme
   Author : AI Design System
   Version: 2.0.0
   Updated: 2026-07-06
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   1. CSS RESET & DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* ── Palette ── */
  --bg-deep:            #0a0e27;
  --bg-surface:         #0f1340;
  --bg-surface-alt:     #131852;
  --bg-footer:          #050816;

  /* ── Glass ── */
  --glass-bg:           rgba(255, 255, 255, 0.05);
  --glass-border:       rgba(255, 255, 255, 0.08);
  --glass-blur:         20px;
  --glass-bg-hover:     rgba(255, 255, 255, 0.08);

  /* ── Accents ── */
  --cyan:               #00d4ff;
  --violet:             #7c3aed;
  --emerald:            #10b981;
  --gold:               #f59e0b;
  --rose:               #ef4444;
  --pink:               #ec4899;

  /* ── Text ── */
  --text-primary:       #ffffff;
  --text-secondary:     rgba(255, 255, 255, 0.6);
  --text-muted:         rgba(255, 255, 255, 0.4);
  --text-faint:         rgba(255, 255, 255, 0.2);

  /* ── Gradients ── */
  --gradient-primary:   linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-warm:      linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-emerald:   linear-gradient(135deg, #10b981, #059669);
  --gradient-violet:    linear-gradient(135deg, #7c3aed, #a855f7);
  --gradient-cyan:      linear-gradient(135deg, #00d4ff, #06b6d4);
  --gradient-gold:      linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-instagram: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);

  /* ── Neon Glows ── */
  --glow-cyan:          0 0 30px rgba(0, 212, 255, 0.3);
  --glow-cyan-strong:   0 0 50px rgba(0, 212, 255, 0.4), 0 0 100px rgba(0, 212, 255, 0.15);
  --glow-violet:        0 0 30px rgba(124, 58, 237, 0.3);
  --glow-violet-strong: 0 0 50px rgba(124, 58, 237, 0.4), 0 0 100px rgba(124, 58, 237, 0.15);
  --glow-emerald:       0 0 30px rgba(16, 185, 129, 0.3);
  --glow-gold:          0 0 30px rgba(245, 158, 11, 0.3);
  --glow-rose:          0 0 30px rgba(239, 68, 68, 0.3);

  /* ── Typography ── */
  --font-body:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:       'Space Grotesk', 'Inter', sans-serif;

  /* ── Radii ── */
  --radius-sm:          0.5rem;
  --radius-md:          1rem;
  --radius-lg:          1.5rem;
  --radius-xl:          2rem;
  --radius-full:        50%;
  --radius-pill:        50px;

  /* ── Shadows ── */
  --shadow-card:        0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card-hover:  0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-elevated:    0 20px 60px rgba(0, 0, 0, 0.5);

  /* ── Sizing ── */
  --container-max:      1280px;
  --nav-height:         80px;

  /* ── Transitions ── */
  --ease-out-expo:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:        cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast:    0.2s ease;
  --transition-normal:  0.3s ease;
  --transition-smooth:  0.4s var(--ease-out-expo);
  --transition-slow:    0.6s var(--ease-out-expo);
}

/* ── Universal Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }


/* ─────────────────────────────────────────────────────────────
   2. BASE STYLES
   ───────────────────────────────────────────────────────────── */

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: rgba(0, 212, 255, 0.25);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(0, 212, 255, 0.25);
  color: var(--text-primary);
}


/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

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

.text-cyan { color: var(--cyan); }
.text-violet { color: var(--violet); }
.text-emerald { color: var(--emerald); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }


/* ─────────────────────────────────────────────────────────────
   4. NAVIGATION
   ───────────────────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 14, 39, 0.85);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-normal),
              box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 51;
}
.nav-logo-img{
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--glow-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast),
              background var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 51;
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.lang-switcher button {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-switcher button:hover {
  color: var(--text-primary);
}

.lang-switcher button.active {
  background: var(--gradient-primary);
  color: var(--text-primary);
}

/* ── Hamburger / Mobile Menu Toggle ── */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 51;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  position: absolute;
}

.mobile-menu-toggle span:nth-child(1) { transform: translateY(-7px); }
.mobile-menu-toggle span:nth-child(2) { transform: translateY(0); }
.mobile-menu-toggle span:nth-child(3) { transform: translateY(7px); }

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 14, 39, 0.95);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  z-index: 49;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: right 0.4s var(--ease-out-expo);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateX(30px);
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.30s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.40s; }

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
}


/* ─────────────────────────────────────────────────────────────
   5. HERO SECTION
   ───────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: var(--radius-full);
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow--cyan {
  background: var(--cyan);
  top: 10%;
  left: -10%;
}

.hero-bg-glow--violet {
  background: var(--violet);
  bottom: 10%;
  right: -10%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--cyan);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-subtitle {
  max-width: 500px;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.35),
              0 0 60px rgba(124, 58, 237, 0.2);
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-cta:active {
  transform: scale(0.98);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: all var(--transition-normal);
}

.hero-cta-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-elevated),
              0 0 80px rgba(0, 212, 255, 0.1);
  border: 1px solid var(--glass-border);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 14, 39, 0.6));
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  background: rgba(15, 19, 64, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.hero-floating-card--top {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-floating-card--bottom {
  bottom: 15%;
  left: -10%;
  animation-delay: 2s;
}


/* ─────────────────────────────────────────────────────────────
   6. STATS SECTION
   ───────────────────────────────────────────────────────────── */

.stats-section {
  position: relative;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  background: var(--cyan);
  filter: blur(100px);
  opacity: 0;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 212, 255, 0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover::after {
  opacity: 0.06;
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

.stat-icon--cyan    { background: rgba(0, 212, 255, 0.1); color: var(--cyan); }
.stat-icon--violet  { background: rgba(124, 58, 237, 0.1); color: var(--violet); }
.stat-icon--emerald { background: rgba(16, 185, 129, 0.1); color: var(--emerald); }
.stat-icon--gold    { background: rgba(245, 158, 11, 0.1); color: var(--gold); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}


/* ─────────────────────────────────────────────────────────────
   7. WHY US SECTION
   ───────────────────────────────────────────────────────────── */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.why-card:nth-child(1)::before { background: var(--gradient-cyan); }
.why-card:nth-child(2)::before { background: var(--gradient-violet); }
.why-card:nth-child(3)::before { background: var(--gradient-emerald); }
.why-card:nth-child(4)::before { background: var(--gradient-warm); }

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
              var(--glow-cyan);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-normal);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
}

.why-icon--cyan    { background: rgba(0, 212, 255, 0.12); color: var(--cyan); }
.why-icon--violet  { background: rgba(124, 58, 237, 0.12); color: var(--violet); }
.why-icon--emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.why-icon--gold    { background: rgba(245, 158, 11, 0.12); color: var(--gold); }

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   8. COURSES SECTION
   ───────────────────────────────────────────────────────────── */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: height var(--transition-normal);
}

.course-card:nth-child(1)::before { background: var(--gradient-cyan); }
.course-card:nth-child(2)::before { background: var(--gradient-violet); }
.course-card:nth-child(3)::before { background: var(--gradient-emerald); }
.course-card:nth-child(4)::before { background: var(--gradient-warm); }
.course-card:nth-child(5)::before { background: var(--gradient-gold); }
.course-card:nth-child(6)::before { background: linear-gradient(135deg, var(--pink), var(--violet)); }

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              var(--glow-cyan);
  border-color: rgba(0, 212, 255, 0.12);
}

.course-card:hover::before {
  height: 4px;
}

.course-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.course-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  object-fit: contain;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.course-icon--cyan    { background: rgba(0, 212, 255, 0.12); }
.course-icon--violet  { background: rgba(124, 58, 237, 0.12); }
.course-icon--emerald { background: rgba(16, 185, 129, 0.12); }
.course-icon--gold    { background: rgba(245, 158, 11, 0.12); }
.course-icon--rose    { background: rgba(239, 68, 68, 0.12); }
.course-icon--pink    { background: rgba(236, 72, 153, 0.12); }

.course-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}

.course-body {
  padding: 0 2rem;
  flex: 1;
}

.course-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.course-list {
  list-style: none;
}

.course-list li {
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.course-list li:last-child {
  border-bottom: none;
}

.course-list li::before {
  content: '›';
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  min-width: 12px;
}

.course-footer {
  padding: 1.5rem 2rem;
  margin-top: auto;
}

.course-btn {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  font-size: 1rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.course-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.course-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.course-btn:hover::before {
  opacity: 1;
}

.course-btn:active {
  transform: scale(0.98);
}

.course-btn--outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.course-btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
  box-shadow: none;
}


/* ─────────────────────────────────────────────────────────────
   9. NEWS SECTION
   ───────────────────────────────────────────────────────────── */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.news-gradient-bar {
  height: 4px;
  width: 100%;
}

.news-card:nth-child(1) .news-gradient-bar { background: var(--gradient-primary); }
.news-card:nth-child(2) .news-gradient-bar { background: var(--gradient-warm); }
.news-card:nth-child(3) .news-gradient-bar { background: var(--gradient-emerald); }
.news-card:nth-child(4) .news-gradient-bar { background: var(--gradient-violet); }
.news-card:nth-child(5) .news-gradient-bar { background: var(--gradient-gold); }
.news-card:nth-child(6) .news-gradient-bar { background: var(--gradient-cyan); }

.news-content {
  padding: 2rem;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.news-emoji {
  font-size: 2rem;
  line-height: 1;
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.news-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.news-tag--cyan    { background: rgba(0, 212, 255, 0.1); color: var(--cyan); }
.news-tag--violet  { background: rgba(124, 58, 237, 0.1); color: var(--violet); }
.news-tag--emerald { background: rgba(16, 185, 129, 0.1); color: var(--emerald); }

.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.75rem 0;
  line-height: 1.4;
  color: var(--text-primary);
}

.news-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  transition: gap var(--transition-normal);
}

.news-link:hover {
  gap: 0.85rem;
}


/* ─────────────────────────────────────────────────────────────
   10. TEACHERS SECTION
   ───────────────────────────────────────────────────────────── */

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.teacher-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  text-align: center;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.teacher-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.teacher-card:nth-child(1)::before { background: var(--cyan); }
.teacher-card:nth-child(2)::before { background: var(--violet); }
.teacher-card:nth-child(3)::before { background: var(--emerald); }
.teacher-card:nth-child(4)::before { background: var(--gold); }
.teacher-card:nth-child(5)::before { background: var(--pink); }
.teacher-card:nth-child(6)::before { background: var(--rose); }

.teacher-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.15);
  box-shadow: var(--shadow-card-hover),
              var(--glow-cyan);
}

.teacher-card:hover::before {
  opacity: 0.06;
}

.teacher-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(0, 212, 255, 0.3);
  object-fit: cover;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: border-color var(--transition-normal),
              transform var(--transition-normal);
}

.teacher-card:hover .teacher-avatar {
  border-color: var(--cyan);
  transform: scale(1.05);
}

.teacher-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.teacher-role {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.teacher-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.teacher-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.teacher-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.teacher-social-link:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
}


/* ─────────────────────────────────────────────────────────────
   11. TESTIMONIALS SECTION
   ───────────────────────────────────────────────────────────── */

.testimonials-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease-out-expo);
}

.testimonial-card {
  min-width: 100%;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

.testimonial-card--third {
  min-width: 33.333%;
  flex: 0 0 33.333%;
  padding: 2rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 4rem;
  color: rgba(0, 212, 255, 0.3);
  position: absolute;
  top: -10px;
  left: -5px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-nav-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--cyan);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.testimonial-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  width: 28px;
  border-radius: var(--radius-pill);
}


/* ─────────────────────────────────────────────────────────────
   12. SOCIAL MEDIA SECTION
   ───────────────────────────────────────────────────────────── */

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.social-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  color: var(--text-primary);
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.social-card:hover {
  transform: translateY(-8px);
}

.social-card:hover::before {
  opacity: 1;
}

.social-telegram {
  background: #0088cc;
  box-shadow: 0 8px 32px rgba(0, 136, 204, 0.3);
}

.social-telegram:hover {
  box-shadow: 0 16px 48px rgba(0, 136, 204, 0.4);
}

.social-instagram {
  background: var(--gradient-instagram);
  box-shadow: 0 8px 32px rgba(225, 48, 108, 0.3);
}

.social-instagram:hover {
  box-shadow: 0 16px 48px rgba(225, 48, 108, 0.4);
}

.social-youtube {
  background: #FF0000;
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
}

.social-youtube:hover {
  box-shadow: 0 16px 48px rgba(255, 0, 0, 0.4);
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform var(--transition-normal);
}

.social-card:hover .social-icon {
  transform: scale(1.1);
}

.social-icon svg,
.social-icon img {
  width: 32px;
  height: 32px;
  fill: white;
}

.social-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.social-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

.social-handle {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-top: 1rem;
  transition: background var(--transition-fast);
}

.social-card:hover .social-handle {
  background: rgba(255, 255, 255, 0.3);
}

.social-followers {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.75rem;
}


/* ─────────────────────────────────────────────────────────────
   13. CONTACT SECTION
   ───────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}

.contact-item:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
              0 0 20px rgba(0, 212, 255, 0.08);
  transform: translateX(4px);
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-icon-wrap--cyan    { background: rgba(0, 212, 255, 0.12); color: var(--cyan); }
.contact-icon-wrap--violet  { background: rgba(124, 58, 237, 0.12); color: var(--violet); }
.contact-icon-wrap--emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.contact-icon-wrap--gold    { background: rgba(245, 158, 11, 0.12); color: var(--gold); }

.contact-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-weight: 600;
  font-size: 1rem;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 1.5rem;
  height: 200px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.7) contrast(1.1) saturate(0.6) hue-rotate(180deg);
}

/* ── Contact Form ── */
.contact-form-wrap {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: var(--radius-xl);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              background var(--transition-normal);
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.form-textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.form-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.form-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.form-btn:hover::before {
  opacity: 1;
}

.form-btn:active {
  transform: scale(0.98);
}

.form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


/* ─────────────────────────────────────────────────────────────
   14. FAQ SECTION
   ───────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  font-family: var(--font-heading);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-icon {
  transition: transform var(--transition-normal),
              color var(--transition-normal);
  font-size: 1.2rem;
  color: var(--text-muted);
  min-width: 20px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* ─────────────────────────────────────────────────────────────
   15. FOOTER
   ───────────────────────────────────────────────────────────── */

.footer {
  background: var(--bg-footer);
  padding-top: 0;
  position: relative;
}

.footer-wave {
  width: 100%;
  display: block;
  position: relative;
  top: 1px;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-wave svg path {
  fill: var(--bg-deep);
}

.footer-content {
  padding: 4rem 1.5rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo-section {
  padding-right: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-2px);
}

.footer-heading {
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast),
              padding-left var(--transition-fast);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-icon {
  color: var(--cyan);
  min-width: 16px;
  margin-top: 2px;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-bottom a {
  color: var(--cyan);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--text-primary);
}


/* ─────────────────────────────────────────────────────────────
   16. SECTION HEADERS
   ───────────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--cyan);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   17. SCROLL ANIMATIONS
   ───────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* ── Stagger Delays ── */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }


/* ─────────────────────────────────────────────────────────────
   18. UTILITY CLASSES
   ───────────────────────────────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

.glow-cyan {
  box-shadow: var(--glow-cyan);
}

.glow-cyan-strong {
  box-shadow: var(--glow-cyan-strong);
}

.glow-violet {
  box-shadow: var(--glow-violet);
}

.glow-violet-strong {
  box-shadow: var(--glow-violet-strong);
}

.glow-emerald {
  box-shadow: var(--glow-emerald);
}

.glow-gold {
  box-shadow: var(--glow-gold);
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }


/* ─────────────────────────────────────────────────────────────
   19. FLOATING CTA
   ───────────────────────────────────────────────────────────── */

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35),
              var(--glow-cyan);
  cursor: pointer;
  transition: all var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  border: none;
  color: white;
}

.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.45),
              var(--glow-cyan-strong);
}

.floating-cta:active {
  transform: scale(0.95);
}

.floating-cta svg {
  fill: white;
  width: 24px;
  height: 24px;
}

.floating-cta-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.floating-cta:hover .floating-cta-tooltip {
  opacity: 1;
  visibility: visible;
}


/* ─────────────────────────────────────────────────────────────
   20. SCROLL PROGRESS
   ───────────────────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 200;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}


/* ─────────────────────────────────────────────────────────────
   21. RESPONSIVE DESIGN
   ───────────────────────────────────────────────────────────── */

/* ── Tablet — 1024px ── */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    gap: 3rem;
  }

  .why-us-grid {
    gap: 1.5rem;
  }

  .stats-grid {
    gap: 1.5rem;
  }

  .social-grid {
    gap: 1.5rem;
  }

  .testimonial-card--third {
    min-width: 50%;
    flex: 0 0 50%;
  }
}

/* ── Mobile — 768px ── */
@media (max-width: 768px) {
  /* ── Layout Grids ── */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 3rem;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-logo-section {
    padding-right: 0;
  }

  /* ── Navigation ── */
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* ── Typography ── */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* ── Section Spacing ── */
  section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* ── Cards ── */
  .stat-card {
    padding: 2rem 1.5rem;
  }

  .why-card {
    padding: 2rem;
  }

  .course-header {
    padding: 1.5rem 1.5rem 0.75rem;
  }

  .course-body {
    padding: 0 1.5rem;
  }

  .course-footer {
    padding: 1.25rem 1.5rem;
  }

  .contact-form-wrap {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-card--third {
    min-width: 100%;
    flex: 0 0 100%;
  }

  /* ── Floating CTA ── */
  .floating-cta {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  /* ── Hero Floating Cards ── */
  .hero-floating-card {
    display: none;
  }
}

/* ── Small Mobile — 480px ── */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stat-number {
    font-size: 2rem;
  }

  .social-card {
    padding: 2rem 1.5rem;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
  }

  .lang-switcher button {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
  }

  .news-content {
    padding: 1.5rem;
  }

  .teacher-card {
    padding: 2rem 1.5rem;
  }
}


/* ─────────────────────────────────────────────────────────────
   22. LIGHT MODE
   ───────────────────────────────────────────────────────────── */

body.light-mode {
  --bg-deep:        #f0f2f8;
  --bg-surface:     #ffffff;
  --bg-surface-alt: #f5f6fa;
  --bg-footer:      #1a1a2e;

  --glass-bg:       rgba(255, 255, 255, 0.7);
  --glass-border:   rgba(0, 0, 0, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);

  --text-primary:   #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.65);
  --text-muted:     rgba(26, 26, 46, 0.4);
  --text-faint:     rgba(26, 26, 46, 0.2);

  --shadow-card:       0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-elevated:   0 16px 50px rgba(0, 0, 0, 0.12);

  --glow-cyan:         0 0 20px rgba(0, 212, 255, 0.15);
  --glow-cyan-strong:  0 0 40px rgba(0, 212, 255, 0.2);
  --glow-violet:       0 0 20px rgba(124, 58, 237, 0.15);
  --glow-violet-strong:0 0 40px rgba(124, 58, 237, 0.2);

  color-scheme: light;
}

body.light-mode {
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

body.light-mode ::selection {
  background: rgba(0, 212, 255, 0.2);
  color: var(--text-primary);
}

body.light-mode .navbar {
  background: rgba(240, 242, 248, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .navbar.scrolled {
  background: rgba(240, 242, 248, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .nav-links a {
  color: var(--text-secondary);
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

body.light-mode .mobile-menu {
  background: rgba(240, 242, 248, 0.97);
}

body.light-mode .mobile-menu a {
  color: var(--text-secondary);
}

body.light-mode .mobile-menu-toggle span {
  background: var(--text-primary);
}

body.light-mode .stat-card,
body.light-mode .why-card,
body.light-mode .course-card,
body.light-mode .news-card,
body.light-mode .teacher-card,
body.light-mode .testimonial-card,
body.light-mode .faq-item,
body.light-mode .contact-item,
body.light-mode .contact-form-wrap {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

body.light-mode .form-input {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

body.light-mode .form-input:focus {
  border-color: var(--cyan);
  background: rgba(0, 0, 0, 0.01);
}

body.light-mode .form-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

body.light-mode .footer {
  background: var(--bg-footer);
  color: #ffffff;
}

body.light-mode .footer .footer-heading {
  color: var(--cyan);
}

body.light-mode .footer .footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

body.light-mode .footer .footer-links a:hover {
  color: #ffffff;
}

body.light-mode .footer .footer-desc {
  color: rgba(255, 255, 255, 0.4);
}

body.light-mode .footer .footer-bottom {
  color: rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.05);
}

body.light-mode .footer-wave svg path {
  fill: var(--bg-deep);
}

body.light-mode .hero-bg-glow {
  opacity: 0.06;
}

body.light-mode .contact-map iframe {
  filter: none;
}

body.light-mode .faq-question {
  color: var(--text-primary);
}

body.light-mode .stat-label {
  color: var(--text-muted);
}

body.light-mode .course-list li {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .scroll-progress {
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

body.light-mode .lang-switcher {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .lang-switcher button {
  color: var(--text-muted);
}

body.light-mode .lang-switcher button.active {
  background: var(--gradient-primary);
  color: #ffffff;
}

body.light-mode .testimonial-dot {
  background: rgba(0, 0, 0, 0.12);
}

body.light-mode .testimonial-dot.active {
  background: var(--cyan);
}


/* ─────────────────────────────────────────────────────────────
   23. CUSTOM SCROLLBAR
   ───────────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #33dfff, #9b59f5);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--violet) var(--bg-deep);
}

body.light-mode::-webkit-scrollbar-track {
  background: var(--bg-deep);
}


/* ─────────────────────────────────────────────────────────────
   24. KEYFRAME ANIMATIONS
   ───────────────────────────────────────────────────────────── */

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

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
  }
  75% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4),
                0 0 40px rgba(0, 212, 255, 0.1);
  }
}

@keyframes pulse-glow-violet {
  0%, 100% {
    box-shadow: 0 0 5px rgba(124, 58, 237, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4),
                0 0 40px rgba(124, 58, 237, 0.1);
  }
}

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

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

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(0, 212, 255, 0.15);
  }
  50% {
    border-color: rgba(0, 212, 255, 0.4);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── Animation Utility Classes ── */
.animate-float         { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out infinite; }
.animate-pulse-cyan    { animation: pulse-glow 3s ease-in-out infinite; }
.animate-pulse-violet  { animation: pulse-glow-violet 3s ease-in-out infinite; }
.animate-gradient      { animation: gradient-shift 6s ease infinite; background-size: 200% 200%; }
.animate-shimmer       { animation: shimmer 2.5s linear infinite; }
.animate-spin          { animation: spin 1s linear infinite; }
.animate-fadeInUp      { animation: fadeInUp 0.6s var(--ease-out-expo) forwards; }
.animate-slideInRight  { animation: slideInRight 0.6s var(--ease-out-expo) forwards; }


/* ─────────────────────────────────────────────────────────────
   BONUS: LOADING SKELETON
   ───────────────────────────────────────────────────────────── */

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  width: 80%;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-circle {
  border-radius: var(--radius-full);
}

.skeleton-card {
  height: 250px;
  border-radius: var(--radius-xl);
}


/* ─────────────────────────────────────────────────────────────
   BONUS: TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────── */

.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 1rem);
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  box-shadow: var(--shadow-elevated);
  animation: slideInRight 0.4s var(--ease-out-expo) forwards;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.toast--success { border-left: 3px solid var(--emerald); }
.toast--error   { border-left: 3px solid var(--rose); }
.toast--info    { border-left: 3px solid var(--cyan); }
.toast--warning { border-left: 3px solid var(--gold); }

.toast-message {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.toast-close {
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 0.25rem;
}

.toast-close:hover {
  color: var(--text-primary);
}


/* ─────────────────────────────────────────────────────────────
   BONUS: MODAL / DIALOG
   ───────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 8, 22, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  font-size: 1.25rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}


/* ─────────────────────────────────────────────────────────────
   BONUS: BADGES & TAGS
   ───────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge--cyan    { background: rgba(0, 212, 255, 0.12); color: var(--cyan); }
.badge--violet  { background: rgba(124, 58, 237, 0.12); color: var(--violet); }
.badge--emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.badge--gold    { background: rgba(245, 158, 11, 0.12); color: var(--gold); }
.badge--rose    { background: rgba(239, 68, 68, 0.12); color: var(--rose); }

.badge--filled-cyan    { background: var(--cyan); color: #0a0e27; }
.badge--filled-violet  { background: var(--violet); color: #ffffff; }
.badge--filled-emerald { background: var(--emerald); color: #0a0e27; }


/* ─────────────────────────────────────────────────────────────
   BONUS: PRICE TAG (for course pricing)
   ───────────────────────────────────────────────────────────── */

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1rem 0;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}


/* ─────────────────────────────────────────────────────────────
   BONUS: COUNTER / NUMBER-UP ANIMATION HELPER
   ───────────────────────────────────────────────────────────── */

.counter-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}

.counter-prefix {
  font-size: 0.6em;
  opacity: 0.6;
}

.counter-suffix {
  font-size: 0.5em;
  opacity: 0.7;
  margin-left: 0.15rem;
}


/* ─────────────────────────────────────────────────────────────
   BONUS: BACK TO TOP (optional alt to floating-cta)
   ───────────────────────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-3px);
}


/* ─────────────────────────────────────────────────────────────
   PRINT STYLES
   ───────────────────────────────────────────────────────────── */

@media print {
  .navbar,
  .floating-cta,
  .back-to-top,
  .scroll-progress,
  .mobile-menu,
  .toast-container {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  section {
    padding: 2rem 0 !important;
    page-break-inside: avoid;
  }

  .glass,
  .stat-card,
  .why-card,
  .course-card,
  .news-card,
  .teacher-card,
  .testimonial-card,
  .faq-item,
  .contact-item,
  .contact-form-wrap {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .gradient-text,
  .stat-number,
  .price-amount {
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
  }
}

/* ===== Footer Logo ===== */

.footer-logo-img{
    width:45px !important;
    height:45px !important;
    border-radius:50%;
    object-fit:cover;
    display:block;
    flex-shrink:0;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.footer-logo-text{
    display:flex;
    flex-direction:column;
}

/* ═══════════════════════════════════════════════════════════
   END OF CLASSMASTER O'QUV MARKAZI — PREMIUM CSS
   Total: ~1450 lines of hand-crafted cosmic design
   ═══════════════════════════════════════════════════════════ */
