/* ==========================================================================
   BRIGHT CREATION CONVENT SCHOOL - MODERN STYLESHEET
   Clean, Responsive, Fast, Accessible Design System
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Outfit:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

/* --- DESIGN TOKENS & ROOT VARIABLES --- */
:root {
  --school-blue: #002855;
  --school-blue-dark: #001833;
  --school-blue-light: #003e85;
  --cherry-red: #D2042D;
  --cherry-red-dark: #a80324;
  --school-yellow: #FFC72C;
  --school-yellow-dark: #e5b020;
  
  --white: #ffffff;
  --off-white: #f8fafc;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-600: #475569;
  --dark-text: #1e293b;
  --gray-text: #475569;
  --light-gray: #f8fafc;
  
  --font-heading: 'Merriweather', serif;
  --font-ui: 'Outfit', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 40, 85, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 40, 85, 0.12);
  --shadow-hover: 0 16px 36px rgba(0, 40, 85, 0.16);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & GLOBAL BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 199, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0); }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes tickerAnim {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.slide-in-up {
  animation: slideInUp 0.8s ease-out forwards;
}

.fade-in-element {
  animation: fadeIn 0.6s ease-out forwards;
}

/* --- ANNOUNCEMENT TICKER --- */
.ticker-wrap {
  display: block;
  background: linear-gradient(90deg, #b00326, var(--cherry-red), #b00326);
  width: 100%;
  overflow: hidden;
  height: 38px;
  line-height: 38px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: tickerAnim 22s linear infinite;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.ticker-content span {
  display: inline-block;
  padding-right: 50px;
}

.ticker-wrap:hover .ticker-content {
  animation-play-state: paused;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--cherry-red);
  color: var(--white) !important;
  padding: 13px 30px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cherry-red);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(210, 4, 45, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--school-blue);
  border-color: var(--school-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 40, 85, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--cherry-red) !important;
  padding: 13px 30px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cherry-red);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--cherry-red);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(210, 4, 45, 0.25);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--school-yellow);
  color: var(--school-blue-dark) !important;
  padding: 13px 26px;
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--school-yellow);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 199, 44, 0.3);
  transition: var(--transition);
}

.btn-gold:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--school-blue) !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white) !important;
  padding: 13px 28px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--school-blue) !important;
  transform: translateY(-2px);
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #001f42 0%, #002855 100%);
  color: var(--white) !important;
  padding: 13px 26px;
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--school-yellow);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 40, 85, 0.4);
  transition: var(--transition);
}

.btn-portal i {
  color: var(--school-yellow);
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.btn-portal:hover {
  background: var(--school-yellow);
  color: var(--school-blue-dark) !important;
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 199, 44, 0.45);
}

.btn-portal:hover i {
  color: var(--school-blue-dark);
  transform: scale(1.15);
}

.top-portal-btn {
  background: linear-gradient(135deg, #b00326, var(--cherry-red));
  color: var(--white) !important;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.top-portal-btn i {
  color: var(--school-yellow);
}

.top-portal-btn:hover {
  background: var(--school-yellow);
  color: var(--school-blue-dark) !important;
  border-color: var(--school-yellow);
  transform: translateY(-1px);
}

.top-portal-btn:hover i {
  color: var(--school-blue-dark);
}

.cta-wrapper {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* --- SECTION HEADERS --- */
.section-tagline {
  display: inline-block;
  color: var(--cherry-red);
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: var(--school-blue);
  margin-bottom: 15px;
  line-height: 1.25;
}

.title-underline, .center-underline {
  width: 65px;
  height: 4px;
  background: linear-gradient(90deg, var(--school-yellow), var(--cherry-red));
  border-radius: 2px;
  margin-bottom: 25px;
}

.center-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 45px;
  text-align: center;
}

.intro-paragraph {
  font-size: 1.1rem;
  color: var(--gray-text);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* --- TOP BAR --- */
.top-bar {
  background-color: var(--school-blue);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-ui);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-links a:hover {
  color: var(--school-yellow);
}

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

.top-socials a {
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}

.top-socials a:hover {
  background: var(--cherry-red);
  transform: translateY(-2px);
}

/* --- STICKY NAVIGATION BAR --- */
.main-header {
  background: linear-gradient(180deg, #001f42 0%, #002855 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 20, 50, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--school-yellow);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

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

.logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform var(--transition-fast);
}

.logo a:hover img {
  transform: scale(1.04);
}

.logo-text h1,
.logo-text .site-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.logo-text span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--school-yellow);
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--school-yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--school-yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-apply-btn {
  background: var(--cherry-red);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 10px rgba(210, 4, 45, 0.35);
}

.nav-apply-btn::after {
  display: none !important;
}

.nav-apply-btn:hover {
  background: #b80326;
  border-color: var(--school-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(210, 4, 45, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  color: var(--school-yellow);
}

/* Mobile backdrop */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 998;
}

.mobile-nav-backdrop.active {
  display: block;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: 82vh;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--school-blue-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease-out;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Specific framing calibration for Founders portrait to ensure heads and foreheads are never cropped */
.hero-slide-founders {
  background-position: center top !important;
  transform-origin: center top !important;
}

/* Clear, vibrant overlay allowing background slideshow images to shine through */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 20, 45, 0.38) 0%,
    rgba(0, 25, 55, 0.20) 50%,
    rgba(0, 20, 45, 0.45) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 199, 44, 0.18);
  border: 1px solid var(--school-yellow);
  color: var(--school-yellow);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  animation: pulseGlow 2.5s infinite;
  backdrop-filter: blur(4px);
}

.hero-subtitle {
  display: block;
  color: var(--school-yellow);
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 3.6rem;
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  color: var(--school-yellow);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-motto {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.8px;
  margin: 18px auto 0;
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9);
  display: inline-block;
  position: relative;
  max-width: 800px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Hero Controls (Arrows & Dots) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 40, 85, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--cherry-red);
  border-color: var(--cherry-red);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev { left: 25px; }
.hero-next { right: 25px; }

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

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

.hero-dot.active {
  background: var(--school-yellow);
  width: 32px;
}

/* --- PAGE HEADER BANNER --- */
.page-header {
  background-image: linear-gradient(rgba(0, 32, 68, 0.9), rgba(0, 40, 85, 0.85)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 85px 0 60px;
  text-align: center;
  color: var(--white);
  margin-bottom: 50px;
  border-bottom: 5px solid var(--school-yellow);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--school-yellow);
  font-weight: 800;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

/* --- WELCOME SECTION --- */
.welcome-section {
  padding: 85px 0;
  background-color: var(--white);
}

.welcome-header {
  margin-bottom: 40px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: center;
}

.welcome-image-box {
  position: relative;
}

.welcome-image-box img {
  border-radius: var(--radius-md);
  box-shadow: 15px 15px 0px var(--school-blue);
  width: 100%;
  object-fit: cover;
}

.lead-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--cherry-red);
  font-style: italic;
  font-weight: 700;
  margin-bottom: 20px;
}

.welcome-content p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.signature-block {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--slate-200);
}

.signature-text {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 2px;
}

.signature-block h3 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.designation {
  font-size: 0.85rem;
  color: var(--cherry-red);
  font-weight: 700;
  text-transform: uppercase;
}

/* --- LEADERSHIP SECTION --- */
.leadership-section {
  padding: 85px 0;
  background-color: var(--slate-50);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 25px;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--school-yellow);
}

.leader-img {
  aspect-ratio: 3 / 4;
  height: auto;
  overflow: hidden;
  background: var(--slate-100);
  position: relative;
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s ease;
}

/* Precise framing for each leader photo so full head & attire are visible */
.leader-img img[src*="director"] {
  object-position: center 12%;
}

.leader-img img[src*="manager"] {
  object-position: center 10%;
}

.leader-img img[src*="geeta"] {
  object-position: center 12%;
}

.leader-img img[src*="WhatsApp"] {
  object-position: center 25%;
}

.leader-img img[src*="tejas"] {
  object-position: center 15%;
}

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

.leader-info {
  padding: 18px 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--school-blue);
  margin-bottom: 6px;
  font-weight: 700;
}

.leader-role {
  display: inline-block;
  color: var(--cherry-red);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- SPOTLIGHT (ADMISSIONS) SECTION --- */
.spotlight-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--school-blue-dark) 0%, var(--school-blue) 100%);
  color: var(--white);
}

.spotlight-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 199, 44, 0.3);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.spotlight-badge img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.spotlight-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--school-yellow);
  margin-bottom: 8px;
}

.spotlight-year {
  display: inline-block;
  background: var(--cherry-red);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.spotlight-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- STATS COUNTER SECTION --- */
.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cherry-red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.stat-box {
  text-align: center;
  padding: 45px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-box:last-child {
  border-right: none;
}

.stat-box:hover {
  background: rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--school-yellow);
  font-weight: 900;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-box p {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- INTRO TEXT & APPROACH COLUMNS --- */
.intro-text-section {
  padding: 70px 0 50px;
  text-align: center;
  background: var(--white);
}

.intro-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--school-blue);
  margin-bottom: 15px;
}

.feature-columns-section {
  display: flex;
}

.feature-column {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 80px 30px;
  min-height: 420px;
}

.left-column {
  background-image: url('https://images.unsplash.com/photo-1546410531-bb4696181180?q=80&w=2070&auto=format&fit=crop');
}

.right-column {
  background-image: url('https://images.unsplash.com/photo-1560523091-ce7311100f91?q=80&w=2070&auto=format&fit=crop');
}

.column-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 32, 68, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: var(--transition);
}

.feature-column:hover .column-overlay {
  background-color: rgba(0, 32, 68, 0.82);
}

.column-content {
  max-width: 480px;
}

.column-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--school-yellow);
}

.column-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.column-btn {
  display: inline-block;
  background-color: var(--cherry-red);
  color: var(--white);
  padding: 12px 30px;
  font-family: var(--font-ui);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.column-btn:hover {
  background-color: var(--school-yellow);
  color: var(--school-blue);
  transform: translateY(-2px);
}

/* --- LEGACY & VARANASI ROOTS --- */
.legacy-section {
  padding: 75px 0;
  text-align: center;
  background: var(--slate-100);
}

.legacy-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--school-blue);
  margin-bottom: 15px;
}

.legacy-text {
  font-size: 1.15rem;
  color: var(--gray-text);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.8;
}

.varanasi-section {
  background-image: url('https://images.unsplash.com/photo-1561361513-2d000a50f0dc?q=80&w=2076&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.varanasi-overlay {
  background-color: rgba(0, 32, 68, 0.85);
  padding: 90px 0;
  text-align: center;
  color: var(--white);
}

.varanasi-content .section-title {
  color: var(--school-yellow);
}

.varanasi-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* --- CAMPUS EXPLORE & NEWS GRID --- */
.explore-section, .news-section {
  padding: 85px 0;
  background-color: var(--white);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.explore-card {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.explore-card:hover img {
  transform: scale(1.08);
}

.explore-card .card-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 24, 51, 0.95), rgba(0, 24, 51, 0.4) 70%, transparent);
  color: var(--white);
  padding: 25px 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  border-bottom: 4px solid var(--cherry-red);
  transition: var(--transition);
}

.explore-card:hover .card-title {
  border-bottom-color: var(--school-yellow);
}

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

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

.news-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover img {
  transform: scale(1.04);
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--cherry-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--school-blue);
  margin: 8px 0 10px;
  line-height: 1.35;
}

.news-excerpt {
  color: var(--gray-text);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--school-blue);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-ui);
}

.read-more:hover {
  color: var(--cherry-red);
  gap: 10px;
}

/* --- QUICK CONTACT / INQUIRY SECTION --- */
.contact-section {
  padding: 85px 0;
  background-color: var(--slate-50);
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
}

.contact-card {
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--school-blue);
  margin-bottom: 18px;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 52px;
  height: 52px;
  background: var(--slate-100);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--school-blue);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--school-blue);
  margin-bottom: 3px;
}

.info-text p {
  color: var(--gray-text);
  font-size: 0.92rem;
  margin-bottom: 5px;
}

.link-btn {
  font-size: 0.82rem;
  color: var(--cherry-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.link-btn:hover {
  color: var(--school-blue);
}

.form-wrapper {
  background: var(--white);
  padding: 38px;
  border-radius: var(--radius-md);
  border-top: 5px solid var(--cherry-red);
  box-shadow: var(--shadow-md);
}

.form-wrapper h3 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  font-size: 0.95rem;
  color: var(--dark-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--school-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 40, 85, 0.12);
  outline: none;
}

.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: white !important;
  padding: 12px 25px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 12px;
}

.btn-whatsapp-direct:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* --- FOOTER SECTION --- */
.new-footer {
  background-color: #ffffff;
  color: var(--dark-text);
  padding-top: 70px;
  border-top: 5px solid var(--school-yellow);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.8fr;
  gap: 50px;
  margin-bottom: 45px;
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-lockup img {
  height: 65px;
}

.footer-school-name h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--school-blue);
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-school-name span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cherry-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-desc {
  color: var(--gray-text);
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-col h3 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--school-blue);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--dark-text);
}

.contact-list i {
  color: var(--cherry-red);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.footer-social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

.bg-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.bg-fb { background-color: #1877F2; }
.bg-yt { background-color: #FF0000; }

.footer-separator {
  height: 1px;
  background-color: var(--slate-200);
  margin-bottom: 25px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-info p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.footer-action-btns {
  display: flex;
  gap: 12px;
}

.footer-cta-btn {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid var(--school-yellow);
  border-radius: var(--radius-full);
  color: var(--school-blue);
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.footer-cta-btn:hover {
  background-color: var(--school-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 199, 44, 0.35);
}

/* --- FLOATING ACTION BUTTONS (FAB) --- */
.fab-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3000;
}

.fab-container-left {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3000;
}

.fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: var(--transition);
  position: relative;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.fab-call { background-color: #007bff; }
.fab-whatsapp {
  background-color: #25D366;
  animation: pulseGreen 2.5s infinite;
}
.fab-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
.fab-fb { background-color: #1877F2; }

.fab-tooltip, .fab-tooltip-left {
  position: absolute;
  background-color: rgba(0, 24, 51, 0.92);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.fab-tooltip { right: 65px; }
.fab-tooltip-left { left: 65px; }

.fab-btn:hover .fab-tooltip,
.fab-btn:hover .fab-tooltip-left {
  opacity: 1;
}

/* Mandatory Disclosure Button */
.mandatory-disclosure-btn {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--school-blue);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--school-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 2900;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mandatory-disclosure-btn:hover {
  background-color: var(--cherry-red);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* --- POPUP & MODALS --- */
.popup-overlay,
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 24, 51, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 5000;
  justify-content: center;
  align-items: center;
}

.popup-overlay.show,
.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.popup-content-wrapper {
  background: white;
  position: relative;
  width: 92%;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid var(--school-yellow);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.close-popup-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--school-blue);
  z-index: 10;
  line-height: 1;
}

.popup-banner {
  display: flex;
  min-height: 400px;
}

.popup-side-strip {
  background-color: var(--school-yellow);
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid #fff;
}

.popup-side-strip span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--school-blue);
  font-size: 1.15rem;
  white-space: nowrap;
}

.popup-main {
  flex: 1;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff 60%, #f0f7ff 100%);
}

.popup-header h3 {
  color: var(--school-blue);
  font-size: 1.1rem;
  margin: 0;
  font-family: var(--font-ui);
}

.popup-header h1 {
  color: var(--school-yellow);
  background: var(--school-blue);
  display: inline-block;
  padding: 6px 12px;
  font-size: 1.7rem;
  margin: 6px 0;
  font-weight: 900;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.popup-header p {
  font-size: 1.25rem;
  color: #555;
  font-weight: bold;
}

.popup-header strong {
  color: var(--cherry-red);
}

.popup-school-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
}

.popup-school-name img {
  height: 52px;
}

.popup-school-name h2 {
  color: var(--school-blue);
  font-size: 1.15rem;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.popup-school-name span {
  font-size: 0.8rem;
  color: var(--cherry-red);
  text-transform: uppercase;
  font-weight: 700;
}

.popup-tag {
  background: var(--school-yellow);
  color: var(--school-blue);
  font-weight: 800;
  padding: 5px 14px;
  display: inline-block;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.popup-info-box p {
  background: var(--school-blue);
  color: white;
  padding: 10px 14px;
  border-radius: 0 16px 0 16px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.popup-classes-strip {
  background: var(--school-yellow);
  color: var(--school-blue);
  font-weight: 800;
  text-align: center;
  padding: 8px;
  font-size: 1.1rem;
  margin: 10px 0;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.popup-footer p {
  text-align: center;
  font-weight: bold;
  color: var(--school-blue);
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.popup-phone {
  background: var(--school-blue);
  color: white;
  text-align: center;
  padding: 8px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

/* Modal Content & Bio Split Layout */
.modal-content {
  background: var(--white);
  width: 92%;
  max-width: 860px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--school-blue);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.close-modal:hover {
  background: var(--cherry-red);
  color: white;
}

.modal-split-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 380px;
}

.modal-left-bio {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-left-bio h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--school-blue);
  margin-bottom: 4px;
}

.modal-role {
  font-size: 0.92rem;
  color: var(--cherry-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.modal-text p {
  margin-bottom: 14px;
  color: var(--dark-text);
  line-height: 1.75;
}

.modal-right-img {
  flex: 0.8;
  max-width: 45%;
  position: relative;
  background: linear-gradient(180deg, #001f42 0%, #002855 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-right-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  padding: 15px;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

/* Success Modal */
.success-content-box {
  max-width: 480px;
  text-align: center;
  border-top: 5px solid #25D366;
}

.success-body {
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-circle-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #25D366;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.success-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-title {
  color: #1a9d49;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-long-text {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  text-align: left;
  background: var(--slate-50);
  padding: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.success-long-text p {
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--slate-200);
  padding-bottom: 4px;
}

/* --- ADMISSION PAGE SIDEBAR & TABS --- */
.page-section {
  padding: 60px 0 85px;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
}

.content-area {
  min-width: 0;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active-tab {
  display: block;
}

.sidebar-menu {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.sidebar-menu h3 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--school-yellow);
}

.sidebar-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--school-blue);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.sidebar-btn:hover {
  background: var(--school-blue);
  color: var(--white);
  border-color: var(--school-blue);
}

.sidebar-btn.active {
  background: var(--cherry-red);
  color: var(--white);
  border-color: var(--cherry-red);
}

.guideline-box {
  background: #fff;
  padding: 24px;
  border-left: 4px solid var(--school-yellow);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--school-yellow);
}

.guideline-box h3 {
  color: var(--school-blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.guideline-box i {
  color: var(--cherry-red);
}

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

.bullet-list > li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.bullet-list > li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cherry-red);
  font-weight: bold;
}

.sub-bullet-list {
  list-style: disc;
  padding-left: 24px;
  margin: 8px 0 12px;
}

.sub-bullet-list li {
  position: static;
  padding-left: 4px;
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--gray-text);
}

.sub-bullet-list li::before {
  content: none !important;
}

.sub-number-list {
  list-style: decimal;
  padding-left: 24px;
  margin: 8px 0 12px;
}

.sub-number-list li {
  position: static;
  padding-left: 4px;
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--gray-text);
}

.sub-number-list li::before {
  content: none !important;
}

.rule-note {
  background: rgba(255, 199, 44, 0.12);
  border-left: 3px solid var(--school-yellow);
  padding: 10px 14px;
  margin: 10px 0;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.rule-subhead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--school-blue);
  margin: 18px 0 8px;
  display: block;
}

.contact-list-card {
  background: var(--slate-50);
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.contact-list-card li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
}

.contact-list-card li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-list-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--school-blue);
  margin-bottom: 4px;
}

.contact-list-card i {
  color: var(--cherry-red);
  margin-right: 8px;
}

/* --- GALLERY PAGE & LIGHTBOX --- */
.gallery-section {
  background-color: var(--slate-50);
  padding-top: 60px;
}

.gallery-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  height: 290px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 24, 51, 0.95), rgba(0, 24, 51, 0.4) 75%, transparent);
  padding: 30px 18px 18px;
  color: white;
  transition: var(--transition);
}

.gallery-item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.view-icon {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--school-yellow);
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 16, 36, 0.96);
  z-index: 6000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

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

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.lightbox-caption {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: white;
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 0 10px;
}

#gallery-title {
  font-weight: 700;
  color: var(--school-yellow);
}

#image-counter {
  opacity: 0.8;
  font-size: 0.9rem;
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 6100;
  line-height: 1;
  transition: var(--transition);
}

.close-lightbox:hover {
  color: var(--cherry-red);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--cherry-red);
  border-color: var(--cherry-red);
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

/* --- FAQ ACCORDION --- */
.faq-container {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.faq-question {
  width: 100%;
  background-color: #fff;
  color: var(--school-blue);
  padding: 18px 24px;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--slate-50);
  color: var(--cherry-red);
}

.faq-question.active {
  background-color: var(--slate-50);
  color: var(--cherry-red);
  border-bottom: 1px solid var(--slate-200);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--cherry-red);
}

.faq-question.active i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
}

.faq-answer p {
  margin: 18px 0;
  color: var(--gray-text);
  line-height: 1.7;
}

/* --- CONTACT PAGE EXTENSIONS --- */
.contact-page-section {
  background-color: var(--slate-50);
  padding-top: 60px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.info-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--school-yellow);
}

.icon-circle {
  width: 58px;
  height: 58px;
  background: var(--slate-100);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: var(--school-blue);
  margin-bottom: 14px;
  transition: var(--transition);
}

.info-card:hover .icon-circle {
  background: var(--school-blue);
  color: white;
}

.whatsapp-icon { color: #25D366; }
.info-card:hover .whatsapp-icon { background: #25D366; color: white; }

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--school-blue);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 14px;
}

.card-link-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cherry-red);
  text-transform: uppercase;
  border: 1px solid var(--cherry-red);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.card-link-btn:hover {
  background: var(--cherry-red);
  color: white;
}

.whatsapp-btn-style {
  color: #25D366;
  border-color: #25D366;
}

.whatsapp-btn-style:hover {
  background: #25D366;
  color: white;
}

.social-connect-box {
  margin-bottom: 35px;
}

.social-connect-box h3 {
  margin-bottom: 15px;
  font-family: var(--font-heading);
  color: var(--school-blue);
  font-size: 1.25rem;
}

.social-big-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  color: white;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  transition: var(--transition);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-btn.fb { background: #1877F2; }
.social-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.yt { background: #FF0000; }

.map-embed-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}

.map-embed-box iframe {
  width: 100% !important;
  display: block;
}

.form-container-styled {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--school-yellow);
}

.form-container-styled h2 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.form-container-styled p {
  color: var(--gray-text);
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  font-weight: 600;
  font-family: var(--font-ui);
  margin-bottom: 6px;
  color: var(--dark-text);
  font-size: 0.88rem;
}

.input-group input, 
.input-group select, 
.input-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  font-size: 0.95rem;
  transition: var(--transition);
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
  border-color: var(--school-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 40, 85, 0.12);
  outline: none;
}

/* --- TESTIMONIALS PAGE --- */
.google-review-cta {
  background-color: var(--slate-50);
  padding: 0 0 40px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.review-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border-left: 8px solid #4285F4;
  padding: 35px 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-text h2 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.cta-text p {
  color: var(--gray-text);
  max-width: 600px;
  font-size: 1rem;
}

.google-btn {
  background-color: #4285F4;
  color: white !important;
  padding: 14px 28px;
  font-family: var(--font-ui);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  transition: var(--transition);
}

.google-btn:hover {
  background-color: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testi-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--school-yellow);
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.8rem;
  color: rgba(0, 40, 85, 0.08);
  pointer-events: none;
}

.testi-content p {
  color: var(--gray-text);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

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

.testi-profile img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--school-yellow);
}

.profile-info h4 {
  color: var(--school-blue);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: var(--font-heading);
}

.profile-info span {
  font-size: 0.8rem;
  color: var(--cherry-red);
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.stars {
  color: var(--school-yellow);
  font-size: 0.8rem;
}

/* ==========================================================================
   CONSOLIDATED RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- TABLET SCREENS (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-motto {
    font-size: 1.85rem;
  }
  
  .gallery-grid-8 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  
  .footer-col:last-child {
    grid-column: span 2;
  }
  
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* --- MOBILE LANDSCAPE & SMALL TABLETS (<= 992px) --- */
@media (max-width: 992px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar-menu {
    order: -1;
    margin-bottom: 30px;
  }
}

/* --- MOBILE PHONES (<= 768px) --- */
@media (max-width: 768px) {
  /* Navigation & Top Bar - Fully Visible and Optimized for Mobile */
  .top-bar {
    display: block;
    background: #001833;
    padding: 7px 0 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .top-bar-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 8px;
  }
  
  .top-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 8px;
    width: 100%;
  }
  
  .top-links > span {
    display: none; /* Hide vertical separator pipes on mobile */
  }
  
  .top-links a {
    font-size: 0.75rem;
    padding: 5px 9px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .top-links a.top-portal-btn {
    background: linear-gradient(135deg, #b00326, var(--cherry-red)) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.77rem;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 8px rgba(176, 3, 38, 0.4);
  }

  .top-links a[href*="Prospectus"] {
    background: rgba(255, 199, 44, 0.15) !important;
    border-color: rgba(255, 199, 44, 0.5) !important;
    color: var(--school-yellow) !important;
    font-weight: 800;
  }
  
  .top-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  
  .top-socials a {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.12);
  }
  
  .main-header {
    border-bottom-width: 2px;
  }
  
  .logo-text h1,
  .logo-text .site-title {
    font-size: 1.05rem;
  }
  
  .logo img {
    height: 48px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 285px;
    height: 100vh;
    background: #001833;
    border-left: 3px solid var(--school-yellow);
    flex-direction: column;
    padding: 70px 25px 40px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: right 0.35s ease;
    overflow-y: auto;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
  }
  
  .nav-links a {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, 0.95);
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--school-yellow);
  }
  
  .nav-apply-btn {
    display: block !important;
    text-align: center;
    margin-top: 15px;
    width: 100%;
  }
  
  /* Hero Section Mobile - Optimized Framing to Prevent Image Cropping */
  .hero-section {
    height: 52vh;
    min-height: 310px;
    max-height: 390px;
  }
  
  .hero-slide {
    background-size: cover !important;
    background-position: center top !important; /* Preserves heads, faces, building signage without vertical cut */
    transform: none !important; /* Disables zoom scaling on mobile so edge details are not cropped */
  }

  .hero-slide.active {
    transform: none !important;
  }
  
  .hero-slide-founders {
    background-position: center top !important;
    transform-origin: center top !important;
  }

  .hero-content {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.22;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    display: inline-block;
  }
  
  .hero-motto {
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    margin-top: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  }
  
  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 10px;
  }
  
  .hero-arrow {
    display: flex;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    background: rgba(0, 24, 51, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
  }
  
  .hero-prev {
    left: 8px;
  }
  
  .hero-next {
    right: 8px;
  }

  .hero-dots {
    bottom: 12px;
    gap: 6px;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
  }
  
  .hero-dot.active {
    width: 20px;
  }

  .hero-actions {
    gap: 10px;
  }
  
  .hero-actions a {
    padding: 9px 16px;
    font-size: 0.78rem;
  }

  /* Inner Page Header Responsive */
  .page-header {
    padding: 45px 15px 35px;
    margin-bottom: 30px;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .page-header p {
    font-size: 0.95rem;
  }
  
  /* Grids & Cards */
  .explore-grid, 
  .news-grid, 
  .gallery-grid-8, 
  .stats-section {
    grid-template-columns: 1fr;
  }
  
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 15px;
  }
  
  .stat-box:last-child {
    border-bottom: none;
  }
  
  .feature-columns-section {
    flex-direction: column;
  }
  
  .spotlight-grid {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .spotlight-badge img {
    width: 90px;
  }
  
  .cta-wrapper {
    justify-content: center;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-col:last-child {
    grid-column: auto;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-action-btns {
    width: 100%;
    flex-direction: column;
  }
  
  .footer-cta-btn {
    text-align: center;
    width: 100%;
  }
  
  /* Leadership Grid on Mobile - Balanced 2-column portrait layout */
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  
  .leadership-grid .leader-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 240px;
    margin: 0 auto;
    width: 100%;
  }
  
  .leader-img {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
  }
  
  .leader-info {
    padding: 12px 8px !important;
  }
  
  .leader-info h3 {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
  }
  
  .leader-role {
    font-size: 0.72rem !important;
  }
  
  /* Welcome Image Box Shadow Fix (prevents horizontal overflow) */
  .welcome-image-box img {
    box-shadow: 0 8px 24px rgba(0, 40, 85, 0.16) !important;
  }
  
  /* Modals on Mobile - Full portrait display with zero face zoom */
  .modal-content {
    width: 95% !important;
    max-height: 90vh !important;
    border-radius: var(--radius-md) !important;
    -webkit-overflow-scrolling: touch;
  }

  .modal-split-layout {
    flex-direction: column-reverse !important;
    min-height: auto !important;
  }
  
  .modal-right-img {
    max-width: 100% !important;
    width: 100% !important;
    height: 260px !important;
    background: linear-gradient(180deg, #001f42 0%, #002855 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
  }
  
  .modal-right-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 12px !important;
  }
  
  .modal-left-bio {
    padding: 24px 18px !important;
  }
  
  .modal-left-bio h3 {
    font-size: 1.4rem !important;
  }
  
  .close-modal {
    top: 10px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Form Inputs Font Size (prevents iOS Safari auto-zoom on tap) */
  input, 
  select, 
  textarea,
  .form-group input, 
  .form-group select, 
  .form-group textarea,
  .input-group input, 
  .input-group select, 
  .input-group textarea {
    font-size: 16px !important;
  }
  
  /* Floating buttons adjustment to avoid collisions */
  .mandatory-disclosure-btn {
    bottom: 85px;
    padding: 8px 18px;
    font-size: 0.78rem;
    max-width: calc(100vw - 140px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .fab-container {
    bottom: 20px;
    right: 15px;
  }
  
  .fab-container-left {
    bottom: 20px;
    left: 15px;
  }
  
  .fab-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .fab-tooltip,
  .fab-tooltip-left {
    display: none !important;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* --- SMALL MOBILES (<= 480px) --- */
@media (max-width: 480px) {
  .hero-section {
    height: 48vh;
    min-height: 280px;
    max-height: 350px;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.22;
  }
  
  .hero-subtitle {
    font-size: 0.74rem;
    letter-spacing: 1px;
  }
  
  .hero-motto {
    font-size: 0.98rem;
    margin-top: 4px;
  }

  .top-links a {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .top-links a.top-portal-btn {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .leadership-grid {
    gap: 10px !important;
  }
  
  .leader-info h3 {
    font-size: 0.88rem !important;
  }
  
  .leader-role {
    font-size: 0.68rem !important;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .form-wrapper,
  .form-container-styled {
    padding: 24px 16px;
  }
  
  .mandatory-disclosure-btn {
    bottom: 80px;
    font-size: 0.72rem;
    padding: 6px 14px;
    max-width: calc(100vw - 130px);
  }
}

/* --- ABOUT PAGE SPECIFIC CONTENT STYLES --- */
.story-image-wrapper {
  width: 100%;
  margin: 20px 0 25px;
}

.content-main-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.quote-box {
  background: var(--school-yellow);
  color: var(--school-blue-dark);
  padding: 20px 24px;
  font-weight: 700;
  font-style: italic;
  border-left: 5px solid var(--school-blue);
  border-radius: var(--radius-sm);
  margin-top: 25px;
  box-shadow: var(--shadow-sm);
}

.vision-box, .mission-box {
  background: #fff;
  padding: 25px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.vision-box h3, .mission-box h3 {
  color: var(--cherry-red);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
}

.mission-box ul {
  padding-left: 20px;
  list-style-type: disc;
}

.mission-box li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.address-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--slate-50);
  padding: 20px;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.address-card i {
  color: var(--cherry-red);
  font-size: 1.5rem;
  margin-top: 2px;
}

.address-card h4 {
  color: var(--school-blue);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}