/* ============================================================================
   NAVA BHARATH NATIONAL SCHOOL — ULTRA-POLISHED HOMEPAGE DESIGN SYSTEM
   ========================================================================= */

.nb {
  /* Ultra-Rich Brand Palette */
  --navy:        #002B5C;
  --navy-deep:   #001530;
  --navy-soft:   #0C3D75;
  --accent:      #F97316;
  --accent-dk:   #C2410C;
  --accent-lt:   #FF9E43;
  --gold:        #F59E0B;
  --gold-glow:   #FBBF24;

  --ink:         #0F172A;
  --body:        #334155;
  --muted:       #64748B;
  --line:        #E2E8F0;
  --surface:     #F8FAFC;
  --cream:       #FFFDF9;
  --white:       #FFFFFF;

  --radius-sm:   12px;
  --radius:      18px;
  --radius-lg:   26px;
  --radius-xl:   34px;

  /* Responsive spacing rhythm */
  --gap:         clamp(36px, 4.2vw, 64px);
  --display:     clamp(34px, 4.5vw, 56px);
  --title:       clamp(25px, 3.2vw, 38px);

  --shadow-sm:   0 4px 14px rgba(0, 43, 92, .06);
  --shadow:      0 14px 40px rgba(0, 43, 92, .12);
  --shadow-lg:   0 30px 70px rgba(0, 43, 92, .20);
  --shadow-glow: 0 16px 42px rgba(249, 115, 22, .35);

  --ease: cubic-bezier(.22, 1, .36, 1);

  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.nb *, .nb *::before, .nb *::after { box-sizing: border-box; }

.nb-wrap {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}
.nb-wrap--narrow { width: min(980px, 100% - 48px); }

.nb-section { padding-block: var(--gap); position: relative; }
.nb-section--tint  { background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%); }
.nb-section--cream { background: linear-gradient(180deg, #FFFBF5 0%, #FFFDF9 100%); }
.nb-section--navy  { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); color: rgba(255,255,255,.9); }

/* Glassmorphism helpers */
.nb-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 36px rgba(0, 43, 92, 0.08);
}

.nb-glass-dark {
  background: rgba(0, 21, 48, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* Typography */
.nb h1, .nb h2, .nb h3, .nb h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}

.nb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
}
.nb-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 2s infinite;
}
.nb-section--navy .nb-eyebrow {
  background: rgba(255, 158, 67, 0.16);
  border-color: rgba(255, 158, 67, 0.4);
  color: var(--accent-lt);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.nb-head { max-width: 1100px; margin-bottom: clamp(24px, 2.8vw, 38px); }
.nb-head--center { margin-inline: auto; text-align: center; max-width: 1100px; }
.nb-head--center .nb-eyebrow { margin-inline: auto; }

.nb-title { font-size: var(--title); }
.nb-lead  { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.75; color: var(--body); margin: 18px 0 0; }

.nb-section--navy .nb-title,
.nb-section--navy h3 { color: #fff; }
.nb-section--navy .nb-lead { color: rgba(255,255,255,.85); }

/* Buttons & Shimmer Animations */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  border: 1.6px solid transparent;
  cursor: pointer;
  transition: all .38s var(--ease);
  position: relative;
  overflow: hidden;
}
.nb-btn::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
}
.nb-btn:hover::after { animation: shimmer 1.2s infinite; }

.nb-btn i { font-size: 13px; transition: transform .3s var(--ease); }
.nb-btn:hover i { transform: translateX(6px); }

.nb-btn--primary {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45);
}
.nb-btn--primary:hover {
  background: linear-gradient(135deg, #FF8C38 0%, #F97316 100%);
  color: #ffffff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.6);
}

.nb-btn--dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 43, 92, 0.35);
}
.nb-btn--dark:hover {
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 43, 92, 0.5);
}

.nb-btn--ghost {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.45);
  color: #fff;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.nb-btn--ghost:hover {
  background: rgba(255,255,255,.28);
  border-color: #fff;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}


/* ============================================================================
   HERO SECTION
   ========================================================================= */
.nb-hero {
  position: relative;
  min-height: min(85vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  padding-top: 145px; /* Clears fixed topbar & logo */
}
.nb-hero__media { position: absolute; inset: 0; }
.nb-hero__media img,
.nb-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: nb-drift 24s ease-in-out infinite alternate;
}
@keyframes nb-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(0, -2%, 0); }
}

.nb-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249,115,22,0.22) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(12,61,117,0.4) 0%, transparent 60%),
    linear-gradient(to top, rgba(0,21,48,.97) 0%, rgba(0,21,48,.68) 45%, rgba(0,21,48,.38) 100%),
    linear-gradient(to right, rgba(0,21,48,.82) 0%, transparent 70%);
}

.nb-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(20px, 3.5vw, 50px);
}

.nb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(16px);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.nb-hero__badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulseDot 2s infinite;
}

.nb-hero h1 {
  color: #fff;
  font-size: var(--display);
  max-width: 16ch;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.nb-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #FF9E43 0%, #F97316 50%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(249,115,22,0.4));
}

.nb-hero__lead {
  color: rgba(255,255,255,.90);
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  line-height: 1.68;
  max-width: 58ch;
  margin: 0 0 26px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.nb-hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 36px; }

/* Hero Features Bar */
.nb-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.nb-hero__feat {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.92);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nb-hero__feat i {
  color: var(--accent-lt);
  font-size: 15px;
  filter: drop-shadow(0 0 6px rgba(249,115,22,0.5));
}

/* Scroll Cue */
.nb-hero__cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nb-hero__cue::after {
  content: "";
  width: 2px; height: 34px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), transparent);
  animation: nb-cue 2s ease-in-out infinite;
}
@keyframes nb-cue { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Entrance Animations */
.nb-hero__badge, .nb-hero h1, .nb-hero__lead, .nb-hero__cta, .nb-hero__features {
  animation: nb-rise .9s var(--ease) backwards;
}
.nb-hero__badge { animation-delay: .08s; }
.nb-hero h1 {
  color: #fff;
  font-size: var(--display);
  max-width: 16ch;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.nb-hero__lead {
  color: rgba(255,255,255,.90);
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  line-height: 1.68;
  max-width: 58ch;
  margin: 0 0 26px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.nb-hero__cta   { animation-delay: .50s; }
.nb-hero__features { animation-delay: .64s; }
@keyframes nb-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }


/* ============================================================================
   STATS COUNTER BAR WITH NEON ACCENTS
   ========================================================================= */
.nb-stats {
  background: linear-gradient(135deg, #001229 0%, var(--navy) 100%);
  border-bottom: 4px solid var(--accent);
  padding-block: clamp(22px, 2.5vw, 36px);
  position: relative;
  z-index: 10;
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);
}
.nb-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nb-stat {
  text-align: center;
  position: relative;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  transition: all .38s var(--ease);
}
.nb-stat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(249, 115, 22, 0.2);
}

.nb-stat__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.2);
  color: var(--accent-lt);
  display: grid; place-items: center;
  font-size: 18px;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.nb-stat__v {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF 0%, #FED7AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.nb-stat__v i { font-style: normal; color: var(--accent); -webkit-text-fill-color: var(--accent); }

.nb-stat__l {
  margin-top: 10px;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(255,255,255,.90);
  text-transform: uppercase;
}


/* ============================================================================
   TICKER BAR
   ========================================================================= */
.nb-ticker {
  background: #000E21;
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.12);
}
.nb-ticker__row { display: flex; gap: 0; width: max-content; animation: nb-scroll 38s linear infinite; }
.nb-ticker:hover .nb-ticker__row { animation-play-state: paused; }
.nb-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(16px, 1.85vw, 23px);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  color: rgba(255,255,255,.95);
}
.nb-ticker span::after { content: "\2022"; color: var(--accent); font-size: 1.25em; }
@keyframes nb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ============================================================================
   PILLARS / HIGHLIGHTS SECTION
   ========================================================================= */
.nb-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }

.nb-pillar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(0, 43, 92, .07);
  border: 1px solid rgba(0, 43, 92, .07);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}

.nb-pillar:nth-child(1) { background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%); border-top-color: #3B82F6; }
.nb-pillar:nth-child(2) { background: linear-gradient(180deg, #FFFFFF 0%, #ECFDF5 100%); border-top-color: #10B981; }
.nb-pillar:nth-child(3) { background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%); border-top-color: #8B5CF6; }
.nb-pillar:nth-child(4) { background: linear-gradient(180deg, #FFFFFF 0%, #FFF7ED 100%); border-top-color: #F97316; }
.nb-pillar:nth-child(5) { background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%); border-top-color: #0EA5E9; }

.nb-pillar:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow: 0 24px 48px rgba(0, 43, 92, .16), 0 6px 16px rgba(249, 115, 22, .10);
}

.nb-pillar__no {
  position: absolute;
  right: 14px; top: -16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 43, 92, .05);
  pointer-events: none;
  transition: all .45s var(--ease);
}
.nb-pillar:hover .nb-pillar__no { transform: translateY(10px) scale(1.1); color: rgba(0, 43, 92, .14); }

.nb-pillar__icon {
  width: 56px; height: 52px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 21px; color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform .45s var(--ease);
}
.nb-pillar:hover .nb-pillar__icon { transform: rotate(-9deg) scale(1.12); }

.nb-pillar h3 { font-size: 21px; margin-bottom: 12px; color: var(--ink); }
.nb-pillar p { font-size: 15px; line-height: 1.7; margin: 0; color: var(--body); }

@media (min-width: 900px) {
  .nb-pillar:nth-child(even) { transform: translateY(20px); }
  .nb-pillar:nth-child(even):hover { transform: translateY(8px) scale(1.025); }
}


/* ============================================================================
   ABOUT SECTION WITH FEATURE BADGES
   ========================================================================= */
.nb-about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(38px, 5vw, 84px); align-items: center; }

.nb-about__note {
  padding: 14px 18px;
  border-left: 5px solid var(--accent);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 100%);
  border-radius: 0 18px 18px 0;
  margin: 26px 0 30px;
  box-shadow: 0 6px 24px rgba(0, 43, 92, .06);
}
.nb-about__note strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 5px; font-family: 'Fraunces', Georgia, serif; }
.nb-about__note span { font-size: 14.5px; color: var(--muted); font-weight: 600; }

.nb-about p { font-size: 16px; line-height: 1.82; margin: 0 0 20px; color: var(--body); }

.nb-about__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 28px;
}
.nb-about__feat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #F1F5F9;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.nb-about__feat i { color: var(--accent); }

.nb-about__media { position: relative; }
.nb-about__media > img {
  width: 100%; display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  transition: transform 0.4s var(--ease);
}
.nb-about__media > img:hover { transform: scale(1.02); }

@media (min-width: 981px) {
  .nb-about { grid-template-columns: 1fr 1.08fr; }
  .nb-about__media { padding-bottom: 54px; }
  .nb-about__stack {
    position: absolute;
    right: -30px; bottom: 0;
    width: auto;
    max-width: 330px;
    display: block;
    margin: 0;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 43, 92, .22);
    border: 1px solid rgba(0, 43, 92, .09);
  }
  .nb-about__stack img { border-radius: var(--radius); width: 100%; display: block; }
}


/* ============================================================================
   VISION & MISSION
   ========================================================================= */
.nb-vm { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 30px; }

.nb-vm__card {
  background: #ffffff;
  border: 1px solid rgba(0, 43, 92, .09);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.5vw, 36px);
  box-shadow: 0 12px 36px rgba(0, 43, 92, .07);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}
.nb-vm__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(0, 43, 92, .15);
}

.nb-vm__card::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--gold) 100%);
}
.nb-vm__card:nth-child(2)::before {
  background: linear-gradient(180deg, var(--navy-soft) 0%, var(--navy) 100%);
}

.nb-vm__card h3 { font-size: 26px; margin-bottom: 24px; color: var(--navy); }

.nb-vm__list { list-style: none; margin: 0; padding: 0; }
.nb-vm__list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body);
}
.nb-vm__list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 2px;
  font-size: 17px;
  color: var(--accent);
}
.nb-vm__card:nth-child(2) .nb-vm__list li::before {
  color: var(--navy-soft);
}


/* ============================================================================
   CAMPUS LIFE & MAGAZINES
   ========================================================================= */
.nb-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 0 0 26px;
}
.nb-sub::after {
  content: "";
  display: block;
  width: 54px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  margin: 14px auto 0;
}

.nb-mags { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-bottom: 42px; }

.nb-mag { width: clamp(230px, 22vw, 270px); 
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 43, 92, .09);
  box-shadow: 0 10px 28px rgba(0, 43, 92, .09);
  transition: all .42s var(--ease);
}
.nb-mag:hover {
  transform: translateY(-12px) rotate(1.2deg);
  box-shadow: 0 24px 52px rgba(0, 43, 92, .20);
  border-color: rgba(249, 115, 22, .4);
}

.nb-mag img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; transition: transform .55s var(--ease); }
.nb-mag:hover img { transform: scale(1.06); }

.nb-mag span {
  display: block;
  padding: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  transition: color .3s;
}
.nb-mag:hover span { color: var(--accent-dk); }

/* Scroll Rail */
.nb-railwrap { position: relative; }
.nb-railwrap::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 22px;
  width: 90px;
  background: linear-gradient(to right, transparent, var(--fade, #fff));
  pointer-events: none;
}

.nb-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 8px 24px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.nb-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.nb-rail::-webkit-scrollbar { height: 8px; }
.nb-rail::-webkit-scrollbar-thumb { background: #CBD6E6; border-radius: 100px; }

.nb-photo {
  width: clamp(210px, 26vw, 280px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,43,92,.09);
  cursor: pointer;
  transition: all .42s var(--ease);
}
.nb-photo img { width: 100%; height: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; transition: transform .55s var(--ease); }
.nb-photo:hover { transform: translateY(-10px) scale(1.025); box-shadow: 0 20px 45px rgba(0,43,92,.2); }
.nb-photo:hover img { transform: scale(1.09); }

.nb-ach {
  width: clamp(250px, 29vw, 330px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,43,92,.09);
  cursor: pointer;
  transition: all .42s var(--ease);
}
.nb-ach img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; transition: transform .55s var(--ease); }
.nb-ach:hover { transform: translateY(-10px) scale(1.025); box-shadow: 0 20px 45px rgba(0,43,92,.2); }
.nb-ach:hover img { transform: scale(1.09); }


/* ============================================================================
   SCHOLARSHIP BANNER
   ========================================================================= */
.nb-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #001229 0%, #002B5C 50%, #0C3D75 100%);
  color: #fff;
  padding-block: clamp(38px, 4.5vw, 62px);
  box-shadow: 0 22px 56px rgba(0,21,48,0.35);
}
.nb-band::after {
  content: "";
  position: absolute;
  right: -90px; top: -90px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.3) 0%, transparent 70%);
  pointer-events: none;
}
.nb-band .nb-wrap { position: relative; z-index: 1; }
.nb-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; flex-wrap: wrap; }
.nb-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.nb-band p { color: rgba(255,255,255,.90); margin: 0; max-width: 60ch; line-height: 1.75; font-size: 16.5px; }


/* ============================================================================
   TESTIMONIALS SECTION
   ========================================================================= */
.nb-quote {
  width: clamp(280px, 32vw, 360px);
  background: #ffffff;
  border: 1px solid rgba(0, 43, 92, .09);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 12px 34px rgba(0, 43, 92, .07);
  display: flex;
  flex-direction: column;
  transition: all .42s var(--ease);
}
.nb-quote:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 54px rgba(0, 43, 92, .16);
  border-color: rgba(249, 115, 22, .35);
}

.nb-rating {
  color: #F59E0B;
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  gap: 5px;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.nb-quote__mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  line-height: .8;
  color: var(--accent);
  opacity: .45;
  margin-bottom: 14px;
}

.nb-quote__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  margin: 0 0 24px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nb-quote__who {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 43, 92, .09);
}
.nb-quote__who img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2.5px solid var(--accent);
  padding: 2px;
  box-shadow: 0 6px 16px rgba(249, 115, 22, .25);
}
.nb-quote__name { font-family: 'Fraunces', Georgia, serif; font-size: 17.5px; font-weight: 700; color: var(--navy); }
.nb-quote__role { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 3px; font-weight: 600; }


/* ============================================================================
   ADMISSION ENQUIRY STEP WIZARD
   ========================================================================= */
.nb-admit { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(38px, 5vw, 76px); align-items: center; }

.nb-admit__points { list-style: none; margin: 30px 0 0; padding: 0; }
.nb-admit__points li { display: flex; gap: 18px; margin-bottom: 24px; }
.nb-admit__points i {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: rgba(249,115,22,.22);
  color: #FFA04D;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(249,115,22,.20);
}
.nb-admit__points strong { display: block; color: #fff; font-size: 17.5px; margin-bottom: 4px; font-family: 'Fraunces', Georgia, serif; }
.nb-admit__points span { font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.65; }

.nb-formcard {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(22px, 2.8vw, 36px);
  box-shadow: 0 28px 72px rgba(0, 21, 48, .32);
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.nb-formcard h3 { font-size: 26px; margin-bottom: 6px; color: var(--navy); }
.nb-formcard > p { font-size: 14.5px; color: var(--muted); margin: 0 0 28px; }

/* Steps indicator */
.nb-fsteps { list-style: none; display: flex; gap: 10px; margin: 0 0 18px; padding: 0; }
.nb-fdot { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nb-fdot__n {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13.5px; font-weight: 800;
  background: #F1F5F9;
  color: var(--muted);
  transition: all .35s var(--ease);
}
.nb-fdot__t {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .3s;
}
.nb-fdot.is-on .nb-fdot__n {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, .25);
}
.nb-fdot.is-on .nb-fdot__t { color: var(--navy); }
.nb-fdot.is-done .nb-fdot__n { background: var(--navy); color: #fff; }
.nb-fdot.is-done .nb-fdot__t { color: var(--body); }

.nb-fbar {
  height: 6px;
  border-radius: 100px;
  background: #F1F5F9;
  overflow: hidden;
  margin-bottom: 28px;
}
.nb-fbar span {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .45s var(--ease);
}

.nb-fstep { display: none; }
.nb-fstep.is-on { display: block; animation: nb-fin .4s var(--ease); }
@keyframes nb-fin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

.nb-fstep__head { margin-bottom: 22px; }
.nb-fstep__head h4 { font-size: 21px; margin-bottom: 5px; color: var(--navy); }
.nb-fstep__head p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Form inputs */
.nb-formcard br { display: none; }
.nb-formcard .form-group { margin-bottom: 20px; }

.nb-formcard label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.nb-formcard label span { color: #C2410C !important; }

.nb-formcard .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #F8FAFC;
  transition: all .28s;
  appearance: none;
}
.nb-formcard select.form-control {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237A8699' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.nb-formcard .form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .22);
}

.nb-fnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.nb-fbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1.6px solid transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.nb-fbtn i { font-size: 13px; transition: transform .3s var(--ease); }
.nb-fbtn--go {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(249, 115, 22, .42);
}
.nb-fbtn--go:hover {
  background: linear-gradient(135deg, #FF8C38 0%, #F97316 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(249, 115, 22, .55);
}
.nb-fbtn--go:hover i { transform: translateX(6px); }
.nb-fbtn--back { background: #fff; color: var(--navy); border-color: var(--line); }
.nb-fbtn--back:hover { border-color: var(--navy); transform: translateY(-3px); }


/* ============================================================================
   NEWS & EVENTS SECTION
   ========================================================================= */
.nb-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.nb-news__card {
  background: #ffffff;
  border: 1px solid rgba(0, 43, 92, .09);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 43, 92, .07);
  transition: all .42s var(--ease);
}
.nb-news__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 54px rgba(0, 43, 92, .16);
}

.nb-news__img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.nb-news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.nb-news__card:hover .nb-news__img img { transform: scale(1.09); }

.nb-news__body { padding: 20px 22px 24px; }
.nb-news__date { font-size: 13px; font-weight: 800; color: var(--accent-dk); letter-spacing: .06em; margin-bottom: 10px; text-transform: uppercase; }
.nb-news__body h3 { font-size: 21px; margin-bottom: 12px; color: var(--navy); }
.nb-news__body p { font-size: 15px; line-height: 1.72; margin: 0; color: var(--body); }


/* ============================================================================
   REVEAL & RESPONSIVE
   ========================================================================= */
.nb-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.nb-reveal.is-in { opacity: 1; transform: none; }

.nb-reveal[data-d="1"] { transition-delay: .08s; }
.nb-reveal[data-d="2"] { transition-delay: .16s; }
.nb-reveal[data-d="3"] { transition-delay: .24s; }
.nb-reveal[data-d="4"] { transition-delay: .32s; }

@media (max-width: 980px) {
  .nb-about, .nb-admit { grid-template-columns: 1fr; }
  .nb-about__media { order: -1; }
}

@media (max-width: 767px) {
  .nb-wrap, .nb-wrap--narrow { width: min(100% - 32px, 100%); }
  .nb-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .nb-hero {
  position: relative;
  min-height: min(85vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  padding-top: 145px; /* Clears fixed topbar & logo */
}
  .nb-hero h1 {
  color: #fff;
  font-size: var(--display);
  max-width: 16ch;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
  .nb-hero__cta { flex-direction: column; }
  .nb-hero__cta .nb-btn { width: 100%; }
  .nb-about__stack { grid-template-columns: 1fr; }
}


/* ============================================================================
   HEADER NAVBAR LINK COLOR OVERRIDES (WHITE ON HERO)
   ========================================================================= */
/* Default navigation link color for white/light navbar background */
.nav-links a,
.navigation > li > a {
  color: #000000 !important;
  font-size: 15px;
  font-weight: 700;
  text-shadow: none !important;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.navigation > li > a:hover {
  color: #F97316 !important;
}

/* White text for home page hero overlay (unscrolled state) */
body.home-page:not(.scrolled) .navbar:not(.scrolled) .nav-links a,
body.home-page:not(.scrolled) .navigation > li > a {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

body.home-page:not(.scrolled) .navbar:not(.scrolled) .nav-links a:hover,
body.home-page:not(.scrolled) .navigation > li > a:hover {
  color: #FF9E43 !important;
}

/* Scrolled / Sticky Desktop Header Solid Black Menu Text Overrides */
body.scrolled .nav-links a,
body.scrolled .nav-links .navigation > li > a,
body.scrolled .navbar .nav-links a,
body.scrolled .navbar .nav-links .navigation > li > a,
.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-links .navigation > li > a {
  color: #000000 !important;
  text-shadow: none !important;
}

body.scrolled .nav-links a:hover,
body.scrolled .nav-links .navigation > li > a:hover,
body.scrolled .navbar .nav-links a:hover,
body.scrolled .navbar .nav-links .navigation > li > a:hover {
  color: #F97316 !important;
  text-shadow: none !important;
}

/* Ensure Mobile Menu Links STAY Pure White on Scroll */
body.scrolled .mobile-menu a,
body.scrolled .mobile-menu ul a,
body.scrolled .mobile-menu .navigation a,
body.scrolled .mobile-menu .navigation > li > a,
body.scrolled .mobile-menu .navigation > li > a:visited,
.mobile-menu a,
.mobile-menu ul a,
.mobile-menu .navigation a,
.mobile-menu .navigation > li > a {
  color: #ffffff !important;
  text-shadow: none !important;
}

body.scrolled .mobile-menu a:hover,
body.scrolled .mobile-menu a:focus,
body.scrolled .mobile-menu a:active,
body.scrolled .mobile-menu .navigation a:hover,
body.scrolled .mobile-menu .navigation > li > a:hover,
.mobile-menu a:hover,
.mobile-menu .navigation > li > a:hover {
  color: #FF9E43 !important;
  background: rgba(249, 115, 22, 0.22) !important;
  padding-left: 30px !important;
}

.nav-links a.btn-alumni {
  color: #ffffff !important;
  background-color: #F97316 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  text-shadow: none !important;
}

/* Hide hero scroll cue button as requested */
.nb-hero__cue { display: none !important; }


/* ============================================================================
   PARENT VIDEO STORIES REDESIGN
   ========================================================================= */
.nb-parents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.nb-parent-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 43, 92, 0.08);
  border: 1px solid rgba(0, 43, 92, 0.08);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.nb-parent-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 48px rgba(0, 43, 92, 0.18), 0 0 20px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
}

.nb-parent-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.nb-parent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.nb-parent-card:hover .nb-parent-card__media img {
  transform: scale(1.08);
}

.nb-parent-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,21,48,0.7) 0%, transparent 60%);
}

.nb-parent-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #ffffff;
  display: grid; place-items: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
  z-index: 2;
  transition: all 0.35s var(--ease);
}

.nb-parent-card:hover .nb-parent-card__play {
  transform: translate(-50%, -50%) scale(1.15);
  background: linear-gradient(135deg, #FF8C38 0%, #F97316 100%);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.7);
}

.nb-parent-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 21, 48, 0.75);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nb-parent-card__badge i { color: #F97316; }

.nb-parent-card__info {
  padding: 18px 20px 22px;
  background: #ffffff;
}

.nb-parent-card__info h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.35;
}

.nb-parent-card__info span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}


/* Sticky Navbar Flush Top Fix */
body.scrolled .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 43, 92, 0.12) !important;
  z-index: 99999 !important;
}


/* ============================================================================
   COMPACT VIDEO POPUP PLAYER
   ========================================================================= */
.nb-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  animation: modalFadeIn 0.3s var(--ease);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.nb-video-modal__box {
  position: relative;
  width: 100%;
  max-width: 560px; /* Compact luxury frame */
  background: #001530;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(249, 115, 22, 0.2);
  overflow: hidden;
}

.nb-video-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nb-video-modal__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nb-video-modal__title i {
  color: #F97316;
  font-size: 16px;
}

.nb-video-modal__close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.nb-video-modal__close:hover {
  background: #F97316;
  border-color: #F97316;
  color: #ffffff;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.6);
}

.nb-video-modal__player {
  position: relative;
  width: 100%;
  background: #000000;
  aspect-ratio: 16/9;
}

.nb-video-modal__player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ============================================================================
   REGISTER AS ALUMNI BUTTON STYLING (ALWAYS WHITE TEXT)
   ========================================================================= */
.btn-primary.btn-alumni,
a.btn-primary.btn-alumni,
body.scrolled .btn-primary.btn-alumni,
body.scrolled a.btn-primary.btn-alumni {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45) !important;
  transition: all 0.3s var(--ease) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.btn-primary.btn-alumni:hover,
a.btn-primary.btn-alumni:hover,
body.scrolled .btn-primary.btn-alumni:hover,
body.scrolled a.btn-primary.btn-alumni:hover {
  background: linear-gradient(135deg, #FF8C38 0%, #F97316 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.65) !important;
}


/* ============================================================================
   ULTRA-COMPACT MOBILE RESPONSIVE SYSTEM
   ========================================================================= */
@media (max-width: 860px) {
  /* Wrappers & Section Padding */
  .nb-wrap { width: min(100% - 32px, 1280px) !important; }
  .nb-section { padding-block: clamp(32px, 5.5vw, 48px) !important; }

  /* Header & Logo */
  .nav-container { padding: 10px 16px !important; }
  .logo img { height: 58px !important; }
  .header-image { display: none !important; }

  /* Mobile toggle button */
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #F97316 !important;
    color: #ffffff !important;
    border: none !important;
    width: 42px !important; height: 42px !important;
    border-radius: 12px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4) !important;
  }

  /* Hero Section Mobile Spacing Fix */
  .nb-hero {
    min-height: auto !important;
    padding-top: 145px !important; /* Generous breathing room below fixed logo box */
    padding-bottom: 44px !important;
  }
  .nb-hero__inner { padding-block: 22px 14px !important; }
  .nb-hero h1 {
    font-size: clamp(28px, 7.2vw, 38px) !important;
    max-width: 100% !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }
  .nb-hero__badge {
    font-size: 12px !important;
    padding: 9px 18px !important;
    margin-top: 6px !important;
    margin-bottom: 20px !important;
  }
  .nb-hero__lead {
    font-size: 14.5px !important;
    line-height: 1.68 !important;
    margin-bottom: 26px !important;
  }
  .nb-hero__cta {
    flex-direction: column !important;
    width: 100% !important;
    gap: 14px !important;
    margin-bottom: 30px !important;
  }
  .nb-hero__cta .nb-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 15px 24px !important;
    font-size: 15px !important;
  }
  .nb-hero__features {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-top: 14px !important;
    font-size: 12.5px !important;
  }

  /* Stats Bar: 2x2 grid on mobile */
  .nb-stats__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .nb-stat { padding: 14px 10px !important; }
  .nb-stat__v { font-size: 22px !important; }
  .nb-stat__l { font-size: 11px !important; }

  /* Pillars */
  .nb-pillars {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .nb-pillar { padding: 20px 18px !important; }

  /* About Section */
  .nb-about {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .nb-about__features {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* Vision & Mission */
  .nb-vm {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .nb-vm__card { padding: 20px 18px !important; }

  /* Magazines: 2 per row on tablets/mobiles */
  .nb-mags {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .nb-mag { width: 100% !important; }

  /* Scholarship Band */
  .nb-band__inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 18px !important;
    padding: 24px 18px !important;
  }
  .nb-band__inner h2 { font-size: 24px !important; }

  /* Parents Video Grid */
  .nb-parents-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Admission Form */
  .nb-admit {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .nb-formcard { padding: 22px 18px !important; }
  .nb-fdot__t { display: none !important; } /* Compact dot titles */

  /* News Cards */
  .nb-news {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

@media (max-width: 520px) {
  .nb-wrap { width: min(100% - 24px, 1280px) !important; }

  .nb-stats__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .nb-stat { padding: 12px 8px !important; }
  .nb-stat__v { font-size: 20px !important; }

  .nb-mags {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}


/* ============================================================================
   HERO 2-COLUMN SPLIT GRID & RIGHT SIDE FLOATING GLASS CARD
   ========================================================================= */
.nb-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.nb-hero__card {
  background: rgba(0, 21, 48, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(249, 115, 22, 0.18);
  animation: heroCardFloat 6s ease-in-out infinite alternate;
}

@keyframes heroCardFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.nb-hero__card-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nb-hero__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.nb-hero__card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nb-hero__card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s var(--ease);
}

.nb-hero__card-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateX(6px);
}

.nb-hero__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.nb-hero__card-item h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px;
  line-height: 1.3;
}

.nb-hero__card-item p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

/* Responsive adjustment for Hero Split Grid */
@media (max-width: 992px) {
  .nb-hero__grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .nb-hero__card {
    max-width: 100% !important;
    margin-top: 16px !important;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
  }
}


/* ============================================================================
   ABOUT SECTION MEDIA STACK MOBILE RESPONSIVE FIX
   ========================================================================= */
@media (max-width: 980px) {
  .nb-about {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .nb-about__media {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 0 !important;
    margin-top: 10px !important;
  }

  .nb-about__media > img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-lg) !important;
    border: 4px solid #ffffff !important;
    box-shadow: 0 12px 32px rgba(0, 43, 92, 0.14) !important;
  }

  .nb-about__stack {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    max-width: fit-content !important;
    display: block !important;
    margin-top: 14px !important;
    padding: 14px !important;
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid rgba(0, 43, 92, 0.08) !important;
    box-shadow: 0 10px 28px rgba(0, 43, 92, 0.10) !important;
  }

  .nb-about__stack img {
    width: 100% !important;
    max-width: 300px !important;
    max-height: 180px !important;
    object-fit: contain !important;
    border-radius: var(--radius) !important;
    display: block !important;
  }
}


/* ============================================================================
   MOBILE MENU REDESIGN & DROPDOWN ARROW FIX
   ========================================================================= */
.mobile-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: rgba(0, 21, 48, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-bottom: 2px solid rgba(249, 115, 22, 0.4) !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
  padding: 6px 0 10px !important;
  z-index: 99999 !important;
  overflow: hidden !important;
  max-height: 78vh !important;
  overflow-y: auto !important;
}

.mobile-menu.active {
  display: block !important;
  animation: mobileMenuSlide 0.35s var(--ease) !important;
}

@keyframes mobileMenuSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-menu li {
  position: relative !important;
}

.mobile-menu a,
.mobile-menu ul a,
.mobile-menu .navigation a,
.mobile-menu .navigation > li > a,
.mobile-menu .navigation > li > a:visited {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 20px !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.25s ease !important;
  text-shadow: none !important;
  background: transparent !important;
}

.mobile-menu a:hover,
.mobile-menu a:focus,
.mobile-menu a:active,
.mobile-menu .navigation a:hover,
.mobile-menu .navigation > li > a:hover,
.mobile-menu .navigation > li.active > a,
.mobile-menu .navigation > li > a.active {
  background: rgba(249, 115, 22, 0.22) !important;
  color: #FF9E43 !important;
  padding-left: 30px !important;
}

/* Remove old garbled pseudo content */
.mobile-menu .dropdown-hd > a::after {
  content: "" !important;
  display: none !important;
}

/* Styled mobile dropdown arrow */
.mobile-menu .mob-arrow {
  font-size: 13px !important;
  color: #F97316 !important;
  transition: transform 0.3s var(--ease) !important;
}

.mobile-menu .dropdown-hd.open > a .mob-arrow {
  transform: rotate(180deg) !important;
}

/* Mobile Dropdown Submenu */
.mobile-menu .dropdown-menu {
  display: none !important;
  padding: 4px 0 !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-left: 3px solid #F97316 !important;
  margin: 4px 16px !important;
  border-radius: var(--radius-sm) !important;
}

.mobile-menu .dropdown-hd.open .dropdown-menu {
  display: flex !important;
  flex-direction: column !important;
}

.mobile-menu .dropdown-menu a {
  padding: 8px 18px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.mobile-menu .dropdown-menu a:hover {
  color: #ffffff !important;
  background: rgba(249, 115, 22, 0.2) !important;
  padding-left: 26px !important;
}

/* Mobile Register as Alumni Button */
.mobile-menu .btn-primary.btn-alumni {
  margin: 10px 20px 4px !important;
  width: calc(100% - 40px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
  color: #ffffff !important;
  padding: 11px 20px !important;
  border-radius: 100px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.5) !important;
  text-align: center !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}


/* ============================================================================
   HERO RIGHT SIDE LIGHT FROSTED GLASS CARD THEME
   ========================================================================= */
.nb-hero__card {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: var(--radius-xl) !important;
  padding: 28px 24px !important;
  box-shadow: 0 20px 50px rgba(0, 21, 48, 0.35), 0 0 30px rgba(249, 115, 22, 0.18) !important;
  animation: heroCardFloat 6s ease-in-out infinite alternate !important;
}

.nb-hero__card-head {
  margin-bottom: 18px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(0, 43, 92, 0.12) !important;
}

.nb-hero__card-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #C2410C !important;
}

.nb-hero__card-badge i {
  color: #F59E0B !important;
}

.nb-hero__card-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 12px 14px !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(0, 43, 92, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 43, 92, 0.04) !important;
  transition: all 0.35s var(--ease) !important;
}

.nb-hero__card-item:hover {
  background: #ffffff !important;
  border-color: rgba(249, 115, 22, 0.5) !important;
  transform: translateX(6px) !important;
  box-shadow: 0 8px 24px rgba(0, 43, 92, 0.12), 0 0 16px rgba(249, 115, 22, 0.15) !important;
}

.nb-hero__card-item h4 {
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #002B5C !important;
  margin: 0 0 3px !important;
  line-height: 1.3 !important;
}

.nb-hero__card-item p {
  font-size: 12px !important;
  color: #334155 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}


/* ============================================================================
   FOOTER MENU TITLE TEXT WHITE OVERRIDES
   ========================================================================= */
.footer-section h1,
.footer-section h2,
.footer-section h3,
.footer-section h4,
.footer-section .contact-box h3,
.footer-section .footer-right h3,
.footer-section .footer-brand h2,
.footer-section .footer-brand span,
.footer-section .footer-brand .font-bold {
  color: #ffffff !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.footer-section .contact-box h3 {
  font-size: 15px !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.footer-section .footer-right h3 {
  font-size: 18px !important;
  margin-bottom: 14px !important;
  color: #ffffff !important;
  border-bottom: 2px solid #F97316 !important;
  display: inline-block !important;
  padding-bottom: 4px !important;
}

.footer-section .footer-brand span.font-bold {
  color: #ffffff !important;
  font-size: 18px !important;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: color 0.3s ease !important;
}

.footer-section a:hover {
  color: #FF9E43 !important;
}


/* ============================================================================
   COMPACT HERO CTA BUTTONS OVERRIDE
   ========================================================================= */
.nb-hero__cta {
  gap: 12px !important;
  margin-bottom: 24px !important;
}

.nb-hero__cta .nb-btn {
  padding: 11px 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  border-radius: 50px !important;
}

@media (max-width: 860px) {
  .nb-hero__cta {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
  }
  .nb-hero__cta .nb-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10.5px 18px !important;
    font-size: 13.5px !important;
  }
}


/* ============================================================================
   FOOTER LOGO IMAGE STYLING
   ========================================================================= */
.footer-logo-img {
  height: 68px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
  display: inline-block !important;
  margin-bottom: 14px !important;
}


/* ============================================================================
   BETTERMENT AUDIT SECTION STYLES
   ========================================================================= */

/* Parent Decision Factors (6 Cards Grid) */
.nb-factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.nb-factor-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid rgba(0, 43, 92, 0.08);
  box-shadow: 0 8px 24px rgba(0, 43, 92, 0.06);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.nb-factor-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F97316, #F59E0B);
}

.nb-factor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 43, 92, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

.nb-factor-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #002B5C 0%, #001530 100%);
  color: #F97316;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 43, 92, 0.2);
}

.nb-factor-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  color: #002B5C;
  margin: 0 0 8px;
}

.nb-factor-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* 360 Virtual Campus Tour Grid */
.nb-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.nb-tour-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 43, 92, 0.1);
  aspect-ratio: 16 / 11;
  cursor: pointer;
  group: tour;
}

.nb-tour-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.nb-tour-card:hover img {
  transform: scale(1.08);
}

.nb-tour-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 21, 48, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
}

.nb-tour-card__badge {
  font-size: 11px;
  font-weight: 800;
  color: #FF9E43;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.nb-tour-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nb-tour-card__play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F97316;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* Step-by-Step Admissions Roadmap */
.nb-adm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .nb-adm-steps {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding: 10px 4px 20px !important;
    gap: 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 158, 67, 0.6) rgba(255, 255, 255, 0.1);
  }

  .nb-adm-step {
    flex: 0 0 220px !important;
    max-width: 220px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
  }

  .nb-adm-steps::-webkit-scrollbar {
    height: 6px;
  }

  .nb-adm-steps::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }

  .nb-adm-steps::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #F97316, #FF9E43);
    border-radius: 10px;
  }
}

.nb-adm-step {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.nb-adm-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.nb-adm-step h4 {
  font-size: 15px;
  color: #ffffff;
  margin: 0 0 4px;
  font-weight: 700;
}

/* Light-card variant for .nb-adm-steps when NOT sitting on a navy band */
.nb-section:not(.nb-section--navy) .nb-adm-step {
  background: #ffffff;
  backdrop-filter: none;
  border: 1px solid rgba(0, 43, 92, 0.09);
  box-shadow: 0 8px 24px rgba(0, 43, 92, 0.07);
}
.nb-section:not(.nb-section--navy) .nb-adm-step h4 { color: var(--navy); }
.nb-section:not(.nb-section--navy) .nb-adm-step p { color: var(--muted); }

.nb-adm-step p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}


/* ============================================================================
   HEADER LOGO TOP SPACING OVERRIDE
   ========================================================================= */
.logo {
  margin-top: 10px !important;
  transition: margin-top 0.3s ease !important;
}

body.scrolled .logo {
  margin-top: 4px !important;
}

.logo img {
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}


/* ============================================================================
   COMPACT INNER-PAGE HEADER (About / Academics / Admission / Careers / Gallery)
   ========================================================================= */
.nb-pagehead {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  padding: 54px 0 14px;
  overflow: hidden;
}
.nb-pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(12, 61, 117, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.nb-pagehead__inner { position: relative; z-index: 1; }
.nb-pagehead h1 {
  color: #ffffff;
  font-size: clamp(19px, 2.4vw, 26px);
  margin: 0 0 6px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.nb-pagehead__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}
.nb-pagehead__crumb li { display: flex; align-items: center; gap: 8px; }
.nb-pagehead__crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s;
}
.nb-pagehead__crumb a:hover { color: var(--accent-lt); }
.nb-pagehead__crumb .is-current { color: var(--accent-lt); }
.nb-pagehead__crumb i { font-size: 9px; color: rgba(255, 255, 255, 0.4); }

@media (max-width: 860px) {
  .nb-pagehead { padding: 46px 0 12px !important; }
  .nb-pagehead h1 { font-size: 18px !important; margin-bottom: 5px !important; }
  .nb-pagehead__crumb { font-size: 11px !important; }
}


/* ============================================================================
   GLOBAL COMPACT SPACING FOR INNER PAGES (everything except the homepage)
   ========================================================================= */
body.nb:not(.home-page) .nb-section {
  padding-block: clamp(18px, 2.4vw, 32px);
}
body.nb:not(.home-page) .nb-head {
  margin-bottom: clamp(12px, 1.6vw, 18px);
}
body.nb:not(.home-page) .nb-about,
body.nb:not(.home-page) .nb-admit {
  gap: clamp(20px, 3vw, 36px);
}
body.nb:not(.home-page) .nb-vm,
body.nb:not(.home-page) .nb-pillars,
body.nb:not(.home-page) .nb-news {
  gap: 16px;
}
body.nb:not(.home-page) .nb-vm__card,
body.nb:not(.home-page) .nb-pillar,
body.nb:not(.home-page) .nb-formcard {
  padding: 18px 18px;
}
body.nb:not(.home-page) .nb-news__body {
  padding: 14px 16px 16px;
}
body.nb:not(.home-page) .nb-about p {
  margin: 0 0 10px;
  line-height: 1.58;
}
body.nb:not(.home-page) .nb-about__media > img {
  max-height: 400px;
  object-fit: cover;
}
body.nb:not(.home-page) .nb-eyebrow {
  margin-bottom: 12px;
}
body.nb:not(.home-page) .nb-title {
  font-size: clamp(21px, 2.6vw, 28px);
}
body.nb:not(.home-page) .nb-lead {
  margin-top: 10px;
}
body.nb:not(.home-page) .nb-vm__card h3,
body.nb:not(.home-page) .nb-pillar h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
body.nb:not(.home-page) .nb-vm__list li {
  margin-bottom: 11px;
  line-height: 1.6;
}
body.nb:not(.home-page) .nb-pillar__icon {
  margin-bottom: 14px;
}
@media (max-width: 860px) {
  body.nb:not(.home-page) .nb-section { padding-block: 16px !important; }
  body.nb:not(.home-page) .nb-head { margin-bottom: 14px !important; }
  body.nb:not(.home-page) .nb-eyebrow { margin-bottom: 10px !important; padding: 5px 12px !important; font-size: 11px !important; }
  body.nb:not(.home-page) .nb-title { font-size: 21px !important; }
  body.nb:not(.home-page) .nb-lead { font-size: 14px !important; margin-top: 8px !important; }

  /* Tighter text blocks */
  body.nb:not(.home-page) .nb-about { gap: 18px !important; }
  body.nb:not(.home-page) .nb-about p { margin: 0 0 10px !important; line-height: 1.58 !important; font-size: 14.5px !important; }
  body.nb:not(.home-page) .nb-about .nb-btn { padding: 10px 20px !important; font-size: 13.5px !important; margin-top: 4px !important; }

  /* Shrink hero-style images so they don't dominate the screen */
  body.nb:not(.home-page) .nb-about__media > img { max-height: 220px !important; object-fit: cover !important; }
  body.nb:not(.home-page) .nb-about__stack { margin-top: 10px !important; padding: 8px !important; }
  body.nb:not(.home-page) .nb-about__stack img { max-height: 120px !important; }

  /* Cards */
  body.nb:not(.home-page) .nb-vm,
  body.nb:not(.home-page) .nb-pillars,
  body.nb:not(.home-page) .nb-news,
  body.nb:not(.home-page) .nb-photogrid { gap: 12px !important; }
  body.nb:not(.home-page) .nb-vm__card,
  body.nb:not(.home-page) .nb-pillar,
  body.nb:not(.home-page) .nb-formcard,
  body.nb:not(.home-page) .nb-factor-card { padding: 16px 16px !important; }
  body.nb:not(.home-page) .nb-vm__card h3,
  body.nb:not(.home-page) .nb-pillar h3 { font-size: 17px !important; margin-bottom: 8px !important; }
  body.nb:not(.home-page) .nb-vm__list li { margin-bottom: 10px !important; font-size: 14px !important; line-height: 1.55 !important; padding-left: 26px !important; }
  body.nb:not(.home-page) .nb-pillar__icon { width: 42px !important; height: 42px !important; margin-bottom: 12px !important; }
  body.nb:not(.home-page) .nb-pillar p { font-size: 13.5px !important; line-height: 1.55 !important; }
  body.nb:not(.home-page) .nb-ticklist li { margin-bottom: 8px !important; font-size: 14px !important; line-height: 1.55 !important; }

  /* News / event cards */
  body.nb:not(.home-page) .nb-news__img { aspect-ratio: 16/9 !important; }
  body.nb:not(.home-page) .nb-news__body { padding: 12px 14px 14px !important; }
  body.nb:not(.home-page) .nb-news__body h3 { font-size: 16px !important; margin-bottom: 4px !important; }
  body.nb:not(.home-page) .nb-news__body p { font-size: 13.5px !important; line-height: 1.5 !important; }
  body.nb:not(.home-page) .nb-news__date { font-size: 11px !important; margin-bottom: 4px !important; }

  /* Forms */
  body.nb:not(.home-page) .nb-formcard .form-group { margin-bottom: 12px !important; }
  body.nb:not(.home-page) .nb-formcard label { margin-bottom: 5px !important; font-size: 12.5px !important; }
  body.nb:not(.home-page) .nb-formcard .form-control { padding: 10px 14px !important; font-size: 14px !important; }

  /* Admission steps / navy band */
  body.nb:not(.home-page) .nb-adm-steps { margin-bottom: 0 !important; }
  body.nb:not(.home-page) .nb-adm-step { padding: 14px 12px !important; }

  /* Logo a touch smaller for extra header compactness */
  body.nb:not(.home-page) .logo img { height: 46px !important; }
}


/* ============================================================================
   COMPACT TICK LIST (used on About/Academics/Admission/Careers info blocks)
   ========================================================================= */
.nb-ticklist { list-style: none; margin: 0; padding: 0; }
.nb-ticklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
}
.nb-ticklist li:last-child { margin-bottom: 0; }
.nb-ticklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 3px;
  font-size: 13px;
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}


/* ============================================================================
   EVENT PHOTO GRID (used on individual event detail pages)
   ========================================================================= */
.nb-photogrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.nb-photogrid .nb-photo { width: 100%; }

@media (max-width: 520px) {
  .nb-photogrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


/* ============================================================================
   DATA TABLES (Mandatory Disclosure, results, etc.)
   ========================================================================= */
.nb-table-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 14px !important;
}
.nb-table-block:first-child .nb-table-title { margin-top: 0 !important; }

.nb-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 43, 92, .05);
}
.nb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  white-space: nowrap;
}
.nb-table th, .nb-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.nb-table td { white-space: normal; color: var(--body); }
.nb-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: normal;
}
.nb-table tr:nth-child(even) td { background: var(--surface); }
.nb-table tr:last-child td { border-bottom: none; }
