/* =============================================
   ST LEONARD ACADEMY — MAIN STYLESHEET
   Color Palette: Maroon | Navy Blue | White | Gold | Red accent
   ============================================= */

:root {
  --maroon: #6B0F1A;
  --maroon-dark: #4A0A12;
  --maroon-light: #8B1526;
  --navy: #0D1B3E;
  --navy-mid: #162447;
  --navy-light: #1e3163;
  --white: #ffffff;
  --off-white: #f9f7f4;
  --gold: #C9A84C;
  --gold-light: #e8c96e;
  --red: #C0392B;
  --red-light: #e74c3c;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

ul { list-style: none; }

/* =============================================
   UTILITY CLASSES
   ============================================= */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.logo-image {
  width: 60px;       /* adjust size as needed */
  height: 60px;      /* keep width and height equal for a perfect circle */
  border-radius: 50%; /* makes the image circular */
  object-fit: cover;  /* ensures the image fills the circle without distortion */
}
.logo-emblem {
  width: 80px; /* Set your desired size here */
  height: 80px;
  display: flex; /* Keeps the flex layout you had */
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-top: 16px;
}

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag.light {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.4);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--navy);
}

.section-header.light .section-title {
  color: var(--white);
}

.section-header.light p { color: rgba(255,255,255,0.75); }

.dark-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--maroon-dark) 100%);
  color: var(--white);
}

.dark-section .section-title { color: var(--white); }

.lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--maroon);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(107,15,26,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(107,15,26,0.5);
  background: linear-gradient(135deg, var(--maroon-light), var(--maroon));
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
}

.full-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */

.announcement-bar {
  background: linear-gradient(90deg, var(--maroon-dark), var(--navy));
  color: var(--white);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1100;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
  gap: 16px;
}

.ticker-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-content {
  display: flex;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
  gap: 60px;
  font-size: 0.82rem;
  font-weight: 500;
}

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

.bar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--trans);
  flex-shrink: 0;
}

.bar-close:hover { color: white; background: rgba(255,255,255,0.15); }

/* =============================================
   NAVIGATION
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--trans);
}

.site-header.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-link { display: flex; }

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

.logo-emblem {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(107,15,26,0.4);
}

.logo-cross {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 900;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-school {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--maroon);
}

.logo-academy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 5px;
  color: var(--navy);
}

.logo-motto {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li { position: relative; }

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--maroon);
  background: rgba(107,15,26,0.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 15px rgba(107,15,26,0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,15,26,0.4) !important;
  background: var(--maroon-light) !important;
}

/* Dropdown */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--trans);
  z-index: 100;
  border: 1px solid var(--gray-200);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.dropdown li a:hover { background: rgba(107,15,26,0.06); color: var(--maroon); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--trans);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider { width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  animation: kenBurns 12s ease-in-out infinite alternate;
}

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

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,62,0.82) 0%,
    rgba(107,15,26,0.65) 50%,
    rgba(13,27,62,0.5) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.slide-tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.slide-content h1 em {
  color: var(--gold);
  font-style: italic;
}

.slide-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.slider-btn:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 24px; }
.next { right: 24px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 110px;
  left: 40px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

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

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* Hero Stats */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  gap: 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
}

.hero-stat {
  text-align: center;
  padding: 8px 40px;
  flex: 1;
}

.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--maroon);
  line-height: 1;
}

.hero-stat strong + span {
  font-size: 1.5rem;
  color: var(--maroon);
  font-weight: 900;
}

.hero-stat p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-top: 4px;
  font-weight: 600;
}

.hero-divider {
  width: 1px;
  height: 50px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 540px;
}

.img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(107,15,26,0.4);
}

.img-badge i { font-size: 1.4rem; color: var(--gold); margin-bottom: 4px; }

.img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42%;
  height: 44%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.img-tertiary {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 35%;
  height: 38%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { color: var(--navy); margin-bottom: 20px; }
.about-content p { color: var(--text-mid); margin-bottom: 14px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--maroon);
}

.value-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.value-item span { font-size: 0.78rem; color: var(--text-mid); }

.headmaster-quote {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  margin-top: 10px;
}

.quote-icon {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

.headmaster-quote p {
  color: rgba(255,255,255,0.9) !important;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px !important;
}

.headmaster-quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
}

.headmaster-quote footer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}

.headmaster-quote footer strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}

.headmaster-quote footer span { font-size: 0.78rem; color: var(--gold); }

/* =============================================
   PROGRAMS SECTION
   ============================================= */

.programs { background: var(--white); }

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--trans);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.program-card.featured {
  border: 2px solid var(--maroon);
  position: relative;
}

.program-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.program-img img { transition: transform 0.6s ease; }
.program-card:hover .program-img img { transform: scale(1.05); }

.program-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.program-badge.day { background: var(--navy); color: var(--white); }
.program-badge.boarding { background: var(--maroon); color: var(--white); }

.popular-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.program-body {
  padding: 28px;
}

.program-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(107,15,26,0.25);
}

.program-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.program-body > p {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.program-features {
  margin-bottom: 24px;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
}

.program-features li:last-child { border: none; }

.program-features .fa-check-circle { color: var(--maroon); font-size: 0.9rem; flex-shrink: 0; }

/* Academic Pathway */
.pathway {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}

.pathway h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}

.pathway-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pathway-step {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 0 auto 14px;
  box-shadow: 0 4px 20px rgba(107,15,26,0.4);
}

.pathway-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.pathway-step p { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.pathway-step span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

.pathway-arrow {
  color: var(--gold);
  font-size: 1.4rem;
  opacity: 0.6;
  flex-shrink: 0;
}

/* =============================================
   FACILITIES SECTION
   ============================================= */

.facilities { background: var(--off-white); }

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

.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border: 1px solid var(--gray-200);
}

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

.facility-img {
  height: 170px;
  overflow: hidden;
}

.facility-img img { transition: transform 0.5s ease; }
.facility-card:hover .facility-img img { transform: scale(1.08); }

.facility-body { padding: 20px; }

.facility-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--white);
}

.facility-icon.maroon { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); }
.facility-icon.navy { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.facility-icon.red { background: linear-gradient(135deg, var(--red), #9b1c1c); }

.facility-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.facility-body p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

/* =============================================
   BOARDING SECTION
   ============================================= */

.boarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.showcase-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.showcase-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
}

.showcase-overlay span {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 14px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.25);
}

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

.showcase-row > * {
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
}

.boarding-features h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}

.boarding-features > p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.feature-list { display: flex; flex-direction: column; gap: 18px; }

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--trans);
}

.feat-icon.red { background: rgba(192,57,43,0.2); border-color: rgba(192,57,43,0.3); color: #e74c3c; }

.feature-row:hover .feat-icon {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
}

.feature-row strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 3px;
}

.feature-row p { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* =============================================
   HEALTH & TRANSPORT
   ============================================= */

.health-transport { background: var(--white); }

.ht-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ht-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--trans);
}

.ht-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.ht-img { height: 240px; overflow: hidden; }
.ht-img img { transition: transform 0.6s ease; }
.ht-card:hover .ht-img img { transform: scale(1.05); }

.ht-content { padding: 32px; }

.ht-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.ht-icon.red { background: linear-gradient(135deg, var(--red), #9b1c1c); }
.ht-icon.maroon { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); }

.ht-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.ht-content > p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 20px; }

.ht-content ul { display: flex; flex-direction: column; gap: 10px; }

.ht-content li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.ht-content li .fa-check { color: var(--maroon); font-size: 0.82rem; }

/* =============================================
   ACADEMICS SECTION
   ============================================= */

.academics { background: var(--off-white); }

.academics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.academics-content .section-title { margin-bottom: 16px; }
.academics-content p { color: var(--text-mid); margin-bottom: 14px; }

.academics-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.acad-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--maroon);
}

.acad-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 6px;
}

.acad-stat span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-700);
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tech-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.tech-feat i { color: var(--maroon); font-size: 1rem; }

.academics-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.academics-image img {
  border-radius: var(--radius-lg);
  height: 480px;
  box-shadow: var(--shadow-xl);
}

.academics-overlay {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(107,15,26,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.overlay-stat i { font-size: 1.8rem; color: var(--gold); }
.overlay-stat strong { display: block; font-size: 1.1rem; font-weight: 800; }
.overlay-stat span { font-size: 0.78rem; opacity: 0.8; }

/* =============================================
   VIDEO SECTION
   ============================================= */

.videos { background: var(--white); }

.video-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.vtab {
  padding: 10px 28px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--trans);
}

.vtab:hover { border-color: var(--maroon); color: var(--maroon); }
.vtab.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

.video-panels { position: relative; }

.vpanel { display: none; }
.vpanel.active { display: block; }

.video-container {
  position: relative;
  padding-bottom: 50%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  margin-top: 24px;
}

.video-caption h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.video-caption p { color: var(--text-mid); font-size: 0.9rem; }

/* =============================================
   GALLERY SECTION
   ============================================= */

.gallery { background: var(--off-white); }

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gfilt {
  padding: 8px 22px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--trans);
}

.gfilt:hover { border-color: var(--maroon); color: var(--maroon); }
.gfilt.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

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

.gal-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--trans);
}

.gal-item.large { grid-column: span 2; }

.gal-item img { transition: transform 0.5s ease; }
.gal-item:hover img { transform: scale(1.08); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.8) 0%, rgba(107,15,26,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
}

.gal-item:hover .gal-overlay { opacity: 1; }

.gal-overlay i { font-size: 1.8rem; }
.gal-overlay span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 1px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lb-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

#lbCaption {
  color: rgba(255,255,255,0.8);
  margin-top: 16px;
  font-size: 0.9rem;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-close { top: 20px; right: 20px; }
.lb-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 20px; transform: translateY(-50%); }

.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--maroon); border-color: var(--maroon); }

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials { background: var(--white); }

.testimonials-slider { overflow: hidden; }

.testi-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

.testi-card {
  min-width: calc(50% - 14px);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--trans);
}

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

.testi-stars {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card p {
  color: var(--text-mid);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  quotes: '"' '"';
}

.testi-card p::before { content: open-quote; color: var(--maroon); font-size: 2rem; font-family: 'Playfair Display', serif; line-height: 0; vertical-align: -12px; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.testi-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  flex-shrink: 0;
  object-fit: cover;
}

.testi-author strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.testi-author span { font-size: 0.78rem; color: var(--maroon); font-weight: 600; }

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testi-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-nav button:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

.testi-dots { display: flex; gap: 6px; }

.tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--trans);
}

.tdot.active { background: var(--maroon); width: 24px; border-radius: 4px; }

/* =============================================
   WHY CHOOSE US
   ============================================= */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image img {
  border-radius: var(--radius-lg);
  height: 520px;
  box-shadow: var(--shadow-xl);
}

.why-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--gold);
  color: var(--navy);
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

.why-badge i { font-size: 2rem; }
.why-badge strong { display: block; font-size: 1rem; font-weight: 800; }
.why-badge span { font-size: 0.78rem; font-weight: 600; }

.why-content .section-title { color: var(--white); margin-bottom: 28px; }

.why-list { display: flex; flex-direction: column; gap: 14px; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.why-item .fa-check-circle { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--maroon);
}

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

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i { color: var(--maroon); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--trans);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107,15,26,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 40px;
}

.form-success .fa-check-circle { font-size: 4rem; color: #27ae60; margin-bottom: 16px; }
.form-success h4 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }
.form-success p { color: var(--text-mid); }

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.5; }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  transition: var(--trans);
}

.social-btn:hover { transform: translateY(-4px) scale(1.1); }

.social-btn.fb { background: #1877f2; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.tw { background: #1da1f2; }
.social-btn.yt { background: #ff0000; }
.social-btn.wa { background: #25d366; }

/* =============================================
   FOOTER
   ============================================= */

.site-footer { background: var(--navy); color: var(--white); }

.footer-top { padding: 80px 0 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-emblem {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.fl-school {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--white);
}

.fl-academy {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 4px;
  color: var(--gold);
}

.footer-brand > p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

.footer-badges i { color: var(--gold); }

.footer-links h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--maroon);
  display: inline-block;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans);
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: 0.7rem; color: var(--maroon); }

.footer-newsletter h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-newsletter > p { font-size: 0.83rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }

.newsletter-form { margin-bottom: 24px; }

.nl-input-row {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.nl-input-row input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.nl-input-row input::placeholder { color: rgba(255,255,255,0.4); }

.nl-input-row button {
  padding: 12px 18px;
  background: var(--maroon);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  font-size: 0.9rem;
}

.nl-input-row button:hover { background: var(--maroon-light); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact i { color: var(--gold); font-size: 0.85rem; }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 20px 0;
}

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

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* =============================================
   SCROLL TO TOP
   ============================================= */

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(107,15,26,0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--trans);
  z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(107,15,26,0.5); }

/* =============================================
   MAP PLACEHOLDER
   ============================================= */

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid var(--gray-200);
}

/* =============================================
   RESPONSIVE - TABLET (≤ 1024px)
   ============================================= */

@media (max-width: 1024px) {
  .facilities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid { gap: 48px; }
  .about-grid { gap: 48px; }
  .academics-inner { gap: 48px; }
}

@media (max-width: 900px) {
  .hero-stats { gap: 0; }
  .hero-stat { padding: 8px 20px; }
  .hero-stat strong { font-size: 1.8rem; }
  .boarding-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 360px; }
  .img-main { width: 75%; height: 82%; }
  .academics-inner { grid-template-columns: 1fr; }
  .academics-image img { height: 340px; }
  .academics-overlay { display: none; }
  .programs-grid { gap: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image img { height: 360px; }
  .why-badge { bottom: -16px; left: 16px; }
  .ht-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testi-card { min-width: calc(100% - 0px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item.large { grid-column: span 2; }
}

/* =============================================
   RESPONSIVE - MOBILE (≤ 640px)
   ============================================= */

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 999;
    overflow-y: auto;
    gap: 4px;
  }

  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { width: 100%; justify-content: space-between; font-size: 0.9rem; padding: 12px 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(107,15,26,0.04); margin-top: 4px; }

  /* Hero */
  .slide-content { padding: 0 24px; }
  .slide-content h1 { font-size: 2rem; }
  .slide-content p { font-size: 0.9rem; }
  .slide-actions { flex-direction: column; gap: 12px; }
  .btn { padding: 12px 24px; font-size: 0.82rem; }
  .slider-btn { width: 40px; height: 40px; }
  .prev { left: 12px; }
  .next { right: 12px; }
  .slider-dots { left: 24px; bottom: 130px; }

  /* Hero Stats */
  .hero-stats {
    flex-wrap: wrap;
    padding: 16px 16px;
    gap: 8px;
  }

  .hero-stat { padding: 8px 12px; flex: calc(50% - 8px); }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-divider { display: none; }

  /* About */
  .about-images { height: 300px; }
  .img-main { width: 80%; height: 78%; }
  .img-tertiary { width: 38%; }
  .about-values { grid-template-columns: 1fr; }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr; }
  .pathway { padding: 32px 20px; }
  .pathway-steps { flex-direction: column; align-items: center; }
  .pathway-arrow { transform: rotate(90deg); }
  .pathway-step { min-width: auto; }

  /* Facilities */
  .facilities-grid { grid-template-columns: 1fr 1fr; }

  /* Boarding */
  .showcase-row { grid-template-columns: 1fr 1fr; }

  /* Academics */
  .academics-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .acad-num { font-size: 1.4rem; }
  .tech-features { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gal-item.large { grid-column: span 2; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .contact-form h3 { font-size: 1.2rem; }

  /* Section header */
  .section-title { font-size: 1.6rem !important; }

  /* Testimonials */
  .testi-card { min-width: 100%; }
}

@media (max-width: 400px) {
  .facilities-grid { grid-template-columns: 1fr; }
  .academics-stats { grid-template-columns: 1fr; }
}
