:root {
  --yellow: #F4E300;
  --blue: #1028B3;
  --blue-dark: #0a1a80;
  --blue-light: #1e3de0;
  --red: #C41212;
  --white: #ffffff;
  --dark: #0a0a1a;
  --gray: #f5f5f5;
  /* Animation timing tokens */
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-out-expo: cubic-bezier(0.22,1,0.36,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: #1a1a2e;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--red), var(--yellow));
  background-size: 200%;
  z-index: 9999; width: 0%;
  animation: progress-shine 2s linear infinite;
  pointer-events: none;
}
@keyframes progress-shine {
  0%  { background-position: 0%   }
  100%{ background-position: 200% }
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,26,128,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--yellow);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--yellow); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem;
  transition: transform 0.5s var(--ease-spring);
}
.nav-logo:hover .nav-logo-icon { transform: rotate(15deg) scale(1.1); }
.nav-logo-text .top {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem;
  color: var(--yellow); letter-spacing: 2px;
}
.nav-logo-text .bot {
  font-size: 0.6rem; color: rgba(255,255,255,0.6);
  letter-spacing: 3px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 8px 13px; border-radius: 8px;
  font-weight: 700; font-size: 0.82rem; transition: all 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 13px; right: 13px;
  height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { background: var(--yellow); color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(0); }
.nav-cta {
  background: var(--yellow); color: var(--blue);
  padding: 9px 22px; border-radius: 25px;
  font-weight: 900; font-size: 0.85rem; text-decoration: none;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease; z-index: 0;
}
.nav-cta span { position: relative; z-index: 1; }
.nav-cta:hover::before { transform: scaleX(1); }
.nav-cta:hover { color: var(--white); transform: scale(1.05); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 5px;
}
.hamburger span {
  width: 25px; height: 3px; background: var(--yellow);
  border-radius: 3px; transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--blue-dark); z-index: 999;
  padding: 30px; flex-direction: column; gap: 12px; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.35s var(--ease-out-expo);
}
.mobile-menu.open { display: flex; transform: translateX(0); }
.mobile-menu a {
  color: var(--white); text-decoration: none; font-size: 1.1rem;
  font-weight: 800; padding: 14px 20px; border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.1); transition: all 0.2s;
  opacity: 0; transform: translateX(-20px);
  animation: menu-item-in 0.4s var(--ease-out-expo) forwards;
}
.mobile-menu.open a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.10s; }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { animation-delay: 0.20s; }
.mobile-menu.open a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { animation-delay: 0.30s; }
.mobile-menu.open a:nth-child(7) { animation-delay: 0.35s; }
.mobile-menu.open a:nth-child(8) { animation-delay: 0.40s; }
@keyframes menu-item-in {
  to { opacity: 1; transform: translateX(0); }
}
.mobile-menu a:hover { background: var(--yellow); color: var(--blue); border-color: var(--yellow); }

@keyframes char-reveal {
  0%  { opacity: 0; transform: translateY(40px) rotateX(90deg); }
  100%{ opacity: 1; transform: translateY(0)    rotateX(0deg); }
}
@keyframes gradient-text {
  0%,100%{ background-position: 0%   50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes slide-in-left {
  0%  { opacity: 0; transform: translateX(-60px); }
  100%{ opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  0%  { opacity: 0; transform: translateX(60px); }
  100%{ opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-up {
  0%  { opacity: 0; transform: translateY(60px); }
  100%{ opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  0%  { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.08); }
  100%{ opacity: 1; transform: scale(1); }
}
@keyframes shimmer-text {
  0%  { background-position: -200% center; }
  100%{ background-position:  200% center; }
}
@keyframes magnetic-float {
  0%,100%{ transform: translateY(0) rotate(0deg); }
  33%    { transform: translateY(-8px) rotate(-5deg); }
  66%    { transform: translateY(-4px) rotate(5deg); }
}
@keyframes ripple-out {
  0%  { box-shadow: 0 0 0 0   rgba(244,227,0,0.5); }
  100%{ box-shadow: 0 0 0 20px rgba(244,227,0,0); }
}
@keyframes ticker {
  0%  { transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
@keyframes card-reveal {
  0%  { opacity: 0; transform: rotateY(30deg) translateY(20px); }
  100%{ opacity: 1; transform: rotateY(0deg)  translateY(0); }
}
@keyframes glow-yellow {
  0%,100%{ box-shadow: 0 10px 40px rgba(244,227,0,0.3); }
  50%     { box-shadow: 0 10px 60px rgba(244,227,0,0.7), 0 0 80px rgba(244,227,0,0.15); }
}
@keyframes float-particle {
  0%  { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.18; }
  90% { opacity: 0.1; }
  100%{ transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
@keyframes float-icon {
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%    { transform: translateY(-22px) rotate(12deg); }
}
@keyframes bounce {
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(8px); }
}
@keyframes pulse-border {
  0%,100%{ box-shadow: 0 0 0 0   rgba(244,227,0,0.4); }
  50%    { box-shadow: 0 0 0 10px rgba(244,227,0,0); }
}
@keyframes admission-glow {
  0%,100%{ box-shadow: 0 8px 30px rgba(196,18,18,0.45); }
  50%    { box-shadow: 0 8px 50px rgba(196,18,18,0.75), 0 0 60px rgba(196,18,18,0.2); }
}
@keyframes wa-pulse {
  0%,100%{ box-shadow: 0 6px 28px rgba(37,211,102,0.6), 0 0 0 0   rgba(37,211,102,0.45); }
  50%    { box-shadow: 0 6px 28px rgba(37,211,102,0.6), 0 0 0 14px rgba(37,211,102,0); }
}

@keyframes count-pop {
  0%  { transform: scale(1); }
  50% { transform: scale(1.18); }
  100%{ transform: scale(1); }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 45%, #1e3de0 75%, #0d1f8c 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px 5% 90px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(244,227,0,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196,18,18,0.07) 0%, transparent 50%);
  pointer-events: none; z-index: 1;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float-particle linear infinite; opacity: 0.12;
}
.hero-icons { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-icon {
  position: absolute; font-size: 2rem; opacity: 0.13; color: var(--yellow);
  animation: float-icon 6s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,227,0,0.15); border: 2px solid var(--yellow);
  color: var(--yellow); padding: 8px 22px; border-radius: 30px;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 22px;
  animation: pop-in 0.6s var(--ease-spring) 0.1s both, pulse-border 2.5s ease-in-out 0.8s infinite;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1; margin-bottom: 18px;
  perspective: 800px;
}
.hero-title-shimmer {
  font-size: clamp(2.6rem, 7.8vw, 6.4rem);
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--yellow) 0%, #fff8a0 30%, var(--yellow) 60%, #ffe066 80%, var(--yellow) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    slide-in-left 0.9s var(--ease-out-expo) 0.2s both,
    shimmer-text  3s linear 1.2s infinite;
  display: block;
  filter: drop-shadow(0 0 30px rgba(244,227,0,0.35));
}
.hero-title-white {
  font-size: clamp(3.1rem, 9.2vw, 7.6rem);
  letter-spacing: 1px;
  color: var(--white);
  text-shadow: 0 0 40px rgba(255,255,255,0.15);
  animation: slide-in-right 0.9s var(--ease-out-expo) 0.5s both;
  display: block;
  margin-top: 2px;
}
.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 600; margin-bottom: 32px; letter-spacing: 0.5px;
  animation: slide-in-left 0.8s ease 0.9s both;
}
.hero-admission {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), #e52020);
  color: var(--white); padding: 14px 35px; border-radius: 50px;
  font-weight: 900; font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  letter-spacing: 1.5px; margin-bottom: 38px;
  box-shadow: 0 8px 30px rgba(196,18,18,0.45);
  animation:
    pop-in 0.7s var(--ease-spring) 1.1s both,
    admission-glow 2.5s ease-in-out 1.8s infinite;
}
.hero-btns {
  display: flex; gap: 15px; justify-content: center; flex-wrap: wrap;
  animation: slide-in-up 0.7s ease 1.3s both;
}
/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #ffe000);
  color: var(--blue); padding: 16px 40px; border-radius: 50px;
  font-weight: 900; font-size: 1.05rem; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(244,227,0,0.4);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; background: rgba(255,255,255,0.3);
  border-radius: 50%; transform: translate(-50%,-50%); transition: width 0.5s, height 0.5s;
}
.btn-primary:hover::after { width: 350px; height: 350px; }
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(244,227,0,0.65);
  animation: ripple-out 0.6s ease forwards;
}
.btn-secondary {
  background: transparent; color: var(--white); padding: 16px 40px; border-radius: 50px;
  font-weight: 900; font-size: 1.05rem; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s;
}
.btn-secondary:hover { background: var(--white); color: var(--blue); border-color: var(--white); transform: translateY(-4px); }

.hero-scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 2px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  pointer-events: none; z-index: 2;
}
.scroll-arrow { animation: bounce 1.5s ease-in-out infinite; font-size: 1.1rem; }

/* ── TICKER TAPE (NEW) ── */
.ticker-wrap {
  overflow: hidden; background: var(--blue); padding: 10px 0;
  border-top: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow);
}
.ticker-inner {
  display: flex; width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; color: var(--yellow);
  padding: 0 40px; letter-spacing: 3px; white-space: nowrap;
}
.ticker-sep { color: var(--white); padding: 0 5px; }

/* ── SECTIONS SHARED ── */
section { padding: 90px 5%; }
.section-tag {
  display: inline-block; background: var(--yellow); color: var(--blue);
  padding: 6px 18px; border-radius: 20px; font-weight: 900;
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
  position: relative; overflow: hidden;
}
.section-tag::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.4);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.5s ease;
}
.section-tag:hover::after { transform: translateX(200%) skewX(-20deg); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 15px;
}
.section-title span { color: var(--red); }
.section-desc { color: #555; font-size: 1.05rem; max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

.courses-section { background: var(--gray); }
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 25px; margin-top: 50px;
}
.course-card {
  border-radius: 20px; padding: 35px 30px;
  position: relative; overflow: hidden; cursor: pointer;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  transition: transform 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}
.course-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--yellow);
  transform: scaleX(0); transition: transform 0.4s ease;
}
.course-card:hover::after { transform: scaleX(1); }
.shine {
  position: absolute; top: -50%; left: -60%; width: 60%; height: 200%;
  background: rgba(255,255,255,0.14); transform: skewX(-20deg); transition: left 0.55s;
}
.course-card:hover .shine { left: 130%; }
.cc-1{background:linear-gradient(135deg,#1028B3,#1e3de0)}
.cc-2{background:linear-gradient(135deg,#C41212,#e52020)}
.cc-3{background:linear-gradient(135deg,#0a1a80,#1028B3)}
.cc-4{background:linear-gradient(135deg,#6a1b9a,#9c27b0)}
.cc-5{background:linear-gradient(135deg,#00695c,#009688)}
.cc-6{background:linear-gradient(135deg,#e65100,#ff6d00)}
.course-icon {
  width: 60px; height: 60px; border-radius: 15px;
  background: rgba(255,255,255,0.2); display: flex;
  align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px;
  transition: transform 0.4s var(--ease-spring);
}
.course-card:hover .course-icon { transform: scale(1.15) rotate(10deg); }
.course-card h3 { color: var(--white); font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.course-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.course-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  color: var(--white); padding: 5px 15px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.3s, color 0.3s;
}
.course-card:hover .course-tag { background: var(--yellow); color: var(--blue); }

.crash-section {
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue) 50%, #152a9e 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.crash-section .section-title span { color: var(--yellow); }
.crash-section .section-desc { max-width: 640px; margin-left: auto; margin-right: auto; }
.crash-bg-decor {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,227,0,0.08) 0%, transparent 70%);
  top: -160px; right: -120px;
  animation: spin-slow 30s linear infinite;
  pointer-events: none;
}
.crash-bg-decor2 {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,18,18,0.1) 0%, transparent 70%);
  bottom: -120px; left: -80px;
  animation: spin-slow 20s linear infinite reverse;
  pointer-events: none;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.crash-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; }
/* ── CRASH COURSE — Two-row layout ── */

/* ─ ROW 1: Hero banner ─ */
.cb-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 48px;
  padding: 40px 44px;
  border-radius: 26px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cb-hero-card:hover {
  border-color: rgba(244,227,0,0.3);
  box-shadow: 0 16px 64px rgba(0,0,0,0.3);
}
.cb-hero-glow {
  position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,227,0,0.1) 0%, transparent 70%);
  top: -140px; right: -80px; pointer-events: none;
  animation: glow-yellow 5s ease-in-out infinite;
}
.cb-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative; z-index: 1;
}
.cb-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); color: var(--blue);
  font-size: 0.65rem; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px;
  width: fit-content; box-shadow: 0 4px 14px rgba(244,227,0,0.35);
}
.cb-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900; color: var(--white); line-height: 1.1;
}
.cb-hero-title span {
  background: linear-gradient(90deg, var(--yellow), #fff8a0, var(--yellow));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: shimmer-text 3s linear infinite;
}
.cb-hero-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.7);
  line-height: 1.75; max-width: 480px;
}
.cb-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--yellow), #ffe000);
  color: var(--blue); font-weight: 900; font-size: 0.95rem;
  padding: 15px 30px; border-radius: 50px; text-decoration: none;
  width: fit-content; box-shadow: 0 6px 22px rgba(244,227,0,0.4);
  transition: all 0.3s var(--ease-spring);
}
.cb-cta-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 36px rgba(244,227,0,0.65); }
.cb-cta-btn span { -webkit-text-fill-color: var(--blue); transition: transform 0.3s; display: inline-block; }
.cb-cta-btn:hover span { transform: translateX(5px); }

/* Inline stats on the right */
.cb-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.cb-hs { text-align: center; }
.cb-hs-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: var(--yellow); line-height: 1;
}
.cb-hs-num span { font-size: 1.8rem; color: rgba(255,255,255,0.6); }
.cb-hs-label {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.5);
  font-weight: 800; margin-top: 4px;
}
.cb-hs-div {
  width: 1px; height: 52px;
  background: rgba(255,255,255,0.15);
}

/* ─ ROW 2: 5 step cards ─ */
.cb-steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.cb-step-card {
  padding: 28px 22px 26px;
  background: rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}
.cb-step-card:hover {
  background: rgba(255,255,255,0.12);
}
.cb-step-card-last { border-right: none; }

/* Connector line between cards (pseudo on all but last) */
.cb-sc-connector {
  position: absolute;
  top: 42px; right: -1px;
  width: 0; height: 0; z-index: 2;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid rgba(244,227,0,0.4);
}
.cb-step-card-last .cb-sc-connector { display: none; }

.cb-sc-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.9rem; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(244,227,0,0.35);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  position: relative; z-index: 1;
}
.cb-sc-num-final {
  background: rgba(244,227,0,0.18);
  border: 2px solid rgba(244,227,0,0.45);
  font-size: 1rem;
  color: var(--yellow);
}
.cb-step-card:hover .cb-sc-num {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(244,227,0,0.18);
}
.cb-sc-icon {
  font-size: 1.6rem;
  transition: transform 0.35s var(--ease-spring);
}
.cb-step-card:hover .cb-sc-icon { transform: scale(1.15) rotate(-8deg); }
.cb-step-card h4 {
  font-size: 0.88rem; font-weight: 900;
  color: var(--white); line-height: 1.3;
  transition: color 0.2s;
}
.cb-step-card:hover h4 { color: var(--yellow); }
.cb-step-card p {
  font-size: 0.78rem; color: rgba(255,255,255,0.52);
  line-height: 1.6; margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .cb-hero-card { flex-direction: column; align-items: flex-start; gap: 28px; padding: 30px 28px; }
  .cb-hero-stats { width: 100%; justify-content: space-around; }
  .cb-steps-row { grid-template-columns: repeat(3, 1fr); }
  .cb-step-card:nth-child(3) { border-right: none; }
  .cb-step-card:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 600px) {
  .cb-hero-card { padding: 24px 20px; }
  .cb-steps-row { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .cb-step-card:nth-child(2) { border-right: none; }
  .cb-step-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); }
  .cb-step-card:nth-child(4) { border-right: none; }
  .cb-step-card-last { grid-column: 1 / 3; border-right: none; }
  .cb-sc-connector { display: none; }
}

/* ── RESULTS ── */
/* ── RESULTS — grouped layout ── */
.results-section { background: var(--gray); }

.result-group {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 24px;
  padding: 36px 32px 40px;
  border: 3px solid var(--yellow);
  box-shadow: 0 16px 50px rgba(16,40,179,0.18);
  position: relative; overflow: hidden;
}
.result-group::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(244,227,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.result-group-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 2px;
  padding: 7px 28px;
  border-radius: 30px;
  margin-bottom: 32px;
  box-shadow: 0 4px 18px rgba(196,18,18,0.35);
}

.result-students-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.rs-card {
  display: flex; flex-direction: column; align-items: center;
  width: 110px;
  transition: transform 0.35s var(--ease-spring);
}
.rs-card:hover { transform: translateY(-8px) scale(1.06); }

.rs-photo-wrap {
  width: 82px; height: 82px; border-radius: 50%;
  background: rgba(255,255,255,0.13);
  border: 3px solid var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,0.55);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.rs-card:hover .rs-photo-wrap {
  border-color: #fff;
  box-shadow: 0 8px 28px rgba(244,227,0,0.35);
}
.rs-photo {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.rs-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

.rs-name {
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  text-align: center;
  margin-top: 10px;
  line-height: 1.3;
}
.rs-marks {
  color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 4px;
  text-align: center;
}

/* ── TEACHERS ── */
.teachers-section { background: var(--gray); }
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 50px;
}
.teacher-row-centered {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 0;
}
.teacher-row-centered .teacher-card {
  flex: 0 1 calc(25% - 21px);
}

.teacher-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
  display: flex; flex-direction: column;
  position: relative;
}
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.13);
}

/* Teacher card colors — same palette as course cards (cc-1 … cc-6) + brand yellow */
.tc-1 { background: linear-gradient(135deg, #1028B3, #1e3de0); }
.tc-2 { background: linear-gradient(135deg, #C41212, #e52020); }
.tc-3 { background: linear-gradient(135deg, #0a1a80, #1028B3); }
.tc-4 { background: linear-gradient(135deg, var(--yellow), #ffe000); }
.tc-5 { background: linear-gradient(135deg, #00695c, #009688); }
.tc-6 { background: linear-gradient(135deg, #6a1b9a, #9c27b0); }
.tc-7 { background: linear-gradient(135deg, #e65100, #ff6d00); }
.tc-8 { background: linear-gradient(135deg, #ad1457, #ec407a); }

.teacher-card[class*="tc-"] {
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.teacher-card[class*="tc-"]:hover {
  box-shadow: 0 20px 55px rgba(0,0,0,0.22);
}
.teacher-card[class*="tc-"]::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  pointer-events: none;
}
.teacher-card[class*="tc-"]:hover::after { transform: scaleX(1); }

.teacher-card[class*="tc-"] .teacher-accent { display: none; }

.teacher-card:not(.tc-4)[class*="tc-"] .teacher-name { color: var(--white); }
.teacher-card:not(.tc-4)[class*="tc-"] .teacher-subject {
  color: rgba(255,255,255,0.88); opacity: 1;
}
.teacher-card:not(.tc-4)[class*="tc-"] .teacher-desc { color: rgba(255,255,255,0.78); }

.teacher-card.tc-4 .teacher-name { color: var(--blue); }
.teacher-card.tc-4 .teacher-subject { color: var(--blue-dark); opacity: 0.85; }
.teacher-card.tc-4 .teacher-desc { color: rgba(16,40,179,0.72); }

.teacher-card[class*="tc-"] .teacher-photo-wrap {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.15);
}
.teacher-card.tc-4 .teacher-photo-wrap {
  border-color: rgba(16,40,179,0.22);
  background: rgba(255,255,255,0.55);
}
.teacher-card[class*="tc-"]:hover .teacher-photo-wrap { border-color: var(--yellow); }
.teacher-card.tc-4:hover .teacher-photo-wrap { border-color: var(--blue); }

.teacher-card[class*="tc-"] .teacher-subject-badge {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.35);
}
.teacher-card.tc-4 .teacher-subject-badge {
  background: var(--blue);
  border: none;
}
.teacher-card[class*="tc-"] .teacher-photo-fallback { color: rgba(255,255,255,0.45); }
.teacher-card.tc-4 .teacher-photo-fallback { color: rgba(16,40,179,0.25); }

/* Coloured top accent strip (fallback if no tc-* class) */
.teacher-accent {
  height: 5px; width: 100%; flex-shrink: 0;
}

/* Photo circle centered */
.teacher-photo-wrap {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 28px auto 0;
  overflow: hidden;
  border: 3px solid #e8ecf8;
  background: #f0f3ff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s;
  flex-shrink: 0;
  position: relative;
}
.teacher-card:hover .teacher-photo-wrap { border-color: var(--yellow); }

.teacher-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
  display: block;
}

/* Fallback icon shown when image is missing/broken */
.teacher-photo-fallback {
  display: none;
  width: 100%; height: 100%;
  align-items: center; justify-content: center;
  font-size: 2.6rem;
  color: rgba(16,40,179,0.25);
  position: absolute; inset: 0;
}

.teacher-info {
  padding: 16px 24px 28px;
  text-align: center;
  flex: 1; display: flex; flex-direction: column; align-items: center;
}

.teacher-subject-badge {
  display: inline-block;
  color: var(--white);
  font-size: 0.68rem; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
  margin: 14px 0 12px;
}

.teacher-name {
  font-weight: 900; font-size: 1.1rem; color: #1a1a2e;
  margin-bottom: 3px; line-height: 1.3;
}
.teacher-subject {
  font-weight: 700; font-size: 0.8rem;
  color: var(--blue); margin-bottom: 12px; opacity: 0.7;
}
.teacher-desc {
  font-size: 0.83rem; color: #777; line-height: 1.65;
  max-width: 280px;
}

/* ── ABOUT ── */
.about-section {
  background: var(--gray);
  position: relative;
  overflow: hidden;
}
.about-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.about-decor-1 {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(244,227,0,0.12); top: -120px; left: -80px;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}
.about-decor-2 {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(16,40,179,0.06); bottom: -60px; right: -40px;
  animation: float 8s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(20px); } }

.about-intro { margin-bottom: 44px; position: relative; z-index: 2; }
.about-intro .section-desc { margin-left: auto; margin-right: auto; }

/* Compact stat cards — replaces large stats panel */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}
.about-stat-card {
  text-align: center;
  padding: 28px 20px 26px;
  border-radius: 20px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0,0,0,0.1);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}
.about-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.16);
}
.about-stat-card:hover::after { transform: scaleX(1); }
.asc-1 { background: linear-gradient(135deg, #1028B3, #1e3de0); }
.asc-2 { background: linear-gradient(135deg, #C41212, #e52020); }
.asc-3 { background: linear-gradient(135deg, var(--yellow), #ffe000); color: var(--blue); }

.about-stat-emoji {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 10px;
  line-height: 1;
}
.about-stat-card .stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}
.about-stat-card .stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3rem);
  color: var(--yellow);
  line-height: 1;
}
.about-stat-card .stat-plus {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--yellow);
  line-height: 1;
}
.about-stat-card .stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-weight: 800;
}
/* asc-3 (yellow card) — override AFTER base rules to win specificity battle */
.about-stat-card.asc-3 .stat-num,
.about-stat-card.asc-3 .stat-plus { color: var(--blue); }
.about-stat-card.asc-3 .stat-label { color: var(--blue); }

/* Highlight cards grid */
.about-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(16,40,179,0.06);
  box-shadow: 0 4px 20px rgba(16,40,179,0.06);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.about-point::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
}
.ap-1::before { background: linear-gradient(180deg, #1028B3, #1e3de0); }
.ap-2::before { background: linear-gradient(180deg, #C41212, #e52020); }
.ap-3::before { background: linear-gradient(180deg, #0a1a80, #1028B3); }
.ap-4::before { background: linear-gradient(180deg, var(--yellow), #ffe000); }
.ap-5::before { background: linear-gradient(180deg, #00695c, #009688); }

.about-point:nth-child(5) {
  grid-column: 1 / -1;
  max-width: calc(50% - 10px);
  justify-self: center;
  width: 100%;
}

.about-point:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
  box-shadow: 0 14px 40px rgba(16,40,179,0.12);
}
.about-point-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}
.ap-1 .about-point-icon { background: linear-gradient(135deg, rgba(16,40,179,0.12), rgba(30,61,224,0.08)); }
.ap-2 .about-point-icon { background: linear-gradient(135deg, rgba(196,18,18,0.12), rgba(229,32,32,0.08)); }
.ap-3 .about-point-icon { background: linear-gradient(135deg, rgba(10,26,128,0.12), rgba(16,40,179,0.08)); }
.ap-4 .about-point-icon { background: linear-gradient(135deg, rgba(244,227,0,0.35), rgba(255,224,0,0.2)); }
.ap-5 .about-point-icon { background: linear-gradient(135deg, rgba(0,105,92,0.12), rgba(0,150,136,0.08)); }

.about-point:hover .about-point-icon {
  transform: scale(1.08) rotate(4deg);
}
.ap-1:hover .about-point-icon { background: linear-gradient(135deg, #1028B3, #1e3de0); }
.ap-2:hover .about-point-icon { background: linear-gradient(135deg, #C41212, #e52020); }
.ap-3:hover .about-point-icon { background: linear-gradient(135deg, #0a1a80, #1028B3); }
.ap-4:hover .about-point-icon { background: linear-gradient(135deg, var(--yellow), #ffe000); }
.ap-5:hover .about-point-icon { background: linear-gradient(135deg, #00695c, #009688); }

.about-point-body strong {
  display: block;
  font-weight: 900;
  font-size: 0.98rem;
  color: var(--blue);
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}
.about-point-body span {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.65;
}

/* ── WHY CHOOSE US ── */
.why-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 50px; position: relative; z-index: 1;
}
.feature-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px; padding: 38px 34px;
  transition: all 0.4s; backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(30px);
}
.feature-card.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: var(--yellow);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(-6px);
}
.feature-icon-wrap {
  font-size: 2.5rem; margin-bottom: 18px; display: inline-block;
  transition: transform 0.4s var(--ease-spring);
}
.feature-card:hover .feature-icon-wrap { animation: magnetic-float 2s ease-in-out infinite; }
.feature-card h3 { color: var(--white); font-weight: 900; font-size: 1.12rem; margin-bottom: 11px; }
.feature-card p  { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.65; }

.contact-section {
  background: linear-gradient(160deg, #060e3a 0%, #0a1a80 40%, #06093d 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Decorative mesh orbs */
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 80%, rgba(244,227,0,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(196,18,18,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(30,61,224,0.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Dot-grid texture */
.contact-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.contact-section > * { position: relative; z-index: 1; }
.contact-section .section-title { color: var(--white); }
.contact-section .section-desc  { color: rgba(255,255,255,0.6); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  margin-top: 54px;
  align-items: start;
}

/* ── LEFT: info cards column ── */
.contact-cards { display: flex; flex-direction: column; gap: 16px; }

/* Individual info card */
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 18px;
  padding: 22px 24px;
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-out-expo);
}
.contact-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(244,227,0,0.35);
  transform: translateX(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.contact-card:hover::before { transform: scaleY(1); }

/* Icon box */
.cc-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--yellow), #ffe800);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(244,227,0,0.3);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.contact-card:hover .cc-icon {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 10px 30px rgba(244,227,0,0.5);
}

/* Text */
.cc-info { flex: 1; min-width: 0; }
.cc-info .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--yellow);
  font-weight: 800;
  margin-bottom: 5px;
}
.cc-info .value {
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.4;
}
.cc-info .value.small {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

/* WhatsApp CTA button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366, #1db954);
  color: var(--white);
  padding: 19px 32px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 35px rgba(37,211,102,0.4);
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.whatsapp-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.5s;
}
.whatsapp-btn:hover::after { transform: translateX(200%) skewX(-20deg); }
.whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(37,211,102,0.6);
}

/* ── RIGHT: map wrapper ── */
.map-wrapper {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.map-wrapper:hover {
  border-color: var(--yellow);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(244,227,0,0.2);
}
.map-header {
  background: rgba(255,255,255,0.07);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.65);
  padding: 50px 5% 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 13px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--yellow) 0%, #f0c800 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(244,227,0,0.25);
}
.footer-logo-text { display: flex; flex-direction: column; gap: 1px; }
.footer-logo-top {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  color: var(--yellow); letter-spacing: 3px; line-height: 1;
}
.footer-logo-bot {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 0.92rem; color: rgba(255,255,255,0.78);
  letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.3;
}
.footer-logo-bot em {
  font-style: italic; color: var(--yellow); font-weight: 900;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-weight: 800; margin-bottom: 14px; font-size: 0.98rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul a:hover { color: var(--yellow); padding-left: 6px; }
.social-icons { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); font-size: 1rem; text-decoration: none; transition: all 0.3s;
}
.social-icon:hover {
  background: var(--yellow); color: var(--blue);
  border-color: var(--yellow); transform: translateY(-3px) rotate(5deg);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  text-align: center; font-size: 0.83rem; color: rgba(255,255,255,0.38);
}
.footer-bottom span { color: var(--yellow); }

/* ── BACK TO TOP ── */
#back-top {
  position: fixed; bottom: 90px; left: 25px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.35);
  opacity: 0; transform: translateY(20px);
  pointer-events: none; transition: all 0.3s;
}
#back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-top:hover { background: var(--yellow); color: var(--blue); transform: translateY(-3px); }

/* ── WHATSAPP FLOAT ── */
#wa-float {
  position: fixed; bottom: 30px; right: 25px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: wa-pulse 2.2s ease-in-out infinite;
  border: 3px solid #ffffff;
  transition: transform 0.25s;
}
#wa-float svg { width: 28px; height: 28px; display: block; pointer-events: none; }
#wa-float:hover { transform: scale(1.1); }

/* ── FADE / SCROLL ANIMATIONS ── */
.fade-up    { opacity: 0; transform: translateY(40px);  transition: opacity 0.7s, transform 0.7s; }
.fade-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s, transform 0.7s; }
.fade-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s, transform 0.7s; }
.fade-up.visible    { opacity: 1; transform: translateY(0); }
.fade-left.visible  { opacity: 1; transform: translateX(0); }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ── ANIMATED HEADINGS ── */
.animated-heading {
  background: linear-gradient(90deg, var(--blue) 0%, var(--red) 40%, var(--blue) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.animated-heading.visible { animation: shimmer-text 3s linear infinite; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .about-point:nth-child(5) { max-width: 100%; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-row-centered { flex-wrap: wrap; }
  .teacher-row-centered .teacher-card { flex: 0 1 calc(50% - 14px); }
}
@media (max-width: 600px) {
  section { padding: 60px 4%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
  .features-grid, .teachers-grid { grid-template-columns: 1fr; }
  .teacher-row-centered { flex-wrap: wrap; }
  .teacher-row-centered .teacher-card { flex: 0 1 100%; }
  .feature-card:nth-child(5) { grid-column: auto; }
  .feature-card:nth-child(6) { grid-column: auto; }
}
@media (max-width: 420px) {
  .features-grid, .teachers-grid { grid-template-columns: 1fr; }
}

/* ── REDUCED MOTION ACCESSIBILITY FIX ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}