/* ==========================================================================
   ST. AUGUSTINE'S HIGHER SECONDARY SCHOOL, KOTHAMANGALAM
   100 Years of Academic & Moral Distinction (1928–2028)
   Official Institutional Design System & Stylesheet
   ========================================================================== */

@import url('adward-theme.css');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Gayathri:wght@400;700&family=Noto+Sans+Malayalam:wght@400;500;600;700&display=swap');

:root {
  --navy-deep: #08172e;
  --navy-surface: #0f2342;
  --navy-light: #16345d;
  --navy-wash: #f0f4f9;

  --gold-primary: #c59b27;
  --gold-light: #e0be5b;
  --gold-deep: #96711b;
  --gold-subtle: rgba(197, 155, 39, 0.15);

  --crimson-accent: #781827;
  --crimson-light: #942032;
  --crimson-subtle: rgba(120, 24, 39, 0.12);

  --bg-paper: #ffffff;
  --bg-alabaster: #f9f9f8;
  --bg-section: #f4f6f9;

  --text-primary: #121d2d;
  --text-secondary: #4a596e;
  --text-muted: #7b8a9e;
  --text-inverse: #ffffff;

  --border-subtle: #e1e6ee;
  --border-medium: #cbd3df;
  --border-gold: rgba(197, 155, 39, 0.4);

  --font-display: 'Cinzel', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 6px rgba(8, 23, 46, 0.05);
  --shadow-md: 0 6px 20px rgba(8, 23, 46, 0.08);
  --shadow-lg: 0 14px 36px rgba(8, 23, 46, 0.12);
  --shadow-gold: 0 6px 24px rgba(197, 155, 39, 0.2);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-primary);
  background-color: var(--bg-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 980px;
}

.container-wide {
  max-width: 1400px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1.25;
}

.font-display {
  font-family: var(--font-display);
}

.font-serif {
  font-family: var(--font-serif);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.text-center {
  text-align: center;
}

/* Header & Utility Bar */
.top-utility-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25);
}

.utility-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.affiliation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.utility-divider {
  opacity: 0.3;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.utility-link:hover {
  color: var(--gold-light);
}

.utility-phone {
  font-weight: 600;
  color: #ffffff;
}

.main-header:not(.scrolled), .header_section:not(.scrolled) {
  background: rgba(8, 36, 101, 0.96) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 2px solid rgba(254, 201, 19, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.main-header:not(.scrolled) .menu-toggle,
.header_section:not(.scrolled) .menu-toggle,
.main-header:not(.scrolled) #menuToggle,
.header_section:not(.scrolled) #menuToggle {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
}

.main-header:not(.scrolled) .menu-toggle span,
.header_section:not(.scrolled) .menu-toggle span,
.main-header:not(.scrolled) #menuToggle span,
.header_section:not(.scrolled) #menuToggle span {
  background-color: #ffffff !important;
}

.main-header.scrolled, .header_section.scrolled {
  background: #ffffff !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--adward-yellow) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
  padding: 6px 0 !important;
}

.main-header.scrolled .navbar-brand span,
.main-header.scrolled .brand-title,
.header_section.scrolled .navbar-brand span,
.header_section.scrolled .brand-title {
  color: #04163d !important;
}

.main-header.scrolled .navbar-brand .brand-sub,
.header_section.scrolled .navbar-brand .brand-sub {
  color: #082465 !important;
  font-weight: 700;
}

.main-header.scrolled .nav-link,
.header_section.scrolled .nav-link {
  color: #04163d !important;
}

.main-header.scrolled .menu-toggle,
.header_section.scrolled .menu-toggle,
.main-header.scrolled #menuToggle,
.header_section.scrolled #menuToggle {
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid #000000 !important;
  color: #000000 !important;
}

.main-header.scrolled .menu-toggle span,
.header_section.scrolled .menu-toggle span,
.main-header.scrolled #menuToggle span,
.header_section.scrolled #menuToggle span {
  background-color: #000000 !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1340px;
  margin: 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
}

.brand-crest {
  height: 58px;
  width: auto;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-tagline {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--adward-yellow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-title {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0.1rem 0;
}

.brand-subtitle {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--adward-yellow) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff !important;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--adward-yellow);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--adward-yellow) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-enquire {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: var(--navy-deep);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-primary);
  transition: all var(--transition-fast);
}

.btn-header-enquire:hover {
  background: var(--gold-primary);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid #ffffff;
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--adward-radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--adward-transition);
}

.menu-toggle:hover {
  background: #ffffff;
  color: #04163d;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--adward-transition);
}

.menu-toggle:hover span {
  background-color: #04163d;
}

/* Floating Scroll To Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--adward-yellow);
  color: #04163d;
  border: 2px solid #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: #ffffff;
  color: #082465;
  border-color: var(--adward-yellow);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -6px 0 24px rgba(8, 23, 46, 0.15);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 23, 46, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--navy-deep);
  color: #ffffff;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.drawer-nav-link {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-surface);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  color: var(--gold-deep);
  padding-left: 0.4rem;
}

.drawer-footer {
  margin-top: auto;
  padding: 1.5rem;
  background: var(--bg-alabaster);
  border-top: 1px solid var(--border-subtle);
}

/* Hero Section */
.hero-institutional {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  color: #ffffff;
  overflow: hidden;
}

.hero-background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide-img.active {
  opacity: 0.38;
}

.hero-overlay-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(8, 23, 46, 0.94) 0%,
    rgba(8, 23, 46, 0.82) 48%,
    rgba(8, 23, 46, 0.42) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 4.5rem 0;
  max-width: 820px;
}

.centenary-seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.15rem;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: 40px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.centenary-seal-icon {
  width: 20px;
  height: 20px;
}

.centenary-seal-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-subhead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.25rem;
  max-width: 680px;
}

.hero-btn-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-institutional-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  background: var(--gold-primary);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-light);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(197, 155, 39, 0.35);
}

.btn-institutional-primary:hover {
  background: #ffffff;
  color: var(--navy-deep);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-institutional-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.btn-institutional-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Quick Facts Bar */
.hero-facts-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-item {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.fact-item:last-child {
  border-right: none;
}

.fact-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.fact-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Official Notice Bar & Smooth Continuous Ticker */
.official-notice-bar {
  background: var(--navy-surface);
  color: #ffffff;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  overflow: hidden;
}

.notice-flex {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
  position: relative;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--crimson-accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 5;
  box-shadow: 4px 0 12px rgba(15, 35, 66, 0.9);
}

.notice-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
}

.notice-content span,
.notice-ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: noticeMarqueeScroll 22s linear infinite;
  will-change: transform;
}

.notice-content:hover span,
.notice-content:hover .notice-ticker-text {
  animation-play-state: paused;
}

.notice-link {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 5;
  background: var(--navy-surface);
  padding-left: 0.75rem;
  box-shadow: -4px 0 12px rgba(15, 35, 66, 0.9);
}

@keyframes noticeMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Mobile Viewport Ticker Optimization */
@media (max-width: 768px) {
  .official-notice-bar {
    padding: 0.5rem 0 !important;
  }
  .notice-flex {
    gap: 0.65rem !important;
  }
  .notice-badge {
    font-size: 0.62rem !important;
    padding: 0.25rem 0.55rem !important;
    letter-spacing: 0.05em !important;
  }
  .notice-link {
    font-size: 0.7rem !important;
    padding-left: 0.4rem !important;
    letter-spacing: 0.02em !important;
  }
  .notice-content {
    font-size: 0.85rem !important;
  }
  .notice-content span,
  .notice-ticker-text {
    animation: noticeMarqueeScroll 18s linear infinite !important;
  }
}

/* Sections General */
.section-padding {
  padding: 5rem 0;
}

.bg-paper {
  background-color: var(--bg-paper);
}

.bg-alabaster {
  background-color: var(--bg-alabaster);
}

.bg-navy {
  background-color: var(--navy-deep);
  color: #ffffff;
}

.bg-navy .section-title {
  color: #ffffff;
}

.bg-navy .section-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.story-imagery-frame {
  position: relative;
}

.story-main-photo {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.story-inset-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--navy-deep);
  color: #ffffff;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
}

.inset-badge-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.inset-badge-text {
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.story-lead {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--navy-surface);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.story-body {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-quote {
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy-deep);
}

/* Academic Streams Cards */
.academic-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.academic-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.academic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.academic-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.academic-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.academic-card:hover .academic-card-img {
  transform: scale(1.05);
}

.academic-stream-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--navy-deep);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-primary);
}

.academic-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.academic-card-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.academic-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.academic-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.academic-subject-pill {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--bg-alabaster);
  color: var(--navy-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.academic-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-deep);
  transition: color var(--transition-fast);
}

.academic-card-link:hover {
  color: var(--gold-deep);
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.facility-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.facility-photo-box {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.facility-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-photo {
  transform: scale(1.05);
}

.facility-info {
  padding: 1.35rem 1.5rem;
}

.facility-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}

.facility-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Leadership Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.leader-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.leader-portrait {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.leader-role {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.leader-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.leader-credential {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.leader-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Activities Grid */
.activity-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.activity-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.activity-box-img {
  width: 42%;
  object-fit: cover;
}

.activity-box-content {
  width: 58%;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--crimson-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.activity-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}

.activity-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Testimonials Grid */
.testimonials-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-editorial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-quote-icon {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-primary);
  opacity: 0.4;
  margin-bottom: -0.5rem;
}

.testimonial-body {
  font-size: 1rem;
  font-style: italic;
  color: var(--navy-surface);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.author-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
}

.author-batch {
  font-size: 0.8rem;
  color: var(--gold-deep);
  font-weight: 600;
}

/* Inner Page Banner */
.inner-page-banner {
  position: relative;
  background-color: var(--navy-deep);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
  overflow: hidden;
}

.inner-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.inner-banner-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-separator {
  opacity: 0.5;
}

.inner-page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.inner-page-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

/* Curriculum Table */
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.96rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.curriculum-table th {
  background: var(--navy-deep);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
}

.curriculum-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.curriculum-table tr:last-child td {
  border-bottom: none;
}

.curriculum-table tr:hover td {
  background-color: var(--bg-alabaster);
}

/* Calculator & Forms */
.calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-deep);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 0.96rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.calc-result-box {
  background: var(--navy-deep);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 2rem;
  text-align: center;
  border: 1px solid var(--gold-primary);
}

.calc-total-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin: 0.35rem 0;
}

/* Gallery Filter Tabs */
.filter-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy-deep);
  color: #ffffff;
  border-color: var(--gold-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(8, 23, 46, 0.95) 0%, rgba(8, 23, 46, 0.5) 60%, transparent 100%);
  color: #ffffff;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-category {
  font-size: 0.76rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline Components */
.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 3rem auto 0;
  padding-left: 2rem;
  border-left: 2px solid var(--gold-primary);
}

.timeline-milestone {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 1.5rem;
}

.timeline-milestone::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--navy-deep);
}

.milestone-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}

.milestone-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--crimson-accent);
  margin-bottom: 0.5rem;
}

.milestone-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

/* Master Academic Footer */
.site-footer {
  background: linear-gradient(180deg, #071e45 0%, #030d1f 100%);
  color: #ffffff;
  border-top: 3px solid var(--gold-primary);
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: radial-gradient(circle, rgba(254, 201, 19, 0.4) 0%, transparent 70%);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-crest {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-motto-box {
  background: rgba(254, 201, 19, 0.06);
  border-left: 3px solid var(--gold-primary);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0 1rem;
}

.footer-motto {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--adward-yellow);
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-summary {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-centenary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(254, 201, 19, 0.12) 0%, rgba(212, 160, 23, 0.05) 100%);
  border: 1px solid rgba(254, 201, 19, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: var(--adward-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  width: fit-content;
  transition: all 0.3s ease;
}

.footer-centenary-badge:hover {
  background: rgba(254, 201, 19, 0.2);
  border-color: var(--adward-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 201, 19, 0.15);
}

.badge-icon {
  font-size: 1.05rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--adward-yellow);
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.25s ease;
}

.link-arrow {
  color: var(--adward-yellow);
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.footer-link-item:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

.footer-link-item:hover .link-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.footer-contact-icon {
  background: rgba(254, 201, 19, 0.12);
  border: 1px solid rgba(254, 201, 19, 0.25);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: var(--adward-yellow);
}

.footer-bottom-bar {
  background: rgba(3, 13, 31, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  line-height: 1.5;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--adward-yellow);
  text-decoration: underline;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.institutional-toast {
  background: var(--navy-deep);
  color: #ffffff;
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 320px;
  max-width: 440px;
  animation: slideToastIn 0.35s ease-out forwards;
}

@keyframes slideToastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .academic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .activity-banner-grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 991px) {
  .nav-menu, .btn-header-enquire {
    display: none !important;
  }
  .header-admission-btn, 
  .header-cta-group .header-admission-btn, 
  .header-cta-group .call_to-btn,
  .main-header .call_to-btn:not(.drawer-cta-btn):not(.hero-btn) {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
    margin-left: auto !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex-shrink: 0 !important;
  }
  .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-item:nth-child(2) {
    border-right: none;
  }
  .fact-item:nth-child(1), .fact-item:nth-child(2) {
    border-bottom: 1px solid var(--border-subtle);
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-editorial-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .table-responsive {
    overflow-x: visible !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .table-responsive table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }
  .table-responsive thead {
    display: none !important;
  }
  .table-responsive tbody {
    display: block !important;
    width: 100% !important;
  }
  .table-responsive tr {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--adward-navy, #082465) !important;
    border-radius: 12px !important;
    padding: 1rem 1.2rem !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
  }
  .table-responsive td {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 0 !important;
    border: none !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    text-align: left !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .table-responsive tr td:last-child {
    border-bottom: none !important;
  }
  .table-responsive td[data-label]::before {
    content: attr(data-label);
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: var(--adward-navy, #082465) !important;
    margin-bottom: 0.2rem !important;
  }
}

@media (max-width: 640px) {
  .top-utility-bar {
    display: none;
  }
  .header-container {
    padding: 0.75rem 1rem;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-crest {
    height: 44px;
  }
  .hero-institutional {
    min-height: 75vh;
  }
  .hero-content {
    padding: 3rem 0;
  }
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-institutional-primary, .btn-institutional-secondary {
    width: 100%;
    justify-content: center;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.1rem 0.5rem;
  }
  .fact-item:last-child {
    border-bottom: none;
  }
  .academic-cards-grid {
    grid-template-columns: 1fr;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .activity-box {
    flex-direction: column;
  }
  .activity-box-img {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .activity-box-content {
    width: 100%;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-right {
    justify-content: center;
  }
}

/* ==========================================================================
   FINAL ABSOLUTE OVERRIDES FOR MOBILE HEADER & HERO SECTION
   ========================================================================== */
@media (max-width: 991px) {
  /* 1. COMPLETELY HIDE YELLOW ADMISSION BUTTON IN HEADER ON MOBILE */
  header .header-admission-btn,
  header .call_to-btn,
  .main-header .header-admission-btn,
  .main-header .call_to-btn,
  .header_section .header-admission-btn,
  .header_section .call_to-btn,
  .header-cta-group .header-admission-btn,
  .header-cta-group .call_to-btn,
  .navbar .call_to-btn,
  a.header-admission-btn,
  a.call_to-btn.header-admission-btn {
    display: none !important;
  }

  /* 2. ENSURE HAMBURGER MENU BUTTON IS VISIBLE & POSITIONED ON RIGHT */
  .menu-toggle {
    display: flex !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 1001 !important;
  }

  /* 3. HERO CONTAINER & DARK NAVY BACKGROUND CURVE FIX */
  .top_container {
    position: relative !important;
    background: linear-gradient(135deg, #04163d 0%, #082465 100%) !important;
    padding-bottom: 2.5rem !important;
    border-bottom-left-radius: 36px !important;
    border-bottom-right-radius: 36px !important;
    overflow: hidden !important;
  }

  .top_container::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    background: linear-gradient(135deg, #04163d 0%, #082465 100%) !important;
    border-bottom-left-radius: 36px !important;
    border-bottom-right-radius: 36px !important;
    z-index: 1 !important;
  }

  .hero_section {
    position: relative !important;
    z-index: 2 !important;
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2rem !important;
  }

  .hero_detail-box {
    padding-right: 0 !important;
    width: 100% !important;
  }

  .hero_detail-box h3 {
    color: var(--adward-yellow, #fec913) !important;
  }

  .hero_detail-box h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem) !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
  }

  .hero_detail-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem !important;
    margin: 1rem auto 1.5rem auto !important;
    max-width: 100% !important;
  }

  /* HERO BUTTONS CONTAINER ON MOBILE */
  .hero_btn-cont {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .hero_btn-cont a,
  .hero_btn-cont .call_to-btn,
  .hero_btn-cont .btn-adward-secondary {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .hero_img-container {
    width: 100% !important;
    margin-top: 1rem !important;
  }
}

