/*
Theme Name: St. Theresa's High School
Theme URI: https://sttheresasschool.ac.in
Author: Sathyaseelan
Author URI: https://gsathya.com
Description: Custom modern WordPress theme for St. Theresa's High School with ACF Pro integration, CBSE Curriculum showcase, responsive design, and Rank Math SEO optimization.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: sttheresas
*/

/* ==========================================================================
   St. Theresa's High School - Modern Design System & Stylesheet
   ========================================================================== */

:root {
  --primary: #074B75;
  --primary-dark: #032B45;
  --primary-light: #00609E;
  --primary-gradient: linear-gradient(135deg, #074B75 0%, #00609E 100%);
  --accent-red: #BD2325;
  --accent-red-hover: #9B1B1D;
  --accent-gold: #D97706;
  --accent-gold-light: #FEF3C7;
  
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  --bg-dark: #061F33;
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  --border-light: rgba(255, 255, 255, 0.15);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 10px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 30px -5px rgba(0,0,0,0.12), 0 10px 15px -5px rgba(0,0,0,0.06);
  --shadow-hover: 0 15px 35px rgba(7, 75, 117, 0.18);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   Utility Classes & Badges
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 75, 117, 0.08);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge.badge-white {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-badge.badge-red {
  background: rgba(189, 35, 37, 0.1);
  color: var(--accent-red);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(189, 35, 37, 0.35);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189, 35, 37, 0.45);
}

.btn-secondary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(7, 75, 117, 0.3);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 75, 117, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* Marquee Notification Bar */
.ticker-bar {
  background: var(--accent-red);
  color: var(--text-white);
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.ticker-badge-col {
  flex-shrink: 0;
  z-index: 20;
  background: #96191b;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.ticker-badge {
  background: #fff;
  color: var(--accent-red);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.ticker-track {
  flex: 1;
  height: 100%;
  overflow: hidden; /* HARD CUTOFF: Scrolling text strictly ends here and NEVER goes behind the badge */
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  display: inline-block;
  padding-left: 100%;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
}

.ticker-track:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Top Utility Bar */
.top-bar {
  background: var(--primary-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2E8F0;
}

.top-contact a:hover {
  color: #fff;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.top-social a {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
}

.top-social a:hover {
  background: var(--accent-red);
}

/* Main Navigation */
.main-header {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img,
.brand-logo .logo-img {
  height: 82px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.brand-logo:hover img,
.brand-logo:hover .logo-img {
  transform: scale(1.04);
}

.brand-logo .logo-text {
  display: none !important;
}

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

@media (min-width: 993px) {
  .nav-list,
  .nav-links,
  ul#menu-primary-navigation,
  .nav-menu > ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap;
  }
}

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

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: var(--transition);
}

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

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--primary);
}

/* Dropdown */
.dropdown-menu,
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  min-width: 230px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  list-style: none !important;
  margin: 0 !important;
}

.nav-item:hover .dropdown-menu,
.nav-item:hover .sub-menu,
.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a,
.sub-menu a,
.sub-menu li a {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
  transition: var(--transition);
  text-decoration: none !important;
  white-space: nowrap !important;
}

.dropdown-menu a:hover,
.sub-menu a:hover,
.sub-menu li a:hover {
  background: var(--bg-alt) !important;
  color: var(--primary) !important;
  padding-left: 1.5rem !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.mobile-drawer-footer {
  display: none !important;
}

.nav-overlay {
  display: none;
}

/* Desktop Dropdown Chevron Indicator */
ul#menu-primary-navigation > li.menu-item-has-children > a::after,
.nav-list > li.has-dropdown > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.68rem;
  color: #94A3B8;
  margin-left: 0.35rem;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
  vertical-align: middle;
}

ul#menu-primary-navigation > li.menu-item-has-children:hover > a::after,
.nav-list > li.has-dropdown:hover > a::after {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #074B75 0%, #032B45 100%);
  color: var(--text-white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 96, 158, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFDF80;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: #6EE7B7;
  display: block;
  font-size: 2.15rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Showcase Media Frame & Horizontal Strips */
.hero-visual {
  position: relative;
  max-width: 540px;
  margin: 1.5rem auto;
}

.hero-img-wrap,
.hero-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 4px solid rgba(255, 255, 255, 0.2);
  background: #032B45;
}

.hero-img-wrap img,
.hero-img-wrapper img,
.hero-main-img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-wrap:hover img,
.hero-img-wrapper:hover img {
  transform: scale(1.035);
}

/* Horizontal Hero Strips (Top & Bottom) */
.hero-strip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 490px;
  background: #FFFFFF;
  color: var(--text-main);
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.38), 0 4px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-strip-top {
  top: -20px;
}

.hero-strip-bottom {
  bottom: -20px;
}

.hero-strip:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 20px 42px -6px rgba(0, 0, 0, 0.45);
}

.hero-strip-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.hero-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-strip-icon.icon-blue {
  background: linear-gradient(135deg, #032B45 0%, #0F52BA 100%);
  color: #FFFFFF;
}

.hero-strip-icon.icon-gold {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #FFFFFF;
}

.hero-strip-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-strip-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #032B45;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-strip-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748B;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-strip-badge.badge-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.hero-strip-badge.badge-gold {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* Hide legacy floating badges if present */
.floating-badge {
  display: none !important;
}

/* ==========================================================================
   Pillars & Key Highlights Strip
   ========================================================================== */
.highlights-strip {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 4rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.highlight-card {
  background: var(--bg-card);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.highlight-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(7, 75, 117, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.highlight-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 4rem 0 5rem;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-quote {
  background: linear-gradient(135deg, rgba(7, 75, 117, 0.05) 0%, rgba(189, 35, 37, 0.05) 100%);
  border-left: 4px solid var(--accent-red);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.about-content p {
  color: #475569;
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.legacy-box {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary);
}

.legacy-box h4 {
  color: var(--accent-red);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

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

.about-gallery-grid img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 230px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.about-gallery-grid img:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   Campus Life Slider & Admission Form
   ========================================================================== */
.campus-admission-section {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.admission-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: stretch;
}

/* Slider Styles */
.slider-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.slider-header {
  padding: 1.75rem 2rem 1rem;
}

.slider-viewport {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  flex-grow: 1;
  width: 100%;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  padding: 2rem 1.5rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-top: 1px solid var(--border-color);
}

.slider-btn {
  background: var(--bg-alt);
  color: var(--primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* Admission Form Card */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-badge {
  background: #FEF2F2;
  color: var(--accent-red);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #fff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 75, 117, 0.15);
}

.btn-form-submit {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Complete School Experience (Checklist)
   ========================================================================== */
.experience-section {
  padding: 5rem 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: stretch;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--bg-card);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.check-item:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.experience-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  height: 100%;
}

.experience-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   Facilities Section (Flip / Modern Cards)
   ========================================================================== */
.facilities-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  padding: 5rem 0;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.facility-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.facility-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

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

.facility-card:hover .facility-img img {
  transform: scale(1.08);
}

.facility-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.facility-body {
  padding: 1.75rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.facility-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  min-height: 58px;
  display: flex;
  align-items: flex-start;
}

.facility-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.facility-body a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-top: auto;
}

.facility-body a:hover {
  gap: 0.7rem;
}

/* ==========================================================================
   Academic Pillars
   ========================================================================== */
.pillars-section {
  padding: 5rem 0;
  background: #FFFFFF;
}

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

.pillar-card {
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pillar-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.pillar-content {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* ==========================================================================
   Live Counters Section
   ========================================================================== */
.counters-section {
  background: linear-gradient(135deg, #074B75 0%, #032B45 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  align-items: stretch;
}

.counter-item {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.counter-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.counter-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFDF80;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #E2E8F0;
}

/* ==========================================================================
   Events Section
   ========================================================================== */
.events-section {
  padding: 5rem 0;
  background: var(--bg-body);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.event-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

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

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-red);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  line-height: 1.1;
  box-shadow: var(--shadow-md);
}

.event-date-badge .day {
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
}

.event-date-badge .month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.95rem;
  background: #F8FAFC;
  border-radius: var(--radius-md, 8px);
  border: 1px solid #E2E8F0;
  font-size: 0.84rem;
}

.event-meta span,
.event-meta .event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.35;
}

.event-meta span i,
.event-meta .event-meta-item i {
  color: var(--accent-red, #BD2325);
  background: rgba(189, 35, 37, 0.08);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.event-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  min-height: 54px;
  display: flex;
  align-items: flex-start;
}

.event-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.event-body h3 a:hover {
  color: var(--accent-red);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.event-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 5rem 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-red);
  transform: translateY(-2px);
}

.site-footer h3,
.site-footer h4,
.footer-brand h3,
.footer-column h4,
.footer-links h4 {
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.footer-column h4,
.footer-links h4 {
  font-size: 1.15rem;
  color: #FFFFFF !important;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after,
.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--accent-red);
  border-radius: var(--radius-full);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--accent-red);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-info a {
  color: #94A3B8;
}

.contact-info a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 1.75rem 0;
  font-size: 0.85rem;
  text-align: center;
  color: #64748B;
}

/* ==========================================================================
   Inner Page Styling (Banner, Content, Galleries, Cards)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, #074B75 0%, #032B45 100%);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  text-align: center;
}

.page-banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.page-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #CBD5E1;
}

.page-breadcrumbs a {
  color: #FFDF80;
  font-weight: 600;
}

.page-breadcrumbs a:hover {
  text-decoration: underline;
}

.inner-content-section {
  padding: 4.5rem 0;
  background: var(--bg-body);
}

.content-card-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.content-card-box h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.content-card-box h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-red);
  border-radius: var(--radius-full);
}

.content-card-box p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.content-card-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.content-card-box ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #334155;
  font-size: 1rem;
}

.content-card-box ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #16A34A;
  font-size: 0.85rem;
}

/* Inner Page Photo Gallery Grid */
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  transition: var(--transition);
}

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

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

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

/* Contact Grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-item-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-item-row .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(7, 75, 117, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-row .details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.contact-item-row .details p,
.contact-item-row .details a {
  color: #64748B;
  font-size: 0.95rem;
}

/* Faculty Team Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.faculty-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

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

.faculty-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-light);
}

.faculty-card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.faculty-card .role {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Modal / Toast
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

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

.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-xl);
}

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

.modal-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.modal-content h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Floating Action Button */
.fab-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  transition: var(--transition);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1100px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .admission-grid,
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .experience-img-wrap img {
    min-height: auto;
    height: auto;
    max-height: 380px;
  }

  .slider-viewport {
    min-height: 360px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title span {
    font-size: 1.75rem;
  }
  
  .facilities-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pillars-grid,
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .hero-strip {
    width: calc(100% - 24px);
    padding: 0.65rem 0.95rem;
  }
}

@media (max-width: 600px) {
  .hero-strip {
    width: calc(100% - 16px);
    padding: 0.6rem 0.85rem;
  }
  .hero-strip-top {
    top: -14px;
  }
  .hero-strip-bottom {
    bottom: -14px;
  }
  .hero-strip-badge {
    display: none;
  }
  .hero-strip-title {
    font-size: 0.88rem;
  }
  .hero-strip-sub {
    font-size: 0.7rem;
  }
  .hero-strip-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  /* Ticker Announcement Bar */
  .ticker-bar {
    height: 36px;
  }
  .ticker-badge-col {
    padding: 0 0.85rem;
  }
  .ticker-badge {
    font-size: 0.72rem;
    padding: 0.18rem 0.5rem;
  }
  .ticker-content {
    font-size: 0.82rem;
  }

  /* Top Utility Bar */
  .top-bar {
    padding: 0.35rem 0;
  }
  .top-bar-inner {
    justify-content: center;
    gap: 1rem;
  }
  .top-contact {
    gap: 1.25rem;
    justify-content: center;
  }
  .top-contact span {
    display: none; /* Hide address on tablet/mobile */
  }

  /* Main Header & Navbar */
  .main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar {
    position: static;
    padding: 0.35rem 0;
  }

  .brand-logo img,
  .brand-logo .logo-img {
    height: 52px;
  }

  /* Hamburger Toggle Button */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: var(--primary);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .mobile-toggle:hover,
  .mobile-toggle:focus {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    outline: none;
  }

  /* Mobile Backdrop Overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 0.75rem 1.25rem 1.75rem !important;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.22) !important;
    border-top: 2px solid var(--primary) !important;
    border-bottom: 2px solid #E2E8F0 !important;
    max-height: calc(100vh - 65px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 9999 !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    
    /* Slide and fade transition */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  }

  .nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Navigation Lists */
  .nav-list,
  .nav-links,
  ul#menu-primary-navigation,
  .nav-menu > ul {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* Navigation List Items */
  .nav-list > li,
  ul#menu-primary-navigation > li,
  .nav-menu li.menu-item,
  .nav-menu .nav-item {
    width: 100% !important;
    border-bottom: 1px solid #F1F5F9 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }

  /* Navigation Links */
  .nav-list > li > a,
  ul#menu-primary-navigation > li > a,
  .nav-menu li.menu-item > a,
  .nav-menu .nav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.85rem 0.5rem !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    white-space: normal !important;
  }

  .nav-list > li > a::after,
  .nav-menu .nav-link::after {
    display: none !important;
  }

  .nav-list > li > a:hover,
  ul#menu-primary-navigation > li > a:hover,
  .nav-menu li.menu-item > a:hover,
  .nav-menu .nav-link:hover {
    color: var(--primary) !important;
    background: #F8FAFC !important;
    padding-left: 0.75rem !important;
  }

  /* Active Menu Item */
  .nav-list > li.current-menu-item > a,
  ul#menu-primary-navigation > li.current-menu-item > a,
  .nav-menu li.current-menu-item > a,
  .nav-menu li.active > a {
    color: var(--primary) !important;
    background: #F0F9FF !important;
    border-left: 3px solid var(--primary) !important;
    padding-left: 0.75rem !important;
  }

  /* Dropdown Indicators for Mobile */
  .menu-item-has-children > a::after,
  .has-dropdown > a::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    color: #94A3B8 !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
    margin-left: auto !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
  }

  .menu-item-has-children.dropdown-open > a::after,
  .has-dropdown.dropdown-open > a::after {
    transform: rotate(180deg) !important;
    color: var(--primary) !important;
  }

  /* Submenus on Mobile */
  .sub-menu,
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid var(--primary) !important;
    background: #F8FAFC !important;
    margin: 0.25rem 0 0.5rem 0.5rem !important;
    padding: 0.25rem 0 !important;
    display: none !important;
    list-style: none !important;
    border-radius: 0 6px 6px 0 !important;
    min-width: auto !important;
  }

  .menu-item-has-children.dropdown-open > .sub-menu,
  .has-dropdown.dropdown-open > .dropdown-menu {
    display: block !important;
    animation: fadeInSub 0.22s ease-in-out;
  }

  @keyframes fadeInSub {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .sub-menu li,
  .dropdown-menu li {
    width: 100% !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
    list-style: none !important;
    margin: 0 !important;
  }

  .sub-menu li:last-child,
  .dropdown-menu li:last-child {
    border-bottom: none !important;
  }

  .sub-menu a,
  .dropdown-menu a,
  .sub-menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    text-decoration: none !important;
    white-space: normal !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
  }

  .sub-menu a:hover,
  .dropdown-menu a:hover,
  .sub-menu li a:hover,
  .sub-menu li.current-menu-item a {
    color: var(--primary) !important;
    background: #EEF2F6 !important;
    padding-left: 1.15rem !important;
  }

  /* Drawer Actions (Apply Now) */
  .nav-actions {
    margin-top: 1.25rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #E2E8F0 !important;
    width: 100% !important;
    display: block !important;
  }

  .nav-actions .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: flex !important;
    box-shadow: 0 4px 12px rgba(189, 35, 37, 0.25) !important;
  }

  /* Mobile Drawer Footer */
  .mobile-drawer-footer {
    display: block !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #E2E8F0;
  }

  .mobile-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
  }

  .mobile-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
  }

  .mobile-contact-item i {
    color: var(--primary);
    width: 16px;
  }

  .mobile-drawer-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .mobile-drawer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F1F5F9;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
  }

  .mobile-drawer-social a:hover {
    background: var(--primary);
    color: #fff;
  }
}

@media (max-width: 768px) {
  
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid .highlight-card:last-child {
    grid-column: span 2;
  }
  
  .facilities-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .facility-body h3,
  .event-body h3 {
    min-height: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-gallery-grid,
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Compact Top Utility Bar on Mobile */
  .top-social {
    display: none !important;
  }
  
  .top-contact span {
    display: none !important;
  }

  .top-bar {
    padding: 0.3rem 0 !important;
  }

  .top-bar-inner {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .top-contact {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
  }

  .brand-logo img,
  .brand-logo .logo-img {
    height: 48px !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 580px) {
  .pillars-grid,
  .counters-grid {
    grid-template-columns: 1fr;
  }

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

  .page-gallery-grid,
  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .counter-number {
    font-size: 2.75rem;
  }

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

@media (max-width: 480px) {
  /* Narrow Mobile (< 480px) Header & Ticker */
  .ticker-bar {
    height: 32px !important;
  }
  .ticker-badge-col {
    padding: 0 0.5rem !important;
  }
  .ticker-badge {
    font-size: 0.68rem !important;
    padding: 0.12rem 0.4rem !important;
    letter-spacing: 0 !important;
  }
  .ticker-content {
    font-size: 0.74rem !important;
  }

  .top-contact a:nth-child(2) {
    display: none !important; /* On narrow screens, show phone number only in top-bar */
  }
  .top-contact a {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
  }

  .brand-logo img,
  .brand-logo .logo-img {
    height: 42px !important;
  }

  .mobile-toggle {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.25rem !important;
  }

  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

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

  .highlights-grid .highlight-card:last-child {
    grid-column: auto;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   Admission Application Modal Popup
   ========================================================================== */
.admission-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 28, 48, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admission-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.admission-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.25rem;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admission-modal-backdrop.active .admission-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: #475569;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(189, 35, 37, 0.08);
  color: var(--accent-red);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.modal-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  font-family: 'Poppins', sans-serif;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-form .form-group {
  margin-bottom: 1.1rem;
}

.modal-form label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.modal-form label i {
  color: var(--primary);
  font-size: 0.85rem;
}

.modal-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #FAFAFA;
  transition: var(--transition);
}

.modal-form .form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 75, 117, 0.15);
}

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

.modal-form-actions {
  margin-top: 1.25rem;
}

.modal-form-actions .btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.modal-success-msg {
  text-align: center;
  padding: 2rem 1rem;
}

.modal-success-msg i {
  font-size: 3.5rem;
  color: #10B981;
  margin-bottom: 1rem;
  display: inline-block;
  animation: pulseScale 0.6s ease;
}

.modal-success-msg h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.modal-success-msg p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@keyframes pulseScale {
  0% { transform: scale(0.6); opacity: 0; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
  .admission-modal-card {
    padding: 1.75rem 1.25rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* Dynamic WordPress Nav Menu arrow styling for footer links */
.footer-links ul li a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--accent-red);
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}

.footer-links ul li a:hover::before {
  transform: translateX(3px);
}

/* WYSIWYG Rich Text Links in Paragraphs */
.hero-desc a {
  color: #F8FAFC !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.hero-desc a:hover {
  color: #F59E0B !important;
}

.about-p a,
.about-quote a,
.about-features a,
.facility-body p a,
.pillar-content p a,
.highlight-card p a,
.section-subtitle a {
  color: var(--primary) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.about-p a:hover,
.about-quote a:hover,
.facility-body p a:hover,
.pillar-content p a:hover,
.highlight-card p a:hover,
.section-subtitle a:hover {
  color: var(--accent-red) !important;
}

.footer-brand a {
  color: #CBD5E1 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}
.footer-brand a:hover {
  color: #FFFFFF !important;
}

.footer-links ul li a:has(i)::before {
  content: none !important;
}


/* WordPress Dynamic Menu Compatibility */
.footer-links ul,
.footer-menu-ul,
.footer-links .menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links ul li,
.footer-menu-ul li,
.footer-links .menu li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-menu-ul li a,
.footer-links .menu li a {
  color: #94A3B8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-menu-ul li a:hover,
.footer-links .menu li a:hover {
  color: #fff;
  transform: translateX(4px);
}

@media (min-width: 993px) {
  ul#menu-primary-navigation {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.1rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap;
  }

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

  ul#menu-primary-navigation > li > a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 0.2rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
  }

  ul#menu-primary-navigation > li > a:hover,
  ul#menu-primary-navigation > li.current-menu-item > a {
    color: var(--primary);
  }

  .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

/* Faculty & Institution Stats Grid (Responsive 4-column layout) */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

.stat-card {
  background: #ffffff !important;
  padding: 2.25rem 1.5rem !important;
  border-radius: var(--radius-lg, 12px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  text-align: center !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.stat-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.stat-card .stat-value {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  font-family: 'Poppins', sans-serif !important;
  line-height: 1.2 !important;
}

.stat-card .stat-label {
  color: var(--text-muted, #64748B) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-top: 0.5rem !important;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Enhanced Section Spacing & Modern Components */
.stats-section {
  padding: 5.5rem 0 4.5rem !important;
  background: #ffffff !important;
  position: relative;
}

.about-single-image {
  position: relative;
  border-radius: var(--radius-xl, 20px) !important;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
  border: 4px solid #ffffff !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-single-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.16) !important;
}

.about-single-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.facility-actions {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.facility-actions .facility-link {
  font-weight: 600;
  color: var(--primary, #074B75);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.facility-actions .facility-link:hover {
  color: var(--accent-red, #BD2325);
}

.facility-actions .open-apply-modal {
  padding: 0.45rem 1rem !important;
  font-size: 0.825rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  box-shadow: 0 2px 8px rgba(7, 75, 117, 0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.facility-actions .open-apply-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(7, 75, 117, 0.35) !important;
}


/* ==========================================================================
   ENHANCEMENTS FROM WEBSITE CHANGES DOC (OCTOBER 2026)
   - 3-Slider Full-Width Hero Carousel
   - Foundation Cards Carousel
   - Photo Gallery & Lightbox Zoom Modal
   - Parents Testimonials Slider (Trio World Reference)
   - Admissions Page Architecture & FAQs
   - Universal Admissions Popup Modal
   ========================================================================== */

/* 1. Full-Width Responsive Hero Image Slider */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #03253B;
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}

/* Slide 1 & 3: Rich Gradient Overlay with Visual Card */
.hero-slide.slide-content-overlay {
  position: relative;
  background-color: #03253B;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 1.5rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-slide-content {
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero-slide-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  font-family: 'Poppins', sans-serif;
}

.hero-slide-subtitle {
  font-size: 1.45rem;
  font-weight: 600;
  color: #F59E0B;
  margin-bottom: 1rem;
}

.hero-slide-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #E2E8F0;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-slide-visual {
  display: flex;
  justify-content: center;
}

.hero-thumb-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.15);
  max-width: 440px;
  width: 100%;
}

.hero-thumb-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.hero-thumb-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(7, 75, 117, 0.95);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-thumb-badge strong {
  display: block;
  font-size: 1.15rem;
  color: #F59E0B;
}

.hero-thumb-badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Slide 2: Full-Width CBSE Banner from docx image6 */
.hero-slide.slide-full-banner {
  background: #ffffff;
  padding: 0;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .hero-slide.slide-full-banner {
    min-height: 580px;
  }
  .hero-banner-img {
    max-height: 600px;
  }
}

.banner-cta-floating {
  position: absolute;
  bottom: 25px;
  right: 40px;
  display: flex;
  gap: 0.75rem;
  z-index: 5;
}

/* Hero Navigation Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(3, 37, 59, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

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

.hero-arrow-next {
  right: 20px;
}

.hero-nav-arrow:hover {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #111827;
  transform: translateY(-50%) scale(1.1);
}

.hero-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
  background: rgba(3, 37, 59, 0.55);
  padding: 0.5rem 0.9rem;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 34px;
  border-radius: 8px;
  background: #F59E0B;
}

/* Responsive Hero Adjustments */
@media (max-width: 992px) {
  .hero-slide {
    min-height: 480px;
  }
  .hero-slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }
  .hero-slide-visual {
    display: none;
  }
  .hero-btn-group {
    justify-content: center;
  }
  .hero-slide-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-slide.slide-full-banner {
    min-height: 240px;
  }
  .hero-banner-img {
    max-height: 280px;
  }
  .banner-cta-floating {
    display: none;
  }
  .hero-nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .hero-arrow-prev {
    left: 8px;
  }
  .hero-arrow-next {
    right: 8px;
  }
}

/* 2. Foundation / What We Provide Cards Slider */
.pillars-slider-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.pillars-slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 1rem 0.5rem 1.5rem;
}

.pillars-slider-track::-webkit-scrollbar {
  display: none;
}

.pillars-slider-track .pillar-card {
  flex: 0 0 calc(25% - 1.35rem);
  min-width: 290px;
  scroll-snap-align: start;
}

.pillars-nav-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar-ctrl-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  color: #074B75;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.pillar-ctrl-btn:hover {
  background: #074B75;
  color: #ffffff;
  border-color: #074B75;
}

/* 3. Photo Gallery Section & Zoom Lightbox */
.photo-gallery-section {
  padding: 5rem 0;
  background: #F8FAFC;
}

.gallery-scroll-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-thumb-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #E2E8F0;
}

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

.gallery-thumb-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

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

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 75, 117, 0.65);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

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

.gallery-thumb-overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #074B75;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.gallery-thumb-item:hover .gallery-thumb-overlay i {
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 37, 59, 0.92);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
  animation: zoomInLightbox 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes zoomInLightbox {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 4px solid #ffffff;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #F8FAFC;
  font-size: 1.05rem;
  font-weight: 600;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
}

.lightbox-close-btn:hover {
  background: #BD2325;
  transform: rotate(90deg);
}

/* 4. Parents Testimonials Slider (Matching Trio World Reference from docx image2) */
.testimonials-section {
  position: relative;
  padding: 5.5rem 0 6rem;
  background: linear-gradient(135deg, rgba(3, 37, 59, 0.95) 0%, rgba(7, 75, 117, 0.95) 100%);
  overflow: hidden;
}

.testimonials-header {
  margin-bottom: 3rem;
}

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 0.5rem 2rem;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card-trio {
  flex: 0 0 calc(25% - 1.15rem);
  min-width: 280px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 24px 24px 44px 24px;
  padding: 2.25rem 1.75rem 1.85rem;
  position: relative;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 5px solid #F59E0B;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1200px) {
  .testimonial-card-trio {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 992px) {
  .testimonial-card-trio {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .testimonial-card-trio {
    flex: 0 0 85%;
    min-width: 260px;
  }
}

.testimonial-card-trio:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.trio-quote-icon {
  position: absolute;
  top: -14px;
  right: 22px;
  background: #F59E0B;
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  font-family: Georgia, serif;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.trio-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
  display: flex;
  gap: 0.25rem;
}

.trio-quote-body {
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.trio-author-meta {
  border-top: 1px solid #E2E8F0;
  padding-top: 1rem;
}

.trio-author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #074B75;
  margin-bottom: 0.2rem;
  font-family: 'Poppins', sans-serif;
}

.trio-author-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonials Navigation Controls */
.testimonials-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-ctrl-btn:hover {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #111827;
  transform: scale(1.08);
}

.testimonial-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  width: 32px;
  border-radius: 8px;
  background: #F59E0B;
}

/* 5. Admissions Page Styling */
.admission-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin: 3rem 0;
}

.admission-step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #074B75;
  position: relative;
  transition: transform 0.3s ease;
}

.admission-step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 75, 117, 0.1);
  color: #074B75;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admission-criteria-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.admission-criteria-table th {
  background: #074B75;
  color: #ffffff;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
}

.admission-criteria-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.95rem;
  color: #334155;
}

.admission-criteria-table tr:last-child td {
  border-bottom: none;
}

.admission-criteria-table tr:nth-child(even) {
  background: #F8FAFC;
}

.admission-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.admission-faq-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  transition: all 0.25s ease;
}

.admission-faq-item.active {
  border-color: #074B75;
  box-shadow: 0 4px 14px rgba(7, 75, 117, 0.12);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #03253B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question i {
  color: #074B75;
  transition: transform 0.3s ease;
}

.admission-faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #BD2325;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #64748B;
  border-top: 1px dashed #E2E8F0;
  padding-top: 1rem;
}

.admission-faq-item.active .faq-answer {
  display: block;
}

/* 6. Universal Admission Application Modal */
.admission-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 37, 59, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admission-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.admission-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border-top: 6px solid #BD2325;
  animation: modalSlideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.admission-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  color: #475569;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.admission-modal-close:hover {
  background: #BD2325;
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
  .admission-modal-card {
    padding: 1.75rem 1.25rem;
  }
}


/* ==========================================================================
   UPDATES FOR ACADEMICS (BETHESDA STRUCTURE), ADMISSIONS BOX & AFFILIATION
   ========================================================================== */

/* Admissions Form Box (Reduced Width per User Feedback) */
#apply {
  max-width: 820px !important;
  margin: 4rem auto 0 !important;
}

@media (max-width: 640px) {
  #apply {
    padding: 2rem 1.25rem !important;
    margin-top: 3rem !important;
  }
}

/* About Us CBSE Affiliation Card (Image 2) */
.about-affiliation-section {
  padding: 1.5rem 0 3.5rem;
}

.affiliation-card-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliation-card-box:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

@media (max-width: 768px) {
  .affiliation-card-box {
    padding: 2rem 1.25rem;
  }
}

/* Academics Page Tabs & Support Cards (Bethesda Structure) */
.academic-tabs-nav {
  display: flex;
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 2px solid #E2E8F0;
  scrollbar-width: none;
}

.academic-tabs-nav::-webkit-scrollbar {
  display: none;
}

.academic-tab-btn {
  flex: 1;
  min-width: 170px;
  padding: 1.15rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
}

.academic-tab-btn:hover {
  color: #074B75;
  background: #F8FAFC;
}

.academic-tab-btn.active {
  color: #074B75;
  background: #EFF6FF;
  border-bottom-color: #074B75;
  font-weight: 700;
}

.academic-tab-pane {
  display: none;
  animation: fadeInTab 0.35s ease;
}

.academic-tab-pane.active {
  display: block;
}

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

@media (max-width: 860px) {
  .academic-tabs-body {
    padding: 1.75rem 1.25rem !important;
  }
  .academic-tab-pane > div {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
}


/* Font Awesome Font-Display: Swap (Lighthouse Optimization) */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2');
}

/* ==========================================================================
   PURE FULL-WIDTH HERO IMAGE SLIDER (User Request: Pure Image Slider, No Overlaid Buttons/Text)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #03253B;
  user-select: none;
  aspect-ratio: 1895 / 656;
  min-height: 120px;
}
.hero-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1895 / 656;
}
.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  align-items: center;
}
.hero-slide.hero-slide-pure-img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #03253B;
  aspect-ratio: 1895 / 656;
  min-height: unset;
  padding: 0;
  margin: 0;
}
.hero-slide-link,
.hero-slide-no-link {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  background: #03253B;
}
.hero-slide-no-link {
  cursor: default;
}
.hero-full-img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1895 / 656 !important;
  max-height: 85vh !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
}
.hero-slide-link:hover .hero-full-img {
  transform: scale(1.008);
}
.hero-slide-no-link:hover .hero-full-img {
  transform: none;
}

.hero-slide-pure-img.slide-contain-chart {
  background: #fdfbf7;
}
.hero-slide-pure-img.slide-contain-chart .hero-slide-link {
  background: #fdfbf7;
}
.hero-full-img.hero-img-contain {
  object-fit: contain !important;
  background: #fdfbf7;
}

/* Hero Controls */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(3, 37, 59, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.hero-nav-arrow:hover {
  background: #074B75;
  border-color: #F59E0B;
  color: #F59E0B;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev {
  left: 18px;
}
.hero-arrow-next {
  right: 18px;
}
.hero-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 5px 12px;
  background: rgba(3, 37, 59, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}
.hero-dot.active {
  background: #F59E0B;
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

@media (max-width: 768px) {
  .hero-slider-section,
  .hero-slider-viewport,
  .hero-slide.hero-slide-pure-img {
    aspect-ratio: 1895 / 656 !important;
    min-height: unset !important;
  }
  .hero-full-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  .hero-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.82rem !important;
    background: rgba(3, 37, 59, 0.6) !important;
    border-width: 1px !important;
  }
  .hero-arrow-prev { left: 6px !important; }
  .hero-arrow-next { right: 6px !important; }
  .hero-indicators {
    bottom: 6px !important;
    padding: 3px 8px !important;
    gap: 6px !important;
  }
  .hero-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .hero-dot.active {
    width: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-full-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  .hero-nav-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
  }
  .hero-arrow-prev { left: 4px !important; }
  .hero-arrow-next { right: 4px !important; }
  .hero-indicators {
    bottom: 4px !important;
    padding: 2px 6px !important;
    gap: 4px !important;
  }
  .hero-dot {
    width: 5px !important;
    height: 5px !important;
  }
  .hero-dot.active {
    width: 14px !important;
  }
}

/* ==========================================================================
   FINAL OVERRIDES: STRICT MOBILE NAVIGATION VERTICAL ACCORDION
   ========================================================================== */
@media (max-width: 992px) {
  #navMenu ul#menu-primary-navigation,
  #navMenu .nav-list,
  .nav-menu ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #navMenu ul#menu-primary-navigation > li,
  #navMenu .nav-list > li,
  .nav-menu li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    box-sizing: border-box !important;
  }

  #navMenu ul#menu-primary-navigation > li > a,
  #navMenu .nav-list > li > a,
  .nav-menu li > a {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    padding: 0.85rem 0.5rem !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
  }

  .nav-menu .sub-menu,
  .nav-menu .dropdown-menu {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-menu .sub-menu li,
  .nav-menu .dropdown-menu li {
    width: 100% !important;
    display: block !important;
  }

  .nav-menu .sub-menu li a,
  .nav-menu .dropdown-menu li a {
    width: 100% !important;
    display: flex !important;
  }
}


/* ==========================================================================
   PHOTO GALLERY PAGE STYLES & LIGHTBOX CONTROLS
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.gallery-filter-btn {
  padding: 0.65rem 1.45rem;
  border-radius: 30px;
  border: 1.5px solid #074B75;
  background: #ffffff;
  color: #074B75;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: #074B75;
  color: #ffffff;
  border-color: #074B75;
  box-shadow: 0 4px 14px rgba(7, 75, 117, 0.25);
  transform: translateY(-2px);
}
.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 75, 117, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.gallery-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(3, 37, 59, 0.95) 0%, rgba(3, 37, 59, 0.6) 60%, transparent 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
  text-align: center;
  line-height: 1.35;
  transition: color 0.3s ease;
}
.gallery-thumb-item:hover .gallery-card-title {
  color: #F59E0B;
}
.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.lightbox-nav-arrow:hover {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #03253B;
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
@media (max-width: 768px) {
  .lightbox-prev { left: 0.5rem; width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-next { right: 0.5rem; width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-close-btn { top: 0.75rem; right: 1rem; }
  .gallery-filter-bar { gap: 0.5rem; margin-bottom: 1.75rem; }
  .gallery-filter-btn { font-size: 0.85rem; padding: 0.5rem 1rem; }
}
