/* ==========================================================================
   Bal Bharati Senior Secondary School, Motadhak, Kotdwara
   Main Stylesheet - Clean, Academic, Professional & Accessible
   ========================================================================== */

:root {
  --color-primary-navy: #17365D;
  --color-school-blue: #245B96;
  --color-accent-yellow: #F4C542;
  --color-accent-yellow-dark: #D4A72C;
  --color-light-sky: #EAF4FC;
  --color-bg-light: #F5F7FA;
  --color-bg-white: #FFFFFF;
  --color-text-main: #263238;
  --color-text-muted: #546E7A;
  --color-text-light: #ECEFF1;
  --color-border: #CFD8DC;
  --color-success: #2E7D32;
  --color-danger: #C62828;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  
  --shadow-sm: 0 2px 4px rgba(23, 54, 93, 0.06);
  --shadow-md: 0 6px 16px rgba(23, 54, 93, 0.08);
  --shadow-lg: 0 12px 28px rgba(23, 54, 93, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --transition: all 0.25s ease-in-out;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, #main-content {
  flex: 1 0 auto;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  padding: 10px 18px;
  font-weight: 700;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.3rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-school-blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover, a:focus {
  color: var(--color-primary-navy);
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-school-blue);
  color: #ffffff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  font-weight: 700;
}
.btn-accent:hover, .btn-accent:focus {
  background-color: var(--color-accent-yellow-dark);
  color: var(--color-primary-navy);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.btn-outline-white:hover, .btn-outline-white:focus {
  background-color: #ffffff;
  color: var(--color-primary-navy);
  text-decoration: none;
}

.btn-outline-navy {
  background-color: transparent;
  border-color: var(--color-primary-navy);
  color: var(--color-primary-navy);
}
.btn-outline-navy:hover, .btn-outline-navy:focus {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* TOP CONTACT BAR */
.top-bar {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.top-contact-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  flex-wrap: wrap;
}
.top-contact-list a {
  color: var(--color-light-sky);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-contact-list a:hover {
  color: var(--color-accent-yellow);
  text-decoration: none;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: var(--transition);
}
.social-icon-btn:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  text-decoration: none;
  transform: translateY(-2px);
}
.admin-link-btn {
  background-color: rgba(244, 197, 66, 0.18);
  color: var(--color-accent-yellow);
  border: 1px solid var(--color-accent-yellow);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
}
.admin-link-btn:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  text-decoration: none;
}
.top-download-btn {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  text-decoration: none;
}
.top-download-btn:hover {
  background-color: #ffffff;
  color: var(--color-primary-navy);
  text-decoration: none;
  transform: translateY(-1px);
}

/* MAIN HEADER */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-main {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand-identity:hover {
  text-decoration: none;
}
.brand-logo-badge {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background-color: #ffffff;
  color: var(--color-primary-navy);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  padding: 4px;
  overflow: hidden;
}
.brand-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.brand-logo-badge .crest-initials {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent-yellow);
  font-family: var(--font-heading);
}
.brand-logo-badge .crest-sub {
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}
.brand-texts {
  display: flex;
  flex-direction: column;
}
.brand-school-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.2;
}
.brand-location {
  font-size: 0.9rem;
  color: var(--color-school-blue);
  font-weight: 600;
}
.brand-affiliation-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  background-color: var(--color-light-sky);
  color: var(--color-primary-navy);
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  margin-top: 3px;
  width: fit-content;
}
.header-right-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-center-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
  margin: 0 20px;
}
.header-shloka-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf4fc 100%);
  border: 1px solid #dce7f5;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent-yellow);
}
.header-shloka-sanskrit {
  font-family: 'Cinzel', serif, Georgia;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  letter-spacing: 0.5px;
  line-height: 1.25;
}
.header-shloka-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5c7089;
  letter-spacing: 0.2px;
}
.header-info-divider {
  width: 1px;
  height: 36px;
  background-color: var(--color-border);
  flex-shrink: 0;
}
.header-helpline-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.header-helpline-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-light-sky);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-helpline-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  display: block;
  line-height: 1.2;
  text-decoration: none;
}
.header-helpline-val:hover {
  color: var(--color-accent-gold);
}
.header-helpline-sub {
  font-size: 0.70rem;
  color: #64748b;
  display: block;
  margin-top: 2px;
}
.header-eco-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.header-eco-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-eco-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #065f46;
  display: block;
  line-height: 1.2;
}
.header-eco-sub {
  font-size: 0.70rem;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

/* PRIMARY NAVIGATION */
.main-navigation {
  background-color: var(--color-primary-navy);
  position: relative;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.main-navigation .container {
  max-width: 1240px;
  padding: 0 16px;
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: auto;
}
.nav-item {
  position: relative;
  flex: 0 0 auto;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  font-size: 0.90rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-link:focus, .nav-item.active > .nav-link {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-accent-yellow);
  text-decoration: none;
  border-bottom-color: var(--color-accent-yellow);
}

/* Dropdown Submenu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 3px solid var(--color-accent-yellow);
  list-style: none;
  z-index: 1000;
  padding: 6px 0;
  margin: 0;
}
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu .dropdown-link {
  display: block;
  padding: 11px 20px;
  font-size: 0.86rem;
  color: #17365d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
}
.dropdown-menu li:last-child .dropdown-link {
  border-bottom: none;
}
.dropdown-menu .dropdown-link:hover {
  background-color: #f1f6fc;
  color: var(--color-accent-gold);
  text-decoration: none;
  padding-left: 24px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 12px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* NOTICE TICKER */
.notice-ticker-bar {
  background-color: var(--color-light-sky);
  border-bottom: 1px solid #d0e4f5;
  padding: 7px 0;
  font-size: 0.88rem;
}
.ticker-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ticker-badge {
  background-color: var(--color-primary-navy);
  color: var(--color-accent-yellow);
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-link {
  display: inline-block;
  color: var(--color-primary-navy);
  font-weight: 600;
  animation: marquee-subtle 25s linear infinite;
}
.ticker-link:hover {
  animation-play-state: paused;
  color: var(--color-school-blue);
}

@keyframes marquee-subtle {
  0% { transform: translateX(50%); }
  100% { transform: translateX(-100%); }
}

/* HERO SLIDER */
.hero-slider-section {
  position: relative;
  background-color: var(--color-primary-navy);
  color: #ffffff;
  overflow: hidden;
  height: 720px;
  min-height: 650px;
}
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 36, 64, 0.82) 0%, rgba(15, 36, 64, 0.52) 50%, rgba(15, 36, 64, 0.18) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 40px 0;
}
.slide-tag {
  display: inline-block;
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.slide-title {
  color: #ffffff;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.slide-subtitle {
  color: var(--color-light-sky);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.slide-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(23, 54, 93, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}
.slider-arrow:hover, .slider-arrow:focus {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background-color: var(--color-accent-yellow);
  width: 32px;
  border-radius: var(--radius-full);
}

/* SECTION COMMON STYLES */
.section {
  padding: 70px 0;
}
.section-light {
  background-color: var(--color-bg-light);
}
.section-white {
  background-color: #ffffff;
}
.section-sky {
  background-color: var(--color-light-sky);
}
.section-navy {
  background-color: var(--color-primary-navy);
  color: #ffffff;
}
.section-navy h2, .section-navy h3, .section-navy p {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 45px auto;
}
.section-subtitle {
  color: var(--color-school-blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-accent-yellow);
  border-radius: 2px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}
.section-navy .section-lead {
  color: var(--color-light-sky);
}

/* QUICK HIGHLIGHT CARDS */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-school-blue);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-accent-yellow);
}
.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--color-light-sky);
  color: var(--color-school-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* PRINCIPAL DESK PREVIEW COMPONENT */
.principal-preview-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.principal-photo-card {
  text-align: center;
}
.principal-img {
  width: 100%;
  max-width: 260px;
  height: 300px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
  outline: 2px solid var(--color-accent-yellow);
  background-color: #e0e0e0;
}
.principal-name {
  margin-top: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}
.principal-title-tag {
  font-size: 0.88rem;
  color: var(--color-school-blue);
  font-weight: 600;
}
.principal-quals {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.principal-quote-body {
  position: relative;
}
.principal-quote-mark {
  font-size: 4rem;
  color: var(--color-light-sky);
  line-height: 1;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: -20px;
}
.principal-quote-body blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-primary-navy);
  font-weight: 600;
  margin-bottom: 18px;
}
.principal-message-snippet {
  color: var(--color-text-main);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* PHILOSOPHY & MOTTO CARDS */
.motto-banner {
  background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-school-blue) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.motto-sanskrit {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent-yellow);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}
.motto-translation {
  font-size: 1.1rem;
  color: var(--color-light-sky);
  margin-bottom: 16px;
  font-style: italic;
}
.motto-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #ffffff;
}

/* ACADEMIC STREAMS GRID */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.stream-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.stream-header {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding: 20px 24px;
  border-bottom: 4px solid var(--color-accent-yellow);
}
.stream-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
}
.stream-body {
  padding: 24px;
  flex-grow: 1;
}
.stream-item {
  margin-bottom: 16px;
}
.stream-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-school-blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.stream-item span {
  font-size: 0.95rem;
  color: var(--color-text-main);
}

/* FACILITIES CARDS */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.facility-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.facility-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #e2e8f0;
}
.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.facility-card:hover .facility-img {
  transform: scale(1.05);
}
.facility-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-primary-navy);
  color: var(--color-accent-yellow);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.facility-content {
  padding: 20px;
}
.facility-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.facility-content p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ACTIVITIES & WORKSHOPS */
.activity-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.activity-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-school-blue);
  transition: var(--transition);
}
.activity-card:hover {
  border-left-color: var(--color-accent-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.activity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.activity-badge {
  background-color: var(--color-light-sky);
  color: var(--color-primary-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.activity-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.activity-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.activity-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* TIMELINE (FOR SCHOOL HISTORY) */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--color-school-blue);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 0 35px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.timeline-dot {
  position: absolute;
  top: 15px;
  width: 20px;
  height: 20px;
  background-color: var(--color-accent-yellow);
  border: 4px solid var(--color-primary-navy);
  border-radius: var(--radius-full);
  z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}
.timeline-content {
  background-color: #ffffff;
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.timeline-year {
  display: inline-block;
  background-color: var(--color-primary-navy);
  color: var(--color-accent-yellow);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* NOTICES TABLE & CARDS */
.notices-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.notice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  gap: 20px;
}
.notice-row:hover {
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--color-school-blue);
}
.notice-row.highlighted {
  border-left: 5px solid var(--color-accent-yellow);
  background-color: #fffdf5;
}
.notice-details {
  flex-grow: 1;
}
.notice-badge-date {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.notice-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--color-light-sky);
  color: var(--color-school-blue);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.notice-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.notice-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 4px;
}
.notice-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.notice-action {
  flex-shrink: 0;
}

/* GALLERY GRID & FILTER */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 12px;
  margin-bottom: 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 54, 93, 0.25) transparent;
}
.gallery-filters::-webkit-scrollbar {
  height: 5px;
}
.gallery-filters::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-filters::-webkit-scrollbar-thumb {
  background: rgba(23, 54, 93, 0.25);
  border-radius: 4px;
}
.filter-btn {
  white-space: nowrap;
  flex-shrink: 0;
  background-color: #ffffff;
  color: var(--color-primary-navy);
  border: 1px solid var(--color-border);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-school-blue);
  color: #ffffff;
  border-color: var(--color-school-blue);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: #e2e8f0;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(23, 54, 93, 0.9) 0%, rgba(23, 54, 93, 0) 100%);
  padding: 30px 16px 12px 16px;
  color: #ffffff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption-overlay, .gallery-item:focus .gallery-caption-overlay {
  transform: translateY(0);
}
.gallery-caption-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.gallery-caption-sub {
  font-size: 0.78rem;
  color: var(--color-light-sky);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 45, 0.94);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #ffffff;
  margin-top: 14px;
  font-size: 1.05rem;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: var(--transition);
}
.lightbox-nav-btn:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
}
.lightbox-nav-btn.prev { left: -60px; }
.lightbox-nav-btn.next { right: -60px; }

/* IN-APP PDF VIEWER MODAL (PDF.JS CANVAS POWERED) */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 25, 45, 0.90);
  backdrop-filter: blur(6px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.pdf-modal.active {
  display: flex;
}
.pdf-modal-container {
  background-color: #2b2e31;
  width: 100%;
  max-width: 1120px;
  height: 94vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: pdfModalFadeIn 0.25s ease-out;
}
@keyframes pdfModalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.pdf-modal-header {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--color-accent-yellow);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.pdf-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 280px;
}
.pdf-doc-badge {
  background-color: #d32f2f;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.pdf-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdf-modal-meta {
  font-size: 0.72rem;
  color: var(--color-light-sky);
  margin-top: 2px;
}
.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pdf-zoom-group {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 2px;
}
.pdf-tool-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.2s;
  line-height: 1;
}
.pdf-tool-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-accent-yellow);
}
.pdf-zoom-label {
  font-size: 0.75rem;
  color: #ffffff;
  padding: 0 6px;
  min-width: 44px;
  text-align: center;
}
.pdf-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: var(--transition);
}
.pdf-modal-btn:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
  border-color: var(--color-accent-yellow);
}
.pdf-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-weight: 700;
  min-height: 34px;
  user-select: none;
  z-index: 10;
}
.pdf-modal-close:hover,
.pdf-modal-close:focus {
  background-color: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.04);
}
.pdf-modal-body {
  flex-grow: 1;
  background-color: #3b3f43;
  position: relative;
  overflow-y: auto;
  overflow-x: auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.pdf-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 40px;
}
.pdf-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-accent-yellow);
  border-radius: 50%;
  animation: pdfSpin 0.8s linear infinite;
}
@keyframes pdfSpin {
  to { transform: rotate(360deg); }
}
.pdf-canvas-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.pdf-page-card {
  position: relative;
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s;
}
.pdf-page-canvas {
  display: block;
  max-width: 100%;
  height: auto;
}
.pdf-page-badge {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}
.pdf-error-state {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FACULTY CARDS */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.faculty-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-align: center;
  padding: 24px 20px;
  transition: var(--transition);
}
.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.faculty-avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px auto;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--color-school-blue);
  background-color: var(--color-light-sky);
}
.faculty-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faculty-name {
  font-size: 1.15rem;
  color: var(--color-primary-navy);
  margin-bottom: 4px;
}
.faculty-role {
  font-size: 0.88rem;
  color: var(--color-school-blue);
  font-weight: 700;
  margin-bottom: 6px;
}
.faculty-qual {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.faculty-dept-badge {
  display: inline-block;
  background-color: var(--color-bg-light);
  color: var(--color-primary-navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}

/* MANDATORY DISCLOSURE TABLE */
.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.disclosure-table th {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
}
.disclosure-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.disclosure-table tr:last-child td {
  border-bottom: none;
}
.disclosure-table tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

/* ADMISSION STEPS */
.admission-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.step-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  text-align: center;
}
.step-number-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-navy);
  color: var(--color-accent-yellow);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}
.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* CONTACT PAGE & FORMS */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-school-blue);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-light-sky);
  color: var(--color-school-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.contact-info-content p, .contact-info-content a {
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 4px;
  display: block;
}

.enquiry-form-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-school-blue);
  box-shadow: 0 0 0 3px rgba(36, 91, 150, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FLOATING ACTION BUTTONS (WhatsApp & Call) */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}
.floating-btn:hover {
  transform: scale(1.1);
  text-decoration: none;
  color: #ffffff;
}
.floating-whatsapp {
  background-color: #25D366;
}
.floating-call {
  background-color: var(--color-school-blue);
}
.floating-zip {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-navy);
}
.floating-zip:hover {
  color: var(--color-primary-navy);
}
.floating-tooltip {
  position: absolute;
  right: 64px;
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-sm);
}
.floating-btn:hover .floating-tooltip {
  opacity: 1;
}

/* BREADCRUMBS & PAGE BANNERS */
.page-banner {
  position: relative;
  background-color: var(--color-primary-navy);
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.65) 0%, rgba(23, 54, 93, 0.72) 100%), url('../images/hero/hero-campus.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 130px 0 100px 0;
  border-bottom: 4px solid var(--color-accent-yellow);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.page-banner .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.page-banner-about {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.52) 0%, rgba(23, 54, 93, 0.60) 100%), url('../images/hero/hero-campus.jpg');
}
.page-banner-history {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.52) 0%, rgba(23, 54, 93, 0.60) 100%), url('../images/hero/slider2.jpg');
}
.page-banner-principal {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.40) 0%, rgba(23, 54, 93, 0.48) 100%), url('../images/hero/awards.jpg');
  background-position: center 35%;
}
.page-banner-academics {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.52) 0%, rgba(23, 54, 93, 0.60) 100%), url('../images/hero/slider3.jpg');
}
.page-banner-facilities {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.38) 0%, rgba(23, 54, 93, 0.46) 100%), url('../images/hero/banner-facilities.jpg');
  background-position: center 30%;
}
.page-banner-activities {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.48) 0%, rgba(23, 54, 93, 0.55) 100%), url('../images/hero/banner-activities.jpg');
}
.page-banner-admissions {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.48) 0%, rgba(23, 54, 93, 0.55) 100%), url('../images/hero/banner-admissions.jpg');
}
.page-banner-faculty {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.40) 0%, rgba(23, 54, 93, 0.48) 100%), url('../images/hero/slider2.jpg');
  background-position: center 20%;
}
.page-banner-gallery {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.50) 0%, rgba(23, 54, 93, 0.58) 100%), url('../images/gallery/WhatsApp-Image-2022-12-15-at-10.52.13-AM.jpeg');
}
.page-banner-notices {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.35) 0%, rgba(23, 54, 93, 0.44) 100%), url('../images/gallery/WhatsApp-Image-2022-12-15-at-10.55.19-AM-1.jpeg');
  background-position: center 42%;
}
.page-banner-disclosure {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.50) 0%, rgba(23, 54, 93, 0.58) 100%), url('../images/hero/slider3.jpg');
}
.page-banner-contact {
  background-image: linear-gradient(135deg, rgba(15, 36, 64, 0.38) 0%, rgba(23, 54, 93, 0.46) 100%), url('../images/hero/banner-contact.jpg');
  background-position: center 38%;
}
.page-banner-title {
  color: #ffffff;
  font-size: 2.85rem;
  margin-bottom: 14px;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.breadcrumbs a {
  color: var(--color-light-sky);
}
.breadcrumbs a:hover {
  color: var(--color-accent-yellow);
}
.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumbs .current {
  color: var(--color-accent-yellow);
  font-weight: 600;
}

/* FOOTER */
.site-footer {
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding-top: 60px;
  border-top: 4px solid var(--color-accent-yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: var(--color-accent-yellow);
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--color-accent-yellow);
}
.footer-col p {
  color: #d1dbe6;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: #d1dbe6;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--color-accent-yellow);
  padding-left: 4px;
  text-decoration: none;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #d1dbe6;
  font-size: 0.88rem;
}
.footer-contact-item a {
  color: #d1dbe6;
}
.footer-contact-item a:hover {
  color: var(--color-accent-yellow);
}

.footer-bottom {
  background-color: #0f243f;
  padding: 18px 0;
  font-size: 0.82rem;
  color: #9cb1c7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-links {
  display: flex;
  gap: 16px;
}
.footer-legal-links a {
  color: #9cb1c7;
}
.footer-legal-links a:hover {
  color: var(--color-accent-yellow);
}

/* ALERT / TOAST */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--color-accent-yellow);
  box-shadow: var(--shadow-lg);
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ZIP BANNER HELPER */
.zip-banner {
  background-color: #fff8e1;
  border-bottom: 1px solid #ffe082;
  padding: 8px 0;
  font-size: 0.85rem;
  color: #5d4037;
}
.zip-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   VIDEO SHOWCASE & EMBEDS
   ========================================================================== */
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.video-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0b1522;
  overflow: hidden;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.video-badge-school {
  background-color: var(--color-light-sky);
  color: var(--color-school-blue);
}

.video-badge-youtube {
  background-color: #fee2e2;
  color: #dc2626;
}

.video-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.video-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  gap: 12px;
  flex-wrap: wrap;
}

.video-source-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   RESPONSIVE BANNER & HERO SCALING
   ========================================================================== */
@media (max-width: 992px) {
  .hero-slider-section {
    height: 520px;
    min-height: 480px;
  }
  .slide-title {
    font-size: 2.1rem;
  }
  .page-banner {
    min-height: 320px;
    padding: 70px 0 60px 0;
  }
  .page-banner-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    height: 460px;
    min-height: 420px;
  }
  .slide-title {
    font-size: 1.75rem;
  }
  .slide-subtitle {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  .page-banner {
    min-height: 240px;
    padding: 55px 0 50px 0;
  }
  .page-banner-title {
    font-size: 1.8rem;
  }
}


