/* ==========================================================================
   SUNRISE PUBLIC SCHOOL (SPS) - MASTER STYLESHEET
   Design Theme: Modern, Trustworthy, Deep Navy Blue & Subtle Gold Accents
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Navy Palette */
  --navy-950: #061124;
  --navy-900: #0a1b38;
  --navy-850: #0e2347;
  --navy-800: #122b55;
  --navy-700: #18386c;
  --navy-600: #234b8c;
  --navy-500: #2d5ea8;
  --navy-100: #e8effa;
  --navy-50:  #f3f7fd;

  /* Brand Regal Gold Palette */
  --gold-600: #a77c10;
  --gold-500: #c5971a;
  --gold-400: #dfae28;
  --gold-300: #ecc250;
  --gold-200: #f5d886;
  --gold-100: #faecc0;
  --gold-50:  #fdf9ee;

  /* Neutrals & Surfaces */
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;

  /* Accent Colors */
  --success: #0d9488;
  --success-bg: #f0fdf4;
  --danger: #e11d48;
  --warning: #f59e0b;
  --info: #0284c7;

  /* Typography */
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(10, 27, 56, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(10, 27, 56, 0.07), 0 2px 4px -2px rgba(10, 27, 56, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(10, 27, 56, 0.08), 0 4px 6px -4px rgba(10, 27, 56, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(10, 27, 56, 0.1), 0 8px 10px -6px rgba(10, 27, 56, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(10, 27, 56, 0.18);
  --shadow-gold: 0 8px 24px -4px rgba(197, 151, 26, 0.35);

  /* Layout & Transitions */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section Global Structure --- */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

.section-bg-navy {
  background-color: var(--navy-900);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
}

.section-tag.light {
  background: rgba(223, 174, 40, 0.15);
  border-color: rgba(223, 174, 40, 0.35);
  color: var(--gold-300);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.375rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-bg-navy .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-bg-navy .section-subtitle {
  color: var(--navy-100);
  opacity: 0.85;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(197, 151, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  box-shadow: 0 6px 20px rgba(197, 151, 26, 0.5);
  color: #ffffff;
}

.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
  border: 1px solid var(--navy-700);
}

.btn-navy:hover {
  background: var(--navy-800);
  color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.125rem;
  font-size: 1.0625rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

/* Top Info Bar */
.top-bar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(223, 174, 40, 0.2);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.5rem;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.affiliation-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(223, 174, 40, 0.15);
  color: var(--gold-300);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(223, 174, 40, 0.3);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
}

.top-bar-item i {
  color: var(--gold-400);
  font-size: 0.9rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-btn-support {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.78125rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-btn-support:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.top-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1.05rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(197, 151, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-btn-login:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-1px);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(197, 151, 26, 0.5);
}

/* Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 14px rgba(10, 27, 56, 0.06);
  z-index: 90;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(10, 27, 56, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Brand Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-crest {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(10, 27, 56, 0.15);
  border: 2px solid var(--gold-400);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--navy-950);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 65%;
}

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

.nav-cta-btn {
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.84375rem;
}

/* Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.625rem;
  color: var(--navy-950);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   NOTICE TICKER / BANNER STRIP
   ========================================================================== */
.notice-strip {
  background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-900) 100%);
  border-bottom: 2px solid var(--gold-400);
  color: #ffffff;
  padding: 0.55rem 0;
  font-size: 0.84375rem;
  position: relative;
  overflow: hidden;
}

.notice-strip-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  font-size: 0.71875rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseAnimation 1.6s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.4s ease;
}

.ticker-tag {
  color: var(--gold-300);
  font-weight: 700;
}

.ticker-text {
  color: rgba(255, 255, 255, 0.92);
}

.ticker-link {
  color: var(--gold-300);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.5rem;
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.ticker-ctrl-btn {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

.ticker-ctrl-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy-950);
  color: #ffffff;
  padding: 6.5rem 0 5rem 0;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.38) contrast(1.1);
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(16, 42, 84, 0.45) 0%, rgba(6, 17, 36, 0.92) 80%),
              linear-gradient(to bottom, rgba(6, 17, 36, 0.6) 0%, rgba(6, 17, 36, 0.95) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.15rem 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(223, 174, 40, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-crest-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold-300);
}

.hero-badge-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Stats Strip */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  background: rgba(14, 35, 71, 0.75);
  border: 1px solid rgba(223, 174, 40, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-stat-card {
  text-align: center;
  position: relative;
  padding: 0.5rem;
}

.hero-stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stat-icon {
  font-size: 1.5rem;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   PRINCIPAL'S WELCOME SECTION
   ========================================================================== */
.principal-section {
  position: relative;
  background: #ffffff;
}

.principal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.principal-image-wrap {
  position: relative;
}

.principal-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--navy-100);
}

.principal-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.principal-frame:hover .principal-img {
  transform: scale(1.03);
}

.principal-badge-accent {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 27, 56, 0.92);
  border: 1.5px solid var(--gold-400);
  backdrop-filter: blur(10px);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  text-align: right;
  box-shadow: var(--shadow-md);
}

.principal-badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.principal-badge-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.principal-content {
  padding-left: 0.5rem;
}

.principal-quote-box {
  background: var(--gold-50);
  border-left: 4px solid var(--gold-500);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
  position: relative;
}

.principal-quote-box i {
  font-size: 1.75rem;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
  display: block;
}

.principal-quote-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--navy-950);
  line-height: 1.6;
}

.principal-letter-body {
  color: var(--text-body);
  font-size: 0.984375rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.principal-letter-body p {
  margin-bottom: 0.95rem;
}

.principal-signature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.principal-sign-info h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--navy-950);
}

.principal-sign-info p {
  font-size: 0.84375rem;
  color: var(--text-muted);
}

/* ==========================================================================
   QUICK HIGHLIGHTS (ACADEMICS, SPORTS, FACILITIES, ACHIEVEMENTS)
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
  opacity: 0;
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-100);
}

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

.highlight-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.highlight-card:hover .highlight-icon-wrap {
  background: var(--navy-900);
  color: var(--gold-300);
  transform: scale(1.08);
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.75rem;
}

.highlight-desc {
  font-size: 0.90625rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.highlight-features {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.highlight-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-body);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.highlight-feature-item i {
  color: var(--gold-500);
  font-size: 0.95rem;
}

.highlight-link {
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.highlight-link:hover {
  color: var(--gold-600);
  gap: 0.55rem;
}

/* ==========================================================================
   FEATURED SCHOOL EVENTS
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.event-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-300);
}

.event-card-header {
  background: var(--navy-900);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-date-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

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

.event-date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.event-cat-chip {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.71875rem;
  font-weight: 700;
  background: rgba(223, 174, 40, 0.2);
  color: var(--gold-300);
  border: 1px solid rgba(223, 174, 40, 0.35);
  text-transform: uppercase;
}

.event-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.event-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.event-meta {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.event-meta-item i {
  color: var(--gold-500);
  font-size: 0.95rem;
}

/* ==========================================================================
   ABOUT US SECTION (OUR HISTORY, VISION, MISSION, PHILOSOPHY)
   ========================================================================== */
.about-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.about-intro-text p {
  font-size: 1.03125rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

.vm-card {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.vm-card:hover {
  border-color: var(--gold-400);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.vm-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.vm-card-title i {
  color: var(--gold-500);
  font-size: 1.4rem;
}

.vm-card-text {
  font-size: 0.90625rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Interactive Timeline for History */
.timeline-wrap {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-400), var(--navy-800));
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 151, 26, 0.2);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Academic Philosophy Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-600);
  box-shadow: var(--shadow-md);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.65rem;
}

.pillar-desc {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PHOTO GALLERY SECTION & LIGHTBOX
   ========================================================================== */
.gallery-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.gallery-filter-btn {
  padding: 0.55rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.gallery-filter-btn:hover {
  border-color: var(--navy-800);
  color: var(--navy-950);
  background: #ffffff;
}

.gallery-filter-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000000;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: var(--transition);
}

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

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(6, 17, 36, 0.95) 0%, rgba(6, 17, 36, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
  opacity: 0.95;
  transition: var(--transition);
}

.gallery-card-cat {
  font-size: 0.71875rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 0.96875rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  background: rgba(10, 27, 56, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  border: 1px solid rgba(223, 174, 40, 0.3);
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 17, 36, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-container {
  width: 90%;
  max-width: 1020px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content-box {
  width: 100%;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(223, 174, 40, 0.3);
  position: relative;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption-bar {
  background: var(--navy-950);
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.lightbox-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.lightbox-counter {
  font-size: 0.8125rem;
  color: var(--gold-300);
  font-weight: 700;
  white-space: nowrap;
  background: rgba(223, 174, 40, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(223, 174, 40, 0.3);
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 27, 56, 0.8);
  border: 1px solid rgba(223, 174, 40, 0.4);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: var(--gold-500);
  color: #ffffff;
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -65px;
}

.lightbox-next {
  right: -65px;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: #ffffff;
  font-size: 1.85rem;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  color: var(--gold-300);
  transform: rotate(90deg);
}

/* ==========================================================================
   LEADERSHIP PROFILES SECTION
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.leadership-grid-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.leader-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.leader-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy-900);
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.leader-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.25rem;
}

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

.leader-qual {
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.leader-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.90625rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  position: relative;
  padding-left: 0.85rem;
  border-left: 2px solid var(--gold-400);
}

/* ==========================================================================
   FACULTY DIRECTORY (SEARCHABLE & FILTERABLE)
   ========================================================================== */
.faculty-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  background: var(--bg-subtle);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.faculty-search-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  min-width: 320px;
  transition: var(--transition);
}

.faculty-search-box:focus-within {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(16, 42, 84, 0.1);
}

.faculty-search-box i {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.faculty-search-input {
  width: 100%;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.faculty-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.faculty-tab-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  transition: var(--transition);
}

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

.faculty-tab-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

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

.faculty-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-600);
}

.faculty-card-top {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy-50);
}

.faculty-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-photo {
  transform: scale(1.06);
}

.faculty-wing-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(10, 27, 56, 0.88);
  color: var(--gold-300);
  font-size: 0.71875rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(223, 174, 40, 0.3);
  backdrop-filter: blur(4px);
}

.faculty-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.faculty-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.2rem;
}

.faculty-subject {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 0.25rem;
}

.faculty-designation {
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.faculty-qual-box {
  background: var(--bg-subtle);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-body);
  margin-bottom: 0.85rem;
  line-height: 1.4;
  border-left: 3px solid var(--navy-600);
}

.faculty-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.faculty-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--gold-600);
}

/* ==========================================================================
   ADMISSIONS SECTION (PROCEDURE, ELIGIBILITY, DATES, FEES, APPLY)
   ========================================================================== */
.admissions-hero-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
  border: 1px solid rgba(223, 174, 40, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.admissions-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(223, 174, 40, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.adm-banner-left h3 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.adm-banner-left p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  line-height: 1.6;
}

/* 5-Step Admission Roadmap */
.admission-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  position: relative;
}

.adm-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.adm-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.adm-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border: 2px solid var(--gold-400);
}

.adm-step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.adm-step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Tabs for Admission Info (Eligibility, Documents, Dates, Fees) */
.adm-info-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.adm-tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.90625rem;
  font-weight: 700;
  color: var(--text-body);
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.adm-tab-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.adm-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.adm-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* Table Style for Eligibility & Fees */
.school-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.school-table th {
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.84375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
}

.school-table td {
  padding: 1rem 1.25rem;
  font-size: 0.90625rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.school-table tr:hover td {
  background-color: var(--bg-subtle);
}

/* Document Checklist Grid */
.docs-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.doc-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.doc-check-item i {
  color: var(--gold-500);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.doc-info h5 {
  font-size: 0.9375rem;
  color: var(--navy-950);
  margin-bottom: 0.2rem;
}

.doc-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NOTICES & CIRCULARS BOARD
   ========================================================================== */
.notices-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  background: var(--bg-subtle);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.notices-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.notice-tab-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  transition: var(--transition);
}

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

.notice-tab-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

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

.notice-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 1.25rem;
}

.notice-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-700);
  box-shadow: var(--shadow-lg);
}

.notice-date-box {
  width: 65px;
  height: 65px;
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--gold-400);
}

.notice-day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1;
}

.notice-month {
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.notice-card-body {
  flex: 1;
}

.notice-top-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.notice-chip {
  padding: 0.15rem 0.55rem;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: var(--radius-full);
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notice-ref {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: monospace;
}

.notice-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.notice-card-summary {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   CIRCULAR VIEWER MODAL
   ========================================================================== */
.circular-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 17, 36, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.circular-modal.active {
  opacity: 1;
  pointer-events: all;
}

.circular-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  padding: 3rem;
  border: 1px solid var(--border-light);
}

.circular-letterhead {
  text-align: center;
  border-bottom: 2px solid var(--navy-900);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.circular-head-crest {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem auto;
}

.circular-head-name {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  color: var(--navy-950);
  margin-bottom: 0.2rem;
}

.circular-head-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.circular-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-light);
}

.circular-subject {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--navy-950);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.circular-body-content {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-body);
  white-space: pre-line;
  margin-bottom: 2rem;
}

.circular-sign-block {
  text-align: right;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.circular-seal-placeholder {
  font-size: 0.78125rem;
  color: var(--gold-600);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   CONTACT SECTION & INTERACTIVE FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(223, 174, 40, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.contact-info-desc {
  font-size: 0.96875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(223, 174, 40, 0.15);
  border: 1px solid rgba(223, 174, 40, 0.35);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-text h5 {
  font-size: 0.8125rem;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-detail-text p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* Metro Landmark Box */
.metro-guide-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px dashed rgba(223, 174, 40, 0.4);
}

.metro-icon {
  font-size: 1.5rem;
  color: var(--gold-400);
}

.metro-text {
  font-size: 0.84375rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Contact Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  font-size: 0.90625rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  font-size: 0.90625rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(16, 42, 84, 0.08);
}

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

/* ==========================================================================
   SUPPORT SYSTEM DRAWER (TOP-RIGHT TRIGGER)
   ========================================================================== */
.support-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 17, 36, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.support-drawer-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.support-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  z-index: 1250;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.support-drawer.active {
  right: 0;
}

.support-drawer-header {
  background: var(--navy-950);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold-400);
}

.support-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.support-drawer-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.support-action-card:hover {
  background: var(--navy-50);
  border-color: var(--navy-700);
  transform: translateX(4px);
}

.support-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.support-card-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.15rem;
}

.support-card-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STUDENT / PARENT LOGIN PORTAL MODAL
   ========================================================================== */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 17, 36, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.login-modal.active {
  opacity: 1;
  pointer-events: all;
}

.login-card {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid var(--border-light);
}

.login-card-header {
  background: var(--navy-950);
  color: #ffffff;
  padding: 2rem 2rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--gold-400);
  position: relative;
}

.login-crest {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
}

.login-header-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.2rem;
}

.login-header-sub {
  font-size: 0.8125rem;
  color: var(--navy-100);
  opacity: 0.85;
}

.login-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.login-tab {
  flex: 1;
  padding: 0.85rem 0.5rem;
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.login-tab.active {
  color: var(--navy-900);
  background: #ffffff;
  border-bottom-color: var(--gold-500);
}

.login-body {
  padding: 1.75rem 2rem;
}

.demo-credentials-box {
  background: var(--gold-50);
  border: 1px dashed var(--gold-300);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.78125rem;
  color: var(--navy-950);
}

.demo-credentials-box button {
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: var(--navy-950);
  color: #ffffff;
  padding-top: 5rem;
  border-top: 4px solid var(--gold-500);
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-crest {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1.15;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.cbse-affil-tag {
  background: rgba(223, 174, 40, 0.12);
  border: 1px solid rgba(223, 174, 40, 0.3);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.78125rem;
  color: var(--gold-300);
  line-height: 1.5;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.65rem;
}

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

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

.footer-link-item a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-link-item a:hover {
  color: var(--gold-300);
  transform: translateX(4px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.875rem;
}

.newsletter-input:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.12);
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold-500);
  color: #ffffff;
  border-color: var(--gold-400);
  transform: translateY(-3px);
}

.footer-bottom-bar {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

.demo-disclaimer-pill {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   TOAST NOTIFICATION & BACK-TO-TOP
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-950);
  color: #ffffff;
  border: 1px solid var(--gold-400);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 380px;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.4rem;
  color: var(--gold-400);
}

.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-300);
  border: 1.5px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--gold-500);
  color: #ffffff;
}

/* ==========================================================================
   TABLE RESPONSIVE & MOBILE UTILITIES
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}

.table-responsive .school-table {
  min-width: 580px;
}

.table-scroll-hint {
  font-size: 0.75rem;
  color: var(--gold-600);
  background: var(--gold-50);
  border: 1px dashed var(--gold-300);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & BOTTOM BAR
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1060;
  box-shadow: 10px 0 35px rgba(6, 17, 36, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-nav-drawer.active {
  left: 0 !important;
}

.mobile-drawer-header {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--gold-400);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-drawer-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  object-fit: cover;
}

.mobile-drawer-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.mobile-drawer-sub {
  font-size: 0.7rem;
  color: var(--gold-300);
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.mobile-drawer-body {
  padding: 1rem 1.25rem;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-900);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.mobile-nav-link i {
  font-size: 1.15rem;
  color: var(--gold-500);
  width: 24px;
  display: inline-block;
  text-align: center;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--navy-50);
  color: var(--navy-950);
  transform: translateX(4px);
}

.mobile-drawer-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-light);
}

/* Bottom Quick-Action Bar for Mobile */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(10, 27, 56, 0.1);
  box-shadow: 0 -4px 20px rgba(10, 27, 56, 0.08);
  z-index: 990;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  font-size: 0.6875rem;
  font-weight: 700;
  gap: 0.2rem;
  padding: 0.35rem 0.5rem;
  min-width: 52px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  background: none;
}

.mobile-bar-item i {
  font-size: 1.25rem;
  color: var(--navy-700);
  transition: var(--transition);
}

.mobile-bar-item:hover, .mobile-bar-item:active {
  color: var(--gold-600);
}

.mobile-bar-item:hover i, .mobile-bar-item:active i {
  color: var(--gold-500);
  transform: translateY(-2px);
}

.mobile-bar-apply {
  position: relative;
  margin-top: -22px;
  min-width: 60px;
}

.mobile-apply-bubble {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(197, 151, 26, 0.45);
  border: 3px solid #ffffff;
  color: #ffffff;
  transition: var(--transition);
}

.mobile-apply-bubble i {
  font-size: 1.35rem;
  color: #ffffff !important;
}

.mobile-bar-apply:active .mobile-apply-bubble {
  transform: scale(0.92);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-stat-card:nth-child(3)::after {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .faculty-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .admission-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .principal-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-history-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership-grid-secondary {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--navy-50);
    border: 1px solid var(--border-light);
    color: var(--navy-900);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Space for mobile bottom bar */
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* Top Bar */
  .top-bar {
    padding: 0.35rem 0;
  }
  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .top-bar-left .top-bar-item {
    display: none;
  }
  .affiliation-pill {
    font-size: 0.6875rem;
    padding: 0.15rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
  .top-bar-right {
    width: auto;
    gap: 0.4rem;
  }
  .top-btn-support {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
  }
  .top-btn-login {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Main Header */
  .brand-crest {
    width: 42px;
    height: 42px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 4.5rem 0 3.5rem 0;
  }
  .hero-crest-badge {
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    margin-bottom: 1rem;
  }
  .hero-crest-mini {
    width: 28px;
    height: 28px;
  }
  .hero-badge-text {
    font-size: 0.7rem;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  .hero-tagline {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
  }
  .hero-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2.5rem auto;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero Stats */
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    padding: 0.85rem 0.65rem;
  }
  .hero-stat-card:not(:last-child)::after {
    display: none;
  }
  .hero-stat-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.25rem;
  }
  .hero-stat-number {
    font-size: 1.625rem;
  }
  .hero-stat-label {
    font-size: 0.725rem;
  }

  /* Gallery Filters (Flick horizontally on mobile) */
  .gallery-filter-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem;
    gap: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1.75rem;
  }
  .gallery-filter-wrap::-webkit-scrollbar {
    display: none;
  }
  .gallery-filter-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

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

  /* Faculty */
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Admissions Banner */
  .admissions-hero-banner {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .admissions-hero-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .admission-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .admission-step-card::after {
    display: none;
  }

  /* Admission Tabs */
  .adm-info-tabs {
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }
  .adm-tab-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.8125rem;
  }

  .notices-grid {
    grid-template-columns: 1fr;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .docs-checklist-grid {
    grid-template-columns: 1fr;
  }

  /* Forms & Inputs */
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-card {
    padding: 1.5rem 1.15rem;
  }
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    padding: 0.75rem 0.85rem;
  }

  /* Modals */
  .circular-modal, .login-modal {
    padding: 0.5rem;
  }
  .circular-sheet {
    padding: 1.5rem 1.15rem;
    max-height: 92vh;
    border-radius: var(--radius-md);
  }
  .circular-head-crest {
    width: 48px;
    height: 48px;
  }
  .circular-head-name {
    font-size: 1.125rem;
  }
  .circular-head-sub {
    font-size: 0.75rem;
  }
  .circular-subject {
    font-size: 0.95rem;
  }
  .login-card-header {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .login-crest {
    width: 50px;
    height: 50px;
  }
  .login-body {
    padding: 1.25rem 1rem;
  }

  /* Lightbox on mobile */
  .lightbox-container {
    width: 96%;
  }
  .lightbox-img {
    max-height: 55vh;
  }
  .lightbox-caption-bar {
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(6, 17, 36, 0.75);
    border-color: rgba(223, 174, 40, 0.4);
    color: #ffffff;
    z-index: 10;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close-btn {
    top: 8px;
    right: 8px;
    background: rgba(6, 17, 36, 0.8);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    z-index: 15;
  }

  .back-to-top-btn {
    bottom: 80px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .affiliation-pill {
    max-width: 160px;
  }
}
