/* ================================================================
   Vividh Schools – Main Stylesheet
   ================================================================ */

:root {
  --primary:       #1b3a6b;
  --primary-dark:  #122850;
  --primary-light: #2a5298;
  --secondary:     #e6991a;
  --secondary-dark:#c47f0e;
  --accent:        #2ecc71;
  --white:         #ffffff;
  --light:         #f8f9fc;
  --dark:          #1a1a2e;
  --grey:          #6c757d;
  --border:        #e0e4ed;
  --shadow:        0 4px 24px rgba(27,58,107,.10);
  --shadow-lg:     0 12px 40px rgba(27,58,107,.16);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    .3s ease;
  --font-main:     'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

/* ── Top Bar ───────────────────────────────────────────────────── */
.top-bar {
  background: var(--primary-dark);
  color: #b8c8e8;
  font-size: .82rem;
  padding: 6px 0;
}
.top-bar a { color: #b8c8e8; }
.top-bar a:hover { color: var(--white); }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white) !important;
  margin-left: 5px;
  font-size: .9rem;
  transition: background var(--transition);
}
.social-link:hover { background: var(--secondary); }

/* ── Navbar ────────────────────────────────────────────────────── */
.main-nav {
  background: var(--primary) !important;
  padding: 0;
  box-shadow: 0 2px 16px rgba(27,58,107,.25);
  z-index: 1040;
}
.navbar-brand { padding: 10px 0; }
.logo-placeholder {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
}
.logo-img { border-radius: 8px; object-fit: contain; }
.brand-name { font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.brand-tagline { font-size: .68rem; color: #adc0de; letter-spacing: .03em; }

.main-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .88rem;
  padding: 28px 12px !important;
  letter-spacing: .02em;
  position: relative;
  transition: color var(--transition);
}
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav .nav-link:hover, .main-nav .nav-link.active {
  color: var(--white) !important;
}
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after {
  transform: scaleX(1);
}
.btn-admission {
  background: var(--secondary);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 8px 22px !important;
  font-size: .85rem !important;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid var(--secondary);
}
.btn-admission:hover {
  background: transparent;
  color: var(--secondary) !important;
}

/* ── Page Hero (shared) ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #3a6bc9 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.breadcrumb-item a { color: var(--secondary); }
.breadcrumb-item.active { color: rgba(255,255,255,.7); }

/* ── Home Hero ─────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,107,.92) 0%, rgba(27,58,107,.75) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 100px; }
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(230,153,26,.2);
  border: 1px solid rgba(230,153,26,.5);
  color: var(--secondary);
  padding: 6px 18px; border-radius: 50px;
  font-size: .85rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.8);
  max-width: 600px; margin: 0 auto 30px;
}
.btn-hero-primary {
  background: var(--secondary);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--secondary);
  transition: all var(--transition);
  display: inline-flex; align-items: center;
}
.btn-hero-primary:hover {
  background: transparent; color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(230,153,26,.3);
}
.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.5);
  transition: all var(--transition);
  display: inline-flex; align-items: center;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2;
}
.hero-wave svg { display: block; width: 100%; }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 90px 0; }
.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 10px;
}
.section-label-light {
  display: inline-block;
  color: rgba(230,153,26,.9);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--dark);
  margin-bottom: 16px; line-height: 1.25;
}
.section-text { color: var(--grey); font-size: 1.05rem; line-height: 1.8; }

/* ── Stats ─────────────────────────────────────────────────────── */
.stats-section { padding: 0 0 60px; }
.stats-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: -60px;
  position: relative; z-index: 10;
}
.stat-item {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #f0f5ff; }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: .88rem; color: var(--grey); font-weight: 500; }

/* ── Welcome Section ───────────────────────────────────────────── */
.welcome-image-wrap { position: relative; }
.welcome-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  height: 420px;
}
.welcome-badge {
  position: absolute; bottom: 24px; left: -20px;
  background: var(--secondary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.feature-item {
  display: flex; align-items: center;
  font-size: .95rem; font-weight: 500; color: var(--dark);
}

/* ── Mission / Vision ──────────────────────────────────────────── */
.mv-section { background: var(--light); }
.mv-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  height: 100%;
  position: relative; overflow: hidden;
}
.mission-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); }
.vision-card  { background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%); color: var(--white); }
.mv-card h3 { font-size: 1.4rem; font-weight: 700; margin: 16px 0 12px; }
.mv-card p  { opacity: .9; line-height: 1.8; }
.mv-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
}

/* ── Facilities ─────────────────────────────────────────────────── */
.facility-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
  background: var(--white);
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.facility-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f0fe, #c2d4f8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary);
  margin: 0 auto 16px;
}
.facility-card h5 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.facility-card p  { font-size: .85rem; color: var(--grey); margin: 0; }

/* ── Events ─────────────────────────────────────────────────────── */
.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-img { width: 100%; height: 220px; object-fit: cover; }
.event-img-placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.5);
}
.event-body { padding: 24px; position: relative; }
.event-date-badge {
  position: absolute; top: -24px; right: 20px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 10px;
  padding: 6px 14px; text-align: center;
  box-shadow: 0 4px 12px rgba(230,153,26,.4);
}
.event-day   { font-size: 1.4rem; font-weight: 900; display: block; line-height: 1; }
.event-month { font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.event-title { font-weight: 700; font-size: 1.1rem; margin: 8px 0 8px; }
.event-loc   { font-size: .85rem; color: var(--grey); margin-bottom: 8px; }
.event-desc  { font-size: .9rem; color: var(--grey); margin-bottom: 16px; line-height: 1.6; }

/* ── Gallery ─────────────────────────────────────────────────────── */
.gallery-thumb-link { display: block; }
.gallery-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb-empty {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,.4);
}
.gallery-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(27,58,107,.85));
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-thumb:hover .gallery-thumb-overlay { opacity: 1; }
.gallery-thumb-overlay span {
  color: var(--white); font-weight: 600; font-size: .9rem;
}

/* Gallery Filter Tabs */
.gallery-filter .btn {
  border-radius: 50px;
  padding: 6px 20px;
  font-size: .85rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  color: var(--primary);
  margin: 4px;
  transition: all var(--transition);
}
.gallery-filter .btn.active,
.gallery-filter .btn:hover {
  background: var(--primary); color: var(--white);
}

/* ── Upcoming Events (on Gallery page) ──────────────────────────── */
.upcoming-event-item {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.upcoming-event-item:hover { transform: translateX(4px); }
.upcoming-event-date {
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px; text-align: center;
  min-width: 54px; flex-shrink: 0;
}
.upcoming-event-date .day   { font-size: 1.4rem; font-weight: 900; line-height: 1; }
.upcoming-event-date .month { font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.upcoming-event-info h6 { font-weight: 700; margin-bottom: 4px; }
.upcoming-event-info small { color: var(--grey); }

/* ── Admission CTA ──────────────────────────────────────────────── */
.admission-cta { background: var(--light); }
.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cta-card p  { color: rgba(255,255,255,.8); margin: 0; font-size: 1.05rem; }

/* ── Upcoming Calendar Cards ────────────────────────────────────── */
.upcoming-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.upcoming-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.upcoming-date { font-size: 1.3rem; font-weight: 900; color: var(--secondary); margin-bottom: 10px; }
.upcoming-card h6 { color: var(--white); margin-bottom: 6px; font-weight: 700; }
.upcoming-card small { color: rgba(255,255,255,.6); }

/* ── Trustees ───────────────────────────────────────────────────── */
.trustee-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}
.trustee-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.trustee-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin: 0 auto 16px;
  display: block;
}
.trustee-placeholder {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--white);
  margin: 0 auto 16px;
  border: 4px solid var(--primary);
}
.trustee-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.trustee-designation { font-size: .85rem; color: var(--secondary); font-weight: 600; margin-bottom: 12px; }
.trustee-bio { font-size: .85rem; color: var(--grey); line-height: 1.7; }

/* ── Learning Style ─────────────────────────────────────────────── */
.learning-method-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.learning-method-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.learning-method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.learning-method-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, #e8f0fe, #c2d4f8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--primary);
  margin-bottom: 20px;
}

/* ── Residential ────────────────────────────────────────────────── */
.residential-feature {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  transition: all var(--transition);
}
.residential-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.residential-feature-icon {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
}
.residential-feature h5 { font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.residential-feature p  { font-size: .88rem; color: var(--grey); margin: 0; line-height: 1.7; }

/* ── Global Citizens ────────────────────────────────────────────── */
.gc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  transition: all var(--transition);
}
.gc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gc-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 24px; color: var(--white);
}
.gc-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
}
.gc-card-header h5 { font-weight: 700; margin: 0; }
.gc-card-body { padding: 24px; font-size: .92rem; color: var(--grey); line-height: 1.8; }

/* ── Contact ────────────────────────────────────────────────────── */
.contact-info-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-info-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 32px;
}
.contact-info-header h4 { color: var(--white); font-weight: 700; margin: 0; }
.contact-info-body { padding: 32px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--white);
}
.contact-item h6 { font-weight: 700; margin-bottom: 3px; }
.contact-item p  { font-size: .9rem; color: var(--grey); margin: 0; }

/* Forms */
.form-label { font-weight: 600; font-size: .88rem; color: var(--dark); }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .92rem;
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,.12);
}

/* ── Principal Message ──────────────────────────────────────────── */
.principal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.principal-card::before {
  content: '\201C';
  position: absolute; top: 20px; left: 28px;
  font-size: 6rem; line-height: 1;
  color: var(--secondary); opacity: .25;
  font-family: Georgia, serif;
}
.principal-img {
  width: 90px; height: 90px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--primary);
}
.principal-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white);
  border: 3px solid var(--primary);
}

/* ── Admission Form ─────────────────────────────────────────────── */
.admission-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.admission-form-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 28px 36px;
}
.admission-form-header h4 { color: var(--white); font-weight: 700; margin: 0; }
.admission-form-body { padding: 36px; }
.step-indicator {
  display: flex; gap: 0; margin-bottom: 36px;
  border-radius: 50px; overflow: hidden;
  border: 1px solid var(--border);
}
.step-item {
  flex: 1; text-align: center; padding: 10px;
  font-size: .8rem; font-weight: 600;
  background: var(--light); color: var(--grey);
  cursor: pointer; transition: all var(--transition);
}
.step-item.active { background: var(--primary); color: var(--white); }
.step-item.done   { background: var(--accent); color: var(--white); }

/* ── WhatsApp Float ─────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.whatsapp-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all var(--transition);
  text-decoration: none;
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-btn:hover {
  background: #1da851;
  color: var(--white);
  transform: scale(1.1);
  animation: none;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}
.whatsapp-tooltip {
  background: var(--dark);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition);
  position: relative;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
  border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1; pointer-events: auto; transform: translateX(0);
}

/* ── Back to Top ────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  z-index: 9998;
  transition: all var(--transition);
}
.back-to-top:hover { background: var(--secondary); transform: translateY(-3px); }
.back-to-top.show  { display: flex; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); }
.footer-top  { padding: 70px 0 40px; }
.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { color: #8892a4; font-size: .85rem; margin: 0; }
.footer-heading {
  color: var(--white); font-weight: 700; font-size: 1rem;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}
.footer-text { color: #8892a4; font-size: .88rem; line-height: 1.8; }
.footer-contact li {
  color: #8892a4; font-size: .88rem;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
}
.footer-contact li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: #8892a4; }
.footer-contact a:hover { color: var(--secondary); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #8892a4; font-size: .88rem; transition: all var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--secondary); font-size: 1.1rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .95rem; margin-right: 8px;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.sidebar-link { display: block; color: #8892a4; font-size: .85rem; padding: 5px 0; }
.sidebar-link:hover { color: var(--secondary); }

/* ── Lightbox override ──────────────────────────────────────────── */
.glightbox-clean .gslide-description { background: rgba(27,58,107,.95); }

/* ── Utility ────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--primary); border-color: var(--primary);
  border-radius: 8px; font-weight: 600;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary { background: var(--secondary); border-color: var(--secondary); color: var(--white); border-radius: 8px; font-weight: 600; }
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); border-radius: 8px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.text-primary { color: var(--primary) !important; }
.bg-primary   { background-color: var(--primary) !important; }

.badge-category {
  display: inline-block;
  padding: 3px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 700;
  background: rgba(27,58,107,.1); color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .main-nav .nav-link { padding: 12px 0 !important; }
  .main-nav .nav-link::after { display: none; }
  .welcome-badge { left: 10px; }
  .cta-card { padding: 36px 24px; }
  .hero-content { padding: 80px 0 70px; }
  .stats-card { margin-top: 20px; }
}
@media (max-width: 767.98px) {
  .section { padding: 60px 0; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .gallery-thumb { aspect-ratio: auto; height: 180px; }
  .whatsapp-float { bottom: 20px; right: 16px; }
  .back-to-top    { bottom: 90px; right: 16px; }
  .admission-form-body { padding: 24px 18px; }
}
