:root {
  --primary-navy: #072a4c;
  --primary-navy-dark: #051b33;
  --primary-navy-light: #0d3d6c;
  --secondary-amber: #e86d00;
  --secondary-amber-hover: #cf6100;
  --accent-gold: #f59e0b;
  --accent-light: #fff7ed;
  --stis-blue-border: #68c4ee;
  --neutral-dark: #1e293b;
  --neutral-muted: #64748b;
  --neutral-light: #f8fafc;
  --neutral-border: #e2e8f0;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-sans);
  color: var(--neutral-dark);
  background-color: #ffffff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  line-height: 1.6;
  position: relative;
}

/* ===================================================
   TOP INFORMATION BAR
   =================================================== */
.top-bar {
  background: var(--primary-navy-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar a:hover {
  color: var(--secondary-amber);
}
.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-left: 6px;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.top-bar .social-links a:hover {
  background: var(--secondary-amber);
  color: #fff;
  transform: translateY(-2px);
}

/* ===================================================
   MAIN HEADER & BRANDING
   =================================================== */
.main-header {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid var(--neutral-border);
}
.school-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.school-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}
.school-brand-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
}
.school-brand-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-muted);
  margin: 2px 0 0;
}
.header-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* ===================================================
   NAVBAR & MENUS
   =================================================== */
.main-navigation-bar {
  background: var(--primary-navy);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.main-navigation-bar .nav-link {
  color: #f1f5f9 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  position: relative;
}
.main-navigation-bar .nav-link:hover,
.main-navigation-bar .nav-link.active {
  color: #fff !important;
  background-color: rgba(255,255,255,0.08);
}
.main-navigation-bar .nav-link:hover::after,
.main-navigation-bar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-amber);
}
.dropdown-menu {
  border-radius: 8px;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 230px;
}
.dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  color: var(--neutral-dark);
  transition: all 0.2s;
}
.dropdown-item:hover {
  background-color: #f1f5f9;
  color: var(--primary-navy);
  padding-left: 22px;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary-navy);
  color: #fff;
}

/* ===================================================
   ANNOUNCEMENT TICKER / STRIP
   =================================================== */
.announcement-ticker {
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 8px 0;
  font-size: 0.9rem;
}
.ticker-label {
  background: var(--secondary-amber);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ticker-content a {
  color: #92400e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.ticker-content a:hover {
  color: #b45309;
  text-decoration: underline;
}

/* ===================================================
   HERO BANNER & SLIDER (HOMEPAGE & EVERY INNER PAGE)
   =================================================== */
.hero-slider-section {
  position: relative;
  background: #051b33;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: strict;
  width: 100%;
  max-width: 100vw;
  height: 100vh !important;
  height: 100dvh !important;
}

.hero-slider-section #heroCarousel,
.hero-slider-section .carousel-inner {
  position: relative;
  width: 100%;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  contain: strict;
}

.hero-slider-section .carousel-item,
.hero-home-slider .hero-slide-item,
.hero-inner-slider .hero-slide-item,
.hero-slide-item {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  overflow: hidden !important;
  background: #051b33;
}

/* Stabilize carousel-fade transition (no transform jumping or layout shifts) */
.carousel-fade .carousel-item {
  transform: none !important;
  transition: opacity 0.6s ease-in-out !important;
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carousel-fade .carousel-item-next:not(.carousel-item-start),
.carousel-fade .active.carousel-item-end,
.carousel-fade .carousel-item-prev:not(.carousel-item-end),
.carousel-fade .active.carousel-item-start {
  transform: none !important;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.98);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
  z-index: 1;
}

/* Ambient Dual-Layer (Zero crop & Zero blur for widescreen) */
.hero-ambient-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: #051b33;
}
.hero-slide-bg-ambient {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: center center;
  filter: blur(30px) brightness(0.65) saturate(1.25);
  transform: scale(1.1);
  z-index: 1;
  pointer-events: none;
}
.hero-slide-bg-sharp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 25%;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
}

img.hero-slide-bg {
  z-index: 1;
}

video.hero-slide-bg {
  z-index: 1;
  pointer-events: none;
}

.hero-slide-overlay,
.inner-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(7, 42, 76, 0.35) 0%, rgba(7, 42, 76, 0.05) 30%, rgba(7, 42, 76, 0.15) 100%) !important;
  z-index: 2;
  pointer-events: none;
}

/* Completely remove all text overlays from slider */
.hero-caption,
.inner-hero-caption-overlay {
  display: none !important;
}

/* Unhide inner-page-hero so pages without custom headers show title & breadcrumb cleanly */
.inner-page-hero {
  display: block !important;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  pointer-events: none;
  z-index: 1;
}

.hero-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: brightness(0.78);
}

/* Smooth Carousel Fade Engine with Hardware Acceleration */
#heroCarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}
#heroCarousel.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 2;
}

#heroCarousel .carousel-item.active img.hero-slide-bg {
  transform: scale(1.03);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Glassmorphic Hero Controls */
.hero-carousel-ctrl {
  width: 75px;
  height: 100%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 15;
}
.hero-carousel-ctrl:hover {
  opacity: 1;
}
.hero-ctrl-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(7, 42, 76, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-carousel-ctrl:hover .hero-ctrl-circle {
  background: #e86d00;
  border-color: #e86d00;
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(232, 109, 0, 0.45);
}

/* Sleek Pill Indicators */
.hero-carousel-indicators {
  bottom: 24px;
  margin-bottom: 0;
  gap: 10px;
  z-index: 15;
}
.hero-carousel-indicators button {
  width: 32px !important;
  height: 6px !important;
  border-radius: 6px !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.35) !important;
  opacity: 1 !important;
  transition: all 0.4s ease !important;
  padding: 0 !important;
}
.hero-carousel-indicators button.active {
  width: 52px !important;
  background: #e86d00 !important;
  box-shadow: 0 0 14px rgba(232, 109, 0, 0.7);
}

/* Caption Entrance Animation on Slide Change */
#heroCarousel .carousel-item.active .hero-badge-pill {
  animation: heroSlideInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
#heroCarousel .carousel-item.active .hero-title {
  animation: heroSlideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
#heroCarousel .carousel-item.active .hero-subtitle {
  animation: heroSlideInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}
#heroCarousel .carousel-item.active .hero-caption .d-flex {
  animation: heroSlideInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
@keyframes heroSlideInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .hero-home-slider .hero-slide-item,
  .hero-inner-slider .hero-slide-item,
  .hero-slide-item {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }
}

@media (max-width: 767.98px) {
  .hero-home-slider .hero-slide-item,
  .hero-inner-slider .hero-slide-item,
  .hero-slide-item {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }
}

@media (max-width: 575.98px) {
  .hero-home-slider .hero-slide-item,
  .hero-inner-slider .hero-slide-item,
  .hero-slide-item {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }
}

.hero-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 10;
}
.hero-badge-pill {
  background: var(--secondary-amber);
  color: #fff;
  padding: 6px 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 14px;
}
.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.15rem;
  max-width: 650px;
  margin-bottom: 24px;
  color: #e2e8f0;
}

/* ===================================================
   FEATURE BADGES & QUICK STATS
   =================================================== */
/* Legacy fallback */
.stat-card-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ===================================================
   STIS STATS SECTION (Ultra-Premium Redesign)
   =================================================== */
.stis-stat-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -4px rgba(7, 42, 76, 0.08), 0 4px 10px -2px rgba(7, 42, 76, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.stis-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -6px rgba(7, 42, 76, 0.16), 0 8px 16px -4px rgba(7, 42, 76, 0.06);
  border-color: rgba(234, 179, 8, 0.5);
}

.stis-stat-bar {
  height: 4px;
  width: 100%;
}
.bar-amber { background: linear-gradient(90deg, #f59e0b, #d97706); }
.bar-emerald { background: linear-gradient(90deg, #10b981, #059669); }
.bar-cyan { background: linear-gradient(90deg, #0284c7, #0369a1); }
.bar-indigo { background: linear-gradient(90deg, #6366f1, #4f46e5); }

.stis-stat-card-inner {
  padding: 28px 18px 24px;
  text-align: center;
}

.stis-stat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.65rem;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stis-stat-card:hover .stis-stat-icon-wrap {
  transform: scale(1.12) rotate(4deg);
}

.icon-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.icon-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.icon-cyan {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

.icon-indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.stis-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #072a4c;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.stis-stat-lbl {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  line-height: 1.35;
}

.stis-stat-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.35;
  font-weight: 500;
}

@media (max-width: 575.98px) {
  .stis-stat-card-inner {
    padding: 18px 10px 16px;
  }
  .stis-stat-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  .stis-stat-num {
    font-size: 1.85rem;
  }
  .stis-stat-lbl {
    font-size: 0.7rem;
    letter-spacing: 0.4px;
  }
  .stis-stat-sub {
    font-size: 0.68rem;
  }
}

/* ===================================================
   SECTION HEADINGS
   =================================================== */
.section-header {
  margin-bottom: 40px;
  position: relative;
}
.section-tag {
  color: var(--secondary-amber);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-block;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--secondary-amber);
  margin: 12px 0 16px;
  border-radius: 2px;
}
.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   CARDS & GRIDS
   =================================================== */
.school-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.school-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background-color: #f1f5f9;
}
.school-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.school-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}
.school-card-text {
  color: var(--neutral-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

/* Notice List Style (Modern Premium Redesign) */
.notice-board-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(7, 42, 76, 0.05);
  overflow: hidden;
}
.notice-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
}
.notice-filter-pills::-webkit-scrollbar {
  display: none;
}
.notice-pill-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.notice-pill-btn:hover {
  background: #f1f5f9;
  color: #072a4c;
}
.notice-pill-btn.active {
  background: #072a4c;
  color: #ffffff;
  border-color: #072a4c;
}

.notice-item {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  background: #ffffff;
}
.notice-item:last-child {
  border-bottom: none;
}
.notice-item:hover {
  background-color: #f8fafc;
  transform: translateX(6px);
  color: inherit;
}
.notice-date-badge {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  text-align: center;
  border-radius: 14px;
  padding: 8px 10px;
  width: 62px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 18px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1);
  transition: transform 0.2s ease;
}
.notice-item:hover .notice-date-badge {
  transform: scale(1.05);
}
.notice-date-badge .day {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}
.notice-date-badge .month {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2563eb;
  letter-spacing: 0.8px;
  margin-top: 2px;
}
.notice-meta-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.5px;
}
.notice-meta-tag.tag-exam {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.notice-meta-tag.tag-admission {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.notice-meta-tag.tag-circular {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.notice-important-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}
.notice-action-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: 14px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.notice-item:hover .notice-action-arrow {
  background: #072a4c;
  color: #ffffff;
  border-color: #072a4c;
  transform: translateX(4px);
}

/* ===================================================
   LATEST SCHOOL NEWS CARDS (High-Resolution Redesign)
   =================================================== */
.news-story-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(7, 42, 76, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 16px;
}
.news-story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(7, 42, 76, 0.1);
  border-color: rgba(7, 42, 76, 0.18);
}
.news-thumb-wrapper {
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #072a4c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.news-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-story-card:hover .news-thumb-wrapper img {
  transform: scale(1.08);
}
.news-story-card:hover .stis-card-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.news-story-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0;
}
.news-story-title a {
  color: #072a4c;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-story-title a:hover {
  color: #e86d00;
}
.news-story-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 10px;
}
.news-read-more-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #e86d00;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.news-read-more-link:hover {
  color: #c25e00;
  transform: translateX(4px);
}

/* ===================================================
   FLOATING ACTION BUTTONS
   =================================================== */
.floating-admission-btn {
  position: fixed;
  right: -42px;
  top: 45%;
  transform: rotate(-90deg);
  background: var(--secondary-amber);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  z-index: 1010;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.floating-admission-btn:hover {
  background: var(--secondary-amber-hover);
  right: -36px;
}

/* ===================================================
   NAVY UTILITIES & BADGES
   =================================================== */
.text-navy {
  color: var(--primary-navy, #072a4c) !important;
}
.bg-navy {
  background-color: var(--primary-navy, #072a4c) !important;
}
.border-navy {
  border-color: var(--primary-navy, #072a4c) !important;
}
.badge.bg-light,
.badge.bg-white,
.badge.text-navy,
.badge.text-dark,
.badge.bg-light.text-navy,
.badge.bg-white.text-navy {
  --bs-badge-color: #072a4c !important;
  color: #072a4c !important;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-navy {
  background-color: var(--primary-navy);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-navy:hover {
  background-color: var(--primary-navy-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-amber {
  background-color: var(--secondary-amber);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-amber:hover {
  background-color: var(--secondary-amber-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ===================================================
   BREADCRUMB & INNER HERO
   =================================================== */
.inner-page-hero {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: #fff;
  padding: 48px 0;
  position: relative;
}
.inner-hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.inner-breadcrumb {
  font-size: 0.88rem;
  margin: 0;
}
.inner-breadcrumb a {
  color: #93c5fd;
  text-decoration: none;
}
.inner-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===================================================
   ADMISSION WORKFLOW & TIMELINE
   =================================================== */
.status-timeline {
  list-style: none;
  padding: 0;
  position: relative;
}
.status-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: #e2e8f0;
}
.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 26px;
}
.timeline-bullet {
  position: absolute;
  left: 8px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #cbd5e1;
}
.timeline-item.completed .timeline-bullet {
  background: #10b981;
  box-shadow: 0 0 0 2px #10b981;
}
.timeline-item.active .timeline-bullet {
  background: var(--secondary-amber);
  box-shadow: 0 0 0 3px rgba(231,119,22,0.3);
}

/* ===================================================
   FOOTER (Ultra-Modern Premium Design)
   =================================================== */
.footer-section,
.school-footer {
  background: linear-gradient(180deg, #071f38 0%, #031020 100%);
  color: #94a3b8;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.footer-accent-strip {
  height: 5px;
  background: linear-gradient(90deg, #e86d00 0%, #f59e0b 35%, #0ea5e9 70%, #10b981 100%);
  width: 100%;
}

.st-prefooter-cta {
  background: linear-gradient(135deg, rgba(232, 109, 0, 0.12) 0%, rgba(7, 42, 76, 0.6) 100%);
  border: 1px solid rgba(232, 109, 0, 0.3);
  border-radius: 20px;
  padding: 30px 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  margin-bottom: 50px;
}

.st-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.st-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: stPulse 1.8s infinite;
}

@keyframes stPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-title {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #e86d00, #f59e0b);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-links a i {
  font-size: 0.72rem;
  color: #e86d00;
  transition: transform 0.25s ease, color 0.25s ease;
}

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

.footer-links a:hover i {
  transform: translateX(3px);
  color: #f59e0b;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(232, 109, 0, 0.15);
  border: 1px solid rgba(232, 109, 0, 0.3);
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.footer-social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.footer-social-btn.youtube:hover { background: #ff0000; border-color: #ff0000; }
.footer-social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.footer-social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }
.footer-social-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; }

.footer-trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 25px;
}

.footer-trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.st-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.st-back-to-top:hover {
  background: #e86d00;
  color: #ffffff;
  border-color: #e86d00;
  transform: translateY(-2px);
}

/* ===================================================
   RESPONSIVENESS & UTILITIES
   =================================================== */
@media (max-width: 991px) {
  .hero-slide-item { height: 100vh !important; height: 100dvh !important; }
  .hero-title { font-size: 2rem; }
  .floating-admission-btn { display: none; }
  .main-navigation-bar .nav-link::after { display: none; }
}
@media (max-width: 576px) {
  .school-brand-title { font-size: 1.25rem; }
  .hero-slide-item { height: 100vh !important; height: 100dvh !important; }
  .hero-title { font-size: 1.6rem; }
}

/* ===================================================
   ST. THOMAS INTERNATIONAL SCHOOL — IMMERSIVE HEADER & MARQUEE
   =================================================== */
.st-header-fixed-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1045;
  transition: all 0.3s ease;
  overflow: hidden;
  overflow-x: clip;
}

/* TOP HEADER CONTINUOUS ONLINE REGISTRATION MARQUEE (Session 2027–28) */
.st-top-marquee-bar {
  background: #05213d;
  background: linear-gradient(90deg, #051e38 0%, #072a4c 50%, #051e38 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 38px;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  z-index: 1046;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.st-top-marquee-bar .marquee-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
}

.st-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: stMarqueeRun 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.st-top-marquee-bar:hover .st-marquee-track {
  animation-play-state: paused;
}

.st-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-divider {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 20px;
  font-size: 1.1rem;
  user-select: none;
}

.st-top-reg-link {
  color: #ffc107;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.st-top-reg-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

.reg-sparkle {
  font-size: 0.9rem;
  color: #ffc107;
}

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

.st-top-sound-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #05213d;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: -12px 0 16px #05213d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.st-top-sound-btn:hover {
  border-color: #ffc107;
  color: #ffc107;
  transform: translateY(-50%) scale(1.1);
}


/* MAIN OVERLAY HEADER (Completely Transparent Over Hero) */
.st-site-header {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 1045;
  padding: 14px 24px;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  overflow-x: clip;
}

.st-site-header.inner-header,
.st-header-fixed-wrapper.scrolled .st-site-header {
  background: rgba(7, 42, 76, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 24px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.st-header-spacer {
  height: 120px;
}

.st-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 0 4px;
  margin: 0;
}

.st-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.st-brand-link:hover {
  transform: translateY(-1px);
}

.st-brand-logo-img {
  width: 76px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
}
.st-brand-link:hover .st-brand-logo-img {
  transform: scale(1.05);
}

.st-brand-text {
  display: flex;
  flex-direction: column;
}

.st-brand-title {
  color: #ffffff;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.st-brand-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 3px 0 0;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.st-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.st-menu-btn {
  background-color: #072a4c;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  outline: none;
}
.st-menu-btn:hover,
.st-menu-btn:focus {
  background-color: #e86d00;
  border-color: #e86d00;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 109, 0, 0.45);
}

.st-menu-btn i {
  font-size: 1.1rem;
}

/* ===================================================
   RIGHT-EDGE DOCKED VERTICAL TABS
   =================================================== */
.st-docked-tabs {
  position: fixed;
  right: 0;
  top: 48%;
  transform: translateY(-50%);
  z-index: 1035;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.st-dock-tab {
  background: #0b2e59;
  color: #ffffff !important;
  text-decoration: none !important;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 18px 8px 18px 9px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px 0 0 6px;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.st-dock-tab:hover {
  background: var(--secondary-amber);
  color: #ffffff !important;
  padding-right: 14px;
  box-shadow: -6px 8px 24px rgba(231, 119, 22, 0.45);
}

.st-dock-tab.tab-fee {
  background: #0c4680;
}
.st-dock-tab.tab-tour {
  background: #09335f;
}

/* ===================================================
   HOMEPAGE ADMISSION & PROMO IMAGE POPUP MODAL
   =================================================== */
.stis-promo-popup-modal .modal-dialog {
  max-width: 720px;
}
.stis-promo-popup-modal .modal-content {
  background: transparent;
  border: none;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}
.stis-promo-popup-content {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #072a4c;
}
.stis-promo-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e86d00;
  color: #ffffff !important;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 1060;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  outline: none;
}
.stis-promo-popup-close:hover {
  background: #d97706;
  transform: scale(1.12) rotate(90deg);
}
.stis-promo-popup-img {
  max-height: 75vh;
  object-fit: contain;
  background: #051b33;
  display: block;
}
.stis-promo-popup-footer {
  background: linear-gradient(180deg, rgba(7, 42, 76, 0.88) 0%, rgba(7, 42, 76, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 576px) {
  .stis-promo-popup-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}
.st-floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1035;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.st-whatsapp-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  transition: all 0.25s ease;
  text-decoration: none;
  border: 2px solid #ffffff;
}
.st-whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
  color: #ffffff;
}

.st-sound-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 46, 89, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  outline: none;
}
.st-sound-toggle:hover {
  background: var(--primary-navy);
  transform: scale(1.1);
  border-color: var(--secondary-amber);
  color: var(--secondary-amber);
}

/* ===================================================
   MEGA MENU OFFCANVAS DRAWER
   =================================================== */
.st-megamenu-offcanvas {
  background: rgba(6, 26, 50, 0.98) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  width: min(94vw, 920px) !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
}

.st-megamenu-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 32px;
  background: rgba(4, 18, 35, 0.6);
}

.st-megamenu-offcanvas .offcanvas-body {
  padding: 32px;
  overflow-y: auto;
}

.st-menu-category-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary-amber);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.st-menu-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.st-menu-link-list li {
  margin-bottom: 9px;
}

.st-menu-link-list a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  padding: 2px 0;
}

.st-menu-link-list a:hover {
  color: #ffffff;
  transform: translateX(6px);
  color: var(--secondary-amber);
}

.st-menu-link-list a i {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.st-menu-link-list a:hover i {
  color: var(--secondary-amber);
}

.st-megamenu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 32px;
  background: rgba(4, 18, 35, 0.8);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ===================================================
   HOMEPAGE FULLSCREEN EUREKA HERO
   =================================================== */
.eureka-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-bottom: 80px;
  padding-top: 140px;
}

.eureka-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(7, 30, 56, 0.6) 0%, rgba(7, 30, 56, 0.2) 40%, rgba(7, 30, 56, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.eureka-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

/* ===================================================
   ST. THOMAS INTERNATIONAL SCHOOL HOMEPAGE SECTIONS
   =================================================== */

/* SECTION 1: DISCOVER ST. THOMAS INTERNATIONAL (Framed Floating Card - Image 1 Spec) */
.stis-discover-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, #0d3156 0%, #071f38 55%, #030e1c 100%);
  color: #ffffff;
  padding: 85px 20px 80px;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  text-align: center;
}

.stis-discover-section .container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
}

/* Framed Floating Architectural Plaque - Matches Image 1 Mockup Pixel-Perfect */
.stis-discover-glass-card {
  background: rgba(6, 21, 38, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 48px 46px 40px;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.stis-discover-flourish {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.stis-discover-kicker {
  color: #f59e0b;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Cinzel', serif, var(--font-serif);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.stis-discover-heading {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 10px 0 20px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.stis-discover-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.stis-discover-badge:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(245, 158, 11, 0.4);
}

.stis-discover-lead {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #f8fafc;
  font-weight: 500;
  margin: 26px auto 16px;
  max-width: 890px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.stis-discover-subtext {
  font-size: 0.96rem;
  line-height: 1.82;
  color: #94a3b8;
  font-weight: 400;
  margin: 0 auto 34px;
  max-width: 860px;
}

/* 3 Quick Value Pillars Grid */
.stis-discover-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 32px;
  text-align: left;
}

@media (max-width: 991px) {
  .stis-discover-pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.stis-discover-pillar-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stis-discover-pillar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.stis-discover-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: #ffffff;
}

.stis-pillar-icon-yellow {
  background: #f59e0b;
}

.stis-pillar-icon-cyan {
  background: #06b6d4;
}

.stis-pillar-icon-green {
  background: #10b981;
}

.stis-discover-pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.stis-discover-pillar-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.48;
  margin-bottom: 0;
}

/* Minimalist Circular Play Button */
.stis-pulse-circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #07192c;
  border: 2px solid #ea580c;
  color: #ffffff !important;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px rgba(234, 88, 12, 0.45);
}

.stis-pulse-circle-btn i {
  margin-left: 3px;
  color: #ffffff;
}

.stis-pulse-circle-btn:hover {
  background: #ea580c;
  transform: scale(1.12);
  box-shadow: 0 0 28px rgba(234, 88, 12, 0.75);
}

/* SECTION 2: ST. THOMAS INTERNATIONAL AT A GLANCE (Screenshot 2) */
.stis-glance-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f8fafc 100%);
  padding: 95px 0 85px;
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}
.stis-orange-subhead {
  color: #e86d00;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stis-pill-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(232, 109, 0, 0.08);
  color: #c25e00;
  border: 1px solid rgba(232, 109, 0, 0.22);
  border-radius: 50px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stis-glance-title {
  color: #072a4c;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  font-family: 'Outfit', var(--font-sans);
}
.stis-gradient-accent {
  background: linear-gradient(135deg, #072a4c 0%, #e86d00 50%, #0c4680 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stis-glance-desc {
  max-width: 900px;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* ===================================================
   TRIAD OF EXCELLENCE: BODY • MIND • SOUL PILLAR CARDS
   =================================================== */
.stis-triad-grid {
  margin: 45px 0 55px;
}
.stis-triad-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 34px 28px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 32px -4px rgba(15, 23, 42, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Distinctive Per-Pillar Gradients & Borders */
.stis-triad-card.pillar-body {
  background: linear-gradient(180deg, #ecfdf5 0%, #f6fdfa 26%, #ffffff 58%);
  border: 1.5px solid rgba(16, 185, 129, 0.28);
}
.stis-triad-card.pillar-body:hover {
  transform: translateY(-10px);
  border-color: #10b981;
  box-shadow: 0 24px 50px -10px rgba(16, 185, 129, 0.22);
}

.stis-triad-card.pillar-mind {
  background: linear-gradient(180deg, #eff6ff 0%, #f7fafe 26%, #ffffff 58%);
  border: 1.5px solid rgba(59, 130, 246, 0.28);
}
.stis-triad-card.pillar-mind:hover {
  transform: translateY(-10px);
  border-color: #3b82f6;
  box-shadow: 0 24px 50px -10px rgba(59, 130, 246, 0.22);
}

.stis-triad-card.pillar-soul {
  background: linear-gradient(180deg, #fffbeb 0%, #fefdf7 26%, #ffffff 58%);
  border: 1.5px solid rgba(245, 158, 11, 0.28);
}
.stis-triad-card.pillar-soul:hover {
  transform: translateY(-10px);
  border-color: #f59e0b;
  box-shadow: 0 24px 50px -10px rgba(245, 158, 11, 0.22);
}

/* Card Top Header */
.stis-triad-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

/* 3D Floating Gradient Icon */
.stis-triad-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  flex-shrink: 0;
}
.stis-triad-card:hover .stis-triad-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.pillar-body .stis-triad-icon-box {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.36);
}
.pillar-mind .stis-triad-icon-box {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.36);
}
.pillar-soul .stis-triad-icon-box {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.36);
}

/* Pillar Badge with Live Dot */
.stis-triad-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stis-badge-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  animation: stisDotPulse 2s infinite;
}
@keyframes stisDotPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.pillar-body .stis-triad-badge {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.pillar-body .stis-badge-pulse-dot {
  background: #059669;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.8);
}

.pillar-mind .stis-triad-badge {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.pillar-mind .stis-badge-pulse-dot {
  background: #2563eb;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.8);
}

.pillar-soul .stis-triad-badge {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.pillar-soul .stis-badge-pulse-dot {
  background: #d97706;
  box-shadow: 0 0 6px rgba(217, 119, 6, 0.8);
}

/* Pretitle & Main Headings */
.stis-triad-pretitle {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}
.pillar-body .stis-triad-pretitle { color: #059669; }
.pillar-mind .stis-triad-pretitle { color: #2563eb; }
.pillar-soul .stis-triad-pretitle { color: #d97706; }

.stis-triad-title {
  font-size: 1.48rem;
  font-weight: 800;
  color: #072a4c;
  margin-bottom: 12px;
  line-height: 1.25;
  font-family: 'Outfit', sans-serif;
}
.stis-triad-desc {
  font-size: 0.93rem;
  color: #64748b;
  line-height: 1.62;
  margin-bottom: 22px;
}

/* Modern Checklist Chips */
.stis-triad-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.stis-triad-chip {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 11px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
}
.pillar-body .stis-triad-chip:hover {
  background: #f0fdf4;
  border-color: #86efac;
  transform: translateX(4px);
}
.pillar-mind .stis-triad-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateX(4px);
}
.pillar-soul .stis-triad-chip:hover {
  background: #fffbeb;
  border-color: #fde68a;
  transform: translateX(4px);
}

.stis-chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 1px;
  color: #ffffff;
}
.pillar-body .stis-chip-icon { background: #10b981; }
.pillar-mind .stis-chip-icon { background: #3b82f6; }
.pillar-soul .stis-chip-icon { background: #f59e0b; }

.stis-chip-text {
  font-size: 0.86rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.45;
}

/* Solid Vibrant Action Buttons */
.stis-triad-action-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.90rem;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  padding: 11px 18px 11px 22px;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff !important;
}

.pillar-body .stis-triad-action-btn {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.32);
}
.pillar-body .stis-triad-action-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}

.pillar-mind .stis-triad-action-btn {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.32);
}
.pillar-mind .stis-triad-action-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.pillar-soul .stis-triad-action-btn {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}
.pillar-soul .stis-triad-action-btn:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

.btn-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.stis-triad-action-btn:hover .btn-arrow-circle {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.35);
}

/* Category Filter Tabs (Swipeable on Mobile) */
.stis-glance-tabs {
  padding-bottom: 6px;
}
.stis-tab-btn {
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  outline: none;
}
.stis-tab-btn:hover {
  background: #f1f5f9;
  color: #072a4c;
  border-color: #cbd5e1;
}
.stis-tab-btn.active {
  background: #e86d00 !important;
  color: #ffffff !important;
  border-color: #e86d00 !important;
  box-shadow: 0 4px 14px rgba(232, 109, 0, 0.35);
}
.stis-tab-btn.active .badge {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Card Transitions for Dynamic Filter */
.stis-glance-col {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.stis-glance-col.filtering-out {
  opacity: 0;
  transform: scale(0.92);
  display: none !important;
}
.stis-glance-col.filtering-in {
  animation: stisFadeScaleIn 0.35s ease forwards;
}
@keyframes stisFadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Dynamic Gallery Card Enhancements */
.stis-photo-card {
  border-radius: 20px;
  overflow: hidden;
  height: 290px;
  box-shadow: 0 8px 24px rgba(7, 42, 76, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  background: #f1f5f9;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.85);
}
.stis-photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(7, 42, 76, 0.16);
}
.stis-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.stis-photo-card:hover img {
  transform: scale(1.08);
}
.stis-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 42, 76, 0.4) 30%, rgba(7, 42, 76, 0.94) 100%);
  color: #ffffff;
  transition: padding 0.3s ease;
}
.stis-card-overlay .card-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 4px;
}
.stis-card-overlay .card-caption-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================================
   IMPACT & MILESTONES RIBBON (BODY, MIND & SOUL STATS)
   =================================================== */
.stis-glance-impact-ribbon {
  background: linear-gradient(135deg, #072a4c 0%, #0d3866 50%, #072a4c 100%);
  border-radius: 22px;
  padding: 38px 30px;
  color: #ffffff;
  margin-top: 55px;
  box-shadow: 0 16px 36px rgba(7, 42, 76, 0.14);
  position: relative;
  overflow: hidden;
}
.stis-glance-impact-ribbon::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 109, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
/* ===================================================
   VIBRANT & COLOURFUL RIBBON STAT CARDS
   =================================================== */
.stis-ribbon-stat-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.2), 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
}
.stis-ribbon-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px -5px rgba(0, 0, 0, 0.3);
}

.stis-card-accent-bar {
  height: 4px;
  width: 100%;
}
.bg-emerald { background: linear-gradient(90deg, #10b981, #059669) !important; }
.bg-amber   { background: linear-gradient(90deg, #f59e0b, #d97706) !important; }
.bg-cyan    { background: linear-gradient(90deg, #06b6d4, #0284c7) !important; }
.bg-purple  { background: linear-gradient(90deg, #8b5cf6, #6366f1) !important; }

.stis-ribbon-card-body {
  padding: 14px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.stis-ribbon-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #ffffff;
  transition: transform 0.3s ease;
}
.stis-ribbon-stat-card:hover .stis-ribbon-icon {
  transform: scale(1.12);
}

.icon-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.icon-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.icon-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}
.icon-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.stis-ribbon-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.text-emerald { color: #059669 !important; }
.text-amber   { color: #d97706 !important; }
.text-cyan    { color: #0284c7 !important; }
.text-purple  { color: #6366f1 !important; }

.stis-ribbon-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #072a4c !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

/* Card Glow Gradients on Hover / Background */
.stis-card-emerald { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%); }
.stis-card-amber   { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 60%); }
.stis-card-cyan    { background: linear-gradient(180deg, #ecfeff 0%, #ffffff 60%); }
.stis-card-purple  { background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 60%); }

/* SECTION 3: ACADEMIC STRUCTURE (Screenshot 3) */
.stis-academic-structure-section {
  background: #072a4c;
}
.stis-academic-img-col {
  min-height: 520px;
}
.stis-academic-content-col {
  background: #072a4c;
  color: #ffffff;
  min-height: 520px;
}
.stis-academic-main-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.stis-academic-stage-title {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 700;
}
.stis-academic-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.85;
}
.stis-parent-voice {
  color: #e2e8f0;
  font-size: 0.92rem;
  border-left: 3px solid #e86d00;
  padding-left: 12px;
}
.stis-academic-docked-tabs {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.stis-dock-stage-btn {
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}
.stis-dock-stage-btn:hover {
  color: #e86d00;
}
.stis-dock-stage-btn.active {
  color: #e86d00;
  border-bottom: 2px solid #e86d00;
}

/* SECTION 4: WHAT'S HAPPENING CAROUSEL SLIDER */
.stis-happening-section {
  background: #f8fafc;
  padding: 90px 0 85px;
  position: relative;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  width: 100%;
  max-width: 100%;
}
.stis-happening-title {
  font-size: 2.85rem;
  font-weight: 900;
  margin-bottom: 8px;
  font-family: 'Outfit', var(--font-sans);
}
.stis-happening-title .text-orange {
  color: #e86d00;
}
.stis-happening-title .text-navy {
  color: #072a4c;
}
.stis-happening-sub {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 650px;
  margin: 0 auto;
}

/* Spotlight Cinema Video & Side Feed */
.stis-cinema-spotlight-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.stis-cinema-spotlight-card:hover {
  transform: translateY(-4px);
}
.stis-side-event-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.stis-side-event-card:hover {
  transform: translateX(6px);
  border-color: #e86d00;
  box-shadow: 0 10px 24px rgba(232, 109, 0, 0.12);
}
.stis-side-event-thumb {
  width: 95px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #0f172a;
}
.stis-side-event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.stis-side-event-card:hover .stis-side-event-thumb img {
  transform: scale(1.08);
}

/* Multi-Item Carousel Slider Controls & Track */
.stis-carousel-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stis-carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #072a4c !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(7, 42, 76, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none !important;
  padding: 0;
}
.stis-carousel-nav-btn:hover {
  background: #e86d00 !important;
  color: #ffffff !important;
  border-color: #e86d00 !important;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(232, 109, 0, 0.35);
}
.stis-carousel-nav-btn:active {
  transform: scale(0.95);
}

.stis-happening-carousel-wrapper {
  position: relative;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  width: 100%;
  max-width: 100%;
  padding: 15px 4px 25px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.stis-happening-carousel-wrapper:active {
  cursor: grabbing;
}
.stis-happening-track {
  display: flex;
  gap: 24px;
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.stis-happen-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 991.98px) {
  .stis-happen-slide {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 575.98px) {
  .stis-happen-slide {
    flex: 0 0 100%;
  }
}

.stis-happening-card {
  border-radius: 20px;
  overflow: hidden;
  height: 310px;
  box-shadow: 0 8px 24px rgba(7, 42, 76, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  background: #072a4c;
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: pointer;
}
.stis-happening-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(7, 42, 76, 0.16);
  border-color: rgba(232, 109, 0, 0.3);
}
.stis-happening-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.stis-happening-card:hover img {
  transform: scale(1.08);
}
.stis-happening-card .stis-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 42, 76, 0.4) 30%, rgba(7, 42, 76, 0.95) 100%);
  color: #ffffff;
}

/* Carousel Pagination Dots */
.stis-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.stis-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.stis-carousel-dot.active {
  width: 28px;
  background: #e86d00;
  box-shadow: 0 2px 8px rgba(232, 109, 0, 0.35);
}

/* Quick Connect Horizontal Strip below Carousel */
.stis-connect-strip {
  background: linear-gradient(135deg, #072a4c 0%, #0d3866 50%, #072a4c 100%);
  border-radius: 20px;
  padding: 24px 30px;
  color: #ffffff;
  margin-top: 35px;
  box-shadow: 0 12px 30px rgba(7, 42, 76, 0.12);
}
.stis-connect-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.stis-connect-pill-link:hover {
  background: #e86d00;
  color: #ffffff;
  border-color: #e86d00;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(232, 109, 0, 0.35);
}
.stis-connect-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.stis-connect-social-circle:hover {
  background: #e86d00;
  color: #ffffff;
  transform: translateY(-2px);
}
.stis-widget-connect-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
}
.stis-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.stis-social-icon:hover {
  background: #e86d00;
  color: #ffffff;
  transform: translateY(-2px);
}

/* SECTION 5: LIFE LEGACY LEARNING STRIP (Continuous Auto-Sliding Reel) */
.stis-legacy-banner {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 75px 0 80px;
  position: relative;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  width: 100%;
  max-width: 100%;
}
.stis-legacy-tagline-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stis-legacy-quote {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: #e86d00;
  line-height: 1;
  font-style: italic;
  font-weight: 700;
  vertical-align: middle;
}
.stis-legacy-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e86d00 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin: 0 4px;
}
.stis-legacy-campus-sub {
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 6px;
  margin-bottom: 35px;
}

/* Continuous Sliding Photo Reel Marquee */
.stis-legacy-reel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  overflow-x: clip !important;
  contain: paint;
  padding: 15px 0 20px;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.stis-legacy-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: stisLegacyMarquee 38s linear infinite;
  will-change: transform;
}
.stis-legacy-reel-wrapper:hover .stis-legacy-track {
  animation-play-state: paused;
}

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

.stis-legacy-card {
  flex: 0 0 270px;
  width: 270px;
  height: 175px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(7, 42, 76, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: #072a4c;
}
.stis-legacy-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 32px rgba(7, 42, 76, 0.18);
  border-color: #e86d00;
  z-index: 5;
}
.stis-legacy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.stis-legacy-card:hover img {
  transform: scale(1.09);
}
.stis-legacy-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 42, 76, 0.92) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stis-legacy-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

@media (max-width: 768px) {
  .st-site-header { padding: 10px 16px; }
  .st-brand-logo-img { width: 48px; height: 48px; }
  .st-brand-title { font-size: 0.95rem; }
  .st-brand-subtitle { font-size: 0.68rem; letter-spacing: 1px; }
  .st-menu-btn { padding: 6px 12px; font-size: 0.8rem; }
  .st-docked-tabs { display: none; }
  .eureka-hero-section { min-height: 85vh; padding-bottom: 50px; }
  .stis-discover-heading { font-size: 2.1rem; }
  .stis-glance-title { font-size: 1.9rem; }
  .stis-academic-main-title { font-size: 1.9rem; }
}

/* ==========================================================================
   FULLSCREEN SIDE MENU DRAWER & DYNAMIC SLIDER (Exact User Screenshot)
   ========================================================================== */
.st-fullscreen-menu.offcanvas {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background-color: #062646 !important;
  background: radial-gradient(circle at 82% 35%, #0b3d70 0%, #072a4c 55%, #03172b 100%) !important;
  border: none !important;
  color: #ffffff;
  z-index: 10050 !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  .st-fullscreen-menu.offcanvas {
    overflow-y: hidden !important;
  }
}

/* Ensure Open State is 100% Guaranteed On All Mobile & Desktop Browsers */
.st-fullscreen-menu.offcanvas.show,
.st-fullscreen-menu.offcanvas.showing,
.st-fullscreen-menu.offcanvas.st-menu-open {
  transform: translateY(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* Fallback Backdrop Overlay */
.st-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 18, 33, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10040 !important;
}

.st-drawer-inner-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 48px 32px;
  max-width: 1540px;
  margin: 0 auto;
  width: 100%;
}

/* Top Bar: Underline Search & Top Links + Square Close */
.st-drawer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.st-drawer-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 300px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 6px;
  transition: border-color 0.25s ease;
}

.st-drawer-search-wrapper:focus-within {
  border-bottom-color: #e2b43b;
}

.st-drawer-search-icon {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-right: 12px;
}

.st-drawer-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.96rem;
  font-style: italic;
  width: 100%;
}

.st-drawer-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.st-drawer-top-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.st-drawer-top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.st-top-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.st-top-link:hover {
  color: #e2b43b;
}

.st-drawer-close-square {
  width: 42px;
  height: 42px;
  background: #093766;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.st-drawer-close-square:hover {
  background: #062646;
  border-color: #e2b43b;
  color: #e2b43b;
  transform: scale(1.05);
}

/* ==========================================================================
   MEGA DRAWER 3-COLUMN RESPONSIVE GRID
   ========================================================================== */
.st-drawer-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 24px;
  width: 100%;
}

.st-drawer-grid {
  display: grid;
  grid-template-columns: 370px 280px 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 520px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .st-drawer-grid {
    grid-template-columns: 320px 220px 1fr;
    gap: 20px;
  }
}

@media (min-width: 1400px) {
  .st-drawer-grid {
    grid-template-columns: 390px 300px 1fr;
    gap: 48px;
  }
}

/* Column 1: Main Menu Column */
.st-drawer-col-nav {
  width: 100%;
  max-width: 100%;
}

.st-drawer-menu-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.st-menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
  width: 100%;
}

.st-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Outfit', var(--font-sans);
  transition: all 0.25s ease;
  white-space: nowrap;
  width: 100%;
}

.st-menu-text {
  white-space: nowrap;
  flex: 1;
}

.st-menu-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 28px;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
}

.st-menu-arrow {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, color 0.25s ease;
}

.st-menu-item:hover .st-menu-link,
.st-menu-item.active .st-menu-link {
  color: #e2b43b;
  padding-left: 6px;
}

.st-menu-item:hover .st-menu-arrow,
.st-menu-item.active .st-menu-arrow {
  color: #e2b43b;
  transform: translateX(6px);
}

/* Column 2: Submenu Column */
.st-drawer-col-sub.st-drawer-submenu-col {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  padding-right: 12px;
  min-height: 460px;
  width: 100%;
}

/* Column 3: Showcase Card Column */
.st-drawer-col-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Right Column Sliding Card */
.st-drawer-slider-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #021222;
  height: 520px;
  max-height: 520px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  contain: strict;
  transform: translateZ(0);
}

#stDrawerCarousel,
#stDrawerCarousel .carousel-inner,
#stDrawerCarousel .carousel-item {
  height: 520px !important;
  max-height: 520px !important;
  overflow: hidden !important;
  position: relative;
}

.st-drawer-slide-img-wrap {
  position: relative;
  width: 100%;
  height: 520px !important;
  max-height: 520px !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #031424;
  contain: strict;
}

.st-drawer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.carousel-item.active .st-drawer-img {
  transform: none;
}

/* Focus Pulse Circle (Positioned in image sky/campus area) */
.st-slide-focus-circle {
  position: absolute;
  top: 22%;
  right: 22%;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.st-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  animation: stCirclePulse 2.4s infinite ease-out;
}

.st-center-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
}

@keyframes stCirclePulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Slide Caption Overlay */
.st-drawer-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 32px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 21, 38, 0.88) 35%, rgba(2, 12, 22, 0.98) 100%);
  z-index: 4;
}

.st-slide-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.st-slide-heading {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.st-slide-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Carousel Prev/Next Controls */
.st-drawer-carousel-ctrl {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 6;
}

.st-drawer-slider-card:hover .st-drawer-carousel-ctrl {
  opacity: 1;
}

.carousel-control-prev.st-drawer-carousel-ctrl { left: 16px; }
.carousel-control-next.st-drawer-carousel-ctrl { right: 16px; }

.st-ctrl-icon {
  width: 40px;
  height: 40px;
  background: rgba(7, 42, 76, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.st-ctrl-icon:hover {
  background: #e86d00;
  border-color: #e86d00;
}

/* Indicators */
.st-drawer-indicators {
  bottom: 10px;
  z-index: 7;
}

.st-drawer-indicators button {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.st-drawer-indicators button.active {
  background-color: #e2b43b;
  width: 40px;
}

@media (max-width: 991px) {
  .st-drawer-inner-container {
    padding: 16px 18px 40px !important;
    min-height: 100vh;
  }
  .st-drawer-top-bar {
    padding-bottom: 14px;
    gap: 12px;
  }
  .st-drawer-search-wrapper {
    width: 100%;
    max-width: 260px;
  }
  .st-drawer-slide-img-wrap {
    height: 280px;
  }
  .st-menu-link {
    font-size: 1.05rem;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .st-slide-heading {
    font-size: 1.15rem;
  }
  .st-drawer-submenu-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .st-drawer-inner-container {
    padding: 14px 14px 48px !important;
  }
  .st-drawer-search-wrapper {
    max-width: 190px;
  }
  .st-menu-link {
    font-size: 0.98rem;
    padding: 10px 2px;
  }
}

/* ==========================================================================
   DYNAMIC ABOUT US PAGE (Matching User Screenshots 1, 2, 3)
   ========================================================================== */
.stis-about-section {
  background-color: #ffffff;
}

.stis-about-blue-card {
  background-color: #dff0fd;
  border: 1.5px solid #072a4c;
  border-radius: 14px;
  padding: 34px 42px;
  box-shadow: 0 4px 20px rgba(7, 42, 76, 0.05);
}

.stis-about-serif-title {
  font-family: var(--font-serif), 'Merriweather', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #072a4c;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #7aaad6;
  letter-spacing: -0.3px;
}

.stis-about-body-text {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #1e354f;
}

.stis-about-body-text p {
  margin-bottom: 18px;
}

.stis-about-body-text p:last-child {
  margin-bottom: 0;
}

.stis-objectives-list li {
  font-size: 1.02rem;
  line-height: 2.1;
  color: #1e354f;
  margin-bottom: 6px;
}

.stis-objectives-list strong {
  color: #072a4c;
}

.stis-modules-lead {
  font-size: 1.04rem;
  line-height: 1.8;
  color: #1e354f;
}

.stis-aim-lead {
  font-size: 1.04rem;
  color: #072a4c;
}

.stis-modules-grid {
  font-size: 1.02rem;
  color: #1e354f;
  line-height: 2;
}

/* Explore our Story & Virtual Tour Section */
.stis-story-section-box {
  padding-right: 20px;
}

.stis-story-links-list {
  display: flex;
  flex-direction: column;
}

.stis-story-link-item {
  display: block;
  padding: 16px 8px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.stis-story-link-item:hover {
  color: #072a4c;
  font-weight: 700;
  background-color: #f8fafc;
  padding-left: 14px;
}

.stis-virtual-tour-box {
  padding-left: 10px;
}

.stis-tour-video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background-color: #000000;
  aspect-ratio: 16 / 9;
}

.stis-tour-iframe,
.stis-tour-video {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .stis-about-blue-card {
    padding: 22px 20px;
  }
  .stis-about-serif-title {
    font-size: 1.4rem;
  }
  .stis-story-section-box {
    padding-right: 0;
  }
  .stis-virtual-tour-box {
    padding-left: 0;
  }
}

/* ==========================================================================
   EXACT OUR MANAGEMENT SUBMENU (Matching User Screenshot media_1793065693196.png)
   ========================================================================== */

/* Target Circle with Dot next to active submenu items */
.st-menu-target-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #e2b43b;
  color: #e2b43b;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(226, 180, 59, 0.4);
  transition: all 0.25s ease;
}

/* Automatically hide arrow when target circle is active */
.st-menu-target-circle:not(.d-none) ~ .st-menu-arrow,
.st-menu-target-circle:not(.d-none) + .st-menu-arrow {
  display: none !important;
}

.st-menu-item:hover .st-menu-target-circle,
.st-menu-item.active .st-menu-target-circle {
  border-color: #e2b43b;
  color: #e2b43b;
  box-shadow: 0 0 12px rgba(226, 180, 59, 0.55);
}

/* Submenu Column (Separated by vertical divider line) */
.st-drawer-submenu-col {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 32px;
  padding-right: 16px;
  min-height: 440px;
}

.st-drawer-sub-wrapper {
  width: 100%;
}

.st-drawer-sub-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.st-sub-item {
  position: relative;
}

.st-sub-link {
  display: inline-block;
  color: #f1f5f9;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Outfit', var(--font-sans);
  letter-spacing: 0.2px;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.st-sub-link:hover,
.st-sub-link:focus {
  color: #e2b43b;
  background-color: rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}

/* On smaller screens adjust column borders */
@media (max-width: 991px) {
  .st-drawer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-height: auto !important;
    width: 100% !important;
  }
  .st-drawer-col-nav,
  .st-drawer-col-sub {
    width: 100% !important;
    max-width: 100% !important;
  }
  .st-drawer-submenu-col {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-left: 0 !important;
    padding-top: 18px !important;
    margin-top: 12px !important;
    min-height: auto !important;
  }
  .st-drawer-sub-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
}

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

/* ==========================================================================
   GLOBAL KEYFRAME ANIMATIONS & INNER PAGE ENHANCEMENTS
   ========================================================================== */
@keyframes stFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stFadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-24px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes stFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(24px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes stFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes stPulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(226, 180, 59, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(226, 180, 59, 0);
  }
}

@keyframes stShineSweep {
  0% {
    left: -120%;
  }
  100% {
    left: 200%;
  }
}

/* ==========================================================================
   UNIVERSAL INNER PAGE HERO (Applies to all inner pages)
   ========================================================================== */
.st-leadership-hero,
.inner-page-hero {
  position: relative;
  background: radial-gradient(circle at 88% 18%, rgba(226, 180, 59, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 12% 85%, rgba(13, 110, 253, 0.22) 0%, transparent 42%),
              linear-gradient(135deg, #021222 0%, #072a4c 55%, #0d3b66 100%) !important;
  padding: 44px 0 !important;
  border-bottom: 3px solid #e2b43b !important;
  color: #ffffff !important;
  overflow: hidden;
}

.st-leadership-hero::after,
.inner-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}

.st-leadership-hero .container,
.inner-page-hero .container {
  position: relative;
  z-index: 2;
  animation: stFadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.st-leadership-hero h1,
.st-leadership-hero .h2,
.inner-hero-title {
  color: #ffffff !important;
  font-family: 'Outfit', var(--font-sans) !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.st-leadership-hero p,
.st-leadership-hero .text-secondary {
  color: rgba(241, 245, 249, 0.88) !important;
  font-size: 1.05rem !important;
  max-width: 760px;
}

.st-leadership-hero .badge.bg-warning {
  background: linear-gradient(135deg, #e2b43b 0%, #f59e0b 100%) !important;
  color: #021222 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.8px;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(226, 180, 59, 0.4);
  display: inline-flex;
  align-items: center;
  animation: stFloat 4s ease-in-out infinite;
}

.st-leadership-hero .breadcrumb,
.inner-breadcrumb {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
}

@media (min-width: 768px) {
  .st-leadership-hero .breadcrumb,
  .inner-breadcrumb {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
  }
}

.st-leadership-hero .breadcrumb-item a,
.inner-breadcrumb a {
  color: #e2b43b !important;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.st-leadership-hero .breadcrumb-item a:hover,
.inner-breadcrumb a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.st-leadership-hero .breadcrumb-item.active,
.inner-breadcrumb span {
  color: #ffffff !important;
  font-weight: 700;
}

.st-leadership-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   MANAGEMENT & LEADERSHIP INNER PAGES STYLES
   ========================================================================== */
.st-leader-card {
  border: 1px solid rgba(7, 42, 76, 0.09) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 40px rgba(7, 42, 76, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  background: #ffffff;
  animation: stFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.st-leader-card:hover {
  box-shadow: 0 20px 50px rgba(7, 42, 76, 0.11), 0 4px 10px rgba(0, 0, 0, 0.04) !important;
}

.st-leader-portrait-wrap {
  border-radius: 20px !important;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 36px rgba(7, 42, 76, 0.22), 0 0 0 3px #e2b43b !important;
  border: 4px solid #ffffff !important;
  background: #072a4c;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.st-leader-portrait-wrap:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 45px rgba(7, 42, 76, 0.28), 0 0 0 4px #e2b43b !important;
}

.st-leader-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-leader-card:hover .st-leader-portrait-img {
  transform: scale(1.06);
}

.st-leader-badge-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #e2b43b 0%, #f59e0b 100%) !important;
  color: #021222 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
  border: 2px solid #ffffff;
  animation: stPulseGlow 3s infinite;
}

/* Meta Badges Styling (Pills in Header) */
.st-desk-meta .badge {
  background: #ffffff !important;
  border: 1px solid rgba(7, 42, 76, 0.12) !important;
  color: #1e293b !important;
  font-weight: 600;
  padding: 8px 14px !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.st-desk-meta .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 42, 76, 0.1);
  border-color: #072a4c !important;
}

/* Quote Box */
.st-leader-quote-box {
  position: relative;
  background: radial-gradient(circle at 90% 20%, rgba(226, 180, 59, 0.15) 0%, transparent 60%),
              linear-gradient(135deg, #02182b 0%, #072a4c 55%, #0e4577 100%) !important;
  border-left: 5px solid #e2b43b !important;
  border-radius: 18px !important;
  padding: 26px 30px !important;
  box-shadow: 0 14px 34px rgba(7, 42, 76, 0.18) !important;
  overflow: hidden;
  transition: all 0.35s ease;
}

.st-leader-quote-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(7, 42, 76, 0.24) !important;
}

/* Management Nav Sidebar in Leadership Pages */
.st-mgmt-sidebar-card {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(7, 42, 76, 0.08) !important;
  box-shadow: 0 12px 35px rgba(7, 42, 76, 0.08) !important;
  animation: stFadeInRight 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.st-mgmt-sidebar-card .card-header {
  background: linear-gradient(135deg, #021222 0%, #072a4c 100%) !important;
  border-bottom: 2px solid #e2b43b !important;
  padding: 16px 20px !important;
}

.st-mgmt-nav-list .list-group-item {
  border-color: #f1f5f9;
  color: #334155;
  padding: 14px 18px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.st-mgmt-nav-list .list-group-item:hover {
  background-color: rgba(7, 42, 76, 0.04);
  color: #072a4c;
  padding-left: 1.4rem !important;
}

.st-mgmt-nav-list .list-group-item:hover .st-nav-icon-badge {
  transform: scale(1.12);
}

.st-mgmt-nav-list .list-group-item:hover i.fa-chevron-right {
  color: #e2b43b !important;
  transform: translateX(4px);
}

.st-nav-icon-badge {
  transition: transform 0.25s ease;
}

.st-mgmt-nav-list .active-mgmt-link {
  background: linear-gradient(135deg, #072a4c 0%, #0d4b82 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-left: 5px solid #e2b43b !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(7, 42, 76, 0.22);
}

.st-mgmt-nav-list .active-mgmt-link .st-nav-icon-badge {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.st-mgmt-nav-list .active-mgmt-link i.fa-chevron-right {
  color: #e2b43b !important;
  animation: stFloat 3s ease-in-out infinite;
}

/* Quick Admission CTA Widget in Sidebar */
.st-sidebar-cta-card {
  position: relative;
  border-radius: 20px !important;
  background: radial-gradient(circle at 90% 15%, rgba(226, 180, 59, 0.18) 0%, transparent 50%),
              linear-gradient(135deg, #021222 0%, #072a4c 60%, #0d4477 100%) !important;
  box-shadow: 0 14px 36px rgba(7, 42, 76, 0.2) !important;
  overflow: hidden;
  animation: stFadeInRight 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.st-sidebar-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: stShineSweep 6s infinite;
}

.st-cta-glow-btn {
  background: linear-gradient(135deg, #e2b43b 0%, #f59e0b 100%) !important;
  color: #021222 !important;
  font-weight: 800 !important;
  border: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(226, 180, 59, 0.4) !important;
}

.st-cta-glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(226, 180, 59, 0.55) !important;
  color: #000000 !important;
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(7, 42, 76, 0.1) !important;
}

/* Beyond Academics Activity Details Styling */
.st-activity-banner-card {
  position: relative;
  background-color: #072a4c;
}

.st-activity-banner-card img {
  transition: transform 0.6s ease;
}

.st-activity-banner-card:hover img {
  transform: scale(1.03);
}

.shadow-2xs {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ===================================================
   VIBRANT & COLORFUL FACILITY CARDS (World-Class Infrastructure)
   =================================================== */
.st-facility-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(7, 42, 76, 0.05);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.st-facility-card:hover {
  transform: translateY(-8px);
}

.st-facility-header {
  position: relative;
  overflow: hidden;
  padding: 30px 20px 26px 20px;
  text-align: center;
  color: #ffffff;
}

.st-facility-watermark {
  position: absolute;
  right: -12px;
  bottom: -18px;
  font-size: 5.5rem;
  color: rgba(255, 255, 255, 0.14);
  transform: rotate(-12deg);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.st-facility-card:hover .st-facility-watermark {
  transform: rotate(-4deg) scale(1.15);
}

.st-facility-icon-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, background 0.35s ease;
  color: #ffffff;
}

.st-facility-card:hover .st-facility-icon-orb {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.32);
}

.st-facility-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.st-facility-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.35;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.st-facility-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.st-facility-desc {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.st-facility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1.5px solid;
  background: transparent;
}

.st-facility-btn i {
  transition: transform 0.3s ease;
}

.st-facility-btn:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   MODERN DYNAMIC SECTIONS & MOBILE RESPONSIVE ENHANCEMENTS
   ========================================================================== */

/* Card Zoom Badge & Lightbox Trigger */
.stis-photo-card {
  cursor: pointer;
  position: relative;
}
.stis-card-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(7, 42, 76, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.stis-photo-card:hover .stis-card-zoom-badge,
.stis-happening-card:hover .stis-card-zoom-badge,
.stis-academic-img-col:hover .stis-card-zoom-badge {
  opacity: 1;
  transform: scale(1);
}
@media (hover: none) {
  .stis-card-zoom-badge {
    opacity: 0.85;
    transform: scale(0.9);
  }
}

/* Category Filter Tabs with Chip Design */
.stis-glance-tabs {
  padding-bottom: 6px;
}
.stis-tab-btn {
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.stis-tab-btn:hover {
  background: #e2e8f0;
  color: #072a4c;
}
.stis-tab-btn.active {
  background: #e86d00;
  color: #ffffff;
  border-color: #e86d00;
  box-shadow: 0 4px 14px rgba(232, 109, 0, 0.35);
  font-weight: 700;
}
.stis-tab-btn.active::after {
  display: none;
}

/* Card Transitions for Dynamic Filter */
.stis-glance-col {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.stis-glance-col.filtering-out {
  opacity: 0;
  transform: scale(0.92);
  display: none !important;
}
.stis-glance-col.filtering-in {
  animation: stisFadeScaleIn 0.35s ease forwards;
}
@keyframes stisFadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Academic Stage Fade Animations */
.stage-content-transition {
  animation: stisStageFadeIn 0.3s ease-out;
}
@keyframes stisStageFadeIn {
  from {
    opacity: 0.3;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Academic Docked Tabs */
.stis-academic-docked-tabs {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
}
.stis-dock-stage-btn {
  background: transparent;
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stis-dock-stage-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.stis-dock-stage-btn.active {
  background: #ffffff;
  color: #072a4c;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

/* Modern Image Lightbox Popup Modal */
.stis-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 42, 76, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stis-lightbox-modal.active {
  display: flex;
  opacity: 1;
}
.stis-lightbox-container {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #0b1a2f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stis-lightbox-modal.active .stis-lightbox-container {
  transform: scale(1);
}
.stis-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stis-lightbox-img-wrap {
  width: 100%;
  max-height: 72vh;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050e1b;
  overflow: hidden;
  position: relative;
}
.stis-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  user-select: none;
}
.stis-lightbox-footer {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.stis-lightbox-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stis-lightbox-close-btn:hover {
  background: #e86d00;
  transform: rotate(90deg);
}

/* ==========================================================================
   RESPONSIVE MOBILE VIEW MEDIA QUERIES (320px - 991px)
   ========================================================================== */

@media (max-width: 991.98px) {
  /* Discover Section */
  .stis-discover-section {
    padding: 70px 16px;
  }
  .stis-discover-heading {
    font-size: 2.3rem;
  }
  .stis-discover-lead {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* Academic Structure Stacking */
  .stis-academic-structure-section {
    overflow: hidden;
  }
  .stis-academic-img-col {
    min-height: 300px;
    height: 320px;
    max-height: 340px;
  }
  .stis-academic-content-col {
    min-height: auto;
    padding: 36px 24px !important;
  }
  .stis-academic-main-title {
    font-size: 2rem;
  }
  .stis-academic-stage-title {
    font-size: 1.6rem;
  }
  .stis-academic-docked-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stis-dock-stage-btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  /* Glance Section */
  .stis-glance-section {
    padding: 60px 0;
  }
  .stis-glance-title {
    font-size: 2rem;
  }

  /* Happening Section */
  .stis-happening-section {
    padding: 60px 0;
  }
  .stis-happening-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 767.98px) {
  /* ========================================================
     MOBILE COMPREHENSIVE RESPONSIVE SUITE (SMARTPHONES & TABLETS)
     ======================================================== */

  /* Header & Marquee */
  .st-top-marquee-bar {
    height: 32px !important;
  }
  .st-top-reg-link {
    font-size: 0.72rem !important;
    padding: 0 4px !important;
  }
  .st-top-reg-link .badge {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
  }
  .st-site-header {
    padding: 8px 12px !important;
  }
  .st-site-header.inner-header,
  .st-header-fixed-wrapper.scrolled .st-site-header {
    padding: 6px 12px !important;
  }
  .st-brand-logo-img {
    width: 44px !important;
    height: 44px !important;
  }
  .st-menu-btn {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
    gap: 6px !important;
  }
  .st-menu-btn i {
    font-size: 0.92rem !important;
  }
  .st-header-spacer {
    height: 80px !important;
  }
  .st-docked-tabs {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .hero-video-iframe {
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
  }

  /* Hero Slider Banner */
  .hero-home-slider .hero-slide-item,
  .hero-inner-slider .hero-slide-item,
  .hero-slide-item {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }
  .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }
  .hero-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-badge-pill {
    font-size: 0.68rem !important;
    padding: 3px 10px !important;
  }
  .hero-carousel-ctrl {
    width: 34px !important;
    height: 34px !important;
  }
  .hero-ctrl-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }
  .btn-amber, .hero-slider-section .btn {
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
  }

  /* Section 1: Discover St. Thomas */
  .stis-discover-section {
    padding: 48px 12px !important;
  }
  .stis-discover-glass-card {
    padding: 30px 16px 24px !important;
    border-radius: 20px !important;
  }
  .stis-watermark-logo-img {
    display: none !important;
  }
  .stis-discover-flourish {
    font-size: 0.75rem !important;
  }
  .stis-discover-kicker {
    font-size: 1.25rem !important;
  }
  .stis-discover-heading {
    font-size: 1.85rem !important;
    margin-bottom: 14px !important;
  }
  .stis-discover-badge {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
  }
  .stis-discover-lead {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }
  .stis-pulse-circle-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.1rem !important;
  }
  .stis-discover-btn-label {
    font-size: 0.72rem !important;
  }

  /* Section 2: Holistic Education (Glance) */
  .stis-glance-section {
    padding: 55px 0 !important;
  }
  .stis-pill-tag {
    font-size: 0.72rem !important;
    padding: 4px 12px !important;
  }
  .stis-glance-title {
    font-size: 1.75rem !important;
    margin-bottom: 10px !important;
  }
  .stis-glance-desc {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
  }

  /* Triad Pillar Cards Mobile */
  .stis-triad-grid {
    margin: 20px 0 30px !important;
  }
  .stis-triad-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
  }
  .stis-triad-icon-box {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.35rem !important;
    border-radius: 14px !important;
  }
  .stis-triad-badge {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
  }
  .stis-triad-pretitle {
    font-size: 0.70rem !important;
  }
  .stis-triad-title {
    font-size: 1.32rem !important;
    margin-bottom: 8px !important;
  }
  .stis-triad-desc {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }
  .stis-triad-chip {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .stis-chip-text {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }
  .stis-triad-action-btn {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
  }

  /* Glance Section Tabs - Horizontal Touch Scrollable Chip Bar */
  .stis-glance-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    padding: 4px 6px 12px !important;
    margin-bottom: 20px !important;
    scrollbar-width: thin;
    gap: 6px !important;
  }
  .stis-glance-tabs::-webkit-scrollbar {
    height: 4px;
  }
  .stis-glance-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .stis-tab-btn {
    flex-shrink: 0;
    padding: 6px 16px !important;
    font-size: 0.76rem !important;
  }
  .stis-photo-card {
    height: 240px !important;
    border-radius: 16px !important;
  }
  .stis-card-overlay {
    padding: 16px 14px !important;
  }
  .stis-card-overlay .card-caption-title {
    font-size: 0.98rem !important;
  }
  .stis-card-overlay .card-caption-desc {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }
  .stis-glance-impact-ribbon {
    padding: 22px 14px !important;
    margin-top: 28px !important;
    border-radius: 16px !important;
  }
  .stis-ribbon-stat-card {
    border-radius: 12px !important;
  }
  .stis-ribbon-card-body {
    padding: 10px 4px 10px !important;
  }
  .stis-ribbon-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }
  .stis-ribbon-num {
    font-size: 1.35rem !important;
    margin-bottom: 2px !important;
  }
  .stis-ribbon-label {
    font-size: 0.65rem !important;
  }
  .stis-stat-card {
    border-right: none !important;
    padding: 8px 4px !important;
  }
  .stis-stat-num {
    font-size: 1.55rem !important;
  }
  .stis-stat-label {
    font-size: 0.72rem !important;
  }

  /* Section 3: Academic Stages */
  .stis-academic-section {
    padding: 55px 0 !important;
  }
  .stis-academic-img-col {
    min-height: 220px !important;
    height: 230px !important;
  }
  .stis-academic-content-col {
    padding: 20px 16px !important;
  }
  .stis-academic-main-title {
    font-size: 1.7rem !important;
  }
  .stis-academic-stage-title {
    font-size: 1.3rem !important;
  }
  .stis-academic-text {
    font-size: 0.86rem !important;
    line-height: 1.65 !important;
  }
  .stis-academic-docked-tabs {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding: 6px !important;
    margin-bottom: 18px !important;
  }
  .stis-dock-stage-btn {
    padding: 8px 8px !important;
    font-size: 0.74rem !important;
    text-align: center !important;
  }
  .stis-academic-parent-voice {
    padding: 12px 14px !important;
    font-size: 0.8rem !important;
  }

  /* Section 4: What's Happening Slider */
  .stis-happening-section {
    padding: 55px 0 !important;
  }
  .stis-happening-title {
    font-size: 1.85rem !important;
  }
  .stis-happening-sub {
    font-size: 0.86rem !important;
  }
  .stis-carousel-nav-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.88rem !important;
  }
  .stis-happen-slide {
    flex: 0 0 88% !important;
    min-width: 85% !important;
  }
  .stis-happening-card {
    height: 250px !important;
    border-radius: 16px !important;
  }
  .stis-happening-card .stis-card-overlay {
    padding: 16px 14px !important;
  }
  .stis-connect-strip {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    margin-top: 24px !important;
  }
  .stis-connect-pill-link {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }

  /* Section 5: Life, Legacy, Learning Banner */
  .stis-legacy-banner {
    padding: 45px 0 !important;
  }
  .stis-legacy-reel-wrapper {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    overflow: hidden !important;
    overflow-x: clip !important;
    contain: paint !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .stis-legacy-tagline {
    font-size: 1.55rem !important;
  }
  .stis-legacy-quote {
    font-size: 1.8rem !important;
  }
  .stis-legacy-campus-sub {
    font-size: 0.82rem !important;
    margin-bottom: 22px !important;
  }
  .stis-legacy-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    height: 145px !important;
    border-radius: 14px !important;
  }
  .stis-legacy-track {
    gap: 14px !important;
  }
  .stis-legacy-card-overlay {
    padding: 8px 10px !important;
  }
  .stis-legacy-card-title {
    font-size: 0.74rem !important;
  }

  /* Floating WhatsApp Button */
  .st-floating-actions {
    bottom: 18px !important;
    right: 18px !important;
  }
  .st-whatsapp-float {
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }

  /* Lightbox on mobile */
  .stis-lightbox-container {
    max-height: 95vh !important;
    border-radius: 14px !important;
  }
  .stis-lightbox-img {
    max-height: 60vh !important;
  }

  /* Promo Popup Modal Mobile */
  .stis-promo-popup-modal .modal-dialog {
    margin: 14px !important;
  }
  .stis-promo-popup-content {
    border-radius: 16px !important;
  }
  .stis-promo-popup-close {
    top: 8px !important;
    right: 8px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
  }
  .stis-promo-popup-img {
    max-height: 55vh !important;
  }
  .stis-promo-popup-footer {
    padding: 12px 14px !important;
  }
  .stis-promo-popup-footer h5 {
    font-size: 0.92rem !important;
  }
  .stis-promo-popup-footer .btn {
    font-size: 0.78rem !important;
    padding: 6px 14px !important;
  }
}

@media (max-width: 575.98px) {
  /* Extra Compact Mobile Devices (< 576px) */
  .stis-discover-heading {
    font-size: 1.6rem !important;
  }
  .stis-glance-title {
    font-size: 1.55rem !important;
  }
  .stis-happening-title {
    font-size: 1.65rem !important;
  }
  .stis-academic-main-title {
    font-size: 1.5rem !important;
  }
  .stis-academic-docked-tabs {
    grid-template-columns: 1fr 1fr !important;
  }
  .stis-dock-stage-btn {
    padding: 7px 6px !important;
    font-size: 0.72rem !important;
  }
  .stis-stat-card {
    padding: 8px 2px !important;
  }
  .stis-stat-num {
    font-size: 1.35rem !important;
  }
  .stis-happen-slide {
    flex: 0 0 92% !important;
  }
  .stis-happening-card {
    height: 240px !important;
  }
  .st-drawer-sub-list {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVENESS & TOUCH EXPERIENCE (ALL VIEWPORTS)
   ========================================================================== */

/* Universal Mobile Body & Container Guard */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
    position: relative;
  }

  /* Fullscreen Offcanvas Menu Mobile Experience */
  .st-fullscreen-menu.offcanvas {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .st-drawer-inner-container {
    padding: 14px 16px 40px !important;
    min-height: 100vh;
  }
  .st-drawer-top-bar {
    padding-bottom: 12px !important;
  }
  .st-drawer-search-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }
  .st-drawer-top-actions {
    margin-left: 10px;
  }
  .st-drawer-close-square {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
  }

  /* Offcanvas Nav Links Mobile Wrapping & Touch Comfort */
  .st-menu-link {
    white-space: normal !important;
    font-size: 0.96rem !important;
    padding: 10px 4px !important;
    line-height: 1.35 !important;
  }
  .st-menu-text {
    white-space: normal !important;
    word-break: break-word !important;
  }
  .st-menu-arrow {
    font-size: 1.1rem !important;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .st-sub-link {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 0.9rem !important;
    padding: 8px 10px !important;
    display: block !important;
    line-height: 1.35 !important;
  }
  .st-drawer-sub-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .st-drawer-submenu-col {
    margin-top: 14px !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  /* Inner Page Hero Mobile Tweaks */
  .st-leadership-hero,
  .inner-page-hero {
    padding: 28px 0 !important;
  }
  .st-leadership-hero h1,
  .st-leadership-hero .h2,
  .inner-hero-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  .st-leadership-hero p,
  .st-leadership-hero .text-secondary {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .st-leadership-hero .breadcrumb,
  .inner-breadcrumb {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    border-radius: 20px !important;
  }

  /* Sticky Sidebar Reset on Mobile so it doesn't cover content */
  .sticky-top {
    position: static !important;
    top: auto !important;
  }
  .st-mgmt-sidebar-card {
    margin-top: 24px !important;
  }

  /* Leadership & Profile Cards Mobile */
  .st-leader-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .st-leader-portrait-wrap {
    width: 170px !important;
    height: 220px !important;
    margin: 0 auto 16px !important;
  }
  .st-leader-quote-box {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    font-size: 0.92rem !important;
  }

  /* About Us Blue Card Mobile */
  .stis-about-blue-card {
    padding: 22px 18px !important;
    border-radius: 16px !important;
    border-left-width: 4px !important;
  }
  .stis-about-serif-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  .stis-about-body-text {
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
  }

  /* Responsive Tables and Embedded Media */
  .table-responsive {
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
    overflow-x: auto !important;
  }

  /* Gallery Grid on Mobile */
  .stis-gallery-masonry,
  .stis-gallery-card-row {
    gap: 12px !important;
  }
  .stis-album-banner-card {
    margin-bottom: 16px !important;
  }
}

/* Extra Tweaks for Small Mobile (< 480px) */
@media (max-width: 479.98px) {
  .st-navbar .navbar-brand img {
    max-height: 40px !important;
  }
  .st-menu-link {
    font-size: 0.9rem !important;
    padding: 8px 2px !important;
  }
  .st-sub-link {
    font-size: 0.85rem !important;
    padding: 6px 8px !important;
  }
  .stis-dock-stage-btn {
    font-size: 0.7rem !important;
    padding: 6px 4px !important;
  }
}



