/* ============================================================
   SURMOUNT INTERNATIONAL SCHOOL — REDESIGNED STYLESHEET
   Design System: Premium Dark Navy + Gold + Crimson
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Colors */
  --c-navy: #0A1128;
  --c-navy-mid: #0F1B40;
  --c-navy-light: #162050;
  --c-crimson: #9B1B30;
  --c-crimson-light: #C42038;
  --c-gold: #C9A84C;
  --c-gold-light: #E6C06A;
  --c-white: #FFFFFF;
  --c-off-white: #F4F6FC;
  --c-light-gray: #E8ECF4;
  --c-gray: #94A3B8;
  --c-text: #1E2A4A;
  --c-text-light: #64748B;

  /* Gradients */
  --g-hero: linear-gradient(135deg, rgba(10, 17, 40, 0.97) 0%, rgba(155, 27, 48, 0.45) 100%);
  --g-accent: linear-gradient(135deg, #9B1B30 0%, #C42038 100%);
  --g-gold: linear-gradient(135deg, #C9A84C 0%, #E6C06A 100%);
  --g-card: linear-gradient(135deg, #FFFFFF 0%, #F4F6FC 100%);
  --g-dark-card: linear-gradient(135deg, #0F1B40 0%, #162050 100%);
  --g-programs: linear-gradient(180deg, #060D24 0%, #0A1128 100%);

  /* Typography */
  --f-body: 'Outfit', system-ui, sans-serif;
  --f-serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --gap: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 17, 40, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 17, 40, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 17, 40, 0.18);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.25);
  --shadow-crimson: 0 8px 32px rgba(155, 27, 48, 0.3);

  /* Border Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-mid: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
}

/* page-is-exiting removed for instant live loading */

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-padding); position: relative; }

.section-tag {
  display: inline-block;
  background: rgba(155, 27, 48, 0.1);
  color: var(--c-crimson-light);
  border: 1px solid rgba(155, 27, 48, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-tag.light {
  background: rgba(201, 168, 76, 0.12);
  color: var(--c-gold-light);
  border-color: rgba(201, 168, 76, 0.25);
}

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--c-white); }

.text-accent { color: var(--c-crimson-light); }
.text-gold { color: var(--c-gold-light); }

.section-desc {
  font-size: 1.05rem;
  color: var(--c-text-light);
  max-width: 600px;
  line-height: 1.8;
}
.section-desc.light { color: rgba(255,255,255,0.75); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-header.centered .section-desc { margin: 0 auto; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn-primary,
.btn-hero-primary,
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--g-accent);
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  transition: var(--t-mid);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-crimson);
  white-space: nowrap;
}
.btn-primary::before,
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-110%);
  transition: var(--t-mid);
}
.btn-primary:hover::before,
.btn-hero-primary:hover::before { transform: translateX(0); }
.btn-primary:hover,
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(155, 27, 48, 0.45);
}

.btn-primary-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--c-crimson-light);
  border: 2px solid var(--c-crimson-light);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.8rem;
  border-radius: 100px;
  transition: var(--t-mid);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--c-crimson-light);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.35);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  transition: var(--t-mid);
  backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* ============================================================
   5. ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: linear-gradient(90deg, var(--c-navy) 0%, var(--c-crimson) 50%, var(--c-navy) 100%);
  background-size: 200% 100%;
  animation: barShift 8s linear infinite;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.5rem;
  position: relative;
  z-index: 1000;
  min-height: 38px;
}

@keyframes barShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  overflow: hidden;
}

.announcement-badge {
  background: var(--c-gold);
  color: var(--c-navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.announcement-ticker {
  overflow: hidden;
  flex: 1;
}
.announcement-ticker span {
  display: inline-block;
  white-space: nowrap;
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  font-weight: 500;
  animation: tickerScroll 30s linear infinite;
}
@keyframes tickerScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.announcement-close {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--t-fast);
  flex-shrink: 0;
}
.announcement-close:hover { color: white; background: rgba(255,255,255,0.15); }

/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 17, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--t-mid);
  width: 100%;
  max-width: 100%;
}
.navbar-wrapper.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 0.75rem;
  box-sizing: border-box;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--g-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.02em;
}
.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--c-gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.45rem 0.58rem;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,0.08); }
.dropdown-arrow { font-size: 0.65rem; transition: var(--t-fast); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu-custom {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(12, 20, 50, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-custom li a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: var(--t-fast);
}
.dropdown-menu-custom li a:hover {
  color: white;
  background: rgba(155, 27, 48, 0.35);
  padding-left: 1.25rem;
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-cta .btn-primary-sm {
  padding: 0.48rem 1.15rem;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--t-fast);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--t-mid);
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background Slider */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
  animation: kenBurns 8s ease-out forwards;
}
.hero-slide.active {
  opacity: 1;
}
@keyframes kenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 17, 40, 0.92) 0%,
    rgba(10, 17, 40, 0.7) 50%,
    rgba(155, 27, 48, 0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--c-gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--c-gold-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-title em {
  font-style: normal;
  background: var(--g-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* Hero Stats Bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(10, 17, 40, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 1.5rem 2rem;
  margin-top: auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3rem;
  gap: 0;
}
.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  font-feature-settings: "tnum";
  line-height: 1;
}
.hero-stat-symbol {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-gold-light);
  margin-left: 2px;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Slide Controls */
.hero-slide-controls {
  position: absolute;
  bottom: 140px;
  right: 3rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slide-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--t-fast);
}
.slide-btn:hover {
  background: rgba(155, 27, 48, 0.6);
  border-color: transparent;
}

.slide-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.slide-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: var(--t-fast);
  cursor: pointer;
}
.slide-dot.active {
  background: var(--c-gold-light);
  width: 22px;
  border-radius: 4px;
}

/* ============================================================
   8. ABOUT SECTION
   ============================================================ */
.about-section { background: var(--c-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  height: 85%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 50%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}
.about-img-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-secondary:hover img { transform: scale(1.04); }

.about-img-badge {
  position: absolute;
  top: 50%; left: 72%;
  transform: translate(-50%, -50%);
  background: var(--g-accent);
  color: white;
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-crimson);
  border: 3px solid white;
  z-index: 1;
}
.badge-year { font-size: 1.2rem; font-weight: 900; line-height: 1; }
.badge-text { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }

.about-content { padding: 1rem 0; }

.about-lead {
  font-size: 1.1rem;
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 500;
}
.about-body {
  font-size: 0.95rem;
  color: var(--c-text-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.highlight-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.highlight-item div:last-child {
  display: flex;
  flex-direction: column;
}
.highlight-item strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.1rem;
}
.highlight-item span {
  font-size: 0.8rem;
  color: var(--c-text-light);
}

.about-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   9. PROGRAMS / ACADEMICS SECTION
   ============================================================ */
.programs-section {
  background: var(--c-navy);
  color: white;
  overflow: hidden;
}

.programs-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(155, 27, 48, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.programs-section .section-title { color: white; }
.programs-section .section-desc { color: rgba(255,255,255,0.65); }

/* Tabs */
.program-tabs {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  padding: 0.35rem;
  gap: 0.25rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow-x: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.prog-tab {
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: var(--t-mid);
  white-space: nowrap;
}
.prog-tab:hover { color: rgba(255,255,255,0.9); }
.prog-tab.active {
  background: var(--g-accent);
  color: white;
  box-shadow: var(--shadow-crimson);
}

/* Tab Panels */
.tab-panel { display: none; animation: fadeInUp 0.4s ease; }
.tab-panel.active { display: block; }

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tab-panel-content h3 {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.tab-panel-content p {
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.feature-check {
  width: 22px; height: 22px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tab-panel-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.tab-panel-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tab-panel-image:hover img { transform: scale(1.04); }

/* ============================================================
   10. FACILITIES SECTION
   ============================================================ */
.facilities-section { background: var(--c-off-white); }

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.facility-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-light-gray);
  transition: var(--t-mid);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease calc(var(--delay)) both;
}
.facility-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--g-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t-mid);
}
.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.facility-card:hover::before { transform: scaleX(1); }

.facility-icon-wrap {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.facility-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.6rem;
}
.facility-card p {
  font-size: 0.875rem;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* ============================================================
   11. NEWS & NOTICES
   ============================================================ */
.news-section { background: var(--c-white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-light-gray);
  transition: var(--t-mid);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-featured {
  border-color: rgba(155, 27, 48, 0.2);
  box-shadow: 0 4px 20px rgba(155, 27, 48, 0.1);
}

.news-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-image img { transform: scale(1.06); }

.news-card-date {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--c-navy);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  background: rgba(10, 17, 40, 0.07);
  color: var(--c-navy);
}
.news-tag-hot {
  background: rgba(255, 87, 34, 0.1);
  color: #D84315;
}
.news-tag-achievement {
  background: rgba(201, 168, 76, 0.15);
  color: #8B6914;
}

.news-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.45;
  margin-bottom: 0.6rem;
}
.news-card-body h3 a:hover { color: var(--c-crimson-light); }

.news-card-body p {
  font-size: 0.84rem;
  color: var(--c-text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.news-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-crimson-light);
  transition: var(--t-fast);
}
.news-read-more:hover { color: var(--c-navy); }

/* ============================================================
   12. GALLERY SECTION
   ============================================================ */
.gallery-section { background: var(--c-navy); }
.gallery-section .section-title { color: white; }
.gallery-section .section-desc { color: rgba(255,255,255,0.65); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(155, 27, 48, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--t-mid);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   13. VIDEO GALLERY
   ============================================================ */
.video-section { background: var(--c-off-white); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  position: relative;
}
.video-card iframe {
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--c-navy);
  position: relative;
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 10% 50%, rgba(155, 27, 48, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: var(--t-mid);
  backdrop-filter: blur(10px);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.3);
}

.testimonial-featured {
  background: rgba(155, 27, 48, 0.25);
  border-color: rgba(155, 27, 48, 0.4);
  transform: scale(1.02);
}
.testimonial-featured:hover { transform: scale(1.02) translateY(-6px); }

.testimonial-stars {
  color: var(--c-gold-light);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
}
.testimonial-card blockquote::before {
  content: '"';
  font-family: var(--f-serif);
  font-size: 4rem;
  color: rgba(201, 168, 76, 0.2);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonial-avatar {
  width: 42px; height: 42px;
  background: var(--g-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.1rem;
}
.testimonial-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   15. ADMISSION SECTION
   ============================================================ */
.admission-section { background: var(--c-off-white); }

.admission-card {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-light) 100%);
  border-radius: var(--r-xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.admission-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(155, 27, 48, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.admission-content { position: relative; z-index: 1; }
.admission-content .section-tag {
  background: rgba(201, 168, 76, 0.15);
  color: var(--c-gold-light);
  border-color: rgba(201, 168, 76, 0.3);
}

.admission-title {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.admission-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.admission-classes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.admission-classes span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.admission-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  transition: var(--t-fast);
  outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(255,255,255,0.13);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--c-navy); color: white; }

.form-group-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.82rem 1.5rem;
}

.form-success {
  color: #4CAF50;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(76, 175, 80, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.admission-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.admission-contact span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.admission-contact a {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--t-fast);
}
.admission-contact a:hover { color: var(--c-gold-light); }

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: white !important;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem !important;
}
.whatsapp-link:hover { background: #1EBE58; color: white !important; }

/* ============================================================
   16. CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--c-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.25rem;
}
.contact-item p {
  font-size: 0.85rem;
  color: var(--c-text-light);
  line-height: 1.7;
}
.contact-item a {
  color: var(--c-crimson-light);
  font-size: 0.85rem;
  transition: var(--t-fast);
}
.contact-item a:hover { color: var(--c-navy); }

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid var(--c-light-gray);
}
.social-links span {
  font-size: 0.8rem;
  color: var(--c-text-light);
  font-weight: 600;
}
.social-link {
  width: 36px; height: 36px;
  background: var(--c-off-white);
  border: 1px solid var(--c-light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--c-navy);
  transition: var(--t-fast);
}
.social-link:hover {
  background: var(--c-crimson-light);
  border-color: var(--c-crimson-light);
  color: white;
  transform: translateY(-3px);
}

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-light-gray);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer { background: #060D24; color: rgba(255,255,255,0.75); }

.footer-top { padding: 4rem 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}
.footer-logo-icon {
  width: 38px; height: 38px;
  background: var(--g-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.footer-logo-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
}
.footer-logo-sub {
  display: block;
  font-size: 0.6rem;
  color: var(--c-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 1px;
}

.footer-desc {
  font-size: 0.83rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-contact-list a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: var(--t-fast);
}
.footer-contact-list a:hover { color: var(--c-gold-light); }

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--c-crimson);
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  transition: var(--t-fast);
  padding: 0.1rem 0;
}
.footer-links a:hover {
  color: var(--c-gold-light);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
.visitor-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--c-gold-light);
  font-weight: 600;
}
.visitor-count {
  font-weight: 800;
  color: #FFFFFF;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  background: rgba(155, 27, 48, 0.45);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.05em;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  display: inline-block;
}

@keyframes counterPulse {
  0% {
    transform: scale(1);
    background: rgba(155, 27, 48, 0.45);
  }
  50% {
    transform: scale(1.15);
    background: var(--c-gold);
    color: #060D24;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
  }
  100% {
    transform: scale(1);
    background: rgba(155, 27, 48, 0.45);
  }
}

.counter-pulse {
  animation: counterPulse 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255,255,255,0.55);
  transition: var(--t-fast);
}
.footer-social a:hover {
  background: var(--c-crimson-light);
  color: white;
}

/* ============================================================
   18. FLOATING ELEMENTS (CIRCULAR STACK ON RIGHT)
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--c-navy);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.scroll-top:hover {
  background: var(--c-crimson-light);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(155, 27, 48, 0.45);
}

.whatsapp-float {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  left: auto;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9000;
  transition: var(--t-mid);
  animation: bounceIn 1s ease 2s both;
  max-width: calc(100vw - 2rem);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  display: block;
}
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 17, 40, 0.92);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--t-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

.admission-fab {
  position: fixed;
  bottom: 9rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-accent);
  color: #FFFFFF;
  font-size: 1.35rem;
  box-shadow: var(--shadow-crimson);
  transition: var(--t-mid);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: calc(100vw - 2rem);
  padding: 0;
}
.admission-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(155, 27, 48, 0.55);
}
.admission-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 17, 40, 0.92);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--t-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.admission-fab:hover .admission-tooltip { opacity: 1; }

/* ============================================================
   19. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   20. RESPONSIVE — COMPACT DESKTOP / LAPTOP (1141px - 1320px)
   ============================================================ */
@media (max-width: 1320px) {
  .navbar-container {
    padding: 0 0.75rem;
    gap: 0.25rem;
  }
  .nav-links {
    gap: 0;
  }
  .nav-link {
    font-size: 0.74rem;
    padding: 0.32rem 0.32rem;
    gap: 0.15rem;
  }
  .nav-logo {
    gap: 0.4rem;
  }
  .nav-logo-img {
    width: 38px;
    height: 38px;
  }
  .nav-logo-name {
    font-size: 0.88rem;
  }
  .nav-logo-sub {
    font-size: 0.52rem;
  }
  .nav-cta {
    gap: 0.25rem;
  }
  .nav-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
  .nav-cta .btn-primary-sm {
    padding: 0.38rem 0.75rem;
    font-size: 0.74rem;
  }
}

/* ============================================================
   21. RESPONSIVE — TABLET & MOBILE DESKTOP SIMULATION (<= 1140px)
   ============================================================ */
@media (max-width: 1140px) {
  /* Navbar Mobile Slide-out Drawer */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 17, 40, 0.99);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 1.5rem 2rem;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-link { padding: 0.9rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; font-size: 0.88rem; }

  .dropdown-menu-custom {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-dropdown.open .dropdown-menu-custom { max-height: 400px; }

  .hamburger { display: flex; }
  .nav-cta .btn-primary-sm { display: none; }

  /* Overlay when menu open */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 997;
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { height: 380px; }
  .about-highlights { grid-template-columns: 1fr 1fr; }

  .tab-panel-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tab-panel-image { height: 280px; }

  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .admission-form .form-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { height: 300px; }
}

/* ============================================================
   22. RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }

  /* Hero */
  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
  }
  .hero-stat { flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.4rem 0; }
  .hero-stat-label { font-size: 0.75rem; margin-top: 0; }
  .hero-stat-divider { width: 40px; height: 1px; }

  .hero-slide-controls {
    bottom: 170px;
    right: 1.5rem;
  }

  .hero-content { padding-top: 3rem; }

  /* Programs */
  .program-tabs { flex-direction: column; border-radius: var(--r-lg); width: 100%; }
  .prog-tab { text-align: center; }

  /* Facilities */
  .facilities-grid { grid-template-columns: 1fr; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.g-tall { grid-row: auto; }
  .gallery-item.g-wide { grid-column: auto; }

  /* Videos */
  .video-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-featured { transform: none; }

  /* Admission */
  .admission-card { padding: 2rem; }
  .admission-form .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 320px; }
  .about-highlights { grid-template-columns: 1fr; }

  /* Section header */
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-stat { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .about-actions { flex-direction: column; }
  .admission-classes { gap: 0.4rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}

/* ============================================================
   19. COMPREHENSIVE DARK THEME SYSTEM (html.dark-theme)
   ============================================================ */
html.dark-theme {
  --c-white: #0F172A;
  --c-off-white: #0B1120;
  --c-light-gray: rgba(255, 255, 255, 0.12);
  --c-text: #F8FAFC;
  --c-text-light: #94A3B8;
  --c-navy-mid: #1E293B;
  --g-card: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* Backgrounds & Base Text */
html.dark-theme,
html.dark-theme body {
  background-color: #060D24 !important;
  color: #F8FAFC !important;
}

html.dark-theme .page-content,
html.dark-theme .about-section,
html.dark-theme .facilities-section,
html.dark-theme .why-choose-section,
html.dark-theme .news-section,
html.dark-theme .admissions-section,
html.dark-theme .testimonials-section,
html.dark-theme .uniform-section,
html.dark-theme .philosophy-section,
html.dark-theme .gallery-section {
  background-color: #060D24 !important;
}

/* Page Banner */
html.dark-theme .page-banner {
  background: linear-gradient(135deg, #0A1128 0%, #1F0D24 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Headings & Titles */
html.dark-theme h1,
html.dark-theme h2,
html.dark-theme h3,
html.dark-theme h4,
html.dark-theme h5,
html.dark-theme h6,
html.dark-theme .section-title,
html.dark-theme .page-title,
html.dark-theme .card-title,
html.dark-theme .hero-title,
html.dark-theme .about-title,
html.dark-theme .modal-title,
html.dark-theme .footer-logo-name,
html.dark-theme .nav-logo-name {
  color: #FFFFFF !important;
}

/* Paragraphs, Descriptions & Secondary Text */
html.dark-theme p,
html.dark-theme li,
html.dark-theme dt,
html.dark-theme dd,
html.dark-theme label {
  color: #E2E8F0;
}

html.dark-theme .section-desc,
html.dark-theme .page-desc,
html.dark-theme .card-desc,
html.dark-theme .text-muted,
html.dark-theme .breadcrumb,
html.dark-theme .breadcrumb a,
html.dark-theme small {
  color: #94A3B8 !important;
}

html.dark-theme .breadcrumb span.current,
html.dark-theme .breadcrumb a:hover {
  color: #FFFFFF !important;
}

/* Strong & Bold text */
html.dark-theme strong,
html.dark-theme b {
  color: #FFFFFF !important;
}

/* Cards & Disclosure Containers */
html.dark-theme .disclosure-card,
html.dark-theme .facility-card,
html.dark-theme .news-card,
html.dark-theme .testimonial-card,
html.dark-theme .admission-card,
html.dark-theme .about-card,
html.dark-theme .curriculum-card,
html.dark-theme .sport-card,
html.dark-theme .club-card,
html.dark-theme .topper-card,
html.dark-theme .council-card,
html.dark-theme .value-card,
html.dark-theme .contact-info-card,
html.dark-theme .quote-box,
html.dark-theme .uniform-card,
html.dark-theme .table-responsive {
  background: #0F172A !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Tables & Grid Content */
html.dark-theme table {
  background: transparent !important;
  color: #F8FAFC !important;
}

html.dark-theme thead tr {
  background: #1E293B !important;
  color: #FFFFFF !important;
}

html.dark-theme th {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

html.dark-theme tbody tr {
  background: #0F172A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme tbody tr:nth-child(even),
html.dark-theme tbody tr.even-row {
  background: #0B1120 !important;
}

html.dark-theme tbody tr:hover {
  background: #1E293B !important;
}

html.dark-theme td {
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme td strong,
html.dark-theme td b {
  color: #FFFFFF !important;
}

/* Catch-all for Inline Stylings with Navy/Dark text */
html.dark-theme [style*="color: var(--c-navy)"],
html.dark-theme [style*="color:var(--c-navy)"],
html.dark-theme [style*="color: #0A1128"],
html.dark-theme [style*="color:#0A1128"],
html.dark-theme [style*="color: #1F2937"],
html.dark-theme [style*="color:#1F2937"],
html.dark-theme [style*="color: #111827"],
html.dark-theme [style*="color:#111827"],
html.dark-theme [style*="color: #333"],
html.dark-theme [style*="color:#333"],
html.dark-theme [style*="color: #000"],
html.dark-theme [style*="color:#000"],
html.dark-theme [style*="color: #1F2421"],
html.dark-theme [style*="color:#1F2421"],
html.dark-theme [style*="color: #1E2A4A"],
html.dark-theme [style*="color:#1E2A4A"],
html.dark-theme [style*="color: #101C42"],
html.dark-theme [style*="color:#101C42"] {
  color: #FFFFFF !important;
}

/* Catch-all for Inline Stylings with Light Muted text */
html.dark-theme [style*="color: var(--c-text-light)"],
html.dark-theme [style*="color:var(--c-text-light)"],
html.dark-theme [style*="color: #64748B"],
html.dark-theme [style*="color:#64748B"],
html.dark-theme [style*="color: #4B5563"],
html.dark-theme [style*="color:#4B5563"],
html.dark-theme [style*="color: #6B7280"],
html.dark-theme [style*="color:#6B7280"] {
  color: #94A3B8 !important;
}

/* Catch-all for Inline Stylings with White/Off-White backgrounds */
html.dark-theme [style*="background: var(--c-white)"],
html.dark-theme [style*="background:var(--c-white)"],
html.dark-theme [style*="background: #FFFFFF"],
html.dark-theme [style*="background:#FFFFFF"],
html.dark-theme [style*="background: white"],
html.dark-theme [style*="background:white"],
html.dark-theme [style*="background-color: var(--c-white)"],
html.dark-theme [style*="background-color: #FFFFFF"],
html.dark-theme [style*="background-color: white"] {
  background: #0F172A !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
}

html.dark-theme [style*="background: var(--c-off-white)"],
html.dark-theme [style*="background:var(--c-off-white)"],
html.dark-theme [style*="background: #F4F6FC"],
html.dark-theme [style*="background:#F4F6FC"] {
  background: #0B1120 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #F8FAFC !important;
}

/* Contact Items & Socials */
html.dark-theme .contact-item strong {
  color: #FFFFFF !important;
}
html.dark-theme .contact-item p {
  color: #94A3B8 !important;
}
html.dark-theme .social-link {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}
html.dark-theme .social-link:hover {
  background: var(--c-crimson) !important;
  color: #FFFFFF !important;
}

/* Form Controls in Dark Mode */
html.dark-theme input,
html.dark-theme select,
html.dark-theme textarea {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

html.dark-theme input::placeholder,
html.dark-theme textarea::placeholder {
  color: #94A3B8 !important;
}

/* Badges & Tags */
html.dark-theme .section-tag {
  background: rgba(155, 27, 48, 0.25) !important;
  color: #FF6B81 !important;
  border-color: rgba(155, 27, 48, 0.4) !important;
}

html.dark-theme .section-tag.light {
  background: rgba(201, 168, 76, 0.2) !important;
  color: #E6C06A !important;
  border-color: rgba(201, 168, 76, 0.35) !important;
}

/* Program & Category Tabs */
html.dark-theme .program-tabs {
  background: #1E293B !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .prog-tab {
  color: #94A3B8 !important;
}

html.dark-theme .prog-tab.active,
html.dark-theme .prog-tab:hover {
  background: var(--c-crimson) !important;
  color: #FFFFFF !important;
}

/* Accordion / FAQs */
html.dark-theme .faq-item,
html.dark-theme .accordion-item {
  background: #0F172A !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .faq-question,
html.dark-theme .accordion-header {
  color: #FFFFFF !important;
}

html.dark-theme .faq-answer,
html.dark-theme .accordion-body {
  color: #CBD5E1 !important;
}

/* Buttons in Dark Mode */
html.dark-theme .btn-outline {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #FFFFFF !important;
}
html.dark-theme .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #FFFFFF !important;
}

html.dark-theme .btn-secondary {
  background: #1E293B !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Notice & Note Callout Boxes */
html.dark-theme .notice-box,
html.dark-theme .callout-box,
html.dark-theme [style*="border-left: 4px solid"] {
  background: #0F172A !important;
}

html.dark-theme .contact-map,
html.dark-theme .navbar-wrapper.scrolled {
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .navbar-wrapper.scrolled {
  background: rgba(10, 17, 40, 0.95);
}

html.dark-theme .scrolled .nav-logo-name {
  color: #FFFFFF;
}
html.dark-theme .scrolled .nav-link {
  color: #E2E8F0;
}
html.dark-theme .scrolled .nav-link:hover {
  color: var(--c-gold);
}

/* Nav Icon Buttons (Theme & Search) */
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--t-fast);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-icon-btn:hover {
  background: var(--c-crimson);
  color: #FFFFFF;
  border-color: var(--c-crimson);
  transform: scale(1.06);
}

.scrolled .nav-icon-btn {
  color: var(--c-navy);
  background: var(--c-off-white);
  border-color: var(--c-light-gray);
}

.scrolled .nav-icon-btn:hover {
  background: var(--c-crimson);
  color: #FFFFFF;
  border-color: var(--c-crimson);
}

html.dark-theme .scrolled .nav-icon-btn {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline-block; }

html.dark-theme .theme-toggle .icon-sun { display: inline-block; }
html.dark-theme .theme-toggle .icon-moon { display: none; }

/* ============================================================
   ADMISSION MODAL DRAWER
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-drawer {
  background: var(--c-navy-mid);
  color: white;
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active .modal-drawer {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}

.modal-close {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: var(--t-fast);
  cursor: pointer;
  background: transparent;
  border: none;
}

.modal-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.modal-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.admission-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ============================================================
   SEARCH MODAL STYLES
   ============================================================ */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 2rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  background: var(--c-white);
  width: 100%;
  max-width: 720px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

html.dark-theme .search-modal-box {
  background: var(--c-navy-mid);
  border-color: rgba(255, 255, 255, 0.15);
}

.search-modal-backdrop.active .search-modal-box {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-light-gray);
  background: var(--c-off-white);
}

html.dark-theme .search-modal-header {
  background: var(--c-navy);
  border-color: rgba(255, 255, 255, 0.1);
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--c-text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.8rem 2.8rem 0.8rem 3rem;
  font-size: 1.05rem;
  border: 2px solid var(--c-light-gray);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-navy);
  outline: none;
  transition: var(--t-fast);
}

html.dark-theme .search-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.search-input:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 1rem;
  color: var(--c-text-light);
  font-size: 1.1rem;
  padding: 0.2rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.search-close-btn {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  background: var(--c-light-gray);
  color: var(--c-text);
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
}

html.dark-theme .search-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.search-filter-pills {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-light-gray);
  overflow-x: auto;
}

html.dark-theme .search-filter-pills {
  background: var(--c-navy-mid);
  border-color: rgba(255, 255, 255, 0.1);
}

.search-pill {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  background: var(--c-off-white);
  color: var(--c-text-light);
  border: 1px solid var(--c-light-gray);
  white-space: nowrap;
  transition: var(--t-fast);
  cursor: pointer;
}

html.dark-theme .search-pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
}

.search-pill.active, .search-pill:hover {
  background: var(--c-navy);
  color: var(--c-gold);
  border-color: var(--c-navy);
}

html.dark-theme .search-pill.active, html.dark-theme .search-pill:hover {
  background: var(--c-gold);
  color: var(--c-navy);
  border-color: var(--c-gold);
}

.search-modal-body {
  padding: 1rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.search-results-stats {
  font-size: 0.82rem;
  color: var(--c-text-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.search-result-item {
  display: block;
  padding: 1rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  margin-bottom: 0.5rem;
  transition: var(--t-fast);
  text-decoration: none;
}

.search-result-item:hover, .search-result-item.selected {
  background: var(--c-off-white);
  border-color: var(--c-gold);
  transform: translateX(4px);
}

html.dark-theme .search-result-item:hover, html.dark-theme .search-result-item.selected {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--c-gold);
}

.search-result-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(155, 27, 48, 0.1);
  color: var(--c-crimson);
  margin-bottom: 0.35rem;
}

.search-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.25rem;
}

html.dark-theme .search-result-title {
  color: #FFFFFF;
}

.search-result-excerpt {
  font-size: 0.88rem;
  color: var(--c-text-light);
  line-height: 1.5;
}

.search-highlight {
  background: rgba(201, 168, 76, 0.35);
  color: var(--c-navy);
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

html.dark-theme .search-highlight {
  background: rgba(201, 168, 76, 0.45);
  color: #FFFFFF;
}

.search-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--c-text-light);
}

.search-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.search-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--c-off-white);
  border-top: 1px solid var(--c-light-gray);
  font-size: 0.78rem;
  color: var(--c-text-light);
}

html.dark-theme .search-modal-footer {
  background: var(--c-navy);
  border-color: rgba(255, 255, 255, 0.1);
}

.search-modal-footer kbd {
  background: var(--c-white);
  border: 1px solid var(--c-light-gray);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

html.dark-theme .search-modal-footer kbd {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* ============================================================
   FEE STRUCTURE DOWNLOAD POPUP MODAL (ON LOAD & ON CLICK)
   ============================================================ */
.fee-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.fee-popup-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.fee-popup-card {
  background: #18091B;
  background: linear-gradient(180deg, #2A1024 0%, #150718 100%);
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.fee-popup-backdrop.active .fee-popup-card {
  transform: scale(1) translateY(0);
}

.fee-popup-top-banner {
  background: #542232;
  background: linear-gradient(90deg, #5C2234 0%, #70263C 50%, #5C2234 100%);
  height: 18px;
  width: 100%;
}

.fee-popup-header {
  padding: 1.25rem 1.5rem 0.75rem 1.5rem;
  text-align: center;
  position: relative;
}

.fee-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.fee-popup-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: scale(1.08);
}

.fee-popup-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  font-family: var(--f-sans);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fee-popup-subtitle {
  font-family: var(--f-serif), Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #E8D8B0;
  margin-top: 0.35rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.fee-popup-body {
  padding: 0.75rem 1.5rem 1.5rem 1.5rem;
}

.fee-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fee-popup-input,
.fee-popup-select {
  width: 100%;
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: var(--f-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.fee-popup-input::placeholder {
  color: #6B7280;
  opacity: 1;
}

.fee-popup-input:focus,
.fee-popup-select:focus {
  outline: none;
  border-color: #E62344;
  box-shadow: 0 0 0 3px rgba(230, 35, 68, 0.25);
}

.fee-popup-select {
  cursor: pointer;
  appearance: auto;
}

.fee-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
}

.fee-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #E62344;
  cursor: pointer;
  border-radius: 4px;
  margin: 0;
}

.fee-checkbox-label {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
}

.btn-fee-submit {
  width: 100%;
  background: #E62344;
  background: linear-gradient(135deg, #E62344 0%, #D01B39 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--f-sans);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(230, 35, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-fee-submit:hover {
  background: #D01B39;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 35, 68, 0.5);
}

.btn-fee-submit:active {
  transform: translateY(0);
}

.fee-form-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  display: none;
  animation: fadeIn 0.3s ease;
}

/* ============================================================
   PRINT-FRIENDLY STYLESHEET (@media print)
   ============================================================ */
@media print {
  @page {
    size: A4 portrait;
    margin: 1.5cm 1.2cm;
  }

  *, *::before, *::after {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }

  body {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #announcementBar,
  .announcement-bar,
  .navbar-container,
  .hamburger,
  .nav-overlay,
  .hero-slide-controls,
  .hero-actions,
  #searchModal,
  .search-modal-backdrop,
  #admissionModal,
  .modal-backdrop,
  #admissionFab,
  .admission-fab,
  .whatsapp-float,
  .whatsapp-link,
  #scrollTop,
  .scroll-top,
  .btn-primary,
  .btn-outline,
  .btn-hero-primary,
  .btn-hero-secondary,
  .admission-form,
  .video-section,
  iframe,
  .social-links,
  .footer-social,
  .slide-btn {
    display: none !important;
  }

  header::before {
    content: "SURMOUNT INTERNATIONAL SCHOOL, GORAKHPUR\A CBSE Affiliated Boarding & Day School | Est. 2009";
    white-space: pre-wrap;
    display: block;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
  }

  .container, .section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .section {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
    font-family: Arial, sans-serif !important;
    page-break-after: avoid;
    break-after: avoid;
  }

  h1 { font-size: 18pt !important; margin-bottom: 10px !important; }
  h2 { font-size: 15pt !important; border-bottom: 1px solid #ccc; padding-bottom: 4px; }
  h3 { font-size: 13pt !important; }

  table, .table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  th, td {
    border: 1px solid #333333 !important;
    padding: 8px 12px !important;
    text-align: left !important;
    font-size: 10pt !important;
    color: #000000 !important;
  }

  th {
    background-color: #f0f0f0 !important;
    font-weight: bold !important;
    text-transform: uppercase;
    font-size: 9pt !important;
  }

  .facility-card,
  .news-card,
  .testimonial-card,
  .disclosure-card,
  .document-row,
  .about-grid {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #ddd !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    border-radius: 0 !important;
  }

  a[href^="http"]:not([href*="surmountschools"])::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #444444 !important;
    word-break: break-all;
  }

  footer::after {
    content: "Official Document — Surmount International School, Gorakhpur. Printed from: https://www.surmountschools.in/";
    display: block;
    text-align: center;
    font-size: 8pt;
    border-top: 1px solid #666;
    padding-top: 8px;
    margin-top: 30px;
    color: #555 !important;
  }
}

/* ============================================================
   21. PAID CAMPAIGN LANDING PAGE STYLES (admissions.html)
   ============================================================ */
.lp-body {
  background-color: var(--c-off-white);
  color: var(--c-navy);
  overflow-x: hidden;
}

html.dark-theme .lp-body {
  background-color: var(--c-navy-dark);
  color: #F8FAFC;
}

/* Landing Page Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.65rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--t-fast);
}

html.dark-theme .lp-header {
  background: rgba(10, 17, 40, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.lp-brand-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.lp-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-crimson);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

html.dark-theme .lp-brand-title {
  color: #FFFFFF;
}

.lp-brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lp-helpline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-navy);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  background: var(--c-light-gray);
  text-decoration: none;
  transition: var(--t-fast);
}

html.dark-theme .lp-helpline-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.lp-helpline-pill:hover {
  background: var(--c-gold);
  color: var(--c-navy-dark);
}

/* Landing Page Hero Section */
.lp-hero {
  position: relative;
  padding: 3.5rem 0 4rem 0;
  background: linear-gradient(135deg, #0A1128 0%, #1C0A1E 50%, #060D24 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(155, 27, 48, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: #F8D98C;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.lp-hero-title .text-gold {
  color: var(--c-gold-light);
  background: linear-gradient(90deg, #F0C665, #FFF1C5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.lp-usp-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.lp-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.lp-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-gold);
  color: #060D24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.lp-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Landing Page Lead Form Card */
.lp-form-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  color: var(--c-navy);
  position: relative;
}

html.dark-theme .lp-form-card {
  background: #111A33;
  color: #F8FAFC;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lp-form-header {
  background: linear-gradient(135deg, #9B1B30 0%, #6E0F1E 100%);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.lp-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #FFFFFF;
}

.lp-form-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.lp-form-body {
  padding: 1.5rem;
}

.lp-form-group {
  margin-bottom: 1rem;
}

.lp-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--c-navy);
}

html.dark-theme .lp-form-label {
  color: #E2E8F0;
}

.lp-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-light-gray);
  border-radius: 8px;
  font-size: 0.92rem;
  background: #FFFFFF;
  color: var(--c-navy);
  outline: none;
  transition: var(--t-fast);
}

html.dark-theme .lp-input {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.lp-input:focus {
  border-color: var(--c-crimson);
  box-shadow: 0 0 0 3px rgba(155, 27, 48, 0.15);
}

.lp-submit-btn {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, #C9A84C 0%, #A68025 100%);
  color: #060D24;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

.lp-submit-btn:hover {
  background: linear-gradient(135deg, #E6C06A 0%, #C9A84C 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.45);
}

.lp-form-guarantee {
  font-size: 0.72rem;
  text-align: center;
  color: var(--c-text-light);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Quick Stats Proof Bar */
.lp-proof-bar {
  background: #060D24;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  color: #FFFFFF;
}

.lp-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.lp-proof-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c-gold-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.lp-proof-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature & USP Section */
.lp-section {
  padding: 4.5rem 0;
}

.lp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.lp-section-tag {
  display: inline-block;
  background: rgba(155, 27, 48, 0.1);
  color: var(--c-crimson);
  border: 1px solid rgba(155, 27, 48, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

html.dark-theme .lp-section-tag {
  background: rgba(155, 27, 48, 0.25);
  color: #FF6B81;
  border-color: rgba(155, 27, 48, 0.4);
}

.lp-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.lp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lp-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

html.dark-theme .lp-card {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(155, 27, 48, 0.12);
  border-color: rgba(155, 27, 48, 0.3);
}

.lp-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(155, 27, 48, 0.08);
  color: var(--c-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

html.dark-theme .lp-card-icon {
  background: rgba(155, 27, 48, 0.25);
  color: #FF6B81;
}

.lp-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.lp-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-text-light);
}

/* 3-Step Admission Process */
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.lp-step-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  position: relative;
}

html.dark-theme .lp-step-card {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.08);
}

.lp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-crimson);
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 15px rgba(155, 27, 48, 0.3);
}

/* Visual Campus Showcase */
.lp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.lp-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.lp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lp-gallery-item:hover img {
  transform: scale(1.06);
}

.lp-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(0deg, rgba(6, 13, 36, 0.9) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Parent Testimonials */
.lp-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lp-testi-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

html.dark-theme .lp-testi-card {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.08);
}

.lp-testi-stars {
  color: var(--c-gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.lp-testi-text {
  font-size: 0.92rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.lp-testi-author {
  font-weight: 800;
  font-size: 0.92rem;
}

.lp-testi-sub {
  font-size: 0.78rem;
  color: var(--c-text-light);
}

/* FAQ Accordion */
.lp-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.lp-faq-item {
  background: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

html.dark-theme .lp-faq-item {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.08);
}

.lp-faq-question {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.lp-faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

html.dark-theme .lp-faq-question:hover {
  background: rgba(255, 255, 255, 0.04);
}

.lp-faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-text-light);
  display: none;
}

.lp-faq-item.active .lp-faq-answer {
  display: block;
}

.lp-faq-item.active .lp-faq-icon {
  transform: rotate(180deg);
}

.lp-faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

/* CTA Bottom Banner */
.lp-cta-banner {
  background: linear-gradient(135deg, #9B1B30 0%, #4D0A16 100%);
  color: #FFFFFF;
  padding: 4rem 1.5rem;
  text-align: center;
  border-radius: 20px;
  margin: 2rem auto;
  box-shadow: 0 20px 50px rgba(155, 27, 48, 0.3);
}

.lp-cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.lp-cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 2rem auto;
}

.lp-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lp-btn-light {
  background: #FFFFFF;
  color: var(--c-crimson);
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.lp-btn-light:hover {
  background: var(--c-gold-light);
  color: #060D24;
  transform: translateY(-2px);
}

.lp-btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.lp-btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

/* Sticky Mobile Action Bar (Always visible on mobile phones for maximum ad conversions) */
.lp-sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(6, 13, 36, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-sticky-inner {
  display: flex;
  gap: 0.65rem;
}

.lp-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.lp-sticky-call {
  background: var(--c-crimson);
  color: #FFFFFF;
}

.lp-sticky-wa {
  background: #25D366;
  color: #FFFFFF;
}

/* Success Modal for Lead Submission */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 36, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lp-modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

html.dark-theme .lp-modal-card {
  background: #111A33;
  color: #FFFFFF;
}

.lp-modal-overlay.active .lp-modal-card {
  transform: scale(1);
}

.lp-modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.lp-modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.lp-modal-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-text-light);
  margin-bottom: 1.5rem;
}

/* Responsive Media Queries for Landing Page */
@media (max-width: 992px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .lp-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-steps-grid {
    grid-template-columns: 1fr;
  }
  .lp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-testi-grid {
    grid-template-columns: 1fr;
  }
  .lp-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .lp-sticky-mobile-bar {
    display: block;
  }
  .lp-proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .lp-cards-grid {
    grid-template-columns: 1fr;
  }
  .lp-gallery-grid {
    grid-template-columns: 1fr;
  }
  .lp-header-actions .lp-helpline-pill {
    display: none;
  }
  .lp-hero {
    padding: 2.5rem 0 3rem 0;
  }
  .lp-section {
    padding: 3rem 0;
  }
  body.lp-page {
    padding-bottom: 70px; /* Space for sticky mobile bar */
  }
}

