/* ============================================================
   St. Thomas SPG Schools — Premium Redesigned Style System
   Design: Vibrant Modern Educational Theme
   Colors: Royal Blue (#0B3D91) + Golden Yellow (#FFC107) + Emerald Green (#10B981)
   Fonts: Poppins / Montserrat (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ── Design Tokens & Gradients ── */
:root {
  --navy:            #0F2942; /* Slate Navy primary */
  --navy-mid:        #0B1E30;
  --navy-light:      #1E4770;
  --gold:            #D5A129; /* Warm Muted Gold secondary */
  --gold-light:      #E4C068;
  --gold-accent:     #C28B15;
  --emerald:         #0D9488; /* Deep Teal accent */
  --emerald-dark:    #0B7A70;
  --cream:           #F8FAFC; /* Light Gray support */
  --white:           #FFFFFF;
  --ink:             #0F172A;
  --muted:           #475569;
  --border:          rgba(15, 41, 66, 0.06);
  --border-light:    rgba(255, 255, 255, 0.15);
  
  /* Gradients */
  --gradient-blue:         linear-gradient(135deg, #0F2942, #1E4770);
  --gradient-cyan:         linear-gradient(135deg, #0F2942, #0D9488);
  --gradient-yellow:       linear-gradient(135deg, #D5A129, #C28B15);
  --gradient-yellow-light: linear-gradient(135deg, #E4C068, #D5A129);
  --gradient-green:        linear-gradient(135deg, #0D9488, #0B7A70);
  --gradient-glass:        linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.25));
  
  /* Elevation Shadows */
  --shadow-s:        0 4px 16px rgba(15, 41, 66, 0.02);
  --shadow-m:        0 12px 32px rgba(15, 41, 66, 0.05);
  --shadow-l:        0 24px 56px rgba(15, 41, 66, 0.08);
  
  /* Radius exact 20px */
  --radius-sm:       10px;
  --radius:          16px;
  --radius-lg:       20px;
  
  /* Framing Motion style easing */
  --transition:      all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --container:       1280px;
  --header-h:        142px;
}

/* ── Reset & Core Styles ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { 
  font-family: 'Inter', sans-serif; 
  color: var(--ink); 
  line-height: 1.8; 
  background: var(--white); 
  overflow-x: hidden; 
}
img { max-width:100%; height:auto; display:block; image-rendering: -webkit-optimize-contrast; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Premium Typography */
h1, h2, h3, h4 { 
  font-family: 'Poppins', 'Montserrat', sans-serif; 
  color: var(--navy);
  line-height: 1.25; 
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  font-weight: 400;
  color: var(--muted);
}
strong {
  color: var(--navy-mid);
  font-weight: 600;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

::selection {
  background: var(--navy);
  color: var(--gold-light);
}

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* Gradient Heading utility */
.gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-alt {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════
   TOP BAR (Gradient background)
   ══════════════════════════════════════════ */
.top-bar {
  background: var(--gradient-blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border-light);
}
.top-bar .container { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.branch-links { display:flex; gap:24px; flex-wrap:wrap; }
.top-link { display:flex; align-items:center; gap:8px; color:rgba(255, 255, 255, 0.85); }
.top-link:hover { color: var(--gold); }
.top-link i { font-size:0.78rem; color: var(--gold); }
.social-links { display:flex; gap:12px; }
.social-links a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.social-links a:hover { 
  background: var(--gradient-yellow); 
  color: var(--white); 
  transform: translateY(-3px) rotate(10deg);
  box-shadow: 0 6px 15px rgba(213, 161, 41, 0.3);
  border-color: transparent;
}

/* ══════════════════════════════════════════
   NAVIGATION BAR (Glassmorphism & Sticky)
   ══════════════════════════════════════════ */
.header-wrapper { position: sticky; top: 0; z-index: 950; }
.main-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 41, 66, 0.05);
  padding: 16px 0;
  transition: var(--transition);
}
.main-header.scrolled { 
  padding: 10px 0; 
  box-shadow: var(--shadow-m); 
  background: rgba(255, 255, 255, 0.95);
}
.main-header .container { display:flex; align-items:center; justify-content:space-between; }
.nav-logo { height: 76px; width: auto; transition: var(--transition); filter: drop-shadow(0 4px 6px rgba(15,41,66,0.1)); }
.main-header.scrolled .nav-logo { height: 56px; }

.nav-links { display:flex; align-items:center; gap:10px; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-mid);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: rgba(15, 41, 66, 0.04); }
.nav-links a::after {
  content:''; position:absolute; bottom:4px; left:16px; right:16px;
  height: 3px; background: var(--gradient-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Premium Apply Button */
.nav-links .btn-apply {
  background: var(--gradient-blue);
  color: var(--white) !important;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(15, 41, 66, 0.2);
}
.nav-links .btn-apply::after { display:none; }
.nav-links .btn-apply:hover { 
  background: var(--gradient-yellow);
  color: var(--white) !important; 
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(213, 161, 41, 0.3);
}

/* Mobile Toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle .bar { display:block; width:26px; height:2px; background: var(--navy); border-radius:2px; transition: var(--transition); }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO BANNER & CAROUSEL (Ken Burns Slide)
   ══════════════════════════════════════════ */
.hero { position:relative; height: 85vh; min-height: 600px; overflow: hidden; background: var(--navy); }
.hero-slider { height:100%; position:relative; }
.slide {
  position:absolute; inset:0;
  opacity: 0; transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  display:flex; align-items:center;
  overflow: hidden;
}
.slide::before {
  content: '';
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover; background-position: center;
  transition: transform 8s ease-out;
  transform: scale(1.08);
}
.slide.active { opacity:1; z-index:1; }
.slide.active::before { transform: scale(1); }

.slide-overlay {
  position:absolute; inset:0;
  background: linear-gradient(110deg, rgba(11,30,48,0.9) 0%, rgba(15,41,66,0.5) 55%, rgba(11,30,48,0.15) 100%);
  z-index: 1;
}
.hero-content {
  position:relative; z-index:2;
  color: var(--white);
  max-width: 740px;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide.active .hero-content { opacity:1; transform: translateY(0); }

.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6.2vw, 4.6rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.15;
}
.hero-content h1 span {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 1.18rem; color: var(--white); opacity:0.88; margin-bottom: 38px; max-width: 600px; font-weight: 300; }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; }

/* Buttons */
.btn-hero-primary {
  background: var(--gradient-yellow); 
  color: var(--white);
  padding: 16px 36px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  display:inline-flex; align-items:center; gap:8px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(213, 161, 41, 0.25);
  cursor: pointer;
}
.btn-hero-primary:hover { 
  background: var(--gradient-blue); 
  color: var(--white);
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 12px 30px rgba(15, 41, 66, 0.3); 
}
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  padding: 16px 36px; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.06);
}
.btn-hero-outline:hover { 
  background: var(--white); 
  color: var(--navy); 
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* Slider Dots */
.slider-dots {
  position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
  display:flex; gap:12px; z-index:5;
}
.dot {
  width:12px; height:12px;
  background: rgba(255,255,255,0.3); border-radius:50%;
  cursor:pointer; transition: var(--transition);
}
.dot.active { background: var(--gradient-yellow); width:36px; border-radius:6px; }

/* ══════════════════════════════════════════
   SECTION BASE (Modern layouts)
   ══════════════════════════════════════════ */
.section { padding: 110px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--gradient-blue); color: var(--white); }

.eyebrow {
  display:inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-navy .eyebrow { color: var(--gold-light); }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-title span { 
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-title.light { color: var(--white); }
.section-title.light span {
  background: var(--gradient-yellow-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-subtitle { color: var(--muted); font-size: 1.12rem; max-width: 660px; line-height: 1.75; }
.section-navy .section-subtitle { color: rgba(255,255,255,0.75); }

/* Elegant Divider rule */
.gold-rule { 
  width: 64px; height: 4px; 
  background: var(--gradient-yellow); 
  border-radius: 2px; 
  margin-bottom: 28px; 
}
.center .gold-rule { margin: 0 auto 28px; }

/* ══════════════════════════════════════════
   OUR STORY / ABOUT SCHOOL
   ══════════════════════════════════════════ */
.story-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center; }
.story-image-wrap { position:relative; }
.story-image-wrap img {
  border-radius: var(--radius-lg); /* exact 20px */
  width:100%; height:auto; aspect-ratio: 4/3; object-fit:cover;
  box-shadow: var(--shadow-l);
  border: 4px solid var(--white);
  transition: var(--transition);
}
.story-image-wrap:hover img { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px rgba(15,41,66,0.15); }
.story-badge {
  position:absolute; bottom:-20px; right:-20px;
  background: var(--gradient-blue); color: var(--white);
  padding: 22px 28px; border-radius: var(--radius-lg);
  font-family: 'Poppins', serif;
  font-size: 0.95rem; font-weight: 700;
  text-align:center; line-height:1.2;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--border-light);
  z-index: 5;
}
.story-badge big { display:block; font-size: 2.5rem; color: var(--gold); font-weight: 800; margin-bottom: 4px; }
.story-content p { color: var(--muted); margin-bottom: 18px; font-size: 1.06rem; }

.btn-link {
  display:inline-flex; align-items:center; gap:8px;
  font-weight: 700; color: var(--navy);
  font-size: 0.96rem; letter-spacing: 0.03em;
  margin-top: 10px;
  border-bottom: 2.5px solid var(--gold);
  padding-bottom: 4px;
  transition: var(--transition);
}
.btn-link:hover { color: var(--gold-accent); gap: 12px; border-bottom-color: var(--navy); }

/* ══════════════════════════════════════════
   PROGRAM CARDS
   ══════════════════════════════════════════ */
.programs-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 56px; }
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg); /* exact 20px */
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-m);
}
.program-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover { 
  transform: translateY(-8px) scale(1.01); 
  box-shadow: var(--shadow-l); 
  border-color: rgba(213, 161, 41, 0.25); 
}
.program-card-img {
  height: 240px; overflow:hidden; position:relative;
}
.program-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.program-card:hover .program-card-img img { transform: scale(1.08); }
.program-icon {
  position:absolute; bottom:-20px; right:24px;
  width:50px; height:50px;
  background: var(--gradient-blue); color: var(--gold);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-m);
  border: 3px solid var(--white);
  transition: var(--transition);
}
.program-card:hover .program-icon {
  background: var(--gradient-yellow);
  color: var(--white);
  transform: scale(1.1);
}
.program-card-body { padding: 32px 28px 28px; }
.program-card-body h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 12px; margin-top: 8px; font-weight:700; }
.program-card-body p { color: var(--muted); font-size: 0.96rem; line-height: 1.7; }

/* ══════════════════════════════════════════
   WHY CHOOSE US & HIGHLIGHTS
   ══════════════════════════════════════════ */
.why-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center; }
.why-image img { 
  border-radius: var(--radius-lg); /* exact 20px */
  width:100%; height:auto; aspect-ratio: 4/3; object-fit:cover; 
  box-shadow: var(--shadow-l); 
  border: 4px solid var(--white); 
}
.check-list { display:flex; flex-direction:column; gap:16px; margin-top: 28px; }
.check-item {
  display:flex; gap:16px; align-items:flex-start;
  padding: 18px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.check-item:hover { background: var(--cream); box-shadow: var(--shadow-m); transform: translateX(6px); border-color: rgba(213, 161, 41, 0.2); }
.check-item i { color: var(--emerald); font-size: 1.15rem; margin-top: 3px; flex-shrink:0; }
.check-item span { font-size: 1rem; color: var(--navy-mid); font-weight: 600; }

/* ══════════════════════════════════════════
   STATS BAR (Vibrant theme colors)
   ══════════════════════════════════════════ */
.stats-section { background: var(--gradient-blue); padding: 96px 0; border-top: 2px solid var(--gold); }
.stats-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); /* exact 20px */
  padding: 44px 28px;
  text-align:center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.stat-card:hover { 
  background: rgba(255, 255, 255, 0.08); 
  transform: translateY(-8px); 
  border-color: rgba(213, 161, 41, 0.4); 
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
.stat-card i { font-size: 2.3rem; color: var(--gold); margin-bottom: 20px; display:block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); }
.stat-number {
  font-family: 'Poppins', serif;
  font-size: 3.4rem; font-weight: 800;
  color: var(--white); line-height: 1;
  margin-bottom: 12px; display:block;
  letter-spacing: -0.01em;
}
.stat-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.65); font-weight:700; }

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */
.testimonials-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin-top: 56px; }
.t-card {
  background: var(--white);
  border-radius: var(--radius-lg); /* exact 20px */
  padding: 44px;
  border: 1px solid var(--border);
  position:relative;
  transition: var(--transition);
  box-shadow: var(--shadow-m);
}
.t-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-blue);
  transform: scaleX(0); transition: var(--transition);
}
.t-card:hover::before { transform: scaleX(1); }
.t-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); border-color: rgba(15, 41, 66, 0.15); }
.t-quote {
  font-size: 4rem; line-height: 1;
  color: var(--gold-light); font-family: Georgia, serif;
  margin-bottom: 8px; opacity: 0.8;
}
.t-card p { color: var(--ink); font-size: 1.05rem; line-height: 1.8; font-style: italic; margin-bottom: 28px; font-weight: 400; }
.t-author strong { color: var(--navy); font-size: 1.1rem; display:block; font-weight: 700; }
.t-author span { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 18px; letter-spacing: 3px; }

/* ══════════════════════════════════════════
   CONTACT FORM & INFO
   ══════════════════════════════════════════ */
.contact-grid { display:grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items:start; }
.contact-info-block { display:flex; flex-direction:column; gap:20px; }
.contact-item {
  display:flex; gap:20px; align-items:flex-start;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.contact-item:hover { 
  background: var(--white); 
  box-shadow: var(--shadow-m); 
  transform: translateX(8px); 
  border-color: var(--border); 
}
.c-icon-wrap {
  width: 56px; height: 56px; flex-shrink:0;
  background: var(--gradient-blue); color: var(--gold);
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.15);
}
.contact-item h4 { color: var(--navy-mid); font-size: 1rem; margin-bottom: 6px; font-family: 'Poppins', sans-serif; font-weight:700; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.94rem; line-height: 1.6; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg); /* exact 20px */
  padding: 48px;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--border);
}
.contact-form-card h3 { color: var(--navy); font-size: 1.85rem; margin-bottom: 32px; font-weight:800; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display:flex; flex-direction:column; gap:8px; margin-bottom: 20px; }
.form-group label { font-size: 0.88rem; font-weight: 700; color: var(--navy-mid); letter-spacing: 0.03em; }
.form-group input, .form-group textarea, .form-group select {
  padding: 14px 18px;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  color: var(--ink);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(15, 41, 66, 0.06);
}
.btn-submit {
  width:100%;
  background: var(--gradient-yellow); color: var(--white);
  padding: 16px 32px; border: none;
  border-radius: 50px; font-family: 'Poppins', sans-serif;
  font-size: 1.02rem; font-weight: 700; cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25);
}
.btn-submit:hover { 
  background: var(--gradient-blue); 
  color: var(--white); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(15, 41, 66, 0.3); 
}

/* ══════════════════════════════════════════
   SUB PAGES — HERO BANNER
   ══════════════════════════════════════════ */
.page-banner {
  position:relative;
  padding: 140px 0 90px;
  background-size:cover; background-position:center;
  color: var(--white); text-align:center;
  background-color: var(--navy);
}
.page-banner::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(11, 30, 48, 0.9) 0%, rgba(15, 41, 66, 0.65) 100%);
}
.banner-content { position:relative; z-index:2; }
.banner-content h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); color: var(--white); margin-bottom: 16px; font-weight:800; }
.breadcrumbs { display:flex; justify-content:center; align-items:center; gap:10px; font-size: 0.94rem; font-weight:600; color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a { color: var(--gold); }
.breadcrumbs span { opacity:0.5; }

/* ══════════════════════════════════════════
   GLASS CARDS (About page foundation grids)
   ══════════════════════════════════════════ */
.glass-card {
  background: var(--white);
  border-radius: var(--radius-lg); /* exact 20px */
  padding: 44px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-m);
  position: relative;
  transition: var(--transition);
}
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-yellow);
  transform: scaleX(0); transition: var(--transition);
}
.glass-card:hover::before { transform: scaleX(1); }
.glass-card:hover { 
  box-shadow: var(--shadow-l); 
  transform: translateY(-8px); 
  border-color: rgba(213, 161, 41, 0.25); 
}
.icon-emoji { font-size: 2.7rem; margin-bottom: 20px; display:block; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06)); }
.glass-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 14px; font-weight: 700; }
.glass-card p { color: var(--muted); font-size: 0.98rem; line-height:1.75; }

/* ══════════════════════════════════════════
   PHOTO GALLERY & OVERLAYS
   ══════════════════════════════════════════ */
.gallery-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.gallery-item {
  border-radius: var(--radius);
  overflow:hidden;
  position:relative;
  box-shadow: var(--shadow-m);
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 3px solid var(--white);
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(11,30,48,0.9) 0%, rgba(15,41,66,0.3) 50%, transparent 100%);
  opacity:0; transition: var(--transition);
  display:flex; align-items:flex-end; padding:24px;
}
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-overlay span { color: var(--white); font-weight:700; font-size:1.05rem; transform: translateY(12px); transition: transform 0.4s ease; font-family: 'Poppins', sans-serif; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Lightbox Modal CSS */
.lightbox-modal {
  position: fixed; inset: 0;
  background: rgba(8, 20, 32, 0.97);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-content {
  position: relative; max-width: 85vw; max-height: 80vh;
  transform: scale(0.92); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-modal.active .lightbox-content { transform: scale(1); }
.lightbox-content img {
  max-width: 100%; max-height: 72vh;
  border-radius: var(--radius-lg); /* exact 20px */
  box-shadow: var(--shadow-l);
  border: 4px solid var(--white);
  object-fit: contain;
}
.lightbox-caption {
  color: var(--white); margin-top: 15px; font-size: 1.12rem;
  font-family: 'Poppins', Georgia, serif; font-weight: 600;
  letter-spacing: 0.02em; text-align: center;
}
.lightbox-close {
  position: absolute; top: -52px; right: 0;
  background: var(--gradient-yellow); color: var(--white);
  border: none; width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.35rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-m);
}
.lightbox-close:hover { background: var(--white); color: var(--navy); transform: scale(1.1) rotate(90deg); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 58px; height: 58px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 2010;
  backdrop-filter: blur(4px);
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gradient-yellow); color: var(--white); border-color: transparent; box-shadow: 0 4px 15px rgba(213, 161, 41, 0.3); }
.lightbox-prev { left: -92px; }
.lightbox-next { right: -92px; }

/* ══════════════════════════════════════════
   BLOG & ARTICLE CARDS
   ══════════════════════════════════════════ */
.blog-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 56px; }
.blog-card { 
  background: var(--white); 
  border-radius: var(--radius-lg); /* exact 20px */
  overflow:hidden; border: 1px solid var(--border); 
  box-shadow: var(--shadow-m); 
  position: relative;
  transition: var(--transition); 
}
.blog-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-blue);
  transform: scaleX(0); transition: var(--transition);
}
.blog-card:hover::before { transform: scaleX(1); }
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-l); border-color: rgba(15, 41, 66, 0.15); }
.blog-thumb { height: 230px; overflow:hidden; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-body { padding: 32px; }
.blog-tag {
  display:inline-block; font-size: 0.72rem; font-weight:800;
  text-transform:uppercase; letter-spacing:0.12em;
  color: var(--navy); background: rgba(15, 41, 66, 0.05);
  padding: 6px 14px; border-radius: 50px; margin-bottom: 14px;
  border: 1px solid rgba(15, 41, 66, 0.08);
}
.blog-body h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; line-height: 1.4; font-weight: 700; }
.blog-body p { color: var(--muted); font-size: 0.94rem; line-height:1.65; margin-bottom: 20px; }

/* ══════════════════════════════════════════
   ABOUT PAGE IMAGES
   ══════════════════════════════════════════ */
.about-intro-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items:center; }
.about-intro-grid img { border-radius: var(--radius-lg); width: 100%; height:auto; aspect-ratio: 4/3; object-fit:cover; box-shadow: var(--shadow-l); border: 4px solid var(--white); }
.mission-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
.aim-list { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.aim-item {
  display:flex; gap:12px; align-items:flex-start;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  font-size: 0.98rem; color: var(--navy); font-weight:600;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
}
.aim-item i { color: var(--emerald); margin-top:4px; flex-shrink:0; font-size: 1.05rem; }

/* ══════════════════════════════════════════
   PROGRAMS PAGE & LISTS
   ══════════════════════════════════════════ */
.programs-hero {
  background: var(--navy);
  padding: 110px 0 90px;
  text-align:center;
}
.programs-hero h1 { color: var(--white); font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 800; }
.programs-hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width:600px; margin: 18px auto 0; font-weight: 300; }

.prog-section { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center; }
.prog-section img { border-radius: var(--radius-lg); width:100%; height:auto; aspect-ratio: 4/3; object-fit:cover; box-shadow: var(--shadow-l); border: 4px solid var(--white); }
.prog-list { display:flex; flex-direction:column; gap:12px; margin-top: 24px; }
.prog-list li {
  display:flex; gap:14px; align-items:center;
  font-size: 1rem; color: var(--navy-mid);
  font-weight: 500;
}
.prog-list li i { color: var(--emerald); font-size: 1rem; flex-shrink:0; }

.cocurr-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 56px; }
.cocurr-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg); /* exact 20px */
  padding: 36px 24px; text-align:center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.cocurr-card:hover { 
  background: rgba(255, 255, 255, 0.08); 
  transform: translateY(-8px); 
  border-color: rgba(213, 161, 41, 0.4); 
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
.cocurr-card .emoji { font-size: 2.6rem; margin-bottom: 16px; display:block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); }
.cocurr-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 10px; font-weight:700; }
.cocurr-card p { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; line-height: 1.6; }

/* ══════════════════════════════════════════
   CONTACT PAGE — BRANCH CARDS
   ══════════════════════════════════════════ */
.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg); /* exact 20px */
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-m);
  margin-bottom: 24px;
  position: relative;
  transition: var(--transition);
}
.branch-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-yellow);
  transform: scaleX(0); transition: var(--transition);
}
.branch-card:hover::before { transform: scaleX(1); }
.branch-card:hover { 
  box-shadow: var(--shadow-l); 
  border-color: rgba(15, 41, 66, 0.15); 
  transform: translateY(-5px);
}
.branch-number {
  display:inline-block;
  font-size: 0.72rem; font-weight:800; text-transform:uppercase;
  letter-spacing: 0.12em; color: var(--navy);
  background: var(--gold-light);
  padding: 6px 14px; border-radius:50px; margin-bottom:12px;
  border: 1px solid rgba(213, 161, 41, 0.2);
}
.branch-card h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 10px; font-weight:700; }
.branch-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; line-height: 1.6; }
.branch-card a { display:flex; align-items:center; gap:10px; font-size:0.92rem; font-weight:600; color: var(--navy); margin-top: 8px; }
.branch-card a:hover { color: var(--gold-accent); }
.branch-card a i { color: var(--gold); }

.map-card { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-m); border: 3px solid var(--white); transition: var(--transition); }
.map-card:hover { box-shadow: var(--shadow-l); }
.map-card iframe { display:block; }
.map-card-label { background: var(--gradient-blue); color: var(--white); padding: 14px; text-align:center; font-weight:700; font-size:0.94rem; letter-spacing: 0.02em; border-top: 1px solid var(--border-light); }

/* ══════════════════════════════════════════
   FOOTER (Vibrant educational theme)
   ══════════════════════════════════════════ */
.main-footer { background: #081420; color: var(--white); padding: 96px 0 0; border-top: 4px solid var(--gold); }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 56px; padding-bottom: 80px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 24px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.footer-col p { color: rgba(255, 255, 255, 0.65); font-size: 0.94rem; line-height:1.8; }
.footer-col h4 {
  color: var(--white); font-family: 'Poppins', sans-serif;
  font-size: 0.86rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2.5px solid var(--gold);
  display:inline-block;
}
.footer-links { display:flex; flex-direction:column; gap:12px; }
.footer-links a { color: rgba(255, 255, 255, 0.65); font-size: 0.94rem; font-weight:500; }
.footer-links a:hover { color: var(--gold); transform: translateX(6px); }
.footer-social { display:flex; gap:12px; margin-top: 24px; }
.footer-social a {
  width:40px; height:40px;
  border-radius:50%;
  background: rgba(255, 255, 255, 0.04);
  display:flex; align-items:center; justify-content:center;
  font-size:0.92rem; color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-social a:hover { 
  background: var(--gradient-yellow); 
  color: var(--white); 
  transform: translateY(-4px); 
  box-shadow: 0 6px 15px rgba(213, 161, 41, 0.3);
}
.newsletter-form { display:flex; margin-top: 20px; }
.newsletter-form input {
  flex:1; padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px 0 0 8px;
  color: var(--white); font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form input:focus { outline:none; border-color: var(--gold); background: rgba(255,255,255,0.08); }
.newsletter-form button {
  background: var(--gradient-yellow); color: var(--white);
  padding: 0 20px; border: none; cursor: pointer;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--white); color: var(--navy); }
.footer-bottom {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom .container { display:flex; align-items:center; justify-content:space-between; }
.footer-bottom p { color: rgba(255, 255, 255, 0.45); font-size: 0.88rem; }
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.45); font-size: 0.88rem; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════ */
.whatsapp-float {
  position:fixed; bottom:32px; right:32px;
  width:60px; height:60px;
  background: #25D366; color: var(--white);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 900; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 16px 36px rgba(37,211,102,0.45); }

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════ */
.reveal { opacity:0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity:1; transform: translateY(0); }
.reveal-left { opacity:0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity:1; transform: translateX(0); }
.reveal-right { opacity:0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity:1; transform: translateX(0); }

/* Utilities */
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mt-5 { margin-top: 56px; }
.mb-4 { margin-bottom: 36px; }
.mb-5 { margin-bottom: 56px; }
.gap-1 { gap: 10px; }
.w-full { width: 100%; }
.flex { display:flex; }
.center { text-align:center; }

/* ══════════════════════════════════════════
   RESPONSIVE LAYOUT BREAKPOINTS
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer-col:first-child { grid-column: span 3; margin-bottom: 20px; }
}

@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .top-bar { display: none; }
  .story-grid, .why-grid, .about-intro-grid, .prog-section { grid-template-columns: 1fr; gap: 48px; }
  .programs-grid, .gallery-grid, .blog-grid, .mission-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stats-grid, .cocurr-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-image-wrap img, .about-intro-grid img, .why-image img, .prog-section img { height: auto; }
  .story-badge { bottom: -16px; right: 8px; }
  .lightbox-prev { left: -50px; }
  .lightbox-next { right: -50px; }
  
  /* Mobile / Tablet Header Navigation Drawer */
  .nav-links {
    display: none; position:absolute;
    top: 100%; left:0; width:100%;
    background: var(--white);
    flex-direction:column; align-items:flex-start;
    padding: 24px 32px; gap: 6px;
    box-shadow: var(--shadow-l);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding: 12px 0; width:100%; border-bottom: 1px solid var(--border); border-radius:0; }
  .nav-links a::after { bottom:0; left:0; right:auto; }
  .nav-links a:hover::after, .nav-links a.active::after { width: 40px; }
  .nav-links .btn-apply { margin-top: 12px; width:100%; text-align:center; justify-content:center; }
  .menu-toggle { display:flex; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .programs-grid, .gallery-grid, .blog-grid, .mission-grid, .testimonials-grid, .aim-list { grid-template-columns: 1fr; }
  .stats-grid, .cocurr-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-col:first-child { grid-column: span 1; }
  
  /* Responsive Hero Carousel Height */
  .hero { height: 80vh; min-height: 540px; padding: 0; }
  .hero-content h1 { font-size: 2.4rem; }
  
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 36px 24px; }
  .footer-bottom .container { flex-direction:column; gap: 14px; text-align:center; }
  .lightbox-prev, .lightbox-next { display: none; }
}

@media (max-width: 480px) {
  .stats-grid, .cocurr-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width:100%; justify-content:center; }
}
