/* ============================================================
   DAAR-E-ARQAM ENGLISH SCHOOL & GIRLS ACADEMY
   Premium School Website Stylesheet
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0B3A6E;
  --navy-dark: #072A52;
  --navy-light: #1A4F8E;
  --gold: #F4C542;
  --gold-dark: #D4A520;
  --gold-light: #F9D97A;
  --white: #ffffff;
  --off-white: #F8F9FC;
  --light-gray: #F2F4F8;
  --text-dark: #1A1A2E;
  --text-body: #4A5568;
  --text-light: #718096;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 12px rgba(11, 58, 110, 0.08);
  --shadow-md: 0 8px 32px rgba(11, 58, 110, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 58, 110, 0.18);
  --shadow-gold: 0 8px 32px rgba(244, 197, 66, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.7;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ===== UTILITY ===== */
.section-padding { padding: 90px 0; }
.bg-white { background: var(--white); }
.bg-light-gray { background: var(--light-gray); }
.bg-navy { background: var(--navy); }
.text-gold { color: var(--gold-dark) !important; }
.text-white-60 { color: rgba(255,255,255,0.7); }

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(244, 197, 66, 0.12);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(244, 197, 66, 0.25);
}

.section-label.light {
  color: var(--gold-light);
  background: rgba(244, 197, 66, 0.1);
  border-color: rgba(244, 197, 66, 0.2);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== GLASS EFFECTS ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
}

.glass-light {
  background: rgba(248, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-emblem {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-star { font-size: 36px; color: var(--navy); }
.loader-name { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 24px; }

.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 50px;
  animation: loadProgress 2s ease-in-out forwards;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244,197,66,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(244,197,66,0); }
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#mainHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#navbar {
  padding: 18px 0;
  background: transparent;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(11, 58, 110, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(11, 58, 110, 0.3);
}

/* Nav Logo */
.nav-logo-emblem {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.nav-logo-text { line-height: 1.2; }

.nav-school-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.nav-school-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--gold-light);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Nav Links */
.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--gold-light) !important; }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.btn-admission {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 22px !important;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  letter-spacing: 0.02em;
  animation: admissionPulse 2.5s ease-in-out infinite;
}

.btn-admission:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244,197,66,0.4);
  color: var(--navy-dark) !important;
}

@keyframes admissionPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(244,197,66,0.3); }
  50% { box-shadow: 0 4px 30px rgba(244,197,66,0.55); }
}

/* Hamburger */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
}

.toggler-icon {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #041E42 0%, #0B3A6E 40%, #1A5276 70%, #0B3A6E 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Geometric Pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(244,197,66,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244,197,66,0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.012) 40px,
      rgba(255,255,255,0.012) 42px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(4, 20, 50, 0.4) 100%);
  pointer-events: none;
}

/* Animated Shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent);
  top: -100px; right: -80px;
  animation-duration: 9s;
}

.shape-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #4FC3F7, transparent);
  bottom: 10%; left: -60px;
  animation-duration: 11s;
  animation-delay: -3s;
  opacity: 0.04;
}

.shape-3 {
  width: 150px; height: 150px;
  background: var(--gold);
  top: 25%; left: 10%;
  animation-duration: 7s;
  animation-delay: -1s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.07;
}

.shape-4 {
  width: 80px; height: 80px;
  background: var(--gold-light);
  bottom: 20%; right: 15%;
  animation-duration: 6s;
  animation-delay: -5s;
  opacity: 0.12;
  border-radius: 20px;
  transform: rotate(45deg);
}

.shape-5 {
  width: 300px; height: 300px;
  border: 1px solid rgba(244,197,66,0.15);
  bottom: -50px; right: 20%;
  animation-duration: 13s;
  animation-delay: -7s;
  background: transparent;
  opacity: 1;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(3deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(244, 197, 66, 0.12);
  border: 1px solid rgba(244, 197, 66, 0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s ease 0.2s forwards;
  opacity: 0;
}

.hero-title-main {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  animation: fadeInUp 0.9s ease 0.35s forwards;
  opacity: 0;
}

.hero-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.9s ease 0.5s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.9s ease 0.65s forwards;
  opacity: 0;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 32px rgba(244,197,66,0.4);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(244,197,66,0.5);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

/* Hero Stats Bar */
.hero-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 20px 40px;
  backdrop-filter: blur(20px);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.9s ease 0.8s forwards;
  opacity: 0;
}

.hero-stat { text-align: center; padding: 0 28px; }

.hero-stat strong {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
}

.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.hero-stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: bounceScroll 2.5s ease-in-out infinite;
}

.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 2.5s ease-in-out infinite;
}

@keyframes bounceScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-image-wrapper { position: relative; padding: 20px 20px 40px 0; }

.about-image-frame {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.4);
}

.about-image-placeholder i { font-size: 5rem; margin-bottom: 16px; color: rgba(244,197,66,0.3); }
.about-image-placeholder p { font-size: 0.9rem; letter-spacing: 0.1em; }

/* Gold accent corner */
.about-image-frame::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0.15;
  border-radius: 0 var(--radius-xl) 0 120px;
}

.about-image-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.badge-year { display: block; font-size: 0.7rem; font-weight: 600; color: var(--navy); letter-spacing: 0.1em; }
.badge-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--navy-dark); line-height: 1; }

.about-floating-card {
  position: absolute;
  bottom: -10px; left: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  max-width: 260px;
  animation: floatCard 4s ease-in-out infinite;
}

.about-floating-card i { font-size: 1.8rem; flex-shrink: 0; color: var(--gold-dark); }
.about-floating-card strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.about-floating-card p { font-size: 0.75rem; color: var(--text-body); line-height: 1.4; margin: 0; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section-text { color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }

.about-card {
  padding: 22px;
  height: 100%;
  transition: var(--transition);
}

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

.about-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: var(--navy);
}

.about-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.about-card p { font-size: 0.82rem; color: var(--text-light); margin: 0; line-height: 1.6; }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white) !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy) !important;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244,197,66,0.3);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(11,58,110,0.08), rgba(11,58,110,0.05));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  transform: scale(1.08) rotate(-5deg);
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.7; margin: 0; }

.feature-hover-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(135deg, rgba(11,58,110,0.02), rgba(244,197,66,0.03));
  transition: height 0.4s ease;
}

.feature-card:hover .feature-hover-line { height: 100%; }

/* ============================================================
   OUR INSTITUTIONS
   ============================================================ */
.institution-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}

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

.institution-img { position: relative; height: 200px; overflow: hidden; }

.inst-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}

.inst-img-placeholder.boys {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.inst-img-placeholder.girls {
  background: linear-gradient(135deg, #5B2C6F, #8E44AD);
}

.inst-img-placeholder i { font-size: 4rem; color: rgba(255,255,255,0.3); }

.institution-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.06em;
}

.girls-badge { background: #E8DAEF; color: #5B2C6F; }

.institution-body { padding: 32px; }

.institution-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.institution-body h3 span { color: var(--gold-dark); }

.institution-body p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; }

.institution-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.institution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.institution-features li:last-child { border-bottom: none; }
.institution-features li i { color: var(--navy); font-size: 0.85rem; }

.btn-institution {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white) !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-institution:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.academy-btn {
  background: linear-gradient(135deg, #5B2C6F, #8E44AD) !important;
}

/* ============================================================
   HERO — LIVE RIBBON & STREAM BANNER
   ============================================================ */
.hero-live-ribbon {
  position: absolute;
  top: 110px; right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E63946;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
  animation: livePulse 2.2s ease-in-out infinite;
}

.hero-live-ribbon i { font-size: 0.7rem; }

@keyframes livePulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(230,57,70,0.4); }
  50% { box-shadow: 0 8px 32px rgba(230,57,70,0.65), 0 0 0 8px rgba(230,57,70,0.1); }
}

.hero-stream-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  padding: 12px 32px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.9s ease 0.42s forwards;
  opacity: 0;
}

.hero-stream-banner em {
  color: var(--gold);
  font-style: normal;
  margin: 0 2px;
}

.stream-divider {
  width: 1px; height: 22px;
  background: rgba(255,255,255,0.25);
}

/* ============================================================
   ECCEd STRIP — "ALSO AVAILABLE"
   ============================================================ */
.eccEd-strip {
  position: relative;
  margin-top: 48px;
  background: linear-gradient(135deg, #FBF3DD, #F7E7BC);
  border: 1px solid rgba(244,197,66,0.4);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.eccEd-tag {
  position: absolute;
  top: -14px; left: 36px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
}

.eccEd-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.eccEd-icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}

.eccEd-text { flex: 1; min-width: 220px; }

.eccEd-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.eccEd-text h4 span {
  font-size: 0.85rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

.eccEd-text p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin: 0;
  max-width: 420px;
}

.eccEd-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eccEd-checklist li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eccEd-checklist li i {
  color: var(--gold-dark);
  font-size: 0.78rem;
}

.btn-eccEd {
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 50px;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-eccEd:hover {
  background: var(--gold-dark);
  color: var(--navy-dark) !important;
  transform: translateY(-2px);
}

/* ============================================================
   CLASS MODE — ONLINE & OFFLINE
   ============================================================ */
.mode-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.mode-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.mode-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(244,197,66,0.3);
  transform: translateY(-6px);
}

.mode-icon-circle {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--navy-dark);
}

.mode-card-online .mode-icon-circle {
  background: linear-gradient(135deg, #5B2C6F, #8E44AD);
  color: var(--white);
}

.mode-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.mode-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.mode-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 18px;
}

.mode-footer-tag {
  display: inline-block;
  background: rgba(244,197,66,0.12);
  border: 1px solid rgba(244,197,66,0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
}

.mode-urdu {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gold-light);
  direction: rtl;
}

.mode-urdu em {
  display: block;
  direction: ltr;
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.mode-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
}

.mode-divider-badge {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: var(--navy-dark);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}

.mode-helper {
  text-align: center;
  margin-top: 36px;
}

.mode-helper p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.btn-mode-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.btn-mode-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.45);
}

/* ============================================================
   STATISTICS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(244,197,66,0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(244,197,66,0.05), transparent 50%);
}

.stat-card {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(244,197,66,0.3);
  transform: translateY(-6px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  font-weight: 700;
  display: inline;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
  letter-spacing: 0.05em;
}

/* ============================================================
   ADMISSION CTA
   ============================================================ */
.admission-cta {
  background: linear-gradient(135deg, #041530, #0B3A6E, #1A5276);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.admission-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(244,197,66,0.08) 0%, transparent 70%);
}

.admission-shapes { position: absolute; inset: 0; pointer-events: none; }

.adm-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244,197,66,0.1);
}

.adm-s1 {
  width: 400px; height: 400px;
  top: -200px; left: -100px;
  animation: rotateSlow 20s linear infinite;
}

.adm-s2 {
  width: 600px; height: 600px;
  bottom: -300px; right: -150px;
  animation: rotateSlow 30s linear infinite reverse;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.admission-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(244,197,66,0.12);
  border: 1px solid rgba(244,197,66,0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: dotBlink 1.5s ease-in-out infinite;
}

.admission-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.admission-title span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admission-text {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 0.97rem;
  position: relative;
  z-index: 1;
}

.admission-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-admission-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark) !important;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 32px rgba(244,197,66,0.4);
  transition: var(--transition);
}

.btn-admission-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(244,197,66,0.55);
}

.btn-admission-secondary {
  background: transparent;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 15px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}

.btn-admission-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Masonry Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

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

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  transition: var(--transition);
}

.gallery-item:nth-child(2n) .gallery-placeholder {
  background: linear-gradient(135deg, #1A3A5E, #2E6DA4);
}

.gallery-item:nth-child(3n) .gallery-placeholder {
  background: linear-gradient(135deg, #0D2D44, #1A5276);
}

.gallery-item:nth-child(4n) .gallery-placeholder {
  background: linear-gradient(135deg, #162838, var(--navy));
}

.gallery-placeholder i { font-size: 2.5rem; color: rgba(244,197,66,0.35); }
.gallery-placeholder span { font-size: 0.78rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 58, 110, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i { font-size: 1.8rem; color: var(--gold); }
.gallery-overlay p { font-size: 0.82rem; color: var(--white); text-align: center; margin: 0; }

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { transform: scale(0.98); }

.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(4, 15, 40, 0.95);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 700px;
  width: 90%;
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(244,197,66,0.2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover { background: rgba(244,197,66,0.2); }

.lightbox-placeholder i { font-size: 5rem; color: rgba(244,197,66,0.3); margin-bottom: 16px; display: block; }
.lightbox-placeholder p { color: rgba(255,255,255,0.6); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-slider { overflow: hidden; position: relative; }

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc(100% / 3);
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: 0 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0.6;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.testimonial-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

/* Testimonial Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.t-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.08);
}

.t-dots { display: flex; gap: 8px; }

.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.t-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   NOTICE BOARD
   ============================================================ */
.notice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

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

.notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  color: var(--white);
}

.notice-header.announcements { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.notice-header.events { background: linear-gradient(135deg, #1A6B3C, #27AE60); }
.notice-header.exams { background: linear-gradient(135deg, #8B3A00, #D4580A); }

.notice-header i { font-size: 1.2rem; }
.notice-header h5 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--white); }

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

.notice-list li {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.notice-list li:last-child { border-bottom: none; }
.notice-list li:hover { background: var(--off-white); }

.notice-date {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(244,197,66,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}

.notice-list p { font-size: 0.85rem; color: var(--text-body); margin: 0; line-height: 1.6; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info { margin-bottom: 32px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11,58,110,0.15);
}

.contact-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h6 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
  display: block;
  line-height: 1.6;
}

.contact-info-item a:hover { color: var(--navy); }

.map-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: var(--white);
}

.map-placeholder i { font-size: 2.5rem; color: var(--gold); margin-bottom: 12px; }
.map-placeholder p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

.btn-map {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-map:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-group-custom { margin-bottom: 4px; }

.form-group-custom label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11,58,110,0.07);
}

.form-input::placeholder { color: var(--text-light); }

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

.btn-form-submit {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px;
  border-radius: var(--radius);
  border: none;
  transition: var(--transition);
  margin-top: 4px;
}

.btn-form-submit:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-success-msg {
  text-align: center;
  padding: 32px;
  animation: fadeInUp 0.5s ease;
}

.form-success-msg i { font-size: 3rem; color: #27AE60; margin-bottom: 12px; display: block; }
.form-success-msg p { color: var(--text-body); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); }

.footer-top { padding: 72px 0 48px; }

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

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

.footer-logo-text span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo-text small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 12px; }
.footer-managed { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 22px; }
.footer-managed strong { color: var(--gold-light); }

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

.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

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

.footer-links li { margin-bottom: 10px; }

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

.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-contact-item a:hover { color: var(--gold-light); }

.footer-admission-cta { margin-top: 24px; }

.btn-footer-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark) !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition);
  animation: admissionPulse 2.5s ease-in-out infinite;
}

.btn-footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 96px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: #25D366;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-padding { padding: 70px 0; }

  .hero-stats-bar { padding: 16px 24px; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-divider { display: none; }

  .about-floating-card { left: 0; bottom: 0; }
  .about-image-badge { right: -10px; }

  .mode-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mode-divider { padding: 16px 0; }
  .mode-divider-badge { width: 44px; height: 44px; }

  .eccEd-content { flex-direction: column; align-items: flex-start; text-align: left; }
  .eccEd-checklist { flex-direction: row; flex-wrap: wrap; gap: 16px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item.wide { grid-column: span 1; }

  .testimonial-card { flex: 0 0 calc(100% / 2); }
}

@media (max-width: 767px) {
  .section-padding { padding: 56px 0; }

  .hero-content { padding: 140px 0 80px; }
  .hero-stats-bar { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 300px; text-align: center; }

  .about-image-frame { min-height: 280px; }
  .about-floating-card { display: none; }

  .hero-live-ribbon {
    top: 96px; right: 16px;
    font-size: 0.68rem;
    padding: 7px 14px;
  }

  .hero-stream-banner {
    padding: 10px 20px;
    gap: 10px;
  }

  .eccEd-strip { padding: 28px 22px; }
  .eccEd-tag { left: 22px; }

  .mode-card { padding: 32px 22px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-item.tall { grid-row: span 1; }

  .testimonial-card { flex: 0 0 100%; }

  .admission-buttons { flex-direction: column; align-items: center; }
  .btn-admission-primary, .btn-admission-secondary { width: 100%; max-width: 300px; }

  .contact-form-wrapper { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }

  .hero-badge { font-size: 0.7rem; padding: 6px 16px; }
  .hero-live-ribbon { display: none; }
  .hero-stream-banner { font-size: 0.85rem; padding: 9px 16px; flex-wrap: wrap; justify-content: center; }

  .eccEd-checklist { flex-direction: column; gap: 8px; }

  .testimonial-card { padding: 24px; }

  .footer-top { padding: 48px 0 32px; }
}

/* ============================================================
   AOS CUSTOM
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
