/* ============================================================
   VIKAS IIT FOUNDATION SCHOOL — PREMIUM CSS
   Color palette derived from school logo:
   Navy Blue #0A3078 · Crimson Red #D3151E · Sky Blue #00A3E0 · Leaf Green #28A745
   ============================================================ */

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

:root {
  --navy:      #0A3078;
  --navy-dark: #061e4d;
  --navy-mid:  #1a4a9f;
  --red:       #D3151E;
  --red-dark:  #a80f16;
  --sky:       #00A3E0;
  --green:     #28A745;
  --gold:      #f9c74f;
  --purple:    #7c3aed;
  --cyan:      #06b6d4;

  --bg:        #f8faff;
  --bg-alt:    #f0f4ff;
  --white:     #ffffff;
  --text:      #1e293b;
  --muted:     #64748b;
  --border:    rgba(10,48,120,.1);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(10,48,120,.07);
  --shadow:    0 12px 30px rgba(10,48,120,.10);
  --shadow-lg: 0 24px 60px rgba(10,48,120,.14);

  --trans:     0.3s cubic-bezier(.4,0,.2,1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

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

.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,48,120,.08);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
}
.section-tag.center { display: flex; width: fit-content; margin: 0 auto 16px; }
.section-tag.white { background: rgba(255,255,255,.2); color: #fff; }

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-heading.center { text-align: center; }
.section-heading span { color: var(--red); }
.section-heading.white-heading { color: #fff; }

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(90deg, var(--navy) 20%, var(--red) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: linear-gradient(90deg, #041333 0%, #0A3078 60%, #1a4a9f 100%);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  padding: 8px 0;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}

.top-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px);
  pointer-events: none;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 0;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: color var(--trans);
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,.12);
  line-height: 1;
}
.contact-chip:first-child { padding-left: 0; }
.contact-chip:hover { color: var(--gold); }
.chip-icon { font-size: .9rem; }

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
  max-width: 480px;
}

.ticker-label {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  font-size: .78rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  flex-shrink: 0;
  background: rgba(249,199,79,.15);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid rgba(249,199,79,.25);
}

.ticker-text {
  display: inline-block;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
  font-size: .8rem;
}

@keyframes ticker {
  0%   { transform: translateX(120%); }
  100% { transform: translateX(-100%); }
}

.top-bar-admissions {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(211,21,30,.3);
  animation: admPulse 2.5s ease-in-out infinite;
}

@keyframes admPulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(211,21,30,.3); }
  50%       { box-shadow: 0 4px 18px rgba(211,21,30,.55); }
}

/* ============ NAVBAR ============ */
.navbar {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0;
  box-shadow: 0 2px 20px rgba(10,48,120,.08);
  border-bottom: 2px solid rgba(10,48,120,.07);
  transition: box-shadow var(--trans);
}

.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(10,48,120,.14);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding-right: 30px;
  border-right: 1px solid rgba(10,48,120,.08);
}

.brand-logo {
  height: 62px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(10,48,120,.15));
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.2px;
}

.brand-sub {
  font-size: .68rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  padding: 0 20px;
}

.nav-a {
  font-weight: 600;
  font-size: .92rem;
  color: #374151;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}

.nav-a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 22px;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  transition: transform var(--trans);
}

.nav-a:hover {
  color: var(--navy);
  background: rgba(10,48,120,.05);
}

.nav-a:hover::after,
.nav-a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-a.active {
  color: var(--navy);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid rgba(10,48,120,.15);
  background: rgba(10,48,120,.03);
  white-space: nowrap;
  height: 100%;
}

.login-btn:hover {
  background: rgba(10,48,120,.08);
  border-color: rgba(10,48,120,.3);
}

.cta-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 18px rgba(211,21,30,.3);
  transition: all var(--trans);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .2px;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
}

.cta-btn:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,48,120,.35);
}
.cta-btn:hover::before { opacity: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}
.hamburger:hover { background: var(--bg-alt); }
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--trans);
  display: block;
}

/* ============ MOBILE DRAWER ============ */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(6,30,77,.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; height: 100vh;
  background: var(--white);
  z-index: 1100;
  padding: 40px 28px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-lg);
  transition: right var(--trans);
}
.drawer.open { right: 0; }

.drawer-close {
  position: absolute; top: 16px; right: 16px;
  font-size: 1.4rem; color: var(--muted);
  transition: color var(--trans);
}
.drawer-close:hover { color: var(--red); }

.drawer-links li a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color var(--trans), padding var(--trans);
}
.drawer-links li a:hover { color: var(--navy); padding-left: 8px; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(160deg, #041333 0%, #0A3078 45%, #1a4a9f 75%, #0e2e6e 100%);
  position: relative;
  overflow: hidden;
  padding: 48px 0 90px;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  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.025'%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");
  opacity: 1;
}

/* Animated particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: .35;
  animation: floatParticle linear infinite;
}
.p1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,163,224,.45), transparent 70%); top: -80px; left: -80px; animation-duration: 18s; }
.p2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(211,21,30,.4), transparent 70%); bottom: 30px; right: -40px; animation-duration: 14s; animation-delay: -4s; }
.p3 { width: 160px; height: 160px; background: radial-gradient(circle, rgba(249,199,79,.3), transparent 70%); top: 40%; left: 15%; animation-duration: 22s; animation-delay: -8s; }
.p4 { width: 120px; height: 120px; background: radial-gradient(circle, rgba(40,167,69,.35), transparent 70%); top: 20%; right: 20%; animation-duration: 16s; animation-delay: -2s; }

@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(20px, -30px) scale(1.05); }
  50%       { transform: translate(-10px, 20px) scale(.95); }
  75%       { transform: translate(30px, 10px) scale(1.02); }
}

.hero-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text { color: #fff; }

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: .6; }
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #00A3E0 0%, #6cd5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00A3E0;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 38px;
}

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

.btn-hero-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(211,21,30,.4);
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #ff2a35, #c00);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(211,21,30,.5);
}

.btn-hero-ghost {
  border: 2px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  transition: all var(--trans);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 14px 24px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
.pill {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.pill-num { font-size: 1.15rem; font-weight: 800; color: var(--gold); line-height: 1; }
.pill-lbl { font-size: .72rem; color: rgba(255,255,255,.65); font-weight: 500; margin-top: 2px; }
.pill-divider { width: 1px; height: 36px; background: rgba(255,255,255,.18); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%       { transform: translateY(-14px) rotate(-0.5deg); }
}

.hero-main-img {
  width: 100%;
  max-width: 460px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255,255,255,.15);
}

.hero-card-badge {
  position: absolute;
  bottom: -18px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(10,48,120,.2);
  font-size: .88rem;
}
.hero-card-badge .badge-icon { font-size: 1.8rem; }
.hero-card-badge b { display: block; color: var(--navy); font-weight: 700; }
.hero-card-badge small { color: var(--muted); font-size: .78rem; }

.hero-float-card {
  position: absolute;
  top: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(211,21,30,.35);
  font-size: .88rem;
  animation: heroFloat 5s ease-in-out infinite reverse;
}
.hero-float-card .float-icon { font-size: 1.8rem; }
.hero-float-card b { display: block; font-weight: 700; }
.hero-float-card small { opacity: .85; font-size: .78rem; }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.stat-desc {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ============ DIRECTOR ============ */
.director-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 70px;
  align-items: center;
}

.director-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.director-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.director-img {
  width: 300px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  display: block;
}

.director-nameplate {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  margin-top: -20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.director-nameplate b { display: block; font-size: 1.05rem; font-weight: 700; }
.director-nameplate span { font-size: .78rem; opacity: .85; font-weight: 500; }

.director-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dtag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.dtag.red { background: rgba(211,21,30,.06); border-color: rgba(211,21,30,.15); color: var(--red); }

.director-quote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
  background: rgba(10,48,120,.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
  line-height: 1.6;
}

.director-desc {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: .97rem;
}

.director-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.df-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
}

.df-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============ ACADEMICS CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ac-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,48,120,.06);
  transition: all var(--trans);
  overflow: hidden;
}

.ac-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.ac-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ac-card:hover::before { transform: scaleX(1); }

.ac-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(10,48,120,.15);
  transition: transform var(--trans);
}
.ac-card:hover .ac-icon { transform: scale(1.1) rotate(5deg); }

.ac-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.ac-card p  { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.ac-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(10,48,120,.08);
  color: var(--navy);
  border: 1px solid rgba(10,48,120,.1);
}
.ac-tag.red    { background: rgba(211,21,30,.06); color: var(--red);    border-color: rgba(211,21,30,.12); }
.ac-tag.green  { background: rgba(40,167,69,.07); color: var(--green);  border-color: rgba(40,167,69,.12); }
.ac-tag.purple { background: rgba(124,58,237,.07); color: var(--purple); border-color: rgba(124,58,237,.12); }
.ac-tag.gold   { background: rgba(249,199,79,.15); color: #b08600;      border-color: rgba(249,199,79,.3); }
.ac-tag.cyan   { background: rgba(6,182,212,.07); color: var(--cyan);   border-color: rgba(6,182,212,.12); }

/* ============ METHODOLOGIES ============ */
.method-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.method-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.method-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform var(--trans);
}
.method-img-frame:hover .method-img { transform: scale(1.04); }

.method-img-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.method-intro { color: var(--muted); font-size: .97rem; margin-bottom: 32px; line-height: 1.7; }

.method-steps { display: flex; flex-direction: column; gap: 20px; }

.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.step-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10,48,120,.25);
}

.step-info h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.step-info p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ============ FACILITIES ============ */
.facilities-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.fac-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.fac-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans);
}
.fac-img-wrap:hover .fac-img { transform: scale(1.06); }

.fac-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,48,120,.9) 0%, transparent 100%);
  padding: 30px 28px;
  color: #fff;
}
.fac-overlay h3 { font-size: 1.5rem; margin-bottom: 8px; }
.fac-overlay p  { opacity: .85; font-size: .92rem; }

.fac-col { display: flex; flex-direction: column; gap: 16px; }

.fac-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.fac-info-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(10,48,120,.12); }

.fac-info-icon { font-size: 2rem; flex-shrink: 0; }
.fac-info-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.fac-info-card p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ============ TOPPERS ============ */
.toppers-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.topper-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px 30px;
  text-align: center;
  position: relative;
  border: 2px solid rgba(10,48,120,.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  overflow: hidden;
}
.topper-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,48,120,.18);
}

.topper-ribbon {
  position: absolute;
  top: 20px; right: -28px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(40deg);
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(10,48,120,.3);
}
.red-ribbon   { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.green-ribbon { background: linear-gradient(135deg, var(--green), #1e7e34); }

.topper-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.avatar-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--navy), var(--sky)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.red-ring   { background: linear-gradient(135deg, var(--red), #ff8c8c) border-box; }
.green-ring { background: linear-gradient(135deg, var(--green), #7fe89a) border-box; }

.avatar-inner {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
}
.red-inner   { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.green-inner { background: linear-gradient(135deg, var(--green), #1e7e34); }

.topper-name { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.topper-meta { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }

.topper-achievement {
  margin-top: 18px;
  background: rgba(10,48,120,.04);
  border: 1px solid rgba(10,48,120,.1);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.5;
}
.ach-icon { display: block; font-size: 1.3rem; margin-bottom: 4px; }

.topper-bonus {
  margin-top: 12px;
  background: rgba(40,167,69,.07);
  border: 1px solid rgba(40,167,69,.2);
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: .8rem;
  font-weight: 700;
}


/* ============ CAMPUS PHOTO GALLERY ============ */
.campus-gallery-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.cg-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--trans);
}

.cg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  min-height: 280px;
}

.cg-wide {
  grid-row: span 2;
}

.cg-wide img { min-height: 580px; }

.cg-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cg-item:hover img { transform: scale(1.06); }

.cg-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,48,120,.88) 0%, rgba(10,48,120,.4) 60%, transparent 100%);
  padding: 24px 22px 22px;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--trans);
  color: #fff;
}

.cg-item:hover .cg-overlay {
  opacity: 1;
  transform: translateY(0);
}

.cg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
}
.cg-badge.navy  { background: rgba(10,48,120,.5); border-color: rgba(10,48,120,.5); }
.cg-badge.green { background: rgba(40,167,69,.45); border-color: rgba(40,167,69,.4); }

.cg-overlay h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.cg-overlay p {
  font-size: .84rem;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
  transition: all var(--trans);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,48,120,.75), transparent);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--trans);
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover span {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .88rem;
  padding: 8px 20px;
  border-radius: 20px;

}

/* ============ ENQUIRY SECTION ============ */
.enquiry-section {
  background: linear-gradient(145deg, #041333 0%, var(--navy) 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.enquiry-bg-deco {
  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.025'%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");
}

.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.enquiry-info { color: #fff; }
.enquiry-info .section-heading { margin-bottom: 18px; }
.enquiry-desc { color: rgba(255,255,255,.78); margin-bottom: 36px; font-size: .97rem; line-height: 1.7; }

.enquiry-steps-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }

.eq-step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.eq-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(211,21,30,.4);
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
  transition: all var(--trans);
}
.wa-btn:hover { background: #128c7e; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.5); }

/* Enquiry Form Card */
.enquiry-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

.enquiry-form-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-alt);
  font-family: 'Playfair Display', serif;
}

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

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.field-group input,
.field-group select,
.field-group textarea {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: all var(--trans);
  outline: none;
  width: 100%;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(10,48,120,.08);
}
.field-group textarea { resize: vertical; min-height: 90px; }

.form-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10,48,120,.25);
  transition: all var(--trans);
  border: none;
  font-family: inherit;
}
.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(211,21,30,.35);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.contact-info-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }

.cic-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10,48,120,.18);
}

.contact-info-card h4 { font-size: .97rem; color: var(--navy); margin-bottom: 6px; }
.contact-info-card p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.contact-info-card a  { color: var(--navy); font-weight: 600; transition: color var(--trans); }
.contact-info-card a:hover { color: var(--red); }

.map-card {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 360px;
}

.map-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  text-align: center;
  height: 100%;
  color: #fff;
  gap: 16px;
}

.map-pin { font-size: 3rem; }
.map-visual h4 { font-size: 1.3rem; font-weight: 700; color: #fff; }
.map-visual p  { color: rgba(255,255,255,.75); line-height: 1.7; font-size: .9rem; }

.map-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 6px 16px rgba(211,21,30,.35);
  transition: all var(--trans);
}
.map-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ============ FOOTER ============ */
.footer {
  background: #0d1d40;
  color: rgba(255,255,255,.65);
  position: relative;
  border-top: 3px solid var(--red);
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr .9fr;
  gap: 50px;
  padding: 60px 0 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
}
.footer-brand b { display: block; font-weight: 700; font-size: 1rem; }
.footer-brand small { font-size: .72rem; opacity: .7; }

.footer-desc { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.fs-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  transition: all var(--trans);
}
.fs-link:hover { background: var(--red); transform: translateY(-2px); border-color: var(--red); }

.footer-links-col h4,
.footer-programs-col h4,
.footer-contact-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.footer-links-col ul,
.footer-programs-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul a {
  font-size: .88rem;
  transition: all var(--trans);
}
.footer-links-col ul a:hover { color: #fff; padding-left: 8px; }

.footer-programs-col ul li {
  font-size: .85rem;
  padding: 3px 0;
  display: flex; align-items: center; gap: 8px;
}
.footer-programs-col ul li::before { content: '▸'; color: var(--sky); font-size: .7rem; }

.footer-contact-col p { font-size: .88rem; margin-bottom: 16px; line-height: 1.7; }
.footer-contact-col a { color: var(--gold); font-weight: 600; transition: color var(--trans); }
.footer-contact-col a:hover { color: #fff; }

.footer-cta-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .88rem;
  transition: all var(--trans);
  margin-top: 8px;
}
.footer-cta-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(4,19,51,.97);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.8rem;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: color var(--trans);
  background: none;
  border: none;
  font-family: inherit;
}
.lightbox-close:hover { color: var(--red); }

.lightbox-inner {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  border: 4px solid rgba(255,255,255,.15);
  transform: scale(.9);
  transition: transform var(--trans);
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lb-img {
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lb-caption {
  background: #fff;
  color: var(--navy);
  padding: 14px 24px;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
}

/* ============ SUCCESS MODAL ============ */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(4,19,51,.85);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.modal-bg.open { opacity: 1; pointer-events: all; }

.success-modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: scale(.9);
  transition: transform var(--trans);
}
.modal-bg.open .success-modal-card { transform: scale(1); }

.sm-icon { font-size: 3.5rem; margin-bottom: 18px; }
.success-modal-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.success-modal-card p  { color: var(--muted); margin-bottom: 28px; line-height: 1.6; }

.sm-close-btn {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  box-shadow: 0 6px 18px rgba(10,48,120,.25);
}
.sm-close-btn:hover { background: linear-gradient(135deg, var(--red), var(--red-dark)); transform: translateY(-2px); }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  z-index: 999;
  animation: floatWa 4s ease-in-out infinite;
  transition: all var(--trans);
}
.wa-float:hover { background: #128c7e; transform: scale(1.12); box-shadow: 0 10px 28px rgba(37,211,102,.6); }

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

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(30,41,59,.9);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-content-wrap { grid-template-columns: 1fr; gap: 50px; }
  .hero-text { text-align: center; }
  .hero-badge-pill, .hero-actions, .hero-pills { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { justify-content: center; }
  .hero-main-img { max-width: 380px; height: 320px; }

  .director-wrap { grid-template-columns: 1fr; gap: 50px; }
  .director-photo-col { order: 1; }
  .director-content-col { order: 2; }

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

  .method-wrap { grid-template-columns: 1fr; gap: 50px; }
  .method-img { height: 360px; }

  .facilities-grid { grid-template-columns: 1fr; }
  .fac-img-wrap { height: 320px; }

  .campus-gallery-grid { grid-template-columns: 1fr; }
  .cg-wide { grid-row: span 1; }
  .cg-wide img { min-height: 320px; }
  .cg-item img { min-height: 220px; }

  .toppers-wrap { grid-template-columns: 1fr 1fr; gap: 24px; }
  .toppers-wrap .topper-card:last-child { grid-column: 1/-1; max-width: 360px; margin: 0 auto; width: 100%; }

  .enquiry-wrap { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:last-child { grid-column: 1/-1; height: 260px; }
}

@media (max-width: 768px) {
  .nav-inner { height: 70px; }
  .brand { padding-right: 0; border-right: none; gap: 10px; }
  .brand-logo { height: 48px; }
  .brand-name { font-size: .95rem; }
  .brand-sub { font-size: .55rem; letter-spacing: 1px; }

  .hero { min-height: auto; padding: 70px 0 100px; }
  .hero-heading { font-size: 2.4rem; }
  .hero-main-img { max-width: 100%; height: 260px; }
  .hero-float-card { display: none; }
  .hero-card-badge { bottom: -14px; left: 0; font-size: .8rem; padding: 10px 14px; }

  .section { padding: 70px 0; }
  .section-heading { font-size: 2rem; }

  .nav-links, .nav-actions, .cta-btn { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  .stats-inner { gap: 16px; }
  .stat-sep { display: none; }

  .cards-grid { grid-template-columns: 1fr; }
  .toppers-wrap { grid-template-columns: 1fr; }
  .toppers-wrap .topper-card:last-child { grid-column: auto; max-width: 100%; }

  .field-row { grid-template-columns: 1fr; }
  .enquiry-form-card { padding: 28px 22px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:last-child { grid-column: auto; height: 280px; }

  .director-img { width: 260px; height: 320px; }

  /* Top bar on mobile */
  .top-contacts .contact-chip:nth-child(2),
  .top-contacts .contact-chip:nth-child(3) { display: none; }
  .ticker-wrapper { display: none; }
  .top-bar-admissions { font-size: .72rem; padding: 3px 10px; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 1.9rem; }
  .hero-pills { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .pill-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; text-align: center; }
  .director-features { grid-template-columns: 1fr; }
  .wa-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
}
