/* ==========================================================================
   B.V.N. Sr. Sec. School - Modern Design System & Stylesheet
   ========================================================================== */


:root {
  /* Core Brand Colors */
  --primary: #245fe6;
  /* Royal Blue */
  --primary-dark: #1a4bc7;
  /* Deep Royal Blue */
  --primary-navy: #031059;
  /* Midnight Navy */
  --primary-midnight: #020b3b;
  --primary-light: #4b82f6;
  /* Soft Blue */
  --primary-subtle: #eff6ff;
  /* Soft Blue Tint */

  --accent: #c92127;
  /* Brand Crimson Red */
  --accent-dark: #991b1b;
  --accent-light: #fca5a5;
  --accent-subtle: #fef2f2;

  --gold: #d97706;
  /* Emblem Gold */
  --gold-light: #fef3c7;
  --gold-accent: #f59e0b;

  --forest-green: #063b15;
  /* Updates Section Green */
  --green-accent: #16a34a;

  /* Neutrals & Surfaces */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Outfit', sans-serif;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Borders & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ==========================================================================
   1. Top Scholarship Alert Bar (Talent Hunt)
   ========================================================================== */
.top-scholarship-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  padding: 8px 0;
  text-align: center;
  position: relative;
  z-index: 1002;
}

.scholarship-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scholarship-title {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.scholarship-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.btn-scholarship-reg {
  background-color: #16a34a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 16px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-scholarship-reg:hover {
  background-color: #15803d;
  transform: translateY(-1px);
}

.btn-scholarship-admit {
  background-color: #0f172a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 16px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-scholarship-admit:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. Main Header Top Row (Logo + 3 Info Items)
   ========================================================================== */
.site-header-top {
  background: #ffffff;
  padding: 14px 0;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.header-logo a {
  display: inline-block;
}

.header-logo img {
  height: 64px;
  width: auto;
}

.header-contact-items {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-icon {
  color: #94a3b8;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hc-text {
  display: flex;
  flex-direction: column;
}

.hc-text strong {
  font-size: 0.96rem;
  color: #1e3a8a;
  font-weight: 700;
  line-height: 1.25;
}

.hc-text span,
.hc-text a {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.25;
}

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

/* ==========================================================================
   3. Main Royal Blue Navigation Bar
   ========================================================================== */
.site-navbar {
  background-color: var(--primary);
  box-shadow: 0 4px 14px rgba(36, 95, 230, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.nav-menu>li>a i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-menu>li:hover>a,
.nav-menu>li.active>a {
  background-color: var(--primary-dark);
  color: #ffffff !important;
}

.nav-menu>li:hover>a i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Submenu Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 230px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--primary-dark);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  list-style: none;
}

.nav-menu li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li {
  width: 100%;
}

.nav-menu .sub-menu a {
  padding: 10px 18px;
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-700) !important;
  line-height: 1.35;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-menu .sub-menu a:hover {
  background-color: var(--primary-subtle);
  color: var(--primary) !important;
  padding-left: 22px;
}

/* ==========================================================================
   Mobile Navigation & Offcanvas Drawer (Reference Site Standard)
   ========================================================================== */

/* Mobile Top Call Bar (Hidden on desktop >992px) */
.mobile-top-bar {
  display: none;
  background-color: #030d36;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  width: 100%;
}

.mobile-top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
}

.mobile-top-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease;
}

.mobile-top-call i {
  color: #f59e0b;
  font-size: 0.95rem;
}

.mobile-top-call:hover {
  opacity: 0.9;
}

/* Mobile Nav Toggle Button (Hidden on desktop >992px) */
.mobile-nav-toggle-btn {
  display: none;
  background-color: #c92127;
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(201, 33, 39, 0.28);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
  pointer-events: auto !important;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.mobile-nav-toggle-btn:hover {
  background-color: #b0191e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 33, 39, 0.35);
}

.mobile-nav-toggle-btn:active {
  transform: scale(0.95);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 11, 40, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Mobile Offcanvas Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s ease;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.open {
  display: flex !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Drawer Header */
.drawer-header {
  background-color: #030d36;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #c92127;
  flex-shrink: 0;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', var(--font-primary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.drawer-brand i {
  color: #f59e0b;
  font-size: 1rem;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: #c92127;
  color: #ffffff;
}

/* Drawer Body */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0 24px;
  display: flex;
  flex-direction: column;
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-item {
  border-bottom: 1px solid #f1f5f9;
}

.drawer-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  color: #1e293b;
  text-decoration: none;
  font-family: 'Outfit', var(--font-primary);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.drawer-link-row:hover,
.drawer-link-row:active {
  background-color: #f8fafc;
  color: #c92127;
}

.drawer-item.active > .drawer-link-row {
  color: #c92127;
  background-color: rgba(201, 33, 39, 0.04);
}

.drawer-link-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-item-icon {
  color: #c92127;
  width: 20px;
  font-size: 0.95rem;
  text-align: center;
  flex-shrink: 0;
}

.drawer-arrow {
  color: #94a3b8;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.drawer-caret {
  color: #64748b;
  font-size: 0.8rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-item.open .drawer-caret {
  transform: rotate(180deg);
  color: #c92127;
}

/* Submenu Accordion */
.drawer-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid #c92127;
}

.drawer-item.open .drawer-submenu {
  max-height: 520px;
}

.drawer-submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 24px;
  color: #334155;
  font-family: 'Inter', var(--font-primary);
  font-size: 0.87rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #edf2f7;
  transition: all 0.18s ease;
}

.drawer-sub-icon {
  color: #c92127;
  font-size: 0.78rem;
  width: 14px;
  text-align: center;
}

.drawer-submenu li a:hover,
.drawer-submenu li a.active {
  background-color: #f1f5f9;
  color: #030d36;
  font-weight: 600;
  padding-left: 28px;
}

/* Drawer Bottom CTA Actions */
.drawer-actions {
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 9px;
  font-family: 'Plus Jakarta Sans', var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  text-align: center;
}

.drawer-btn:active {
  transform: scale(0.97);
}

.drawer-btn-call {
  background-color: #c92127;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(201, 33, 39, 0.25);
}

.drawer-btn-call:hover {
  background-color: #b0191e;
  color: #ffffff;
}

.drawer-btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.drawer-btn-whatsapp:hover {
  background-color: #20bd5a;
  color: #ffffff;
}

.drawer-btn-admission {
  background-color: #030d36;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(3, 13, 54, 0.2);
}

.drawer-btn-admission:hover {
  background-color: #05154f;
  color: #ffffff;
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-arrow:hover {
  background: var(--primary);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 8px;
}

/* ==========================================================================
   Homepage: Welcome To BVN School Section
   ========================================================================== */
.welcome-bvn-section {
  padding: 50px 0 35px;
  background-color: #ffffff;
  text-align: center;
}

.welcome-title {
  color: var(--accent);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.welcome-image-wrap {
  margin: 0 auto 28px;
  max-width: 640px;
}

.welcome-image-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.welcome-text-content {
  max-width: 1050px;
  margin: 0 auto;
  text-align: justify;
  font-size: 0.96rem;
  line-height: 1.75;
  color: #334155;
}

.welcome-text-content p {
  margin-bottom: 16px;
}

/* Featured Side-by-Side Posters */
.featured-posters-section {
  padding: 20px 0 50px;
  background-color: #ffffff;
}

.featured-posters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.poster-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.poster-card img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Homepage: Awards | Prizes Section (Warm Cream Background)
   ========================================================================== */
.awards-section {
  background-color: #fefce8;
  padding: 50px 0 60px;
  border-top: 1px solid #fef08a;
  border-bottom: 1px solid #fef08a;
}

.awards-header {
  text-align: center;
  margin-bottom: 35px;
}

.awards-title {
  color: #1e3a8a;
  font-size: 2.1rem;
  font-weight: 800;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.awards-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.award-item {
  border: 2px solid var(--primary);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.award-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.award-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ==========================================================================
   Homepage: School Result Section
   ========================================================================== */
.results-section {
  padding: 50px 0 60px;
  background-color: #ffffff;
  text-align: center;
}

.results-title {
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 35px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.results-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.result-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Homepage: Latest Updates Section (Rich Green Background)
   ========================================================================== */
.updates-section {
  background-color: var(--forest-green);
  color: #ffffff;
  padding: 55px 0 65px;
}

.updates-title {
  text-align: center;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 35px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

.update-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.update-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.update-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.update-card:hover .update-thumb img {
  transform: scale(1.05);
}

.update-info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.update-info h4 {
  color: #15803d;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.update-meta {
  color: #64748b;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.update-link {
  color: #b45309;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.update-link:hover {
  color: #d97706;
}

.updates-footer {
  text-align: center;
}

.btn-all-updates {
  color: #fef08a !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
  transition: var(--transition);
}

.btn-all-updates:hover {
  color: #ffffff !important;
}

/* ==========================================================================
   Homepage: School Videos Section
   ========================================================================== */
.videos-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000000;
}

.video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Wave Graphic & Site Footer
   ========================================================================== */
.footer-wave-wrap {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #ffffff;
}

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

.site-footer {
  background-color: #ffffff;
  color: #1e293b;
  padding: 40px 0 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-about-col {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social-btn.fb {
  background-color: #3b5998;
}

.footer-social-btn.tw {
  background-color: #00acee;
}

.footer-social-btn.yt {
  background-color: #c4302b;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.footer-nav-col {
  text-align: center;
}

.footer-col-title {
  color: #1e3a8a;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.footer-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  list-style: none;
  text-align: center;
}

.footer-nav-links a {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-nav-links a:hover {
  color: var(--primary);
}

.footer-fb-col {
  display: flex;
  justify-content: center;
}

.fb-widget-box {
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.footer-bottom-wave {
  width: 100%;
  line-height: 0;
  margin-top: 10px;
}

.footer-bottom-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

.footer-bottom-bar {
  background-color: var(--primary-midnight);
  color: #ffffff;
  padding: 16px 0;
  font-size: 0.9rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-bar a {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom-bar a:hover {
  color: var(--gold-accent);
}

/* ==========================================================================
   Single Page Layouts & Headers
   ========================================================================== */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #031059 0%, #1a4bc7 100%);
  color: #ffffff;
  padding: 50px 0 75px;
  text-align: center;
  overflow: hidden;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumbs a {
  color: #fde047;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs span.separator {
  color: rgba(255, 255, 255, 0.4);
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.content-box,
.page-content-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--slate-200);
  margin-top: -45px;
  position: relative;
  z-index: 10;
  margin-bottom: var(--space-lg);
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

/* ==========================================================================
   Modern Grid & Card Components (Admission, Documents, Features)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Base Modern Card */
.card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36, 95, 230, 0.12);
  border-color: #93c5fd;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Card Icon Wrap */
.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

/* Process Step Cards (Admission Process 1, 2, 3) */
.process-step-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg, 16px);
  padding: 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary, #245fe6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36, 95, 230, 0.12);
  border-color: #93c5fd;
}

.process-step-card:hover::before {
  opacity: 1;
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-number-badge {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.step-number-badge.step-1 {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.step-number-badge.step-2 {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.step-number-badge.step-3 {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.step-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.step-icon-circle.step-1 {
  background: linear-gradient(135deg, #245fe6 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(36, 95, 230, 0.25);
}

.step-icon-circle.step-2 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.step-icon-circle.step-3 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.process-step-title {
  font-size: 1.28rem;
  color: var(--slate-900);
  font-weight: 700;
  margin: 0 0 10px 0;
}

.process-step-desc {
  color: var(--slate-600);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.process-step-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--slate-200);
  padding-top: 14px;
}

.process-step-highlights li {
  font-size: 0.88rem;
  color: var(--slate-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  line-height: 1.45;
}

.process-step-highlights li i {
  color: #16a34a;
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Document Category Cards (Documents Required Checklist) */
.doc-category-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.doc-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36, 95, 230, 0.12);
  border-color: #93c5fd;
}

.doc-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--slate-100);
}

.doc-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
}

.doc-card-icon.blue {
  background: linear-gradient(135deg, #245fe6 0%, #1d4ed8 100%);
  box-shadow: 0 6px 16px rgba(36, 95, 230, 0.25);
}

.doc-card-icon.amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.doc-card-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.doc-card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
}

.doc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.doc-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.doc-checklist-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.doc-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Scholarship / Benefit Cards */
.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.75rem 0;
}

@media (max-width: 900px) {
  .scholarship-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.scholarship-item-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--primary, #245fe6);
  border-radius: var(--radius-md, 12px);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scholarship-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.scholarship-item-card.gold-card {
  border-left-color: var(--gold, #d97706);
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.scholarship-item-card.crimson-card {
  border-left-color: var(--accent, #c92127);
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.scholarship-item-card.blue-card {
  border-left-color: var(--primary, #245fe6);
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.scholarship-item-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scholarship-item-card p {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* Premium Helpline & Advisory Banners */
.admission-helpline-box {
  background: linear-gradient(135deg, #031059 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg, 16px);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2.5rem;
  box-shadow: 0 10px 30px rgba(3, 16, 89, 0.25);
}

.admission-helpline-content h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin: 0 0 6px 0;
}

.admission-helpline-content p {
  color: var(--slate-300);
  font-size: 0.94rem;
  margin: 0;
}

.admission-helpline-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-helpline-call {
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-helpline-call:hover {
  background: #16a34a;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-helpline-online {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-helpline-online:hover {
  background: #ffffff;
  color: #031059;
  transform: translateY(-2px);
}


/* ==========================================================================
   Data Tables & Mandatory Disclosure
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--slate-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

table thead {
  background-color: #bfdbfe;
  color: #1e3a8a;
}

table th {
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid #93c5fd;
}

table td {
  padding: 12px 18px;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
}

table tbody tr:nth-child(even) {
  background-color: var(--slate-50);
}

table tbody tr:hover {
  background-color: #eff6ff;
}

.copy-link-btn {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 8px;
  transition: var(--transition);
}

.copy-link-btn:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-view-doc {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-view-doc:hover {
  color: var(--accent);
}

/* Callout */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
  background: var(--primary-subtle);
}

.callout-gold {
  border-left-color: var(--gold);
  background: #fffbeb;
}

.callout h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--slate-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.58rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-action-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(36, 95, 230, 0.35);
}

.btn-action-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-action-outline {
  background: transparent;
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
}

.btn-action-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   Online Admission Registration Form
   ========================================================================== */
.admission-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
}

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

@media (max-width: 992px) {
  .admission-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .admission-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   Floating Slidable Quick Contact Widget (Right Side with Toggle)
   ========================================================================== */
.floating-quick-widget {
  position: fixed;
  right: 16px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 99990;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
  pointer-events: auto;
}

.floating-action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  transform: translateX(0);
  opacity: 1;
}

.floating-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.floating-btn:active {
  transform: scale(0.92);
}

/* WhatsApp Button */
.floating-btn-whatsapp {
  background-color: #25d366;
}

/* Call Button */
.floating-btn-call {
  background-color: #c92127;
}

/* Pulse Ripple Ring (Concentric pulsing glow effect) */
.floating-btn .floating-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.6;
  pointer-events: none;
  animation: floatingPulse 2.2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.floating-btn-whatsapp .floating-pulse-ring {
  border-color: rgba(37, 211, 102, 0.65);
}

.floating-btn-call .floating-pulse-ring {
  border-color: rgba(201, 33, 39, 0.65);
  animation-delay: 1.1s;
}

@keyframes floatingPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.32);
    opacity: 0.22;
  }
  100% {
    transform: scale(1.52);
    opacity: 0;
  }
}

/* Floating Toggle Button (Slidable Show/Hide Control) */
.floating-toggle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #030d36;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.floating-toggle-btn:hover {
  background: #c92127;
  transform: scale(1.12);
}

/* Collapsed State: Icons slide smoothly off to right screen edge */
.floating-quick-widget.collapsed {
  right: 0;
}

.floating-quick-widget.collapsed .floating-action-list {
  transform: translateX(70px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  gap: 0;
}

.floating-quick-widget.collapsed .floating-toggle-btn {
  border-radius: 8px 0 0 8px;
  width: 32px;
  height: 40px;
  background: #030d36;
  border-right: none;
  font-size: 0.82rem;
  box-shadow: -3px 2px 10px rgba(0, 0, 0, 0.25);
  color: #f59e0b;
}

@media (max-width: 480px) {
  .floating-quick-widget {
    right: 12px;
    bottom: 18px;
    gap: 8px;
  }

  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-fb-col {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .hero-slider {
    height: 400px;
  }

  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-fb-col {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {

  /* Mobile Top Call Strip */
  .mobile-top-bar {
    display: block;
  }

  /* Single-Row Mobile Header (Logo Left, Red Rounded Toggle Right) */
  .site-header-top {
    padding: 8px 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
  }

  .site-header-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px;
    padding: 0 16px;
  }

  .header-logo {
    flex: 1;
    text-align: left !important;
    margin: 0;
  }

  .header-logo a {
    display: inline-block;
  }

  .header-logo img {
    height: 46px !important;
    max-width: 220px !important;
    width: auto;
    object-fit: contain;
    margin: 0 !important;
    display: block;
  }

  /* Red Rounded Hamburger Button (Matching Reference Site) */
  .mobile-nav-toggle-btn {
    display: flex !important;
  }

  /* Hide Desktop Contact Items & Desktop Navbar on Mobile */
  .header-contact-items {
    display: none !important;
  }

  .site-navbar {
    display: none !important;
  }
}

@media (max-width: 768px) {

  .container {
    padding: 0 16px !important;
  }

  .content-box,
  .page-content-card {
    padding: 24px 18px !important;
    margin-top: -24px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Scholarship Bar Mobile */
  .scholarship-title {
    font-size: 0.95rem;
    width: 100%;
  }

  .scholarship-actions {
    gap: 8px;
  }

  .btn-scholarship-reg,
  .btn-scholarship-admit {
    font-size: 0.78rem;
    padding: 4px 12px;
  }

  /* Hero Slider Mobile: Proportional 16:9 Aspect Ratio */
  .hero-slider {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.45);
  }

  .hero-arrow.prev {
    left: 8px;
  }

  .hero-arrow.next {
    right: 8px;
  }

  .hero-dots {
    bottom: 8px;
    gap: 6px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active {
    width: 18px;
  }

  /* Welcome Section Mobile */
  .welcome-bvn-section {
    padding: 30px 0 20px;
  }

  .welcome-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .welcome-image-wrap {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .welcome-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .welcome-text-content {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  /* Awards Section Mobile */
  .awards-section {
    padding: 35px 0 40px;
  }

  .awards-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .award-item img {
    height: 130px;
    object-fit: cover;
  }

  /* School Results Mobile */
  .results-section {
    padding: 35px 0 40px;
  }

  .results-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .result-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Updates Section Mobile */
  .updates-section {
    padding: 40px 0 45px;
  }

  .updates-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .update-thumb {
    height: 190px;
  }

  .update-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Footer Mobile */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 12px;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-fb-col {
    grid-column: span 1;
  }

  .fb-widget-box {
    margin: 0 auto;
    max-width: 100%;
  }

  /* Page Content */
  .content-box {
    padding: 20px;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    aspect-ratio: 16 / 9.5;
    min-height: 190px;
  }

  .award-item img {
    height: 110px;
  }

  .header-logo img {
    height: 40px !important;
    max-width: 185px !important;
  }

  .mobile-nav-toggle-btn {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: 8px;
  }

  .mobile-top-call {
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   Notice Board Section
   ========================================================================== */
.notice-board-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--slate-200);
  scroll-margin-top: 80px;
}

.notice-board-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.notice-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: var(--accent, #c92127);
  border: 1px solid #fecaca;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.notice-section-title {
  font-size: 1.85rem;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.notice-section-subtitle {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin: 0;
}

.btn-all-notices {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid var(--primary, #245fe6);
  color: var(--primary, #245fe6);
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}

.btn-all-notices:hover {
  background: var(--primary, #245fe6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.notice-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .notice-board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .notice-board-grid {
    grid-template-columns: 1fr;
  }

  .notice-board-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.notice-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--primary, #245fe6);
  border-radius: var(--radius-md, 12px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.notice-card.is-new {
  border-top-color: var(--accent, #c92127);
}

.notice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.notice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.notice-category {
  background: #eff6ff;
  color: var(--primary-dark, #1a4bc7);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.badge-new-pulse {
  background: var(--accent, #c92127);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite ease-in-out;
}

@keyframes pulse-badge {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

.notice-date {
  font-size: 0.82rem;
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.notice-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.notice-title a {
  color: var(--slate-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.notice-title a:hover {
  color: var(--primary, #245fe6);
}

.notice-summary {
  color: var(--slate-600);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.notice-footer {
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
  margin-top: auto;
}

.notice-action-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary, #245fe6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.notice-action-link:hover {
  color: var(--primary-dark, #1a4bc7);
  gap: 8px;
}

/* ==========================================================================
   Home Photo Gallery Section (Simple Photos - No Text Over Images)
   ========================================================================== */
.home-gallery-section {
  padding: 4rem 0;
  background: #eef4f2;
  scroll-margin-top: 80px;
}

.home-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.simple-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .simple-photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .simple-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .simple-photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.simple-photo-card {
  position: relative;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--slate-900);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.simple-photo-card:hover,
.simple-photo-card:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(36, 95, 230, 0.18);
  outline: none;
}

.simple-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.simple-photo-card:hover img {
  transform: scale(1.06);
}

.simple-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 89, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.simple-photo-card:hover .simple-photo-overlay {
  opacity: 1;
}

.simple-photo-zoom-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary, #245fe6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.simple-photo-card:hover .simple-photo-zoom-icon {
  transform: scale(1);
}

/* ==========================================================================
   Global Lightbox Modal Popup
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: var(--accent, #c92127);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--primary, #245fe6);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: -70px;
}

.lightbox-nav-btn.next {
  right: -70px;
}

@media (max-width: 900px) {
  .lightbox-nav-btn.prev {
    left: 10px;
  }

  .lightbox-nav-btn.next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 20;
  }
}

.lightbox-footer {
  margin-top: 12px;
  text-align: center;
}

.lightbox-counter {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Leadership & Desk Pages Layout (Principal, Chairman, Managing Director)
   ========================================================================== */
.desk-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.desk-portrait-card {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 280px;
  position: static;
}

.desk-portrait-card img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 260px;
  height: auto;
  border: 4px solid #ffffff;
  outline: 1px solid var(--slate-200);
  margin: 0 auto;
  display: block;
}

.desk-portrait-info {
  margin-top: 14px;
}

.desk-portrait-name {
  margin: 0;
  color: #1e3a8a;
  font-size: 1.15rem;
  font-weight: 700;
}

.desk-portrait-degree {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.desk-portrait-title {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.desk-message-content {
  min-width: 0;
}

@media (min-width: 993px) {
  .desk-portrait-card {
    position: sticky;
    top: 90px;
  }
}

@media (max-width: 992px) {
  .desk-page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .desk-portrait-card {
    position: static !important;
    top: auto !important;
    margin: 0 auto 10px;
  }
}