/* ══════════════════════════════════════════
   ROOT & RESET
══════════════════════════════════════════ */
:root {
  --navy:   #0b1d3a;
  --gold:   #d4922a;
  --gold2:  #f5b84c;
  --cream:  #fdf9f3;
  --light:  #f4f0e8;
  --border: #e5ddd0;
  --text:   #1a1a2e;
  --muted:  #7a7a8c;
  --white:  #ffffff;
  --accent: #1756b8;
  --drawer-width: 320px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ══════════════════════════════════════════
   PAGE SYSTEM
══════════════════════════════════════════ */
.page { display: none; animation: pageFadeIn .5s ease both; }
.page.active { display: block; }

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

#page-overlay {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 9998; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
#page-overlay.show { opacity: 1; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
nav.scrolled {
  box-shadow: 0 2px 32px rgba(11,29,58,.09);
  background: rgba(255,255,255,0.99);
}

.nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 68px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: .75rem; cursor: pointer; flex-shrink: 0; }
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo-wordmark { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem; letter-spacing: 4px; color: var(--navy); line-height: 1;
}
.nav-logo-sub {
  font-size: .70rem; letter-spacing: 1.5px; color: var(--gold);
  text-transform: uppercase; font-weight: 700;
}

/* Desktop Menu */
.nav-menu { display: flex; align-items: center; gap: 0; margin: 0 auto; padding: 0 1.5rem; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: .28rem;
  padding: 0 .85rem; height: 68px;
  font-size: .82rem; font-weight: 600; color: var(--text);
  letter-spacing: .3px;
  transition: color .2s;
  cursor: pointer; white-space: nowrap;
  border: none; background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: .85rem; right: .85rem;
  height: 2px; background: var(--gold); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform .25s;
  transform-origin: center;
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active-link { color: var(--gold); }
.nav-link.active-link::after { transform: scaleX(1); }

.nav-link .chevron {
  width: 14px; height: 14px; flex-shrink: 0;
  color: var(--muted); transition: transform .25s;
  display: flex; align-items: center; justify-content: center;
}
.nav-link .chevron svg { width: 12px; height: 12px; }
.nav-item:hover .chevron,
.nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 1px); left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(.97);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(11,29,58,.13), 0 4px 16px rgba(11,29,58,.06);
  min-width: 230px; padding: .5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform-origin: top center;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: all;
}

.dropdown-wide { min-width: 500px; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }

.dd-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .85rem; border-radius: 9px;
  transition: background .18s; cursor: pointer;
}
.dd-item:hover { background: var(--cream); }

.dd-icon-box {
  width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0;
  background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); transition: background .18s, color .18s;
}
.dd-item:hover .dd-icon-box { background: var(--navy); color: var(--gold2); border-color: var(--navy); }
.dd-icon-box svg { width: 15px; height: 15px; }
.dd-title { font-size: .8rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.dd-sub { font-size: .7rem; color: var(--muted); margin-top: .1rem; }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* ══════════════════════════════════════════
   SOCIAL ICONS
══════════════════════════════════════════ */
.nav-socials {
  display: flex; align-items: center; gap: .2rem;
  padding-right: .75rem; border-right: 1px solid var(--border);
}
.social-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: transparent;
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none; flex-shrink: 0;
}
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover { background: var(--cream); color: var(--navy); transform: translateY(-1px); }
.social-icon[data-label="Facebook"]:hover  { color: #1877f2; }
.social-icon[data-label="Instagram"]:hover { color: #e1306c; }
.social-icon[data-label="Telegram"]:hover  { color: #0088cc; }
.social-icon[data-label="YouTube"]:hover   { color: #ff0000; }

/* Phone */
.nav-phone {
  display: flex; align-items: center; gap: .5rem;
  padding: 0 .6rem;
  border-right: 1px solid var(--border);
}
.nav-phone-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); flex-shrink: 0;
}
.nav-phone-icon svg { width: 13px; height: 13px; }
.phone-lines { display: flex; flex-direction: column; gap: 1px; }
.phone-lines span { font-size: .7rem; font-weight: 700; color: var(--navy); line-height: 1.3; white-space: nowrap; }
.phone-lines span:last-child { color: var(--gold); }

.btn-enroll {
  background: var(--navy); color: var(--white);
  padding: .55rem 1.2rem; border-radius: 8px;
  font-weight: 700; font-size: .8rem; letter-spacing: .4px;
  transition: background .22s, transform .18s, box-shadow .22s;
  border: 2px solid var(--navy); cursor: pointer;
  white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-enroll:hover {
  background: var(--gold); border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,146,42,.28);
}

/* ══════════════════════════════════════════
   HAMBURGER — hidden on desktop, visible ≤900px only
══════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; cursor: pointer;
  border: none; background: transparent; border-radius: 8px;
  transition: background .2s; padding: 6px; flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--cream); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   RIGHT SIDE DRAWER
══════════════════════════════════════════ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .35s;
}
.mobile-drawer.open {
  pointer-events: all;
  visibility: visible;
  transition: visibility 0s linear 0s;
}

/* Backdrop */
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,29,58,.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .35s cubic-bezier(.4,0,.2,1);
}
.mobile-drawer.open .drawer-backdrop { opacity: 1; }

/* Panel slides from RIGHT */
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: var(--drawer-width);
  max-width: 90vw;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(11,29,58,.18);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }

/* Drawer Header */
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: var(--navy); flex-shrink: 0;
}
.drawer-logo {
  display: flex; align-items: center; gap: .6rem;
}
.drawer-logo img { width: 32px; height: 32px; object-fit: contain; }
.drawer-logo span {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem;
  letter-spacing: 3px; color: var(--white);
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  color: var(--white); transition: background .2s;
}
.drawer-close:hover { background: rgba(255,255,255,.2); }
.drawer-close svg { width: 18px; height: 18px; }

/* Drawer Scroll Body */
.drawer-inner {
  flex: 1; overflow-y: auto; padding: .8rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.drawer-inner::-webkit-scrollbar { width: 4px; }
.drawer-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Nav Links */
.drawer-nav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.4rem; font-size: .9rem; font-weight: 700;
  color: var(--navy); cursor: pointer;
  transition: background .18s, color .18s;
  position: relative;
}
.drawer-nav-link:hover { background: var(--cream); color: var(--gold); }
.drawer-nav-link svg:first-child { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.drawer-chevron {
  width: 16px; height: 16px; color: var(--muted); margin-left: auto; flex-shrink: 0;
  transition: transform .25s;
}
.drawer-nav-link.section-open .drawer-chevron { transform: rotate(180deg); }

/* Sub items */
.drawer-sub { display: none; background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.drawer-sub.open { display: block; }
.drawer-sub-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.4rem .7rem 2.8rem;
  font-size: .85rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: background .18s, color .18s;
}
.drawer-sub-item:hover { background: var(--border); color: var(--navy); }
.drawer-sub-item-icon {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.drawer-sub-item-icon svg { width: 12px; height: 12px; }

/* Social section inside drawer */
.drawer-socials-section {
  padding: 1.2rem 1.4rem .6rem;
  border-top: 1px solid var(--border);
  margin-top: .5rem;
}
.drawer-socials-label {
  font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: .8rem;
}
.drawer-socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.drawer-socials .social-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream); border: 1px solid var(--border);
  color: var(--muted);
}
.drawer-socials .social-icon:hover { transform: translateY(-2px); }
.drawer-socials .social-icon svg { width: 17px; height: 17px; }

/* Contact block inside drawer */
.drawer-contact {
  margin: .8rem 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--cream); border-radius: 12px; border: 1px solid var(--border);
}
.drawer-contact-row {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .65rem; font-size: .82rem; color: var(--navy); font-weight: 600;
  word-break: break-all;
}
.drawer-contact-row:last-child { margin-bottom: 0; }
.drawer-contact-row svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

.drawer-enroll {
  display: block; width: calc(100% - 2.8rem); margin: 1rem 1.4rem 0;
  background: var(--navy); color: var(--white);
  padding: .9rem; border-radius: 10px; text-align: center;
  font-weight: 700; font-size: .88rem; letter-spacing: .4px;
  border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background .25s, transform .18s;
}
.drawer-enroll:hover { background: var(--gold); transform: translateY(-1px); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  background: var(--navy); color: var(--white);
  padding: .9rem 2rem; border-radius: 10px;
  font-weight: 700; font-size: .95rem;
  transition: all .3s; cursor: pointer;
  box-shadow: 0 4px 20px rgba(11,29,58,.2);
  border: 2px solid var(--navy);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold); border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,146,42,.3);
}
.btn-outline {
  background: transparent; color: var(--navy);
  padding: .9rem 2rem; border-radius: 10px;
  font-weight: 700; font-size: .95rem;
  border: 2px solid var(--border);
  transition: all .3s; cursor: pointer;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   HERO — HOME
══════════════════════════════════════════ */
.hero {
  padding: 8rem 2rem 5rem; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  min-height: 100vh;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(212,146,42,.1); border: 1px solid rgba(212,146,42,.3);
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 20px; margin-bottom: 1.6rem;
}
.hero-badge::before { content: '★'; font-size: .65rem; }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.05; color: var(--navy); margin-bottom: 1.4rem;
}
.hero h1 .highlight {
  color: var(--gold); position: relative; display: inline-block;
}
.hero h1 .highlight::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
  animation: lineGrow 1s 1s both;
  transform-origin: left;
}
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-desc { font-size: 1.05rem; line-height: 1.8; color: var(--muted); max-width: 480px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hstat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem;
  color: var(--navy); display: block; line-height: 1;
}
.hstat-label { font-size: .72rem; color: var(--muted); letter-spacing: .8px; text-transform: uppercase; margin-top: .2rem; display: block; }
.hstat-divider { width: 1px; background: var(--border); }

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

.hero-card {
  position: relative; width: 100%; max-width: 420px;
  padding: 3rem 2rem; border-radius: 24px;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08); overflow: hidden;
}
.hero-glow {
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,146,42,0.25), transparent 70%);
  top: -80px; right: -80px; filter: blur(40px);
}
.hero-content { position: relative; text-align: left; z-index: 2; }
.hero-content_right { position: relative; text-align: center; z-index: 4; }

.hero-logo { width: 90px; margin-bottom: 1rem; animation: floatLogo 4s ease-in-out infinite; }
.hero-content h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem;
  letter-spacing: 3px; color: #0f172a;
}
.hero-content p { font-size: 0.9rem; color: #64748b; margin-bottom: 2rem; }
.hero-stats { display: flex; justify-content: space-between; gap: 10px; }
.stat {
  flex: 1; background: rgba(255,255,255,0.7); padding: 1rem;
  border-radius: 14px; border: 1px solid rgba(0,0,0,0.05); transition: 0.3s;
}
.stat:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.stat h3 { color: #d4922a; font-size: 1.5rem; }
.stat span { font-size: 0.75rem; color: #475569; }

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

/* ══════════════════════════════════════════
   MARQUEE STRIP
══════════════════════════════════════════ */
.marquee-wrap { background: var(--navy); padding: .7rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marqueeScroll 35s linear infinite; }
.marquee-item {
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  letter-spacing: 2px; color: var(--gold2);
  white-space: nowrap; display: flex; align-items: center; gap: .6rem;
}
.marquee-item::before { content: '◆'; font-size: .55rem; color: rgba(245,184,76,.4); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════ */
.section { padding: 6rem 2rem; max-width: 1280px; margin: 0 auto; }
.section-full { padding: 5rem 0; }
.section-full .section-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .8rem;
}
.tag::before { content: ''; width: 24px; height: 2px; background: currentColor; display: inline-block; }
.section-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy);
  line-height: 1.15; margin-bottom: .8rem;
}
.section-p { font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 520px; }

/* ══════════════════════════════════════════
   WHY ACE — FEATURE TILES
══════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.features-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.feature-tile {
  border-radius: 16px; padding: 1.5rem;
  transition: transform .3s, box-shadow .3s; cursor: default;
}
.feature-tile:hover { transform: translateY(-4px); }
.feature-tile.light { background: var(--white); border: 1.5px solid var(--border); }
.feature-tile.light:hover { box-shadow: 0 12px 36px rgba(0,0,0,.08); }
.feature-tile.dark { background: var(--navy); border: 1.5px solid var(--navy); }
.feature-tile-icon { font-size: 1.4rem; margin-bottom: .6rem; color: var(--gold); }
.feature-tile-title { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.feature-tile.light .feature-tile-title { color: var(--navy); }
.feature-tile.dark .feature-tile-title { color: var(--gold2); }
.feature-tile-text { font-size: .8rem; line-height: 1.6; }
.feature-tile.light .feature-tile-text { color: var(--muted); }
.feature-tile.dark .feature-tile-text { color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════
   INNER PAGE HERO
══════════════════════════════════════════ */
.page-hero {
  background: var(--navy); padding: 8rem 2rem 5rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(212,146,42,.1), transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
  color: var(--white); margin-bottom: 1rem;
}
.page-hero h1 span { color: var(--gold2); }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1rem; max-width: 500px; margin: 0 auto 1.5rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; }
.breadcrumb span { color: var(--gold2); cursor: pointer; }

/* ══════════════════════════════════════════
   COURSE FILTER BUTTONS
══════════════════════════════════════════ */
.course-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cf-btn {
  padding: .5rem 1.2rem; border-radius: 20px; font-size: .8rem; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white); color: var(--muted);
  cursor: pointer; transition: all .2s; font-family: 'Plus Jakarta Sans', sans-serif;
}
.cf-btn:hover, .cf-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ══════════════════════════════════════════
   COURSE CARDS
══════════════════════════════════════════ */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.course-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s; cursor: pointer;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); border-color: rgba(212,146,42,.3); }
.cc-top { background: var(--cream); padding: 2rem; position: relative; overflow: hidden; }
.cc-top::before { content: attr(data-icon); position: absolute; right: -10px; bottom: -10px; font-size: 5rem; opacity: .1; line-height: 1; }
.cc-emoji { font-size: 2.2rem; margin-bottom: .8rem; display: block; }
.cc-tag { font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .4rem; display: block; }
.cc-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.cc-body { padding: 1.5rem 2rem 2rem; }
.cc-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.cc-pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cc-pill { background: var(--cream); border: 1px solid var(--border); font-size: .72rem; font-weight: 600; color: var(--navy); padding: .3rem .7rem; border-radius: 20px; }
.cc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.cc-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--navy); }
.cc-price span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .7rem; color: var(--muted); font-weight: 500; margin-left: .3rem; }
.cc-enroll { background: var(--navy); color: var(--white); padding: .5rem 1.1rem; border-radius: 8px; font-size: .8rem; font-weight: 700; transition: background .25s; }
.cc-enroll:hover { background: var(--gold); }

/* ══════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════ */
.stats-band { background: var(--navy); padding: 4rem 2rem; }
.stats-band .inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.sb-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: var(--gold2); display: block; }
.sb-label { font-size: .78rem; color: rgba(255,255,255,.5); letter-spacing: 1.5px; text-transform: uppercase; margin-top: .3rem; display: block; }

/* ══════════════════════════════════════════
   TOPPERS CARDS
══════════════════════════════════════════ */
.toppers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.topper-card {
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 1.6rem; text-align: center;
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.topper-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.topper-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); }
.tc-rank { font-family: 'Bebas Neue', sans-serif; font-size: .85rem; letter-spacing: 2px; color: var(--gold); background: rgba(212,146,42,.1); display: inline-block; padding: .2rem .7rem; border-radius: 20px; margin-bottom: .8rem; }
.tc-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), #1756b8); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 800; color: var(--white); margin: 0 auto .8rem; box-shadow: 0 4px 16px rgba(11,29,58,.2); }
.tc-name { font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: .2rem; }
.tc-exam { font-size: .75rem; color: var(--muted); margin-bottom: .4rem; }
.tc-score { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: var(--gold); }

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img {
  background: var(--cream); border-radius: 24px; border: 1.5px solid var(--border);
  min-height: 420px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(212,146,42,.08), transparent 70%); }
.about-logo { font-family: 'Bebas Neue', sans-serif; font-size: 6rem; color: rgba(212,146,42,.25); letter-spacing: 8px; }
.about-numbers { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.about-numbers .an { text-align: center; }
.about-numbers .an-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--gold); }
.about-numbers .an-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.timeline { margin-top: 2rem; }
.tl-item { display: flex; gap: 1.2rem; align-items: flex-start; padding-bottom: 1.5rem; position: relative; }
.tl-item:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 1px; background: var(--border); }
.tl-dot { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; letter-spacing: .5px; border: 2px solid var(--border); }
.tl-year { font-size: .72rem; color: var(--gold); font-weight: 700; margin-bottom: .2rem; }
.tl-text { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.tl-bold { font-weight: 700; color: var(--navy); }

.faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.fac-card { background: var(--cream); border: 1.5px solid var(--border); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.fac-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); }
.fac-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--accent)); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 800; color: var(--white); margin: 0 auto 1rem; box-shadow: 0 6px 20px rgba(11,29,58,.15); }
.fac-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: .3rem; }
.fac-role { font-size: .78rem; color: var(--gold); font-weight: 700; margin-bottom: .3rem; }
.fac-exp { font-size: .75rem; color: var(--muted); }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-bg { background: var(--navy); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 20px; padding: 0.8rem;
  transition: transform .3s, border-color .3s;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(212,146,42,.2); }

.testi-img-wrap {
  width: 100%; height: 380px; border-radius: 16px;
  overflow: hidden; margin-bottom: 0.6rem;
  background: rgba(255,255,255,0.03);
}
.testi-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.testi-card:hover .testi-img-wrap img { transform: scale(1.08); }

.testi-author { display: flex; align-items: center; gap: .6rem; padding: 0.3rem 0.4rem; }
.ta-ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy); font-size: .75rem;
}
.ta-name { font-weight: 600; color: var(--white); font-size: .85rem; }
.ta-batch { font-size: .7rem; color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════════
   RECENT SELECTIONS SLIDER
══════════════════════════════════════════ */
.recent-section { background: #f5efe6; padding: 5rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.slider { overflow: hidden; position: relative; margin-top: 3rem; }
.slide-track {
  display: flex; gap: 2rem;
  width: calc(270px * 30);
  animation: scroll 35s linear infinite;
}
.slide-card {
  min-width: 270px; background: #fff;
  border-radius: 18px; padding: 1rem; text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: transform .3s;
  flex-shrink: 0;
}
.slide-card:hover { transform: translateY(-6px); }
.slide-card img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; margin-bottom: 0.8rem; }
.slide-name { font-weight: 700; font-size: 1rem; color: #111; }
.slide-college { font-size: 0.85rem; color: #777; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.slider:hover .slide-track { animation-play-state: paused; }

/* ══════════════════════════════════════════
   CTA ENROLL
══════════════════════════════════════════ */
.enroll-cta {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
.enroll-cta::before {
  content: 'ENROLL'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 18rem;
  color: rgba(212,146,42,.04); pointer-events: none; white-space: nowrap;
}
.enroll-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; max-width: 1200px; margin: 0 auto;
}
.enroll-left { flex: 1; text-align: left; }
.enroll-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800;
  color: var(--navy); margin-bottom: 1rem;
}
.enroll-cta p { color: var(--muted); max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
.enroll-form { display: flex; gap: 1rem; flex-wrap: wrap; }
.enroll-input {
  flex: 1 1 180px; padding: .85rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .9rem; background: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif; outline: none;
}
.enroll-input:focus { border-color: var(--navy); }
.enroll-right { flex: 1; display: flex; justify-content: center; }
.enroll-right img { max-width: 100%; height: 380px; object-fit: cover; border-radius: 18px; }

/* ══════════════════════════════════════════
   YOUTUBE SHORTS
══════════════════════════════════════════ */
.yt-shorts-section { background: #fff; padding: 5rem 2rem; }
.yt-slider { overflow: hidden; margin-top: 3rem; }
.yt-track { display: flex; gap: 1.5rem; animation: ytScroll 35s linear infinite; }
.yt-card {
  min-width: 220px; height: 390px; border-radius: 16px;
  overflow: hidden; position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: transform .3s;
  flex-shrink: 0;
}
.yt-card:hover { transform: scale(1.05); }
.yt-card img { width: 100%; height: 100%; object-fit: cover; }
.yt-card::after {
  content: "▶"; position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 14px;
  padding: 6px 10px; border-radius: 50%;
}
.yt-slider:hover .yt-track { animation-play-state: paused; }
@keyframes ytScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════════════
   WHY / COURSES SECTION WRAPPERS
══════════════════════════════════════════ */
.why-section { padding: 5rem 0; background: var(--cream); border-bottom: 1px solid var(--border); }
.why-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.courses-preview { padding: 5rem 0; }
.courses-preview-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.courses-preview-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.courses-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: var(--navy); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand-logo img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--white); letter-spacing: 3px; }
.footer-about { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.8; max-width: 280px; }
.footer-col-title { font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold2); font-weight: 700; margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.45); transition: color .25s; cursor: pointer; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; flex-wrap: wrap; gap: .8rem; font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); transition: color .25s; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s, transform .7s; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .7s, transform .7s; }
.reveal-right.visible { opacity: 1; transform: none; }

.hero-content > * { opacity: 0; transform: translateY(24px); }
.hero-content > *.in { opacity: 1; transform: none; transition: opacity .7s, transform .7s; }

/* Floating Test Button */
.floating-test-btn {
  position: fixed; bottom: 25px; right: 25px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy); padding: 0.85rem 1.4rem;
  border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 999; transition: all 0.3s ease;
}
.floating-test-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */

/* ── Large desktop: ≤1280px ── */
@media (max-width: 1280px) {
  .dropdown-wide { min-width: 420px; }
  .footer-grid { gap: 2rem; }
}

/* ── Medium: ≤1100px — hide socials and phone on navbar ── */
@media (max-width: 1100px) {
  .nav-socials { display: none; }
  .nav-phone   { display: none; }
  .hero { gap: 3rem; }
  .why-grid { gap: 3rem; }
}

/* ── Tablet / small desktop: ≤900px ── */
@media (max-width: 900px) {
  /* Show hamburger on tablet/mobile */
  .nav-hamburger { display: flex; }

  /* Hide desktop menu & enroll button */
  .nav-menu   { display: none; }
  .btn-enroll { display: none; }
  .nav-inner  { padding: 0 1.2rem; }

  /* Socials hidden from nav, available in drawer */
  .nav-socials { display: none; }
  .nav-phone   { display: none; }

  /* Hero: single column */
  .hero {
    grid-template-columns: 1fr; gap: 2.5rem;
    min-height: auto; padding-top: 6rem; padding-bottom: 3rem;
    text-align: center;
  }
  .hero-content { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; gap: 2rem; }
  .hstat-divider { display: none; }
  .hero-right { display: none; }

  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-band .inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .features-tile-grid { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .enroll-form { flex-direction: column; align-items: stretch; }
  .enroll-input { flex: none; width: 100%; }
  .enroll-cta-inner { flex-direction: column; text-align: center; }
  .enroll-left { text-align: center; }
  .enroll-form { justify-content: center; }
  .enroll-right img { height: 280px; }
}

/* ── Tablet portrait / large phone: ≤700px ── */
@media (max-width: 700px) {
  .nav-logo-sub { display: none; }
  .nav-logo img { width: 34px; height: 34px; }
  .nav-logo-text { font-size: 1.3rem; }

  .hero { padding: 5.5rem 1.2rem 2.5rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-desc { font-size: .95rem; }
  .hero-btns { gap: .75rem; }
  .btn-primary, .btn-outline { padding: .8rem 1.4rem; font-size: .88rem; }
  .hero-stats { gap: 1.5rem; }

  .features-tile-grid { grid-template-columns: 1fr; gap: 1rem; }
  .section { padding: 4rem 1.2rem; }
  .section-full .section-inner { padding: 0 1.2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-about { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .6rem; }
  .footer-bottom > div:last-child { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

  .stats-band .inner { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .sb-num { font-size: 2.5rem; }

  .testi-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testi-img-wrap { height: 280px; }

  .courses-grid { grid-template-columns: 1fr; }
  .why-section, .courses-preview { padding: 3rem 0; }
  .why-inner, .courses-preview-inner { padding: 0 1.2rem; }
  .courses-preview-head { flex-direction: column; align-items: flex-start; }
  .courses-preview-grid { grid-template-columns: 1fr; }

  .enroll-cta { padding: 3.5rem 1.2rem; }
  .enroll-cta::before { font-size: 8rem; }

  .page-hero { padding: 6rem 1.2rem 3rem; }
  .contact-form { padding: 1.5rem; }

  :root { --drawer-width: 290px; }

  .slide-card { min-width: 220px; }
  .slide-card img { height: 240px; }
  .slide-track { width: calc(220px * 30); }
}

/* ── Small phone: ≤480px ── */
@media (max-width: 480px) {
  .nav-inner { height: 60px; }

  .hero { padding-top: 5rem; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-stats { gap: 1rem; }
  .hstat-num { font-size: 1.8rem; }

  .toppers-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .faculty-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stats-band { padding: 2.5rem 1.2rem; }
  .stats-band .inner { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .dropdown-wide { min-width: 280px; left: 0; transform: none; }
  .dropdown-grid { grid-template-columns: 1fr; }

  .enroll-form { gap: .75rem; }
  footer { padding: 3rem 1.2rem 2rem; }
  .section-h { font-size: 1.75rem; }
  .page-hero h1 { font-size: 2rem; }

  :root { --drawer-width: 100vw; }
  .drawer-panel { border-radius: 0; }
}

/* ── Very small: ≤360px ── */
@media (max-width: 360px) {
  .nav-logo-text { font-size: 1.1rem; letter-spacing: 2px; }
  .hero h1 { font-size: 1.8rem; }
  .toppers-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   TOUCH / HOVER IMPROVEMENTS
══════════════════════════════════════════ */
@media (hover: none) {
  .course-card:hover,
  .feature-tile:hover,
  .topper-card:hover,
  .fac-card:hover,
  .testi-card:hover,
  .stat:hover { transform: none; box-shadow: none; }
}

/* ══════════════════════════════════════════
   PRINT MEDIA
══════════════════════════════════════════ */
@media print {
  nav, footer, .mobile-drawer, .marquee-wrap, .enroll-cta { display: none !important; }
  .hero { min-height: auto; padding: 1rem; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}