/* ==========================================================================
   S.K.L PUBLIC MATRIC HIGHER SECONDARY SCHOOL
   Master Stylesheet - Pixel-faithful to docs/homepage.jpeg
   ========================================================================== */

/* 1. TOKENS & VARIABLES */
:root {
  --color-navy: #081d58;
  --color-navy-dark: #041c48;
  --color-navy-deep: #031435;
  --color-orange: #ff6600;
  --color-orange-dark: #e05500;
  --color-text-main: #1f2937;
  --color-text-muted: #4b5563;
  --color-text-light: #9ca3af;
  --color-bg-light: #f8fafc;
  --color-border: #e5e7eb;
  --color-border-subtle: #f3f4f6;

  --font-serif: Georgia, 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-script: 'Caveat', cursive, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(8, 29, 88, 0.07);
  --shadow-lg: 0 10px 25px rgba(8, 29, 88, 0.09);
  --shadow-xl: 0 16px 36px rgba(8, 29, 88, 0.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition: all 0.25s ease;
}

/* 2. BASE RESETS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.header-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 30px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. SUPER-HEADER / TOPBAR */
.topbar {
  background-color: #051d4d;
  color: #d1d5db;
  font-size: 0.75rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar-link:hover {
  color: var(--color-orange);
}

.topbar-icon {
  fill: currentColor;
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-portals {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
}

.portal-link {
  color: #e2e8f0;
}

.portal-link:hover {
  color: var(--color-orange);
}

.portal-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}

.topbar-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social-icons .social-icon {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.topbar-social-icons .social-icon:hover {
  color: var(--color-orange);
  transform: translateY(-1px);
}

/* 4. MAIN HEADER & NAVBAR (Fixed / Sticky on scroll) */
.main-header {
  background-color: #ffffff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0 8px;
  border-bottom: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(5, 29, 77, 0.04);
  transition: padding 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.main-header.is-scrolled {
  padding: 6px 0 5px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(5, 29, 77, 0.10);
  border-bottom: 2px solid var(--color-orange);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.school-logo-img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  transition: width 0.25s ease, height 0.25s ease;
}

.main-header.is-scrolled .school-logo-img {
  width: 68px;
  height: 68px;
}

.header-main-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-top: 1px;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 0;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-skl-link {
  display: inline-block;
  line-height: 1;
}

.brand-skl {
  font-family: 'Outfit', 'Montserrat', -apple-system, sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  color: #002169;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: font-size 0.25s ease;
}

.main-header.is-scrolled .brand-skl {
  font-size: 1.85rem;
}

.brand-school-name {
  display: inline-block;
  margin-top: 3px;
}

.brand-school-name span {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #002169;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
  transition: font-size 0.25s ease;
}

.main-header.is-scrolled .brand-school-name span {
  font-size: 0.76rem;
}

.brand-orange-line {
  width: 100%;
  height: 2px;
  background-color: #ff5a00;
  margin: 3px 0 3px;
  border-radius: 1px;
}

.brand-motto-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: #002169;
  text-transform: uppercase;
  line-height: 1.2;
  transition: font-size 0.25s ease, letter-spacing 0.25s ease;
}

.main-header.is-scrolled .brand-motto-text {
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-enquiry-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ff5a00;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25);
  transition: var(--transition), padding 0.25s ease, font-size 0.25s ease;
  white-space: nowrap;
}

.main-header.is-scrolled .btn-enquiry-header {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-enquiry-header:hover {
  background-color: #e04f00;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 90, 0, 0.35);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--color-navy) !important;
  border: 1.5px solid var(--color-navy);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(5, 29, 77, 0.08);
  text-decoration: none;
}

.btn-secondary-outline:hover {
  background-color: var(--color-navy);
  color: #ffffff !important;
  border-color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5, 29, 77, 0.2);
}

/* Header Navigation Row (Fixed together with main-header) */
.header-nav-row {
  display: block;
  width: 100%;
  border-top: 1px solid #eef2f6;
  padding-top: 6px;
  margin-top: 4px;
  position: relative;
  overflow: visible;
  transition: padding-top 0.25s ease, margin-top 0.25s ease, border-color 0.25s ease;
}

.main-header.is-scrolled .header-nav-row {
  padding-top: 4px;
  margin-top: 2px;
}

/* Compatibility alias for any legacy references */
.sticky-nav-bar {
  display: block;
  width: 100%;
}

.sticky-nav-container {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow: visible;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-item>a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #002169;
  padding: 5px 4px;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.nav-item>a:hover {
  color: #ff5a00;
}

.nav-item.active>a {
  background-color: #ff5a00;
  color: #ffffff !important;
  border-radius: 4px;
  padding: 4px 12px;
  font-weight: 700;
}

.dropdown-icon {
  width: 8px;
  height: 5px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
  stroke: #002169;
}

.nav-item.active>a .dropdown-icon {
  stroke: #ffffff !important;
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
  stroke: #ff5a00;
}

/* Dropdown Menu Container */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 14px 35px rgba(0, 33, 105, 0.16), 0 3px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1200;
  pointer-events: none;
}

/* Invisible hover bridge */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Align right for the last items so they don't clip off-screen */
.nav-dropdown-menu.dropdown-align-right {
  left: auto;
  right: 0;
}

.nav-item:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
  pointer-events: auto;
}

/* Dropdown list items */
.nav-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu li a {
  display: block;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1e293b;
  padding: 8px 18px;
  transition: all 0.16s ease;
  white-space: nowrap;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active-sublink {
  background-color: #fff7ed;
  color: #ff5a00;
  border-left-color: #ff5a00;
  padding-left: 22px;
  font-weight: 700;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger-btn span {
  width: 24px;
  height: 2.5px;
  background-color: #002169;
  border-radius: 2px;
}

/* Mobile Drawer - COMPLETELY HIDDEN ON DESKTOP */
.mobile-drawer {
  display: none;
}

.drawer-backdrop {
  display: none;
}

/* 5. HERO SECTION & SLIDER */
.hero-section {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-color: #ffffff;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 540px;
  display: grid;
  grid-template-areas: "hero-stack";
}

.hero-slide {
  grid-area: hero-stack;
  width: 100%;
  height: 100%;
  min-height: 540px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  display: flex;
  align-items: center;
  padding: 30px 0 60px;
  box-sizing: border-box;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.40) 52%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-content {
  max-width: 500px;
  padding: 20px 0 10px;
  animation: heroContentFadeIn 0.8s ease forwards;
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-kicker-line {
  width: 22px;
  height: 2.5px;
  background-color: var(--color-orange);
  border-radius: 2px;
}

.hero-kicker-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #002169;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.05rem;
  font-weight: 800;
  line-height: 1.14;
  color: #002169;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.hero-title .highlight-orange {
  color: var(--color-orange);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-orange);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(255, 90, 0, 0.35);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background-color: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 90, 0, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #002169 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  border-color: #002169;
  background-color: #f8fafc;
}

/* Slider Nav Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #002169;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  border: 1px solid rgba(0, 33, 105, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.hero-slider-arrow:hover {
  background: var(--color-orange);
  color: #ffffff;
  border-color: var(--color-orange);
  box-shadow: 0 6px 16px rgba(255, 90, 0, 0.35);
}

.hero-slider-arrow.prev {
  left: 20px;
}

.hero-slider-arrow.next {
  right: 50px;
}

/* Hero Vertical Slider Dots on Right Edge */
.hero-slider-nav {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.slider-dots-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(0, 33, 105, 0.35);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
}

.slider-dot.active {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  transform: scale(1.35);
  box-shadow: 0 0 6px rgba(255, 90, 0, 0.5);
}

/* 6. FLOATING HIGHLIGHTS / STATS RIBBON CARD */
.stats-ribbon-section {
  position: relative;
  margin-top: -46px;
  z-index: 10;
  margin-bottom: 55px;
}

.stats-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 33, 105, 0.09);
  border: 1px solid rgba(241, 245, 249, 0.9);
  overflow: hidden;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-box {
  color: #002169;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: #002169;
  line-height: 1.25;
}

.stat-subtitle {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

/* 7. ABOUT SECTION & 5 PILLARS */
.about-section {
  padding: 45px 0 70px;
  background-color: #ffffff;
}

.about-top-grid {
  display: grid;
  grid-template-columns: 1.08fr 1.22fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.about-campus-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 33, 105, 0.08);
}

.about-campus-img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-orange);
  color: #ffffff;
  border: 2.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.5);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 3;
}

.play-button-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(255, 107, 0, 0.65);
}

.campus-cursive-badge {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  text-align: right;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 2;
}

.section-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-kicker-row .kicker-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  text-transform: uppercase;
}

.section-kicker-row .kicker-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-orange);
}

.about-headline {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 800;
  color: #002169;
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-body-text {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #002169;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 33, 105, 0.2);
}

.btn-navy:hover {
  background-color: #041c48;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 33, 105, 0.3);
}

.about-quote-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 33, 105, 0.03);
}

.quote-giant-icon {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1;
  color: #94a3b8;
  margin-bottom: 10px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  color: #002169;
  line-height: 1.5;
  margin-bottom: 16px;
}

.quote-author {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

/* 5 PILLARS ROW (TINTED CARDS + ANGLED MOTTO) */
.pillars-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.55fr;
  gap: 16px;
  align-items: stretch;
}

.pillar-card {
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
}

.pillar-card-orange {
  background-color: #fff8f3;
  border: 1px solid #ffeedd;
}

.icon-orange {
  color: #ff6b00;
}

.pillar-card-blue {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
}

.icon-blue {
  color: #2563eb;
}

.pillar-card-green {
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
}

.icon-green {
  color: #16a34a;
}

.pillar-card-pink {
  background-color: #fdf2f8;
  border: 1px solid #fce7f3;
}

.icon-pink {
  color: #db2777;
}

.pillar-icon-box {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: #002169;
  line-height: 1.25;
}

/* 5th Pillar: Dark Navy Angled Card with Cursive & Swoosh */
.pillar-card-motto {
  background: #03194a;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 14px 14px 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(3, 25, 74, 0.25);
  transition: var(--transition);
}

.pillar-card-motto:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(3, 25, 74, 0.35);
}

.motto-script-title {
  font-family: 'Caveat', cursive;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.motto-swoosh {
  width: 92px;
  height: 4px;
  border-radius: 9999px;
  background: var(--color-orange);
  margin-top: 6px;
}

/* 8. ACADEMICS SECTION */
.academics-section {
  padding: 70px 0;
  background-color: var(--color-bg-light);
  border-top: 1px solid #f1f5f9;
}

.academics-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 40px;
  align-items: center;
}

.academics-headline {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.22;
  margin-bottom: 14px;
}

.academics-lead {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-orange);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 12px rgba(255, 102, 0, 0.3);
  transition: var(--transition);
}

.btn-orange:hover {
  background-color: var(--color-orange-dark);
  transform: translateY(-1px);
}

.curriculum-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.curriculum-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 33, 105, 0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 33, 105, 0.1);
}

.curriculum-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
}

.curriculum-body {
  padding: 22px 24px 24px;
  position: relative;
}

.curriculum-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #002169;
  line-height: 1.25;
  margin-bottom: 3px;
}

.curriculum-board-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #002169;
  margin-bottom: 12px;
}

.curriculum-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 0;
  padding-right: 48px;
}

.curriculum-btn-arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(255, 107, 0, 0.4);
  transition: transform 0.2s, background-color 0.2s;
}

.curriculum-card:hover .curriculum-btn-arrow {
  transform: scale(1.1);
  background-color: var(--color-orange-dark);
}

/* 9. FACILITIES SECTION */
.facilities-section {
  padding: 70px 0;
  background-color: #ffffff;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-main-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.22;
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #cbd5e1;
  color: var(--color-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-pill-outline:hover {
  border-color: var(--color-navy);
  background-color: #f8fafc;
}

.facilities-layout-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 28px;
  align-items: center;
}

.facilities-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.facility-card-item {
  background-color: #ffffff;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  padding: 16px 6px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  box-shadow: 0 4px 14px rgba(0, 33, 105, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.facility-card-item:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 33, 105, 0.08);
}

.facility-icon-wrap {
  margin-bottom: 8px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #002169;
  line-height: 1.25;
  text-align: center;
}

.facility-feature-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 33, 105, 0.08);
  height: 226px;
}

.facility-feature-img {
  width: 100%;
  height: 226px;
  object-fit: cover;
  display: block;
}

.facility-cursive-badge {
  position: absolute;
  bottom: 16px;
  left: 18px;
  font-family: 'Caveat', cursive;
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.08;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

/* 10. STUDENT LIFE SECTION */
.student-life-section {
  padding: 45px 0 25px;
  background-color: #ffffff;
}

.activity-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.activity-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 33, 105, 0.08);
  border-color: #cbd5e1;
}

.activity-img-wrap {
  width: 100%;
  height: 125px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.activity-card:hover .activity-img {
  transform: scale(1.04);
}

.activity-footer {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
}

.activity-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-navy);
}

.activity-arrow {
  font-size: 0.85rem;
  color: var(--color-navy);
  font-weight: 600;
  transition: var(--transition);
}

.activity-card:hover .activity-arrow {
  color: var(--color-orange);
  transform: translateX(3px);
}

/* 11. TRI-SECTION (MANAGEMENT, NEWS, ACHIEVEMENTS) */
.tri-section {
  padding: 20px 0 50px;
  background-color: #ffffff;
}

.tri-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.tri-col {
  display: flex;
  flex-direction: column;
}

.tri-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 26px;
}

.tri-col-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0;
}

.btn-pill-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 9999px;
  border: 1.2px solid var(--color-navy);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  background: transparent;
  transition: var(--transition);
}

.btn-pill-outline-sm:hover {
  background-color: var(--color-navy);
  color: #ffffff !important;
}

.btn-pill-outline-sm .btn-arrow {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.btn-pill-outline-sm:hover .btn-arrow {
  transform: translateX(2px);
}

/* Management Card */
.management-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.management-card-inner {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 14px;
  align-items: start;
  height: 100%;
}

.management-photo-wrap {
  width: 115px;
  height: 153px;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.management-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
}

.management-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  height: 100%;
}

.management-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 1px;
  line-height: 1.2;
}

.management-role {
  font-size: 0.66rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 3px;
}

.management-quote-box {
  font-size: 0.67rem;
  color: #475569;
  line-height: 1.34;
  font-style: italic;
  margin: 0 0 5px;
}

.management-quote-box .quote-mark {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 0.9;
  color: #94a3b8;
  font-weight: 800;
  margin-right: 2px;
  vertical-align: top;
}

.management-quote-box .quote-text {
  display: inline;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-navy);
  color: #ffffff !important;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 9999px;
  width: fit-content;
  text-decoration: none;
  transition: var(--transition);
}

.btn-read-more:hover {
  background-color: var(--color-orange);
  transform: translateY(-1px);
}

/* Announcements List */
.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  justify-content: space-between;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
  min-height: 32px;
}

.announcement-item:hover {
  border-color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(0, 33, 105, 0.06);
  transform: translateX(2px);
}

.date-badge {
  background-color: var(--color-navy);
  color: #ffffff;
  border-radius: 5px;
  padding: 1px 3px;
  text-align: center;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.date-day {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.date-month {
  font-size: 0.48rem;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1;
  margin-top: 1px;
}

.announcement-title {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--color-navy);
  flex-grow: 1;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-chevron {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Achievement Card & Running Slider */
.achievement-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.achievement-slider-wrap {
  width: 100%;
  flex-grow: 1;
  min-height: 195px;
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
}

.achievement-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1;
}

.achievement-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.achievement-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.achievement-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.achievement-content {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  min-height: 42px;
  border-top: 1px solid #f8fafc;
}

.achievement-caption {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.25;
  transition: opacity 0.25s ease;
}

.achievement-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.achievement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

.achievement-dot:hover {
  background-color: #94a3b8;
}

.achievement-dot.active {
  background-color: var(--color-navy);
  width: 8px;
  height: 8px;
}

/* 12. CALL TO ACTION BANNER */
.cta-banner-section {
  position: relative;
  background-color: #f7b767;
  background-image: url('../images/cta_banner_bg.jpg?v=11.0');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  overflow: hidden;
}

.cta-banner-container {
  display: flex;
  align-items: center;
  min-height: 290px;
  position: relative;
}

.cta-banner-content {
  padding: 40px 0;
  max-width: 520px;
  z-index: 2;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 800;
  color: #061c47;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cta-title-underline {
  width: 38px;
  height: 3px;
  background-color: #ff5500;
  margin-bottom: 14px;
  border-radius: 2px;
}

.cta-banner-sub {
  font-size: 0.95rem;
  color: #1e293b;
  max-width: 440px;
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: 500;
}

.btn-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ff6b1a 0%, #ee5100 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(238, 81, 0, 0.38);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-cta-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 81, 0, 0.5);
  color: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 991px) {
  .cta-banner-section {
    background-position: 80% center;
  }

  .cta-banner-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .cta-banner-section {
    background: linear-gradient(to right, rgba(255, 245, 230, 0.96) 0%, rgba(255, 245, 230, 0.9) 65%, rgba(255, 245, 230, 0.35) 100%),
      url('../images/cta_banner_bg.jpg?v=11.0') no-repeat right center / cover;
  }

  .cta-banner-container {
    min-height: 250px;
  }

  .cta-banner-content {
    padding: 30px 0;
    max-width: 100%;
  }

  .cta-banner-title {
    font-size: 1.75rem;
  }
}

/* 13. SITE FOOTER */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #cbd5e1;
  padding: 50px 0 20px;
  font-size: 0.8125rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 0.7fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-flex {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.footer-brand-sub {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.footer-brand-motto {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #cbd5e1;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.footer-contact-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social-circles {
  display: flex;
  gap: 10px;
}

.circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.circle-btn:hover {
  transform: translateY(-2px);
}

.circle-facebook {
  background-color: #1877f2;
}

.circle-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.circle-youtube {
  background-color: #ff0000;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.75rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.footer-bottom-bar .developer-text a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-bottom-bar .developer-text a:hover {
  color: var(--color-orange);
  text-decoration: underline;
}

/* 14. MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 28, 72, 0.7);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
}

.modal-close-btn {
  font-size: 1.5rem;
  color: #64748b;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--color-navy);
}

.modal-body {
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.875rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.form-submit-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-pill);
  background-color: var(--color-orange);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
  margin-top: 8px;
}

.form-submit-btn:hover {
  background-color: var(--color-orange-dark);
}

/* Video Modal */
.video-modal-dialog {
  max-width: 780px;
  background: #000000;
  padding: 0;
  overflow: hidden;
}

.video-frame-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-frame-container iframe,
.video-frame-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-navy-dark);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 4000;
  border-left: 4px solid var(--color-orange);
}

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

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a00 0%, #e04800 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 90, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.95);
  cursor: pointer;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  outline: none;
}

.back-to-top-btn:hover {
  background: #002169;
  border-color: #ff5a00;
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 33, 105, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.8;
  transition: transform 0.22s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* Floating WhatsApp Action Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    background-color 0.2s ease;
  outline: none;
  text-decoration: none;
  animation: wa-pulse 3s infinite;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 4px 14px rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 14px rgba(37, 211, 102, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 14px rgba(37, 211, 102, 0.45);
  }
}

.whatsapp-float-btn:hover {
  background-color: #20bd5a;
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: none;
}

.whatsapp-float-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
  display: block;
  transition: transform 0.22s ease;
}

.whatsapp-float-btn:hover svg {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
  }
}

/* 14. ACADEMICS ASSESSMENT TABS (Vertical Tabs Layout - School Brand Palette) */
.exam-tabs-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: #ffffff;
  padding: 38px 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(5, 29, 77, 0.05);
  margin-top: 24px;
}

/* Left Column: Vertical Tab Buttons (School Royal Navy & Radiant Orange) */
.exam-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 320px;
  flex-shrink: 0;
}

.exam-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 16px 20px;
  background-color: var(--color-navy);
  color: #ffffff;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 33, 105, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.exam-tab-btn:hover {
  background-color: #0b2f7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 33, 105, 0.28);
}

.exam-tab-btn.active {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 90, 0, 0.38);
  transform: scale(1.02);
}

/* Right Column: Content Panels */
.exam-tabs-content {
  flex: 1;
  min-width: 0;
  padding: 4px 10px;
}

.exam-content-panel {
  display: none;
  animation: examPanelFadeIn 0.3s ease forwards;
}

.exam-content-panel.active {
  display: block;
}

@keyframes examPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.exam-panel-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.exam-panel-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.exam-panel-term {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.exam-panel-title {
  font-family: var(--font-heading), 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0;
}

.exam-panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background-color: #eff6ff;
  color: var(--color-navy);
  border: 1px solid #bfdbfe;
}

/* Bullets with Circular Chevron Icons */
.exam-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.exam-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.exam-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(255, 90, 0, 0.32);
}

.exam-bullet-icon svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 3.2;
}

/* ==========================================================================
   ACADEMICS: TEACHING METHODOLOGY SECTION (Client Document Section 7)
   ========================================================================== */
.methodology-card-wrapper {
  background: #ffffff;
  padding: 48px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(5, 29, 77, 0.04);
}

.methodology-lead-text {
  color: #1e293b;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 16px;
}

.methodology-body-text {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.methodology-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.methodology-pillar-card {
  padding: 26px 24px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #eef2f6;
  border-left: 4px solid var(--color-orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.methodology-pillar-card.navy {
  border-left-color: var(--color-navy);
}

.methodology-pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 29, 77, 0.06);
}

.methodology-pillar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.methodology-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 90, 0, 0.12);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.methodology-pillar-card.navy .methodology-pillar-icon {
  background: rgba(0, 33, 105, 0.10);
  color: var(--color-navy);
}

.methodology-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.methodology-pillar-body {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.methodology-quote-box {
  padding: 22px 28px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

.methodology-quote-text {
  font-family: var(--font-heading);
  font-size: 1.14rem;
  color: #002169;
  font-weight: 700;
  margin: 0;
  line-height: 1.6;
}

/* 15. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .sticky-nav-container {
    padding-left: 60px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-item a {
    font-size: 0.82rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .about-top-grid {
    grid-template-columns: 1fr;
  }

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

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

  .facilities-layout-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-banner-container {
    grid-template-columns: 1fr;
  }

  .exam-tabs-wrapper {
    gap: 28px;
    padding: 30px;
  }

  .exam-tabs-nav {
    width: 280px;
  }

  .exam-tab-btn {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

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

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .methodology-card-wrapper {
    padding: 28px 20px;
  }

  .methodology-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-photos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .header-nav-row,
  .sticky-nav-bar {
    display: none;
  }

  .main-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(5, 29, 77, 0.08);
    border-bottom: 1px solid #eef2f6;
    padding: 10px 0;
  }

  .main-header.is-scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(5, 29, 77, 0.12);
  }

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

  .back-to-top-btn svg {
    width: 20px;
    height: 20px;
  }

  .hamburger-btn {
    display: flex;
  }

  .btn-enquiry-header {
    display: none;
  }

  .brand-skl {
    font-size: 1.5rem;
  }

  .brand-school-name span {
    font-size: 0.65rem;
  }

  .brand-motto-text {
    font-size: 0.48rem;
  }

  .school-logo-img {
    width: 52px;
    height: 52px;
  }

  /* Hero Section on Mobile */
  .hero-section {
    min-height: 480px;
  }

  .hero-content {
    max-width: 100%;
    padding: 24px 0 16px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.15rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 9px 18px;
    font-size: 0.82rem;
  }

  .hero-slider-arrow {
    display: none;
  }

  .hero-gradient-overlay {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 65%, rgba(255, 255, 255, 0.65) 100%);
  }

  /* Highlights Card */
  .stats-card-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* About S.K.L */
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-headline {
    font-size: clamp(1.6rem, 5.5vw, 2rem);
  }

  .pillars-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Academics */
  .curriculum-cards-wrapper {
    grid-template-columns: 1fr;
  }

  .exam-tabs-wrapper {
    flex-direction: column;
    padding: 24px 18px;
    gap: 20px;
  }

  .exam-tabs-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .exam-tab-btn {
    padding: 12px 10px;
    font-size: 0.82rem;
  }

  .exam-tabs-content {
    width: 100%;
    padding: 0;
  }

  .exam-panel-title {
    font-size: 1.25rem;
  }

  /* Facilities - 2 Columns on Mobile for Roomy Legible Cards */
  .facilities-header-flex,
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .facilities-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Activities / Student Life */
  .activity-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Tri-Grid (Message, Announcements, Achievements) */
  .tri-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

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

  /* Mobile Navigation Drawer */
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: var(--shadow-xl);
    z-index: 3500;
    padding: 24px 20px;
    transition: var(--transition);
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-drawer.open {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .drawer-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy);
  }

  .mobile-drawer-close {
    font-size: 1.6rem;
    color: var(--color-navy);
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    padding-right: 4px;
    margin: 0;
    padding-left: 0;
  }

  .mobile-nav-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
    list-style: none;
  }

  .mobile-nav-item>a {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    padding: 6px 0;
    text-decoration: none;
  }

  .mobile-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    padding: 6px 0;
    cursor: pointer;
    user-select: none;
  }

  .mobile-dropdown-header:hover {
    color: #ff5a00;
  }

  .mobile-dropdown-icon {
    transition: transform 0.2s ease;
    stroke: var(--color-navy);
    flex-shrink: 0;
  }

  .has-mobile-dropdown.open .mobile-dropdown-icon {
    transform: rotate(180deg);
    stroke: #ff5a00;
  }

  .mobile-sub-menu {
    display: none;
    list-style: none;
    padding: 4px 0 6px 12px;
    border-left: 2px solid #ffeedd;
    margin: 4px 0 6px 4px;
  }

  .has-mobile-dropdown.open .mobile-sub-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-sub-menu li {
    list-style: none;
  }

  .mobile-sub-menu li a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    display: block;
    padding: 3px 0;
    text-decoration: none;
  }

  .mobile-sub-menu li a:hover {
    color: #ff5a00;
  }

  .mobile-drawer-footer {
    margin-top: auto;
    padding-top: 16px;
  }

  .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 28, 72, 0.6);
    z-index: 3400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-slider-arrow {
    display: none;
  }

  .pillars-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .activity-cards-grid {
    grid-template-columns: 1fr;
  }

  .management-flex {
    gap: 12px;
  }

  .management-portrait {
    width: 95px;
    height: 127px;
    flex-shrink: 0;
  }

  .management-quote-text {
    font-size: 0.85rem;
    line-height: 1.42;
  }

  .footer-bottom-bar {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   17. INNER PAGES DESIGN SYSTEM (.page-hero, .page-content, components)
   ========================================================================== */

/* Inner Page Hero Banner (School Entrance Background) */
.page-hero,
.page-hero-entrance {
  position: relative;
  background-color: #020f2b;
  background-image: url('../images/school_entrance_banner.jpg');
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 62px 0 58px;
  min-height: 290px;
  display: flex;
  align-items: center;
  color: #ffffff;
  border-bottom: 3px solid var(--color-orange);
}

/* Dual-zone dark overlay: solid on text side (left), translucent on building side (right) */
.page-hero::before,
.page-hero-entrance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
      rgba(2, 15, 43, 0.94) 0%,
      rgba(5, 29, 77, 0.86) 42%,
      rgba(5, 29, 77, 0.52) 72%,
      rgba(2, 15, 43, 0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .page-hero {
    background-position: 70% 30%;
    padding: 50px 0 45px;
    min-height: 250px;
  }

  .page-hero::before {
    background: linear-gradient(180deg,
        rgba(2, 15, 43, 0.92) 0%,
        rgba(5, 29, 77, 0.85) 60%,
        rgba(5, 29, 77, 0.65) 100%);
  }
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 10px;
  font-weight: 500;
}

.page-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumbs a:hover {
  color: var(--color-orange);
}

.page-breadcrumbs .breadcrumb-sep {
  color: #64748b;
  font-size: 0.75rem;
}

.page-breadcrumbs .breadcrumb-current {
  color: var(--color-orange);
  font-weight: 600;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 26, 0.18);
  border: 1px solid rgba(255, 107, 26, 0.45);
  color: #ff9b57;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero.page-hero-about {
  padding-bottom: 85px;
}

.page-hero-subtitle {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.62;
  font-weight: 400;
}

/* Inner Page Content Structure */
.page-content-wrapper {
  background-color: #f8fafc;
  padding: 64px 0 84px;
}

.page-section {
  margin-bottom: 72px;
}

.page-section:last-child {
  margin-bottom: 0;
}

.section-head-center {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 42px;
}

.section-head-left {
  margin-bottom: 36px;
}

.section-pill-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 15px;
}

.section-title-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  color: var(--color-navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  margin-top: 10px;
}

.section-subtitle-muted {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

/* Leadership Full Message Card */
.leadership-full-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(5, 29, 77, 0.05);
  display: flex;
  gap: 36px;
  padding: 36px;
  margin-bottom: 36px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leadership-full-card:hover {
  box-shadow: 0 16px 40px rgba(5, 29, 77, 0.1);
  transform: translateY(-2px);
}

.leadership-portrait-frame {
  width: 220px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(5, 29, 77, 0.12);
  border: 2px solid #ffffff;
  aspect-ratio: 3 / 4;
  background: #051d4d;
}

.leadership-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.leadership-message-body {
  flex: 1;
}

.leadership-role-tag {
  display: inline-block;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.leadership-full-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.leadership-designation {
  font-size: 0.92rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 18px;
}

.leadership-speech-text {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.72;
}

.leadership-speech-text p {
  margin-bottom: 14px;
}

.leadership-speech-text p:last-child {
  margin-bottom: 0;
}

/* Dual Curriculum Cards */
.curriculum-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.curriculum-big-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(5, 29, 77, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.curriculum-big-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(5, 29, 77, 0.1);
}

.curriculum-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.curriculum-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.curriculum-big-card:hover .curriculum-card-img {
  transform: scale(1.04);
}

.curriculum-card-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.curriculum-card-badge {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.curriculum-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.curriculum-card-grades {
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.curriculum-card-desc {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.62;
  margin-bottom: 20px;
  flex: 1;
}

.curriculum-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.curriculum-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 10px;
}

.curriculum-feature-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

/* 4-Step Admission Timeline */
.admission-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.admission-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 22px;
  position: relative;
  box-shadow: 0 6px 20px rgba(5, 29, 77, 0.04);
  text-align: center;
}

.admission-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), #ee5100);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(255, 107, 26, 0.35);
}

.admission-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.admission-step-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* Document Checklist Cards */
.checklist-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 48px;
}

.checklist-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(5, 29, 77, 0.04);
}

.checklist-card-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #334155;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.checklist-item:last-child {
  border-bottom: none;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Admissions Age Criteria Banner */
.admission-age-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 24px 30px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.age-banner-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1d4ed8;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.age-banner-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.3;
}

.age-banner-desc {
  font-size: 0.88rem;
  color: #475569;
  margin-top: 4px;
}

.age-banner-btn {
  padding: 10px 20px;
  white-space: nowrap;
}

/* Admissions Enquiry Form Box & Rows */
.admission-enquiry-box {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(5, 29, 77, 0.05);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

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

.admission-form-submit-wrap {
  text-align: center;
}

.admission-submit-btn {
  padding: 14px 36px;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

/* Admissions Helpline Banner */
.admission-helpline-box {
  background: linear-gradient(135deg, #051d4d, #1e3a8a);
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.helpline-badge {
  color: #ff9b57;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
}

.helpline-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 6px 0 8px;
  color: #ffffff;
  font-weight: 700;
}

.helpline-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0;
}

.helpline-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.helpline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.helpline-btn-primary {
  background-color: #ffffff;
  color: var(--color-navy) !important;
  border: 1.5px solid #ffffff;
}

.helpline-btn-primary:hover {
  background-color: #f1f5f9;
  color: var(--color-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.helpline-btn-alt {
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
}

.helpline-btn-alt:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Facility Showcase Grid (12 Cards) */
.facility-grid-12 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.facility-full-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(5, 29, 77, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.facility-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(5, 29, 77, 0.12);
}

.facility-img-frame {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.facility-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.facility-full-card:hover .facility-img-frame img {
  transform: scale(1.05);
}

.facility-card-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.facility-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.facility-snippet {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  flex: 1;
}

/* Sports & Activities 3-Column Grid */
.sports-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 48px;
}

.sport-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(5, 29, 77, 0.04);
  transition: transform 0.25s;
}

.sport-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(5, 29, 77, 0.09);
}

.sport-img-wrap {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.sport-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport-card-info {
  padding: 18px 20px;
}

.sport-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.sport-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* Cultural Heritage & Celebrations Grid (Student Life Page) */
.events-celebrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.event-celebration-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(5, 29, 77, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-celebration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(5, 29, 77, 0.10);
}

.event-card-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #051d4d;
}

.event-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-celebration-card:hover .event-card-img-wrap img {
  transform: scale(1.04);
}

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

.event-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: inline-block;
}

.event-card-tag.tag-orange {
  color: #ea580c;
}

.event-card-tag.tag-green {
  color: #16a34a;
}

.event-card-tag.tag-blue {
  color: #2563eb;
}

.event-card-tag.tag-purple {
  color: #9333ea;
}

.event-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-navy);
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.3;
}

.event-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Achievements Key Highlights Ribbon */
.achievements-stats-ribbon {
  background: linear-gradient(135deg, #051d4d, #1e3a8a);
  border-radius: 16px;
  padding: 36px 40px;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(5, 29, 77, 0.12);
  margin-bottom: 48px;
}

.stat-ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease;
}

.stat-ribbon-item:hover {
  transform: translateY(-2px);
}

.stat-ribbon-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff9b57;
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: color 0.3s ease;
}

.stat-ribbon-item:hover .stat-ribbon-num {
  color: #ffb07a;
}

.stat-ribbon-label {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.35;
}

.stat-ribbon-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.3;
}

/* Achievements Full Showcase */
.achievement-awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.achievement-award-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(5, 29, 77, 0.05);
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: center;
  transition: transform 0.25s;
}

.achievement-award-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(5, 29, 77, 0.09);
}

.achievement-card-photo {
  width: 180px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
}

.achievement-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achievement-card-details {
  flex: 1;
}

.achievement-cat-pill {
  display: inline-block;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.achievement-card-heading {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.achievement-card-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* Achievements Board Results Showcase */
.board-results-showcase {
  background: #ffffff;
  padding: 44px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(5, 29, 77, 0.04);
}

.board-results-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.board-results-desc {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.board-results-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.board-results-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-orange, #ff5a00);
  color: #ffffff !important;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 90, 0, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.board-results-btn:hover {
  background-color: #e04f00;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 90, 0, 0.35);
}

.board-edge-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
}

.board-edge-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.board-edge-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-edge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #334155;
}

.board-edge-item:last-child {
  margin-bottom: 0;
}

.edge-check-icon {
  color: #16a34a;
  font-weight: 800;
  flex-shrink: 0;
}

/* Gallery Filter Tabs & Grid */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 26, 0.3);
}

/* Gallery Highlight Video Feature Card */
.gallery-video-card {
  margin-bottom: 36px;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(5, 29, 77, 0.05);
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.gallery-video-info {
  display: flex;
  flex-direction: column;
}

.gallery-video-title {
  font-family: var(--font-display), 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 10px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.gallery-video-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.gallery-video-bullets {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.gallery-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: #031435;
}

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

/* Responsive Rules for Gallery Components */
@media (max-width: 900px) {
  .gallery-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-video-card {
    padding: 24px 20px;
  }

  .gallery-video-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 860px) {
  .gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 28px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 640px) {
  .gallery-video-card {
    padding: 18px 16px;
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .gallery-video-grid {
    gap: 16px;
  }

  .gallery-video-title {
    font-size: 1.18rem;
    margin-top: 8px;
    margin-bottom: 10px;
  }

  .gallery-video-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .gallery-video-bullets {
    font-size: 0.80rem;
    line-height: 1.45;
  }
}

@media (max-width: 520px) {
  .gallery-filter-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 24px auto;
  }

  .filter-btn {
    width: 100%;
    padding: 8px 6px;
    font-size: 0.80rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40px;
    line-height: 1.25;
    white-space: normal;
    border-radius: 9999px;
    box-sizing: border-box;
  }
}

.gallery-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  background-color: #051d4d;
}

.gallery-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(5, 29, 77, 0.20);
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Default overlay & heading visible on all cards */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 29, 77, 0.92) 0%, rgba(5, 29, 77, 0.55) 40%, rgba(5, 29, 77, 0) 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  opacity: 1;
  transition: background 0.35s ease, padding 0.35s ease;
  pointer-events: none;
}

.gallery-item-card:hover .gallery-item-overlay {
  background: linear-gradient(to top, rgba(5, 29, 77, 0.96) 0%, rgba(5, 29, 77, 0.65) 48%, rgba(5, 29, 77, 0.15) 85%);
  padding-bottom: 22px;
}

.gallery-overlay-cat {
  color: #ff9b57;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  margin-bottom: 4px;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.gallery-overlay-title {
  color: #ffffff;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* See More Button & Actions Container */
.gallery-actions-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 24px;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-navy) 0%, #0a2d6b 100%);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 32px;
  border-radius: 9999px;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(5, 29, 77, 0.18);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-see-more:hover {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.35);
  color: #ffffff !important;
}

.btn-see-more .btn-arrow-icon {
  transition: transform 0.25s ease;
}

.btn-see-more:hover .btn-arrow-icon {
  transform: translateY(3px);
}

/* Fade-in Animation for Loaded Cards */
.gallery-item-card.gallery-fade-in {
  animation: galleryCardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes galleryCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Contact Page Layout */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.contact-info-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(5, 29, 77, 0.05);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 14px;
}

.contact-detail-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-detail-row:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text-box h5 {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-text-box p,
.contact-text-box a {
  color: #1e293b;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
}

.contact-text-box a:hover {
  color: var(--color-orange);
}

.contact-form-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(5, 29, 77, 0.05);
}

.map-embed-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(5, 29, 77, 0.05);
  height: 380px;
}

.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Rules for Inner Pages */
@media (max-width: 1024px) {

  .curriculum-dual-grid,
  .checklist-dual-grid,
  .contact-page-grid,
  .achievement-awards-grid {
    grid-template-columns: 1fr;
  }

  .facility-grid-12,
  .sports-cards-grid,
  .gallery-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .leadership-full-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leadership-portrait-frame {
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {

  .facility-grid-12,
  .sports-cards-grid,
  .gallery-photos-grid,
  .admission-steps-grid {
    grid-template-columns: 1fr;
  }

  .achievement-award-card {
    flex-direction: column;
    text-align: center;
  }

  .achievement-card-photo {
    width: 100%;
    height: auto;
  }

  .page-hero {
    padding: 38px 0 36px;
  }

  .leadership-full-card {
    padding: 22px;
  }
}

/* ==========================================================================
   17.1 CREATIVE ANIMATIONS & ABOUT PAGE REDESIGN SYSTEM
   ========================================================================== */

/* Keyframe Animations */
@keyframes floatOrb1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -25px) scale(1.12);
  }
}

@keyframes floatOrb2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-35px, 20px) scale(1.15);
  }
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.45);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 26, 0);
  }
}

@keyframes shimmerSweep {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated Page Hero */
.page-hero-creative {
  background: linear-gradient(135deg, #020f2b 0%, #051d4d 50%, #072a6b 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0 120px;
  min-height: 490px;
  display: flex;
  align-items: center;
  color: #ffffff;
  border-bottom: 3px solid var(--color-orange);
}

/* Hero Banner: Image-backed variant (About Us + other inner pages) */
.page-hero-with-img {
  background-color: #020f2b;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Dark overlay so white text remains legible over the image */
.page-hero-with-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(2, 15, 43, 0.82) 0%,
      rgba(5, 29, 77, 0.68) 55%,
      rgba(7, 42, 107, 0.40) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Push orbs and header above the dark overlay */
.page-hero-with-img .hero-orb-1,
.page-hero-with-img .hero-orb-2 {
  z-index: 3;
}

.page-hero-with-img .header-container {
  z-index: 5 !important;
}

/* About Us Hero with Authentic Campus Entrance Photo */
.page-hero-entrance {
  position: relative;
  background-color: #020f2b;
  background-image: url('../images/school_entrance_banner.jpg');
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  padding: 62px 0 58px;
  min-height: 290px;
  display: flex;
  align-items: center;
  color: #ffffff;
  border-bottom: 3px solid var(--color-orange);
  overflow: hidden;
}

/* Dual-zone dark overlay: solid on text side (left), translucent on building side (right) */
.page-hero-entrance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
      rgba(2, 15, 43, 0.94) 0%,
      rgba(5, 29, 77, 0.86) 42%,
      rgba(5, 29, 77, 0.52) 72%,
      rgba(2, 15, 43, 0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero-entrance .page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 768px) {
  .page-hero-entrance {
    background-position: 70% 30%;
    padding: 50px 0 45px;
    min-height: 250px;
  }

  .page-hero-entrance::before {
    background: linear-gradient(180deg,
        rgba(2, 15, 43, 0.92) 0%,
        rgba(5, 29, 77, 0.85) 60%,
        rgba(5, 29, 77, 0.65) 100%);
  }
}

.page-hero-creative .header-container {
  width: 100%;
}

.page-hero-creative .page-breadcrumbs {
  margin-bottom: 18px;
}

.page-hero-creative .page-hero-title {
  font-size: clamp(2.6rem, 5.2vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.page-hero-creative .page-hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  letter-spacing: 0.02em;
  max-width: 820px;
}

.page-hero-creative .hero-orb-1 {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.22) 0%, rgba(255, 107, 26, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb1 12s ease-in-out infinite;
  z-index: 1;
}

.page-hero-creative .hero-orb-2 {
  position: absolute;
  bottom: -35%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb2 15s ease-in-out infinite;
  z-index: 1;
}

.hero-pill-badge-animated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 26, 0.18);
  border: 1.5px solid rgba(255, 107, 26, 0.55);
  color: #ff9b57;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-pill-badge-animated .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6600;
  animation: pulseGlow 2s infinite;
}

/* Floating Glassmorphism Hero Stats Bar */
.about-hero-stats-wrap {
  margin-top: -65px;
  position: relative;
  z-index: 20;
  margin-bottom: 60px;
}

.about-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-counter-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 24px 20px;
  box-shadow: 0 12px 32px rgba(5, 29, 77, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), #f97316);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-counter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(5, 29, 77, 0.13);
}

.stat-counter-card:hover::before {
  opacity: 1;
}

.stat-icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all 0.3s ease;
}

/* .stat-counter-card:hover .stat-icon-bubble {
  transform: scale(1.1) rotate(4deg);
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
} */

.stat-counter-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-counter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Creative Heritage Section & Layered Image */
.about-section-header {
  margin-bottom: 28px;
  max-width: 840px;
}

.about-section-header .section-pill-tag {
  margin-bottom: 12px;
}

.about-section-header .section-title-lg {
  margin-bottom: 0;
  line-height: 1.25;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.about-story-content {
  display: flex;
  flex-direction: column;
}

.about-story-lead {
  color: #1e293b;
  font-size: 1.04rem;
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 500;
  text-align: justify;
  /* text-justify: inter-word; */
  hyphens: auto;
  text-indent: 4rem;
}

.about-story-body {
  color: #1e293b;
  font-size: 1.04rem;
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 500;
  margin-bottom: 22px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;

}

/* About Mission Highlight Quote */
.about-mission-quote {
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: auto;
  transition: all 0.3s ease;
}

.about-mission-quote:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(8, 29, 88, 0.05);
}

.mission-quote-bar {
  width: 4px;
  background: var(--color-orange);
  border-radius: 9999px;
  flex-shrink: 0;
}

.mission-quote-content {
  flex: 1;
}

.mission-quote-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 6px;
}

.about-mission-quote p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.65;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

.about-story-media {
  display: flex;
  width: 100%;
}

/* About Campus Showcase Card (Right Column) */
.about-campus-showcase-card {
  background: #ffffff;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(8, 29, 88, 0.08);
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-campus-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(8, 29, 88, 0.12);
}

.campus-showcase-img-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 340px;
  overflow: hidden;
  background: #051d4d;
}

.campus-showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-campus-showcase-card:hover .campus-showcase-img-wrap img {
  transform: scale(1.02);
}

.campus-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--color-navy);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.campus-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
}

.campus-showcase-caption {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.campus-showcase-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.about-campus-showcase-card:hover .campus-showcase-icon {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
}

.campus-caption-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 2px;
  line-height: 1.25;
}

.campus-caption-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   REDESIGNED CONNECTED JOURNEY TIMELINE (CONNECTED PROGRESS TRACK)
   ========================================================================== */
.connected-journey-container {
  margin-top: 54px;
  position: relative;
  width: 100%;
}

.journey-track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  align-items: stretch;
}

/* Connecting Horizontal Track Line */
.journey-track-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: #cbd5e1;
  z-index: 1;
  border-radius: 9999px;
}

.journey-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
  height: 100%;
}

/* Node circle sitting on the track line */
.journey-step-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-navy);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(8, 29, 88, 0.1);
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.journey-step-item:hover .journey-step-node {
  transform: scale(1.12);
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.35);
}

/* Card beneath node - Simple clean colors matching homepage */
.journey-step-card {
  width: 100%;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(8, 29, 88, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.journey-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e2e8f0;
  transition: background 0.3s ease;
}

.journey-step-item:hover .journey-step-card {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: 0 14px 32px rgba(8, 29, 88, 0.08);
}

.journey-step-item:hover .journey-step-card::before {
  background: var(--color-orange);
}

/* Unified Year Badge - Matching Homepage Style */
.journey-step-year {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: var(--color-navy);
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.journey-step-item:hover .journey-step-year {
  background: #fff7ed;
  color: var(--color-orange);
  border-color: #fed7aa;
}

.journey-step-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  line-height: 1.25;
}

.journey-step-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

/* ==========================================================================
   REDESIGNED PILLARS SHOWCASE (VISION, MISSION, CREED) - HOMEPAGE UNIFIED
   ========================================================================== */
.pillars-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.premium-pillar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(8, 29, 88, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: 0 16px 36px rgba(255, 102, 0, 0.12);
}

/* Watermark Background Glyph */
.pillar-watermark {
  position: absolute;
  right: -15px;
  bottom: -20px;
  font-size: 9rem;
  font-weight: 900;
  font-family: var(--font-heading);
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  color: var(--color-navy);
}

/* Pillar Top Header */
.pillar-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pillar-category-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: var(--color-navy);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.premium-pillar-card:hover .pillar-category-pill {
  background: #fff7ed;
  color: var(--color-orange);
  border-color: #fed7aa;
}

.pillar-icon-badge-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(8, 29, 88, 0.14);
  transition: all 0.35s ease;
}

.premium-pillar-card:hover .pillar-icon-badge-lg {
  transform: scale(1.1) rotate(4deg);
  background: var(--color-orange);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.pillar-main-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.pillar-subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: 18px;
}

.pillar-narrative {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

/* Vision Specific Highlight */
.vision-highlight-box {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vision-highlight-box svg {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mission Specific Checklist */
.mission-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mission-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.86rem;
  color: #1e293b;
  font-weight: 600;
}

.mission-check-row svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

/* Creed Letter Cards (S, K, L) */
.creed-letters-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.creed-letter-card {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.creed-letter-card:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: #cbd5e1;
}

.creed-letter-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(8, 29, 88, 0.15);
  transition: background 0.25s ease;
}

.creed-letter-card:hover .creed-letter-badge {
  background: var(--color-orange);
}

.creed-letter-content h5 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.creed-letter-content p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

.creed-letter-content p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}


/* ==========================================================================
   Interactive Leadership Spotlight Stage
   ========================================================================== */
.leadership-stage-container {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 44px rgba(5, 29, 77, 0.06);
  padding: 40px;
  overflow: hidden;
}

/* Leadership Tab Switcher Bar */
.leadership-tabs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.lead-tab-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  user-select: none;
}

.lead-tab-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 29, 77, 0.05);
}

.lead-tab-card.active {
  background: #ffffff;
  border-color: var(--color-orange);
  box-shadow: 0 10px 26px rgba(255, 107, 26, 0.16);
  transform: translateY(-3px);
}

.lead-tab-card.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-orange);
}

.lead-tab-thumb {
  width: 48px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #051d4d;
}

.lead-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lead-tab-info {
  flex: 1;
  min-width: 0;
}

.lead-tab-role {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.lead-tab-name {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active Spotlight Showcase Display */
.leadership-spotlight-panel {
  display: none;
  animation: tabFadeIn 0.45s ease forwards;
}

.leadership-spotlight-panel.active {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  align-items: flex-start;
}

.lead-spotlight-portrait-wrap {
  position: relative;
}

.lead-spotlight-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(255, 107, 26, 0.4);
  box-shadow: 0 16px 36px rgba(5, 29, 77, 0.16);
  background: #051d4d;
}

.lead-spotlight-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lead-quote-symbol {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), #ea580c);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(255, 107, 26, 0.4);
  animation: floatBadge 3.5s ease-in-out infinite;
}

.lead-spotlight-body {
  flex: 1;
}

.lead-spotlight-badge {
  display: inline-block;
  background: #fff7ed;
  color: #ea580c;
  /* border: 1px solid #fed7aa; */
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.lead-spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.lead-spotlight-designation {
  font-size: 0.94rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.lead-spotlight-quote-callout {
  background: #f8fafc;
  border-left: 4px solid var(--color-orange);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: #0f172a;
  line-height: 1.68;
  margin-bottom: 18px;
}

.lead-spotlight-speech {
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.74;
}

.lead-spotlight-speech p {
  margin-bottom: 14px;
}

.lead-spotlight-speech p:last-child {
  margin-bottom: 0;
}

/* Why Choose S.K.L Feature Grid */
.why-skl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 8px 24px rgba(5, 29, 77, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-feature-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(5, 29, 77, 0.09);
}

.why-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.why-feature-card:hover .why-feature-icon {
  transform: scale(1.12) rotate(4deg);
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
}

.why-feature-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.why-feature-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.58;
}

/* Ambient Video Showcase */
.video-ambient-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 44px rgba(5, 29, 77, 0.06);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.video-player-glow-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(5, 29, 77, 0.16);
  border: 3px solid #ffffff;
  position: relative;
}

.video-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.video-feature-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-feature-chip svg {
  color: var(--color-orange);
}

/* ==========================================================================
   Responsive Rules for Inner Pages (About Us, Academics, Admissions)
   ========================================================================== */

/* Tablet Landscape & Medium Desktops (<= 1024px) */
@media (max-width: 1024px) {
  /* About Us Page */
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-campus-showcase-card {
    height: auto;
  }

  .campus-showcase-img-wrap {
    min-height: 250px;
    aspect-ratio: 16 / 10;
  }

  .about-mission-quote {
    margin-top: 20px;
  }

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

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

  .journey-track-grid::before {
    display: none;
  }

  .pillars-premium-grid {
    grid-template-columns: 1fr;
  }

  /* Leadership Tabs - 2x2 Grid with Left Accent Indicator */
  .leadership-tabs-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .lead-tab-card.active {
    border-left: 4px solid var(--color-orange);
  }

  .lead-tab-card.active::after {
    display: none;
  }

  /* Leadership Spotlight Panel - Clean Editorial Layout */
  .leadership-spotlight-panel.active {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .lead-spotlight-portrait-wrap {
    max-width: 220px;
    margin: 0 auto 20px;
  }

  .lead-spotlight-quote-callout {
    text-align: left;
  }

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

  /* Academics - Exam Cycle Tabs (Top Bar with 3 Columns) */
  .exam-tabs-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
  }

  .exam-tabs-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .exam-tabs-content {
    width: 100%;
    padding: 0;
  }

  /* Academics - Teaching Methodology */
  .methodology-card-wrapper {
    padding: 32px 24px;
  }

  /* Admissions - Age Banner & Form Box */
  .admission-age-banner {
    padding: 20px 24px;
  }

  .admission-enquiry-box {
    padding: 36px 30px;
  }

  /* Student Life - Cultural Heritage Grid */
  .events-celebrations-grid {
    gap: 24px;
  }

  .event-card-body {
    padding: 22px 20px;
  }

  .event-card-img-wrap {
    height: 200px;
  }

  .event-card-title {
    font-size: 1.22rem;
  }

  /* Achievements Page */
  .achievements-stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 28px 24px;
  }

  .board-results-showcase {
    padding: 36px 28px;
  }

  .board-results-grid {
    gap: 28px;
  }
}

/* Tablet Portrait (<= 768px) */
@media (max-width: 768px) {
  .page-hero-creative {
    padding: 75px 0 95px;
    min-height: auto;
  }

  .page-hero {
    background-position: 70% 30%;
    padding: 48px 0 42px;
    min-height: 230px;
  }

  .page-content-wrapper {
    padding: 48px 0 60px;
  }

  .page-section {
    margin-bottom: 56px;
  }

  /* About Story Readability */
  .about-story-lead,
  .about-story-body {
    text-align: left;
  }

  .about-story-lead {
    text-indent: 0;
  }

  /* Academics - Dual Curriculum Cards */
  .curriculum-card-img-wrap {
    min-height: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .curriculum-card-body {
    padding: 24px 20px;
  }

  /* Academics - Teaching Methodology */
  .methodology-card-wrapper {
    padding: 28px 20px;
  }

  .methodology-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .methodology-pillar-card {
    padding: 20px 18px;
  }

  /* Admissions - Form Single Column Flow */
  .admission-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Admissions - Helpline Stack */
  .admission-helpline-box {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .helpline-btn-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Student Life - Cultural Heritage Grid (1 Column) */
  .events-celebrations-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .event-card-img-wrap {
    height: 220px;
    aspect-ratio: 16 / 9;
  }

  .event-card-body {
    padding: 22px 20px;
  }

  .event-card-title {
    font-size: 1.25rem;
  }

  /* Achievements Page */
  .board-results-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .achievements-stats-ribbon {
    padding: 24px 18px;
    gap: 16px;
  }

  .stat-ribbon-num {
    font-size: 2rem;
  }

  .achievement-award-card {
    text-align: left;
  }
}

/* Large Mobile & Phablet (<= 640px) */
@media (max-width: 640px) {
  .page-hero-creative {
    padding: 60px 0 80px;
  }

  .page-hero {
    padding: 38px 0 34px;
    min-height: 200px;
  }

  .page-hero-title {
    font-size: 1.65rem;
  }

  .page-hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .about-section-header {
    margin-bottom: 22px;
  }

  .about-story-lead,
  .about-story-body {
    font-size: 0.98rem;
    line-height: 1.74;
    text-indent: 0;
    text-align: left;
  }

  .about-mission-quote {
    padding: 16px 18px;
    gap: 14px;
  }

  .about-mission-quote p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .campus-showcase-img-wrap {
    min-height: 220px;
  }

  /* Leadership Stage & Single Column Tabs */
  .leadership-stage-container {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .leadership-tabs-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 26px;
  }

  .lead-tab-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .lead-tab-thumb {
    width: 44px;
    height: 52px;
  }

  .lead-tab-role {
    font-size: 0.74rem;
  }

  .lead-tab-name {
    font-size: 0.88rem;
  }

  .lead-spotlight-title {
    font-size: 1.45rem;
  }

  .lead-spotlight-designation {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .lead-spotlight-speech {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .lead-spotlight-speech p {
    margin-bottom: 12px;
  }

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

  .journey-track-grid {
    grid-template-columns: 1fr;
  }

  .why-skl-grid {
    grid-template-columns: 1fr;
  }

  .video-ambient-panel {
    padding: 24px;
  }

  /* Academics - Exam Tabs (2-Column Grid) */
  .exam-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .exam-tab-btn {
    padding: 11px 8px;
    font-size: 0.8rem;
  }

  /* Admissions - 4-Step Timeline */
  .admission-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .admission-step-card {
    padding: 20px 18px;
  }

  .admission-step-num {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  /* Admissions - Age Banner Vertical */
  .admission-age-banner {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .age-banner-title {
    font-size: 1.2rem;
  }

  .age-banner-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Admissions - Checklist Card */
  .checklist-card {
    padding: 22px 18px;
  }

  /* Student Life - Cultural Heritage Grid */
  .events-celebrations-grid {
    gap: 20px;
  }

  .event-card-img-wrap {
    height: 210px;
  }

  .event-card-body {
    padding: 20px 18px;
  }

  /* Achievements Page */
  .board-results-actions {
    margin-top: 20px;
    width: 100%;
  }

  .board-results-actions .board-results-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 13px 20px;
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  /* Safe Container Gutters on Mobile */
  .header-container {
    padding: 0 16px;
  }

  /* Compact Hero Header */
  .page-hero {
    padding: 32px 0 28px;
    min-height: 180px;
  }

  .page-hero-title {
    font-size: 1.45rem;
  }

  .page-hero-subtitle {
    font-size: 0.86rem;
    line-height: 1.52;
  }

  /* Content Wrapper & Section Spacing */
  .page-content-wrapper {
    padding: 32px 0 44px;
  }

  .page-section {
    margin-bottom: 40px;
  }

  /* Section Titles & Badges */
  .section-pill-tag {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-top: 8px;
  }

  .section-title-lg {
    font-size: 1.28rem;
    line-height: 1.28;
    margin-top: 8px;
  }

  .section-head-center {
    margin-bottom: 22px;
  }

  /* About Story Section */
  .about-story-grid {
    gap: 22px;
  }

  .about-story-lead,
  .about-story-body {
    font-size: 0.92rem;
    line-height: 1.68;
    margin-bottom: 14px;
    text-indent: 0;
    text-align: left;
  }

  .about-mission-quote {
    padding: 14px 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .mission-quote-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .about-mission-quote p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  /* Campus Showcase Card */
  .campus-showcase-img-wrap {
    min-height: 190px;
  }

  .campus-badge-top {
    font-size: 0.7rem;
    padding: 3px 10px;
    top: 10px;
    right: 10px;
  }

  .campus-showcase-caption {
    padding: 12px 14px;
    gap: 10px;
  }

  .campus-showcase-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .campus-showcase-icon svg {
    width: 18px;
    height: 18px;
  }

  .campus-caption-title {
    font-size: 0.88rem;
  }

  .campus-caption-subtitle {
    font-size: 0.75rem;
  }

  /* Leadership Stage & Compact Tabs */
  .leadership-stage-container {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .leadership-tabs-row {
    gap: 8px;
    margin-bottom: 20px;
  }

  .lead-tab-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 10px;
  }

  .lead-tab-thumb {
    width: 40px;
    height: 48px;
    border-radius: 6px;
  }

  .lead-tab-role {
    font-size: 0.7rem;
  }

  .lead-tab-name {
    font-size: 0.82rem;
  }

  /* Leadership Spotlight Editorial Body */
  .lead-spotlight-portrait-wrap {
    max-width: 180px;
    margin: 0 auto 16px;
  }

  .lead-quote-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    top: -8px;
    right: -8px;
  }

  .lead-spotlight-badge {
    font-size: 0.68rem;
    padding: 3px 10px;
  }

  .lead-spotlight-title {
    font-size: 1.25rem;
  }

  .lead-spotlight-designation {
    font-size: 0.82rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .lead-spotlight-speech {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .lead-spotlight-speech p {
    margin-bottom: 10px;
  }

  .lead-spotlight-quote-callout {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  /* Academics - Dual Curriculum Cards */
  .curriculum-card-body {
    padding: 18px 14px;
  }

  .curriculum-card-title {
    font-size: 1.25rem;
  }

  .curriculum-card-img-wrap {
    min-height: 180px;
  }

  .curriculum-card-desc {
    font-size: 0.88rem;
  }

  .curriculum-feature-item {
    font-size: 0.86rem;
  }

  /* Academics - Teaching Methodology */
  .methodology-card-wrapper {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .methodology-pillar-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .methodology-pillar-title {
    font-size: 1.05rem;
  }

  .methodology-pillar-body {
    font-size: 0.88rem;
  }

  .methodology-lead-text {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .methodology-body-text {
    font-size: 0.90rem;
    line-height: 1.65;
  }

  .methodology-quote-box {
    padding: 14px 14px;
    border-radius: 12px;
  }

  .methodology-quote-text {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  /* Academics - Exam Cycle Tabs & Content */
  .exam-tabs-wrapper {
    padding: 18px 14px;
    border-radius: 14px;
    gap: 16px;
  }

  .exam-tab-btn {
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    padding: 10px 6px;
  }

  .exam-panel-title {
    font-size: 1.2rem;
  }

  .exam-bullet-list {
    gap: 14px;
  }

  .exam-bullet-item {
    gap: 12px;
    font-size: 0.88rem;
  }

  /* Admissions - Steps Timeline */
  .admission-step-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  /* Admissions - Document Checklists */
  .checklist-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .checklist-card-title {
    font-size: 1.1rem;
    gap: 8px;
  }

  .checklist-item {
    font-size: 0.88rem;
    padding: 8px 0;
  }

  /* Admissions - Enquiry Form */
  .admission-enquiry-box {
    padding: 22px 14px;
    border-radius: 14px;
  }

  .admission-form-grid {
    gap: 12px;
    margin-bottom: 12px;
  }

  .admission-submit-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.96rem;
  }

  /* Admissions - Helpline Banner */
  .admission-helpline-box {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .helpline-title {
    font-size: 1.25rem;
  }

  .helpline-btn-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .helpline-btn-group .helpline-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  /* Student Life - Cultural Heritage Grid Mobile */
  .events-celebrations-grid {
    gap: 18px;
    margin-bottom: 36px;
  }

  .event-celebration-card {
    border-radius: 14px;
  }

  .event-card-img-wrap {
    height: 185px;
  }

  .event-card-body {
    padding: 18px 15px;
  }

  .event-card-tag {
    font-size: 0.68rem;
  }

  .event-card-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .event-card-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Achievements Page Mobile */
  .achievements-stats-ribbon {
    padding: 18px 12px;
    gap: 14px 10px;
    border-radius: 14px;
    margin-bottom: 36px;
  }

  .stat-ribbon-num {
    font-size: 1.75rem;
  }

  .stat-ribbon-label {
    font-size: 0.82rem;
  }

  .stat-ribbon-sub {
    font-size: 0.72rem;
  }

  .achievement-award-card {
    padding: 15px 12px;
    border-radius: 12px;
  }

  .achievement-card-heading {
    font-size: 1.1rem;
  }

  .achievement-card-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .board-results-showcase {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .board-edge-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .board-edge-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .board-edge-item {
    font-size: 0.86rem;
    gap: 8px;
    margin-bottom: 10px;
  }

  .board-results-actions {
    margin-top: 18px;
    width: 100%;
  }

  .board-results-actions .board-results-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.90rem;
  }
}