/* ==========================================================================
   GREAT KEZINO SCHOOLS — COMPONENTS & INTERACTIVE MODULES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Announcement Topbar & Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  gap: 1rem;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-badge {
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.ticker-text {
  color: var(--gold-100);
  font-weight: 500;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--slate-300);
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: var(--gold-400);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 33, 71, 0.08);
  box-shadow: 0 4px 20px -2px rgba(10, 23, 48, 0.04);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  cursor: pointer;
}

.logo-crest {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%);
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  box-shadow: 0 4px 12px rgba(15, 33, 71, 0.2);
  flex-shrink: 0;
}

.logo-crest svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  line-height: 1.1;
}

.brand-motto {
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-800);
  background: rgba(15, 33, 71, 0.04);
}

.nav-link.active {
  color: var(--navy-800);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--navy-900);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--navy-950);
  color: var(--white);
  z-index: 100;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.7);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-300);
  border-radius: var(--radius-md);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   2. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  color: var(--white);
  padding: 5rem 0 6.5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 146, 22, 0.15) 0%, rgba(217, 146, 22, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, rgba(5, 150, 105, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 1.125rem;
  background: rgba(217, 146, 22, 0.15);
  border: 1px solid rgba(217, 146, 22, 0.4);
  border-radius: var(--radius-full);
  color: var(--gold-300);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
  animation: pulseGlow 1.8s infinite;
}

.hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.65rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.35rem;
}

.hero-title .highlight {
  color: var(--gold-400);
  position: relative;
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--slate-300);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-300);
}

.trust-item svg {
  color: var(--gold-400);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: rgba(10, 23, 48, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 146, 22, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.35rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 280px;
  z-index: 20;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.stat-content .stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-content .stat-label {
  font-size: 0.75rem;
  color: var(--slate-300);
  font-weight: 500;
}

.hero-floating-pill {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: rgba(5, 150, 105, 0.92);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 20;
}

/* --------------------------------------------------------------------------
   3. Quick Stats Counter Ribbon
   -------------------------------------------------------------------------- */
.stats-ribbon {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.stat-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--slate-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-box:nth-child(1) .stat-box-icon { background: var(--gold-100); color: var(--gold-600); }
.stat-box:nth-child(2) .stat-box-icon { background: var(--emerald-100); color: var(--emerald-700); }
.stat-box:nth-child(3) .stat-box-icon { background: rgba(15, 33, 71, 0.08); color: var(--navy-800); }
.stat-box:nth-child(4) .stat-box-icon { background: #fce7f3; color: #be185d; }

.stat-box-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.stat-box-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. Academic Divisions Section
   -------------------------------------------------------------------------- */
.divisions-section {
  background: var(--slate-50);
}

.division-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.division-tab-btn {
  padding: 0.875rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.division-tab-btn:hover {
  border-color: var(--navy-700);
  color: var(--navy-800);
}

.division-tab-btn.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 33, 71, 0.25);
}

.division-panel {
  display: none;
  animation: fadeIn 0.4s var(--transition-smooth);
}

.division-panel.active {
  display: block;
}

.division-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

.division-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
}

.division-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.division-tag-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy-900);
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.division-info h3 {
  font-size: 1.85rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.division-info .age-range {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 1.125rem;
}

.division-info p {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.division-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.division-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.division-feature-item svg {
  color: var(--emerald-600);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. STEM, Coding & Laboratories Showcase
   -------------------------------------------------------------------------- */
.stem-section {
  background: var(--navy-950);
  color: var(--white);
}

.stem-section .section-heading {
  color: var(--white);
}

.stem-section .section-subtitle {
  color: var(--slate-300);
}

.stem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--emerald-500));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stem-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(217, 146, 22, 0.4);
}

.stem-card:hover::before {
  opacity: 1;
}

.stem-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(217, 146, 22, 0.15);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.stem-card h4 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.stem-card p {
  color: var(--slate-300);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.stem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stem-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-200);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   6. Interactive Tuition & Transport Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.calculator-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.calc-inputs-side {
  padding: 3rem;
}

.calc-summary-side {
  background: var(--navy-900);
  color: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-300);
  background: var(--slate-50);
  color: var(--navy-950);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--navy-800);
  background: var(--white);
  outline: none;
}

.calc-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.calc-check-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 600;
  cursor: pointer;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  transition: all var(--transition-fast);
}

.calc-check-label:has(input:checked) {
  border-color: var(--gold-500);
  background: var(--gold-50);
  color: var(--navy-950);
}

.calc-total-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.calc-total-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
}

.calc-total-amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-sans);
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: var(--slate-300);
  margin-bottom: 2rem;
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 0.5rem;
}

.calc-breakdown-item span:last-child {
  font-weight: 700;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   7. Gallery & Student Life (Filterable)
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 13, 26, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-overlay-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.gallery-overlay-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.94);
  backdrop-filter: blur(12px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--navy-950);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.lightbox-caption-wrap {
  padding: 1.5rem;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   8. Leadership & Faculty Showcase
   -------------------------------------------------------------------------- */
.leadership-section {
  background: var(--slate-50);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-400);
}

.leader-photo-wrap {
  height: 260px;
  overflow: hidden;
  background: var(--slate-100);
  position: relative;
}

.leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.leader-info {
  padding: 1.5rem;
}

.leader-name {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.leader-role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
}

.leader-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Events & Term Calendar
   -------------------------------------------------------------------------- */
.events-section {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.event-card:hover {
  border-color: var(--navy-700);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.event-date-box {
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.event-day {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-400);
}

.event-month {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-info h4 {
  font-size: 1.1875rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.event-info p {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.75rem;
}

.event-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* Countdown Widget */
.countdown-box {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(217, 146, 22, 0.3);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   10. Admissions Application Multi-Step Wizard Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.wizard-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  position: relative;
  animation: fadeIn 0.35s var(--transition-smooth);
}

.wizard-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.75rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-steps-bar {
  display: flex;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.step-indicator {
  flex: 1;
  text-align: center;
  padding: 0.875rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-500);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.step-indicator.active {
  color: var(--navy-800);
  border-color: var(--gold-500);
  background: var(--white);
}

.step-indicator.completed {
  color: var(--emerald-600);
  border-color: var(--emerald-500);
}

.wizard-body {
  padding: 2.25rem;
  max-height: 65vh;
  overflow-y: auto;
}

.wizard-step-content {
  display: none;
}

.wizard-step-content.active {
  display: block;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-300);
  background: var(--slate-50);
  color: var(--navy-950);
  font-size: 0.9375rem;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--navy-800);
  background: var(--white);
  outline: none;
}

.wizard-footer {
  padding: 1.5rem 2.25rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   11. Contact & Map Section
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--slate-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-card-info {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.contact-detail-item {
  display: flex;
  gap: 1.125rem;
  margin-bottom: 1.75rem;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(217, 146, 22, 0.2);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item h5 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}

.contact-detail-item p, .contact-detail-item a {
  color: var(--slate-300);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-detail-item a:hover {
  color: var(--gold-300);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  line-height: 1.7;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--slate-400);
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 80;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .division-card-inner {
    grid-template-columns: 1fr;
  }

  .stem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .topbar-links {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stem-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .calc-inputs-side, .calc-summary-side {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
