/* =============================================
   BLESSING SCHOOLS — style.css  (PHP Version)
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:       #4caf50;   /* green accent — matches ref image active link */
  --primary-dark:  #388e3c;
  --primary-light: #e8f5e9;
  --navy:          #1a2744;   /* topbar dark */
  --navy-dark:     #111c38;
  --blue:          #1565c0;
  --blue-dark:     #0d47a1;
  --blue-light:    #e3f2fd;
  --orange:        #e65100;
  --white:         #ffffff;
  --dark:          #1a1a2e;
  --gray:          #607d8b;
  --gray-light:    #f5f7fa;
  --border:        #e0e6ed;
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.15);
  --radius:        10px;
  --radius-lg:     20px;
  --font:          'Poppins', sans-serif;
  --font-serif:    'Poppins', sans-serif;
  --transition:    all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Topbar height — used for sticky offset */
  --topbar-h:      40px;
  --header-h:      88px;
}

/* ===== RESET & BASE TYPOGRAPHY ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); font-weight: 500; outline: none; }

.site-wrap { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* Utility */
.container, .topbar-container, .header-container, .footer-container {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.w-full { width: 100%; }/* ================================================================
   TOPBAR  — dark navy strip with contact on left, green CTA on right
   ================================================================ */
.topbar {
  background: #162b48;
  height: 44px;
  position: relative;
  z-index: 1100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}
.topbar-item i {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.topbar-item:hover {
  color: var(--white);
}
.topbar-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 18px;
}
.topbar-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}
.topbar-link:hover {
  color: var(--white);
}
.topbar-btn-green {
  background: #3eb549;
  color: var(--white);
  height: 44px;
  line-height: 44px;
  padding: 0 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}
.topbar-btn-green:hover {
  background: #339c3d;
  color: var(--white);
}

/* ================================================================
   SITE HEADER  — white bar with logo + nav
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: 80px;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* Logo & Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}
.header-logo-wrap {
  height: 48px;
  width: 48px;
  min-width: 48px;
  border-radius: 0px !important;
  overflow: visible;
  border: none !important;
  box-shadow: none !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-logo {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0px !important;
  display: block;
}
.header-brand-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}
.brand-main {
  font-size: 1.18rem;
  font-weight: 800;
  color: #162b48;
  line-height: 1.1;
  font-family: var(--font);
  letter-spacing: -0.2px;
}
.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: #7d8a9e;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
}


/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  color: #162b48;
  cursor: pointer;
  border: none;
  background: transparent;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
}
.header-nav-link:hover, .header-dropdown-btn:hover {
  color: #3eb549;
}

/* Active navigation item with top green bar indicator (like Academics in screenshot) */
.header-nav-link.nav-current, .header-dropdown-btn.nav-current {
  color: #3eb549;
  border-top: 3px solid #3eb549;
}

.header-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}
.header-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 100%;
  font-size: 0.9rem;
  font-weight: 700;
  color: #162b48;
  cursor: pointer;
  border: none;
  background: transparent;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-dropdown-btn i.fa-chevron-down {
  font-size: 0.55rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.header-dropdown:hover .header-dropdown-btn i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Standard Dropdown Menu */
.header-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-top: 3px solid #3eb549;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 300;
}
.header-dropdown:hover .header-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.header-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #162b48;
  transition: var(--transition);
}
.header-dropdown-menu a i {
  color: #3eb549;
  width: 16px;
  font-size: 0.8rem;
}
.header-dropdown-menu a:hover {
  background: #f4f8f4;
  color: #3eb549;
  padding-left: 24px;
}

/* ================================================================
   MEGA MENU DROPDOWN — Wide 4-column dropdown like reference image
   ================================================================ */
.mega-dropdown-wrap {
  position: static;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #f8fafc;
  border-top: 3px solid #3eb549;
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 400;
}
.mega-dropdown-wrap:hover .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
}
.mega-col {
  padding: 28px 24px;
  border-right: 1px solid #ebf0f5;
}
.mega-col:last-child {
  border-right: none;
}
.mega-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #162b48;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-links li {
  margin-bottom: 10px;
}
.mega-links a {
  color: #63738a;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease, padding 0.2s ease;
  display: flex;
  align-items: center;
}
.mega-links a:hover {
  color: #3eb549;
  padding-left: 4px;
}

/* Mega Promo Card Box */
.mega-promo {
  background: #f4f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-promo-box {
  text-align: center;
  padding: 16px;
}
.mega-promo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #162b48;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(22,43,72,0.2);
}
.mega-promo-box h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #162b48;
  margin-bottom: 8px;
  font-family: var(--font);
}
.mega-promo-box p {
  font-size: 0.8rem;
  color: #63738a;
  line-height: 1.5;
}

/* Search Icon */
.header-search-btn {
  color: #162b48;
  font-size: 0.95rem;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.header-search-btn:hover {
  color: #3eb549;
}

/* Hamburger — mobile */
.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1200;
  flex-shrink: 0;
}
.header-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.header-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-hamburger.open span:nth-child(2) { opacity: 0; }
.header-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu backdrop overlay (dimmed area behind the drawer) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1040;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ================================================================
   GENERAL SECTION HELPERS
   ================================================================ */
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 2.5rem; }

.highlight-text {
  background: linear-gradient(135deg, var(--blue), #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight { color: #ffd54f; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 50px;
  font-family: var(--font);
  font-weight: 500; font-size: 0.88rem;
  transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 14px rgba(21,101,192,0.28);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21,101,192,0.36);
}
.btn-green {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 14px rgba(76,175,80,0.28);
  border: 2px solid transparent;
}
.btn-green:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7); color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: var(--white); color: var(--blue);
  transform: translateY(-2px);
}
.btn-outline-green {
  border: 2px solid var(--primary); color: var(--primary);
  background: transparent;
}
.btn-outline-green:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white); color: var(--blue); font-weight: 500;
}
.btn-white:hover { background: var(--blue); color: var(--white); }

/* ================================================================
   TICKER / ANNOUNCEMENT BAR
   ================================================================ */
.ticker-bar {
  background: var(--blue);
  color: var(--white);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 14px;
}
.ticker-label {
  background: var(--primary); color: var(--white);
  padding: 3px 14px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-items {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-size: 0.84rem;
}
.ticker-items span::before { content: "●"; margin-right: 8px; color: #ffd54f; }
@keyframes ticker { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* 2-MINUTE COUNTDOWN PILL IN TICKER */
.top-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.95) 0%, rgba(216, 67, 21, 0.95) 100%);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.35);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
  animation: pillPulse 2s infinite ease-in-out;
}
@keyframes pillPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 10px rgba(230, 81, 0, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 4px 16px rgba(230, 81, 0, 0.6); }
}
.spin-icon {
  font-size: 0.75rem;
  color: #ffd54f;
  animation: spinSlow 4s linear infinite;
}
@keyframes spinSlow {
  100% { transform: rotate(360deg); }
}
.countdown-label {
  opacity: 0.9;
  letter-spacing: 0.2px;
}
.countdown-timer-digits {
  font-family: 'Poppins', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.28);
  padding: 2px 8px;
  border-radius: 4px;
  color: #ffd54f;
  letter-spacing: 1px;
}

/* ================================================================
/* ================================================================
   HERO SLIDER  — slim & narrow, exactly as requested
   ================================================================ */
.hero {
  position: relative;
  height: 450px;
  min-height: 400px;
  overflow: hidden;
}
.hero-slides { height: 100%; position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center right;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  /* Dark gradient focused on left 1/4 area for text, completely transparent on right 3/4 so image is fully clear */
  background: linear-gradient(90deg, 
    rgba(14, 27, 48, 0.96) 0%, 
    rgba(14, 27, 48, 0.88) 25%, 
    rgba(14, 27, 48, 0.50) 40%, 
    rgba(14, 27, 48, 0.10) 55%, 
    rgba(14, 27, 48, 0.00) 65%
  );
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 5% 0 8%; max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #3eb549; color: var(--white);
  padding: 4px 14px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; width: fit-content;
  margin-bottom: 0.8rem;
  animation: fadeInDown 0.7s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700; color: var(--white); line-height: 1.1;
  font-family: var(--font); margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: fadeInUp 0.7s ease 0.15s both;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  color: rgba(255,255,255,0.92); max-width: 540px;
  margin-bottom: 1.4rem; line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.45s both;
}
.btn-tour {
  background: var(--white);
  color: #162b48;
  border-left: 4px solid #3eb549;
  padding: 12px 28px;
  font-weight: 500;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-tour:hover {
  background: #162b48;
  color: var(--white);
  border-left-color: #3eb549;
}

.hero-stats {
  display: flex; align-items: center; gap: 20px;
  margin-top: 1.5rem; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.6s both;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 1.5rem; font-weight: 700; color: #ffd54f; line-height: 1; }
.hero-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.72); font-weight: 500; margin-top: 2px; }
.hero-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--white); color: #162b48; transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: #3eb549; width: 24px; border-radius: 5px; }

/* ================================================================
   FLOATING QUICK INFO BAR (Kingster University style bottom bar)
   ================================================================ */
.quick-info-section {
  background: var(--white);
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-bottom: 1px solid #ebf0f5;
}
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.quick-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border-right: 1px solid #ebf0f5;
  transition: background 0.2s ease;
  text-decoration: none;
}
.quick-info-item:last-child {
  border-right: none;
}
.quick-info-item:hover {
  background: #f9fbfd;
}
.quick-info-icon {
  font-size: 1.8rem;
  color: #162b48;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.quick-info-text {
  display: flex;
  flex-direction: column;
}
.quick-info-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #162b48;
  line-height: 1.25;
}
.quick-info-text small {
  font-size: 0.78rem;
  color: #7d8a9e;
  margin-top: 2px;
}


/* Hero thumbnail strip — like reference image bottom strip */
.hero-thumb-strip {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 0;
  width: 70%; max-width: 680px;
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}
.hero-thumb {
  flex: 1; height: 100px; overflow: hidden; cursor: pointer;
  position: relative;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hero-thumb:hover img { transform: scale(1.06); }
.hero-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(13,71,161,0); transition: var(--transition);
}
.hero-thumb:hover::after { background: rgba(13,71,161,0.25); }

/* ================================================================
   SCHOOLS SECTION
   ================================================================ */
.schools-section {
  padding: 45px 0 50px;
  background: #f0f4ff;
  background-image:
    linear-gradient(135deg, #eef2ff 0%, #f8faff 55%, #edf6ff 100%);
  position: relative;
  overflow: hidden;
}
/* grid pattern — horizontal & vertical lines, fades at centre */
.schools-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(21,101,192,0.13) 0px,
      rgba(21,101,192,0.13) 1.5px,
      transparent 1.5px,
      transparent 80px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(21,101,192,0.13) 0px,
      rgba(21,101,192,0.13) 1.5px,
      transparent 1.5px,
      transparent 80px
    );
  /* fade away in the centre, strong on all edges */
  -webkit-mask-image: radial-gradient(
    ellipse 75% 75% at 50% 50%,
    transparent 0%,
    transparent 20%,
    black 65%,
    black 100%
  );
  mask-image: radial-gradient(
    ellipse 75% 75% at 50% 50%,
    transparent 0%,
    transparent 20%,
    black 65%,
    black 100%
  );
  z-index: 0;
}
/* decorative glowing orb — top-right */
.schools-section::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.10) 0%, transparent 70%);
  z-index: 0;
}
.schools-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
/* decorative bottom-left orb */
.schools-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.schools-orb-bl {
  bottom: -140px; left: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(230,81,0,0.07) 0%, transparent 70%);
}
/* dot-grid pattern top-left accent */
.schools-dots {
  position: absolute;
  top: 48px; left: 48px;
  width: 180px; height: 180px;
  background-image: radial-gradient(circle, rgba(21,101,192,0.18) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
/* accent underline below section title */
.schools-title-accent {
  width: 64px; height: 4px;
  margin: 10px auto 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
}
.schools-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.school-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(21,101,192,0.08);
  transition: var(--transition);
  border: 1px solid rgba(21,101,192,0.07);
}
.school-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(21,101,192,0.16); }
.school-card-img-wrap { position: relative; height: 260px; overflow: hidden; }
.school-card-img { width: 100%; height: 100%; transition: transform 0.55s ease; }
.school-card:hover .school-card-img { transform: scale(1.05); }
.school-card-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.school-card-overlay.blue-overlay { background: rgba(21,101,192,0.6); }
.school-card-overlay.orange-overlay { background: rgba(230,81,0,0.6); }
.school-card:hover .school-card-overlay { opacity: 1; }
.school-card-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px; border-radius: 2px; color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; display: flex; align-items: center; gap: 5px;
}
.badge-orange { background: var(--orange); }
.badge-blue   { background: var(--blue);   }

.school-card-body { padding: 24px; }
.school-level-icon {
  width: 50px; height: 50px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 12px;
}
.icon-orange { background: #fff3e0; color: var(--orange); }
.icon-blue   { background: var(--blue-light); color: var(--blue); }
.school-card-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.school-card-body > p { color: var(--gray); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.65; }
.school-features { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.school-features li { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 500; }
.school-features li i.fa-check-circle { font-size: 0.88rem; }
.feat-orange i { color: var(--orange); }
.feat-blue   i { color: var(--blue);   }
.school-card-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.school-stat { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; color: var(--gray); }
.btn-more {
  margin-left: auto; font-weight: 700; font-size: 0.84rem;
  display: flex; align-items: center; gap: 5px; transition: var(--transition);
}
.btn-more:hover { gap: 9px; }
.more-orange { color: var(--orange); }
.more-blue   { color: var(--blue);   }

/* ================================================================
   WHY US / ABOUT US SECTION
   ================================================================ */
.why-us {
  padding: 45px 0 50px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.why-us-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(135deg, #e0f2fe 0%, #e8f5e9 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
  opacity: 0.7;
}
.why-us .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-images {
  position: relative;
  height: 480px;
}
.why-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 72%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.why-img-main img,
.why-img-sec img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-img-sec {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 54%;
  height: 50%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border: 5px solid #ffffff;
}
.why-badge {
  position: absolute;
  bottom: 40px;
  left: -15px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  z-index: 5;
}
.why-badge i {
  font-size: 1.6rem;
  color: #f59e0b;
}

/* Right Content */
.why-tag {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.why-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
}
.why-title .highlight-blue {
  color: #2563eb;
}
.why-desc {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.why-feature:hover .why-icon {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
}
.why-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.why-feature-text p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.why-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ================================================================
   PROGRAMS
   ================================================================ */
.programs-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2744 100%);
}
.programs-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.programs-section .section-tag { background: rgba(255,255,255,0.1); color: #ffd54f; }
.programs-section .section-title { color: var(--white); }
.programs-section .section-desc { color: rgba(255,255,255,0.65); }
.programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.program-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 24px;
  transition: var(--transition);
}
.program-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-5px);
}
.prog-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--ic); margin-bottom: 14px;
  transition: var(--transition);
}
.program-card:hover .prog-icon { background: var(--ic); color: var(--white); }
.program-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.program-card p { font-size: 0.84rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.prog-tag {
  display: inline-block; padding: 3px 11px;
  border-radius: 50px; font-size: 0.72rem; font-weight: 700;
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-section { padding: 0; background: var(--white); }

/* Grid — full-width, no gaps, 4 cols × 2 rows */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Items — flush edges, no radius */
.gallery-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.55s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Overlay */
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(21,101,192,0.88) 0%,
    rgba(76,175,80,0.35) 60%,
    transparent 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 22px;
  gap: 6px; opacity: 0;
  transition: opacity 0.35s ease;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i   { font-size: 1.6rem; }
.gallery-overlay span { font-size: 0.85rem; font-weight: 700; text-align: center; letter-spacing: 0.3px; }
.gallery-item.hidden { display: none; }

/* ================================================================
   STATS BAR (Positioned After Quick Info Section)
   ================================================================ */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}
.stats-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.stats-grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: center;
}
.stats-item { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--white); flex: 1; }
.stats-item i { font-size: 2.2rem; color: rgba(255,255,255,0.75); margin-bottom: 2px; }
.stats-num-wrap { font-size: 2.8rem; font-weight: 700; color: var(--white); line-height: 1; font-family: var(--font); }
.stats-label { font-size: 0.88rem; color: rgba(255,255,255,0.85); font-weight: 600; letter-spacing: 0.3px; }

/* SHORT VERTICAL DIVIDER LINE BETWEEN ITEMS */
.stats-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  .stats-divider {
    display: none;
  }
}

/* ================================================================
   NEWS
   ================================================================ */
.news-section { padding: 90px 0; background: var(--white); }
.news-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.news-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  border: 1px solid var(--border); transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-featured { grid-row: span 2; display: flex; flex-direction: column; }
.news-img-wrap { position: relative; height: 190px; overflow: hidden; }
.news-featured .news-img-wrap { height: 260px; }
.news-img-wrap img { width: 100%; height: 100%; transition: transform 0.5s ease; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.news-cat {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 11px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.cat-achievement { background: #e8f5e9; color: #2e7d32; }
.cat-sports      { background: #fff3e0; color: #e65100; }
.cat-academic    { background: var(--blue-light); color: var(--blue); }
.cat-events      { background: #fce4ec; color: #c62828; }
.news-body { padding: 18px; flex: 1; }
.news-meta { font-size: 0.75rem; color: var(--gray); margin-bottom: 7px; }
.news-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-body p { font-size: 0.84rem; color: var(--gray); margin-bottom: 12px; }
.news-read-more {
  font-size: 0.82rem; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 5px; transition: var(--transition);
}
.news-read-more:hover { gap: 9px; }

/* ================================================================
   ADMISSIONS
   ================================================================ */
.admissions-section { padding: 90px 0; position: relative; overflow: hidden; }
.admissions-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1a237e 100%);
  z-index: 0;
}
.admissions-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.admissions-content .section-tag { background: rgba(255,255,255,0.15); color: var(--white); }
.admissions-content h2 { color: var(--white); font-size: 2.2rem; font-weight: 700; margin: 0.8rem 0; line-height: 1.2; }
.admissions-content > p { color: rgba(255,255,255,0.82); margin-bottom: 1.8rem; font-size: 0.95rem; }
.ad-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 1.8rem; }
.ad-step { display: flex; align-items: flex-start; gap: 14px; color: rgba(255,255,255,0.88); }
.ad-step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0; color: #ffd54f;
}
.ad-step strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.ad-step small { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.ad-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.admission-form-wrap { display: flex; flex-direction: column; height: 100%; }
.admission-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 44px 40px; box-shadow: var(--shadow-lg);
  height: 100%; box-sizing: border-box;
}
.admission-form-card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.admission-form-card h3 i { color: var(--blue); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--gray); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.4px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 0.93rem; color: var(--dark);
  background: var(--gray-light); outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section { padding: 90px 0; background: var(--gray-light); }
.testimonials-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.t-stars { color: #ffd54f; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card > p { font-size: 0.86rem; color: var(--gray); margin-bottom: 18px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar { font-size: 2.2rem; color: var(--blue-light); }
.t-author strong { font-size: 0.86rem; display: block; }
.t-author small { color: var(--gray); font-size: 0.75rem; }


/* ================================================================
   CONTACT
   ================================================================ */
.contact-section {
  padding: 0;
  background: #f0f2f5;   /* maziwa / light gray — full width */
}

/* Centred header */
.contact-header-wrap {
  text-align: center;
  padding: 40px 24px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-header-wrap .section-tag { display: inline-block; margin-bottom: 10px; }
.contact-header-wrap .section-title { margin-bottom: 12px; }
.contact-header-wrap .section-desc  { color: var(--gray); font-size: 0.95rem; }

/* Full-width split row */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 560px;
  width: 100%;
}


/* LEFT panel */
.contact-left {
  background: #fff;
  display: flex;
  align-items: stretch;
  border-top: 1px solid #e0e6ed;
  border-bottom: 1px solid #e0e6ed;
}
.contact-left-inner {
  padding: 52px 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #eef0f4;
}
.contact-info-item:last-of-type { border-bottom: none; }

.contact-icon {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21,101,192,0.25);
}
.contact-info-item strong {
  display: block; font-size: 0.87rem; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.contact-info-item p { font-size: 0.84rem; color: var(--gray); line-height: 1.6; margin: 0; }

/* Socials */
.contact-socials {
  display: flex; gap: 9px; margin-top: 24px;
}
.contact-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
  box-shadow: 0 3px 10px rgba(21,101,192,0.2);
}
.contact-socials a:hover { background: var(--primary); transform: translateY(-3px); }

/* RIGHT panel — map fills full height with grayscale styling */
.contact-right {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: #e5e7eb;
}
.contact-right iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  min-height: 560px;
}



/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: #0a1628; color: rgba(255,255,255,0.72); }

/* --- Footer Top Bar --- */
.footer-top-bar {
  background: linear-gradient(135deg, #1565c0 0%, #4caf50 100%);
  padding: 14px 0;
}
.footer-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-top-brand {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.95); font-size: 0.9rem; font-weight: 600;
}
.footer-top-brand i { font-size: 1.2rem; }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap; backdrop-filter: blur(4px);
}
.footer-cta-btn:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }

/* --- Footer Main --- */
.footer-main { padding: 64px 0 48px; }
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img {
  width: 52px; height: 52px; border-radius: 0 !important;
  border: none !important; background: transparent !important; box-shadow: none !important; object-fit: contain; flex-shrink: 0;
}
.footer-brand-name { display: block; font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.footer-brand-tag { display: block; font-size: 0.67rem; color: rgba(255,255,255,0.45); margin-top: 3px; }
.footer-brand-col > p { font-size: 0.84rem; line-height: 1.65; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

/* Socials */
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.8rem; transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }

/* Column headings */
.footer-col h4 {
  font-size: 0.92rem; font-weight: 700; color: var(--white); letter-spacing: 0.3px;
  margin-bottom: 20px; padding-bottom: 10px; position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  border-radius: 2px;
}

/* Links */
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.84rem; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-col ul li a i { color: var(--primary); font-size: 0.65rem; flex-shrink: 0; }

/* Newsletter */
.footer-col > p { font-size: 0.82rem; color: rgba(255,255,255,0.52); margin-bottom: 14px; line-height: 1.6; }
.footer-newsletter {
  display: flex; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); margin-bottom: 20px;
  background: rgba(255,255,255,0.04);
}
.footer-newsletter input {
  flex: 1; padding: 11px 14px;
  background: transparent; border: none;
  color: var(--white); font-family: var(--font); font-size: 0.82rem; outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter button {
  background: var(--primary); color: var(--white);
  padding: 0 16px; font-size: 0.88rem; transition: var(--transition); flex-shrink: 0;
}
.footer-newsletter button:hover { background: var(--primary-dark); }

/* Contact mini */
.footer-contact-mini { display: flex; flex-direction: column; gap: 9px; }
.footer-contact-mini p {
  font-size: 0.79rem; display: flex; align-items: flex-start; gap: 9px;
  color: rgba(255,255,255,0.5); line-height: 1.4;
}
.footer-contact-mini p i { color: var(--primary); width: 14px; flex-shrink: 0; margin-top: 2px; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  background: rgba(0,0,0,0.25);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.footer-bottom-inner p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  transition: var(--transition); position: relative;
}
.footer-bottom-links a::after {
  content:''; position:absolute; bottom:-2px; left:0; width:0; height:1px;
  background: var(--primary); transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--white); }
.footer-bottom-links a:hover::after { width: 100%; }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  z-index: 9999; opacity: 0; pointer-events: none; transition: var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); }
.lightbox-caption { color: rgba(255,255,255,0.72); font-size: 0.88rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  color: var(--white); font-size: 1.3rem; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.lightbox-close:hover { background: #c62828; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: #2e7d32; color: var(--white);
  padding: 12px 22px; border-radius: 9px; font-weight: 600; font-size: 0.88rem;
  z-index: 9998; display: flex; align-items: center; gap: 7px;
  box-shadow: var(--shadow-lg);
  transform: translateX(180%); transition: transform 0.38s ease;
}
.toast.show { transform: translateX(0); }

/* Scroll top */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: var(--transition); z-index: 900;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: all; }
.scroll-top-btn:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInDown { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(18px);  } to { opacity:1; transform:translateY(0); } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .programs-grid    { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .schools-grid  { grid-template-columns: 1fr; }
  .why-us-grid   { grid-template-columns: 1fr; }
  .why-images    { height: 300px; }
  .admissions-grid{ grid-template-columns: 1fr; }
  .news-grid     { grid-template-columns: 1fr 1fr; }
  .news-featured { grid-row: auto; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-right { min-height: 320px; }
  .contact-right iframe { min-height: 320px; }
  .gallery-grid  { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(4, 200px); }
  .hero-thumb-strip { width: 90%; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }

  /* ── 1. Hide the very top banner (topbar) on phones ── */
  .topbar { display: none; }

  /* ── Show mobile quick links in nav drawer ── */
  .mobile-quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--border);
  }
  .mobile-ql-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  .mobile-ql-link:hover, .mobile-ql-link:active {
    background: #e2e8f0;
    border-color: #94a3b8;
  }
  .mobile-ql-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: #3eb549;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(62,181,73,0.3);
    transition: background 0.2s, transform 0.15s;
  }
  .mobile-ql-btn:hover, .mobile-ql-btn:active {
    background: #36a340;
    transform: translateY(-1px);
  }

  /* ── 2. Sticky logo header ── */
  .site-header { position: sticky; top: 0; height: 64px; }
  .header-brand { gap: 10px; flex-shrink: 1; min-width: 0; }
  .header-logo-wrap { width: 44px; height: 44px; min-width: 44px; flex-shrink: 0; }
  .header-logo { width: 44px; height: 44px; max-height: 44px; max-width: 44px; object-fit: contain; }
  .brand-main { font-size: 1.05rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.2px; }
  .brand-sub { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3px; }

  /* ── 3. Mobile menu: half-screen drawer sliding in from the right ── */
  .header-nav {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(0,0,0,0.18);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow-y: auto;
    z-index: 1050;
    padding: 24px 18px 40px;
    transform: translateX(100%);
    transition: transform 0.32s ease;
  }
  .header-nav.open { transform: translateX(0); }
  .header-nav-link {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 10px;
    border-top: none;
    border-bottom: 1px solid var(--border);
  }
  .header-nav-link:last-child { border-bottom: none; }
  .header-nav-link.nav-current { border-top: none; background: var(--primary-light); }
  .header-dropdown { flex-direction: column; align-items: stretch; height: auto; }
  .header-dropdown-btn {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .header-search-btn { display: none; }

  /* "Our Schools" mega menu collapses inline inside the drawer */
  .mega-menu {
    position: static;
    width: 100%;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mega-dropdown-wrap.open-mega .mega-menu { max-height: 520px; }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .mega-col { padding: 14px 16px; border-right: none; border-bottom: 1px solid var(--border); }
  .mega-promo { display: none; }

  .header-hamburger { display: flex; }

  /* ── 4. Home hero: small fixed image on top, text below, no arrows ── */
  .hero:not(.ps-hero) { height: auto; }
  .hero:not(.ps-hero) .hero-slides { height: auto; }
  .hero:not(.ps-hero) .hero-slide {
    position: relative;
    height: auto;
    opacity: 1;
    background-image: none;
    transition: none;
  }
  .hero:not(.ps-hero) .hero-slide::before {
    content: '';
    display: block;
    width: 100%;
    height: 230px;
    background: var(--bg) center/cover no-repeat;
  }
  .hero:not(.ps-hero) .hero-slide:not(.active) {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
  }
  .hero:not(.ps-hero) .hero-overlay { display: none; }
  .hero:not(.ps-hero) .hero-content {
    position: static;
    max-width: none;
    background: var(--white);
    padding: 22px 20px 26px;
    text-align: left;
  }
  .hero:not(.ps-hero) .hero-title { color: var(--dark); text-shadow: none; font-size: 1.6rem; }
  .hero:not(.ps-hero) .hero-sub { color: var(--gray); text-shadow: none; }
  .hero:not(.ps-hero) .hero-btns .btn-tour {
    background: var(--blue);
    color: var(--white);
    border-left: 4px solid var(--blue-dark);
    box-shadow: 0 4px 14px rgba(21,101,192,0.28);
  }
  .hero:not(.ps-hero) .hero-dots { top: 198px; bottom: auto; }

  /* No slider arrows on any phone hero */
  .hero-arrow { display: none; }

  .hero-thumb-strip { display: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-left-inner { padding: 36px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-top-cta { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; width: 100%; }
  .footer-main { padding: 48px 0 36px; }
  .footer-container { padding: 0 20px; }

  /* ── 5. Gallery: small images arranged in two columns ── */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 130px); }
  .gallery-overlay span { font-size: 0.7rem; }

  /* Tidy up remaining sections for phones */
  .quick-info-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-info-item { padding: 16px 14px; }
  .section-header { margin-bottom: 1.6rem; }
  .schools-section, .why-us, .admissions-section, .contact-section, .stats-section { padding: 48px 0; }

  /* ── Section title & description mobile tweaks ── */
  .section-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.8rem;
  }
  .section-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 100%;
    padding: 0 4px;
    color: var(--gray);
  }
}
@media (max-width: 480px) {
  .site-header { height: 60px; }
  .header-brand { gap: 8px; flex-shrink: 1; min-width: 0; }
  .header-logo-wrap { width: 42px; height: 42px; min-width: 42px; flex-shrink: 0; }
  .header-logo { width: 42px; height: 42px; max-height: 42px; max-width: 42px; object-fit: contain; }
  .brand-main { font-size: 0.95rem; font-weight: 800; line-height: 1.1; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.2px; }
  .hero-title { font-size: 1.75rem; }
  .hero-btns { flex-direction: column; }
  .section-title { font-size: 1.35rem; font-weight: 800; }
  .section-desc { font-size: 0.82rem; line-height: 1.55; padding: 0 2px; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 110px); }
  .quick-info-grid { grid-template-columns: 1fr; }
  .quick-info-text strong { font-size: 0.95rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links { justify-content: center; }
  .footer-top-bar { padding: 10px 0; }
  .footer-cta-btn { font-size: 0.75rem; padding: 8px 10px; white-space: normal; text-align: center; justify-content: center; }
  .topbar-social { display: none; }
}

/* ================================================================
   BMS UNIVERSAL LOGIN POPUP MODAL (TOPAP)
   ================================================================ */
.bms-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bms-login-modal.active {
  opacity: 1;
  visibility: visible;
}

.bms-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}

.bms-modal-container {
  position: relative;
  z-index: 100000;
  width: 92%;
  max-width: 960px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bms-login-modal.active .bms-modal-container {
  transform: scale(1) translateY(0);
}

.bms-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 100001;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 0;
  font-size: 22px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bms-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.bms-modal-wrapper {
  display: flex;
  min-height: 520px;
}

/* Left Column: Logo & Welcome Message with Faint Background Watermark */
.bms-modal-left {
  flex: 1.1;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 35px;
  color: #ffffff;
  text-align: center;
}

.bms-modal-left::before {
  display: none !important;
}

.bms-left-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
}

.bms-modal-logo {
  height: 120px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 0px !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 24px;
  display: block;
}

.bms-left-brand h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.bms-left-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Right Column: Form */
.bms-modal-right {
  flex: 1;
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.bms-modal-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.bms-modal-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #5b42f3;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.bms-modal-form-group {
  margin-bottom: 16px;
}

.bms-modal-input-pill {
  background: #ececec;
  border-radius: 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease;
}

.bms-modal-input-pill:focus-within {
  background: #e2e8f0;
  outline: 2px solid #5b42f3;
}

.bms-modal-input-pill i {
  color: #1e293b;
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.bms-modal-input-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bms-modal-input-label {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-transform: capitalize;
}

.bms-modal-input-pill input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  width: 100%;
}

.bms-modal-toggle-pwd {
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
}

.bms-modal-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 12px;
}

.bms-modal-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  cursor: pointer;
}

.bms-modal-remember input {
  accent-color: #5b42f3;
}

.bms-modal-forgot {
  color: #5b42f3;
  font-weight: 500;
}

.bms-modal-btn-login {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  background: #5b42f3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(91, 66, 243, 0.3);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bms-modal-btn-login:hover {
  background: #4a32e0;
}

.bms-modal-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

.bms-modal-footer a {
  color: #5b42f3;
  font-weight: 600;
}

.bms-modal-alert {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 0;
  font-size: 12px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .bms-modal-wrapper {
    flex-direction: column;
  }
  .bms-modal-left {
    padding: 30px 20px;
  }
  .bms-modal-logo {
    width: 80px;
    height: 80px;
  }
  .bms-modal-right {
    padding: 30px 24px;
  }
}

