/* UPGS Punukkonnoor - Option D Components: Minimalist White Editorial Hero */

/* 1. Header Announcement Bar & Top Bar */
.announcement-bar,
.top-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 0.55rem 0;
  font-size: 0.85rem;
}

.announcement-content,
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.top-social-icon {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  text-decoration: none;
}

.top-social-icon:hover {
  color: #ffffff;
  background: var(--accent-coral);
  transform: translateY(-2px);
}

/* 1.5. Dark Single-Line Important Announcements Marquee Bar */
.announcement-marquee-bar {
  background: #0a192f;
  background: linear-gradient(90deg, #0a192f 0%, #0f172a 50%, #0a192f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--accent-coral);
  color: #ffffff;
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
}

.marquee-badge {
  background: var(--accent-coral);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.marquee-badge i {
  font-size: 0.85rem;
  animation: pulseBell 1.5s ease-in-out infinite;
}

@keyframes pulseBell {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22) rotate(12deg); }
}

.marquee-track-container {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.announcement-marquee-bar:hover .marquee-content,
.marquee-track-container:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding-left: 100%;
  animation: marqueeScroll 28s linear infinite;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.01em;
}

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

/* 2. Sharp Box Straight Header Navigation Bar */
.navbar-wrapper,
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.06);
}

.floating-navbar,
.navbar-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  position: relative;
}

.brand-identity,
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.centenary-badge-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.brand-identity h1,
.brand-logo h1,
.brand-text h1 {
  font-size: 1.25rem;
  color: var(--primary-navy);
  line-height: 1.1;
  margin: 0;
}

.brand-identity p,
.brand-logo p,
.brand-text p {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.mobile-nav-toggle,
.mobile-toggle {
  display: none;
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  color: var(--primary-navy);
  font-size: 1.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.mobile-nav-toggle:hover,
.mobile-toggle:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item-link {
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  position: relative;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  border-radius: 0px;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-coral);
  transition: all 0.25s ease;
}

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

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

/* ═══════════════════════════════════════════════════════════
   Executive Large Photo Leadership Messages Section
   ═══════════════════════════════════════════════════════════ */
.leadership-stack-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.executive-leader-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(10, 25, 47, 0.06);
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.executive-leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-gold);
  z-index: 5;
}

.executive-leader-card.manager-card::before {
  background: var(--gradient-blue);
}

.executive-leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.16);
}

.leader-photo-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--primary-navy);
  overflow: hidden;
}

.leader-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.executive-leader-card:hover .leader-photo-img {
  transform: scale(1.05);
}

.leader-photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--gradient-gold);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
  text-align: center;
}

.leader-photo-badge.manager-badge {
  background: var(--gradient-blue);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  color: #ffffff;
}

.leader-details-box {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-name-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--bg-slate);
}

.leader-name-header h3 {
  font-size: 1.55rem;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.leader-name-header p {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.leader-quote-body {
  position: relative;
}

.leader-quote-body .quote-icon {
  font-size: 1.85rem;
  color: var(--accent-coral);
  opacity: 0.4;
  margin-bottom: 0.4rem;
}

.leader-quote-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  text-align: justify;
}

@media (max-width: 868px) {
  .executive-leader-card {
    grid-template-columns: 1fr;
  }

  .leader-photo-box {
    height: 300px;
  }

  .leader-details-box {
    padding: 1.75rem 1.5rem;
  }
}

/* Centenary Welcome Section Grid */
.welcome-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.welcome-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12);
  border: 1px solid var(--border-light);
}

.welcome-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.welcome-image-wrapper:hover .welcome-image {
  transform: scale(1.03);
}

.welcome-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.welcome-image-badge i {
  color: var(--accent-coral);
}

.welcome-text-content {
  text-align: left;
}

.welcome-text-content h2 {
  font-size: 2.4rem;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.welcome-text-content .tag {
  color: var(--accent-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 1.25rem;
}

.welcome-text-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #475569;
  text-align: justify;
}

@media (max-width: 992px) {
  .welcome-section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 2px solid var(--primary-navy);
  border-radius: 0px;
  box-shadow: 0 12px 30px rgba(10, 25, 47, 0.15);
  padding: 0.4rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-fast);
  z-index: 1100;
}

.dropdown-menu::before {
  display: none;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 0px;
  transition: var(--transition-fast);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background-color: var(--bg-slate);
  color: var(--accent-coral);
  border-left-color: var(--accent-coral);
  padding-left: 1.5rem;
}

.nav-cta-btn {
  background: var(--gradient-coral);
  color: #ffffff !important;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(255, 78, 49, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}

.nav-cta-btn:hover {
  background: var(--gradient-gold);
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

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

/* 3. Full-Width Hero Image Slider Section */
.fullwidth-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b1120;
  height: clamp(380px, 48vw, 680px);
}

.fullwidth-slides-container {
  display: grid;
  grid-template-areas: "slide-stack";
  width: 100%;
  height: 100%;
}

.fullwidth-slide {
  grid-area: slide-stack;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  z-index: 1;
}

.fullwidth-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

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

/* Floating overlay controls along the bottom of the slider */
.fullwidth-slider-controls {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.fullwidth-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.fullwidth-controls-inner .hero-dots,
.fullwidth-controls-inner .hero-nav-arrows {
  pointer-events: auto;
}

.fullwidth-slider-controls .hero-dots {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.fullwidth-slider-controls .hero-dot {
  width: 28px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.fullwidth-slider-controls .hero-dot.active,
.fullwidth-slider-controls .hero-dot:hover {
  width: 56px;
  background-color: rgba(255, 255, 255, 0.45);
}

.fullwidth-slider-controls .dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fbbf24 0%, #f43f5e 100%);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
}

.fullwidth-slider-controls .hero-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fullwidth-slider-controls .hero-arrow-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary-navy, #0a192f);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.fullwidth-slider-controls .hero-arrow-btn:hover {
  background-color: var(--primary-navy, #0a192f);
  color: #ffffff;
  border-color: var(--primary-navy, #0a192f);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.45);
}

/* ========================================================
   Royal Centenary Ribbon & Floating Golden Crest Overlay
   ======================================================== */
.centenary-celebration-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 14;
}

.slider-centenary-ribbon {
  position: absolute;
  top: 0;
  left: clamp(20px, 4vw, 56px);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: ribbonGentleFloat 4.2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.slider-centenary-ribbon:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 4px;
  border-radius: 50%;
}

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

/* 1. Golden Suspension Brooch / Pin at Very Top Edge */
.ribbon-top-brooch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 12px;
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 45%, #b45309 100%);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(251, 191, 36, 0.6);
  z-index: 6;
  border-bottom: 1.5px solid #fde047;
}

/* 2. Visible, Long Royal Silk Ribbon Tails Behind the Badge */
.ribbon-tails-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 310px;
  pointer-events: none;
  z-index: 1;
}

/* Top Suspension Neck Drape */
.ribbon-drape-neck {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 95px;
  background: linear-gradient(90deg, #07152b 0%, #1e3a8a 38%, #b91c1c 62%, #7f1d1d 100%);
  border-left: 3.5px solid #fbbf24;
  border-right: 3.5px solid #f59e0b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Long Silk Ribbon Tails (Flowing 120px+ Below the Medal!) */
.ribbon-tail {
  position: absolute;
  top: 50px;
  width: 46px;
  height: 255px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55), 0 0 15px rgba(245, 158, 11, 0.25);
  transform-origin: top center;
  overflow: hidden;
}

.ribbon-tail-navy {
  left: calc(50% - 46px);
  background: repeating-linear-gradient(
    90deg,
    #051026 0px,
    #0e264d 5px,
    #051026 10px
  ), linear-gradient(180deg, #1e3a8a 0%, #07152b 100%);
  border-left: 3.5px solid #fbbf24;
  border-right: 3px solid #d97706;
  transform: rotate(-9deg) translateX(-4px);
  animation: ribbonTailSwayLeft 5.2s ease-in-out infinite;
}

.ribbon-tail-crimson {
  left: calc(50% + 0px);
  background: repeating-linear-gradient(
    90deg,
    #7f1d1d 0px,
    #b91c1c 5px,
    #7f1d1d 10px
  ), linear-gradient(180deg, #dc2626 0%, #7f1d1d 100%);
  border-left: 3px solid #fde047;
  border-right: 3.5px solid #eab308;
  transform: rotate(9deg) translateX(4px);
  animation: ribbonTailSwayRight 4.6s ease-in-out infinite;
}

/* Gold Center Pinstripe on Each Tail */
.ribbon-gold-center-stripe {
  position: absolute;
  top: 0;
  bottom: 15%;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fef08a 0%, #fbbf24 50%, #d97706 100%);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
  display: block;
}

@keyframes ribbonTailSwayLeft {
  0%, 100% {
    transform: rotate(-9deg) translateX(-4px) skewX(0deg);
  }
  50% {
    transform: rotate(-6deg) translateX(-4px) skewX(2deg);
  }
}

@keyframes ribbonTailSwayRight {
  0%, 100% {
    transform: rotate(9deg) translateX(4px) skewX(0deg);
  }
  50% {
    transform: rotate(12deg) translateX(4px) skewX(-2deg);
  }
}

/* Ambient Golden Aura */
.ribbon-golden-glow {
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.45) 0%, rgba(245, 158, 11, 0.22) 45%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  animation: ribbonAuraBreathe 3.6s ease-in-out infinite;
}

@keyframes ribbonAuraBreathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.9;
  }
}

/* Golden Shockwave Ring (Triggers on slide change and click) */
.ribbon-shockwave {
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 3.5px solid rgba(251, 191, 36, 0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.ribbon-shockwave.pulsing {
  animation: ribbonShockwavePulse 0.9s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

@keyframes ribbonShockwavePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 1;
    border-width: 4px;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.8);
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
    border-width: 1px;
    box-shadow: 0 0 50px rgba(251, 191, 36, 0);
  }
}

/* 3D Golden Medallion Crest Wrapper */
.ribbon-badge-wrapper {
  margin-top: 32px;
  position: relative;
  width: clamp(100px, 9.5vw, 134px);
  height: clamp(100px, 9.5vw, 134px);
  border-radius: 50%;
  z-index: 3;
  perspective: 600px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.5));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
  transform-style: preserve-3d;
}

.ribbon-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.slider-centenary-ribbon:hover .ribbon-badge-wrapper {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 28px rgba(251, 191, 36, 0.75));
}

/* Metallic Light Sheen Sweep */
.ribbon-shimmer-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

.ribbon-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(32deg);
  animation: metallicLightSweep 3.8s ease-in-out infinite;
}

@keyframes metallicLightSweep {
  0%, 65% {
    left: -70%;
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Centenary Plaque Pill */
.ribbon-caption-pill {
  margin-top: -10px;
  z-index: 4;
  background: linear-gradient(135deg, #0b1120 0%, #1e1b4b 100%);
  border: 1.5px solid #fbbf24;
  border-radius: 9999px;
  padding: 4px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(251, 191, 36, 0.4);
  color: #fef3c7;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ribbon-star {
  color: #f59e0b;
  font-size: 0.72rem;
}

.slider-centenary-ribbon:hover .ribbon-caption-pill {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 14px rgba(251, 191, 36, 0.6);
}

/* Micro Click Hint */
.ribbon-click-hint {
  margin-top: 5px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fde047;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.92;
  transition: all 0.25s ease;
}

.slider-centenary-ribbon:hover .ribbon-click-hint {
  opacity: 1;
  transform: translateY(2px) scale(1.06);
  background: #0f172a;
  border-color: #f59e0b;
}

/* Celebration Toast Notification */
.ribbon-toast-msg {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.9);
  background: linear-gradient(135deg, #b45309 0%, #dc2626 100%);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.5);
  border: 1.5px solid #fef08a;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 16;
}

.ribbon-toast-msg.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 768px) {
  .fullwidth-hero-slider {
    height: clamp(240px, 58vw, 380px);
  }
  .slider-centenary-ribbon {
    top: 0;
    left: clamp(18px, 5vw, 32px);
    width: 90px;
  }
  .ribbon-top-brooch {
    width: 60px;
    height: 8px;
  }
  .ribbon-tails-container {
    width: 90px;
    height: 200px;
  }
  .ribbon-drape-neck {
    width: 54px;
    height: 55px;
    border-left-width: 2px;
    border-right-width: 2px;
  }
  .ribbon-tail {
    top: 30px;
    width: 30px;
    height: 165px;
    border-width: 2px;
  }
  .ribbon-tail-navy {
    left: calc(50% - 30px);
  }
  .ribbon-tail-crimson {
    left: calc(50% + 0px);
  }
  .ribbon-badge-wrapper {
    margin-top: 18px;
    width: 72px;
    height: 72px;
  }
  .ribbon-golden-glow {
    top: 54px;
    width: 85px;
    height: 85px;
  }
  .ribbon-shockwave {
    top: 54px;
    width: 76px;
    height: 76px;
  }
  .ribbon-caption-pill {
    margin-top: -6px;
    padding: 2px 8px;
    font-size: 0.54rem;
  }
  .ribbon-click-hint {
    display: none;
  }
  .ribbon-toast-msg {
    left: 0;
    transform: translateX(0) translateY(8px) scale(0.9);
    font-size: 0.76rem;
    padding: 5px 12px;
    border-radius: 16px;
    white-space: nowrap;
  }
  .ribbon-toast-msg.show {
    transform: translateX(0) translateY(0) scale(1);
  }
  .fullwidth-slider-controls {
    bottom: 12px;
  }
  .fullwidth-slider-controls .hero-dots {
    padding: 6px 10px;
    gap: 0.45rem;
  }
  .fullwidth-slider-controls .hero-dot {
    width: 20px;
    height: 6px;
  }
  .fullwidth-slider-controls .hero-dot.active,
  .fullwidth-slider-controls .hero-dot:hover {
    width: 40px;
  }
  .fullwidth-slider-controls .hero-arrow-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

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

.hero-dot {
  width: 28px;
  height: 8px;
  background-color: #cbd5e1;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-dot.active,
.hero-dot:hover {
  width: 52px;
}

.dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--accent-coral);
  border-radius: 20px;
}


.hero-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-arrow-btn {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  color: var(--primary-navy);
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.hero-arrow-btn:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.2);
}



.hero-editorial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-editorial-text h1 {
  font-size: 2.75rem;
  color: var(--primary-navy);
  line-height: 1.12;
  margin-bottom: 1rem;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-editorial-text h1 span.accent {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-editorial-text p {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

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

.btn-pill-navy {
  background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
  color: #ffffff !important;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.25);
}

.btn-pill-navy:hover {
  background: linear-gradient(135deg, var(--accent-coral) 0%, #e11d48 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
}

.btn-pill-outline {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--primary-navy) !important;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--primary-navy);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-pill-outline:hover {
  background-color: var(--primary-navy);
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.2);
}

/* Hero Media Card with Floating Box Badges */
.hero-media-wrapper {
  position: relative;
  min-height: 440px;
  order: -1;
}

.hero-media-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.18), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.hero-media-wrapper:hover .hero-media-img {
  transform: scale(1.02);
  box-shadow: 0 25px 60px -10px rgba(30, 58, 138, 0.25);
}

.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1rem 1.35rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.floating-stat-card:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 18px 35px rgba(30, 58, 138, 0.18);
}

.floating-stat-card.top-left {
  top: -20px;
  left: -25px;
}

.floating-stat-card.bottom-right {
  bottom: -20px;
  right: -25px;
}

.stat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--gold-bg);
  color: var(--centenary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-text strong {
  font-size: 1.35rem;
  color: var(--primary-navy);
  display: block;
  line-height: 1;
}

.stat-text span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* 4. Vibrant Feature & Facility Cards Grid */
.minimalist-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.minimalist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  opacity: 0.85;
  transition: height 0.3s ease;
}

.minimalist-card.card-gold::before { background: var(--gradient-gold); }
.minimalist-card.card-emerald::before { background: var(--gradient-emerald); }
.minimalist-card.card-purple::before { background: var(--gradient-purple); }
.minimalist-card.card-coral::before { background: var(--gradient-coral); }

.minimalist-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.12);
  transform: translateY(-6px);
}

.minimalist-card.card-gold:hover { box-shadow: var(--shadow-glow-gold); }
.minimalist-card.card-emerald:hover { box-shadow: var(--shadow-glow-emerald); }
.minimalist-card.card-purple:hover { box-shadow: var(--shadow-glow-purple); }
.minimalist-card.card-coral:hover { box-shadow: 0 10px 25px rgba(255, 78, 49, 0.25); }

.minimalist-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--gradient-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transition: transform 0.3s ease;
}

.minimalist-card:hover .minimalist-icon {
  transform: scale(1.1) rotate(-4deg);
}

.minimalist-icon.icon-gold {
  background: var(--gradient-gold);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}

.minimalist-icon.icon-emerald {
  background: var(--gradient-emerald);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
}

.minimalist-icon.icon-purple {
  background: var(--gradient-purple);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

.minimalist-icon.icon-coral {
  background: var(--gradient-coral);
  box-shadow: 0 6px 16px rgba(255, 78, 49, 0.3);
}

/* 5. Minimalist Footer */
.site-footer-minimal {
  background-color: var(--primary-navy);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid var(--border-light);
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 0.6rem;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   Staff Directory Table & Controls
   ═══════════════════════════════════════════════════════════ */
.staff-search-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.staff-search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.staff-search-input-wrapper i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.staff-search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.staff-search-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.staff-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.04);
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.staff-table th {
  background: #f8fafc;
  color: var(--primary-navy);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.1rem 1.5rem;
  border-bottom: 2px solid var(--border-light);
}

.staff-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.98rem;
  color: #334155;
  vertical-align: middle;
}

.staff-table tbody tr:last-child td {
  border-bottom: none;
}

.staff-table tbody tr:hover {
  background-color: #f8fafc;
}

.staff-table tbody tr.hm-row {
  background-color: #fffbeb;
}

.staff-table tbody tr.hm-row:hover {
  background-color: #fef3c7;
}

.designation-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.badge-hm { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2); }
.badge-upst { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2); }
.badge-lpst { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2); }
.badge-lang { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2); }
.gallery-filter-btn {
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-filter-btn:hover {
  background: var(--bg-tint-blue);
  color: var(--accent-blue);
  border-color: var(--blue-border);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: var(--gradient-blue);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.gallery-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.3);
}

.gallery-img-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #ffffff;
  font-size: 1.5rem;
  background: var(--accent-coral);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-info {
  padding: 1.25rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.92);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent-coral);
}

.footer-sub-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .hero-editorial-grid { display: flex; flex-direction: column; text-align: center; gap: 3rem; }
  .hero-editorial-text p { margin: 0 auto 2rem auto; }
  .hero-pill-buttons { justify-content: center; }
  .floating-stat-card.top-left { left: 0; }
  .floating-stat-card.bottom-right { right: 0; }
  
  .mobile-nav-toggle,
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 3px solid var(--primary-navy);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15);
    z-index: 1000;
  }

  .nav-links-menu.active {
    display: flex !important;
    animation: navMenuFadeDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links-menu li {
    width: 100%;
  }

  .nav-item-link {
    width: 100%;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    font-size: 0.98rem;
  }

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

  /* Dropdown on mobile - Collapsed by default */
  .nav-item-dropdown {
    width: 100%;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--accent-coral);
    background: var(--bg-slate);
    margin: 0.4rem 0 0.4rem 0.5rem;
    padding: 0.35rem 0.5rem;
    width: calc(100% - 0.5rem);
    transition: all 0.25s ease;
  }

  .nav-item-dropdown.active .dropdown-menu,
  .nav-item-dropdown.open .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: dropdownFadeIn 0.25s ease forwards;
  }

  .nav-item-dropdown > a .fa-chevron-down {
    transition: transform 0.25s ease;
  }

  .nav-item-dropdown.active > a .fa-chevron-down,
  .nav-item-dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .nav-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
  }

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

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

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

@media (max-width: 640px) {
  .hero-editorial-text h1 { font-size: 2.35rem; }
  .footer-grid-4 { grid-template-columns: 1fr; }
  .floating-navbar,
  .navbar-container { padding: 0.65rem 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   Interactive 3D Education Flip Book & Floating Badges
   ═══════════════════════════════════════════════════════════ */
.interactive-book-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-book-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
}

.book-icon-animated {
  font-size: 1.15rem;
  color: #fbbf24;
  animation: bookIconPulse 2s ease-in-out infinite;
}

@keyframes bookIconPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.25) rotate(-10deg); }
}

/* 3D Flip Book Floating Card Widget */
.hero-book-widget {
  position: absolute;
  bottom: -22px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-book-widget:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(30, 58, 138, 0.2);
  border-color: #cbd5e1;
}

.mini-book-spine {
  width: 38px;
  height: 50px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  border-radius: 4px 8px 8px 4px;
  position: relative;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
}

.mini-book-spine::after {
  content: '';
  position: absolute;
  top: 0;
  right: 5px;
  bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.book-widget-text strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  line-height: 1.2;
}

.form-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--accent-coral);
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.08);
  position: relative;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-tint-blue);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}



/* 6. Modern Contact & Form Styling */
.contact-section-wrapper {
  padding: 4.5rem 0 5.5rem 0;
  background: radial-gradient(circle at 5% 10%, rgba(219, 234, 254, 0.4) 0%, transparent 40%),
              radial-gradient(circle at 95% 90%, rgba(254, 243, 199, 0.4) 0%, transparent 40%),
              #f8fafc;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Info Column */
.contact-info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px -5px rgba(10, 25, 47, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-blue);
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.contact-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item-row:first-of-type {
  padding-top: 0.5rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item-row:hover .contact-icon-box {
  transform: scale(1.08) rotate(-4deg);
}

.contact-icon-blue { background: #eff6ff; color: #2563eb; }
.contact-icon-emerald { background: #ecfdf5; color: #059669; }
.contact-icon-coral { background: #fff1f2; color: #ff4e31; }
.contact-icon-pink { background: #fdf2f8; color: #db2777; }
.contact-icon-gold { background: #fffbeb; color: #d97706; }

.contact-item-details h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-item-details p, .contact-item-details a {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item-details a:hover {
  color: var(--accent-coral);
}

/* Map Card */
.contact-map-wrapper {
  margin-top: 1.75rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px -5px rgba(10, 25, 47, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
}

.contact-map-header {
  padding: 0.9rem 1.4rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-navy);
}

/* Form Container Card */
.form-container-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem 3.25rem;
  box-shadow: 0 20px 45px -10px rgba(10, 25, 47, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-container-card {
    padding: 2rem 1.5rem;
  }
}

.form-container-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-coral);
}

.form-card-header {
  margin-bottom: 2rem;
}

.form-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--bg-tint-coral);
  color: var(--accent-coral);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border: 1px solid #ffe4e6;
}

.form-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.form-card-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Form Grid & Input Fields */
.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .form-grid-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-field-group {
  margin-bottom: 1.25rem;
}

.form-field-group:last-of-type {
  margin-bottom: 1.75rem;
}

.form-custom-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-custom-label span.req {
  color: var(--accent-coral);
  font-weight: 800;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 1.15rem;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.input-icon-wrapper:focus-within .input-icon {
  color: var(--accent-coral);
  transform: scale(1.1);
}

.form-custom-input,
.form-custom-select,
.form-custom-textarea {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 2.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-navy);
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-custom-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1.1rem;
}

.form-custom-textarea {
  padding: 1rem 1.25rem 1rem 2.85rem;
  min-height: 130px;
  resize: vertical;
}

.form-custom-input::placeholder,
.form-custom-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-custom-input:hover,
.form-custom-select:hover,
.form-custom-textarea:hover {
  border-color: #cbd5e1;
  background-color: #ffffff;
}

.form-custom-input:focus,
.form-custom-select:focus,
.form-custom-textarea:focus {
  border-color: var(--accent-coral);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 78, 49, 0.12);
}

/* Submit Button & Assurance */
.form-action-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-stylish-btn {
  background: linear-gradient(135deg, var(--accent-coral) 0%, #e11d48 100%);
  color: #ffffff !important;
  padding: 1.05rem 2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 10px 24px rgba(255, 78, 49, 0.3);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}

.form-stylish-btn:hover {
  background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 25, 47, 0.28);
}

.form-stylish-btn:active {
  transform: translateY(-1px);
}

.form-stylish-btn i {
  transition: transform 0.3s ease;
}

.form-stylish-btn:hover i {
  transform: translateX(4px);
}

.form-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}

.form-security-note i {
  color: #10b981;
}


/* 7. Modern Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(10, 25, 47, 0.35);
  transform: scale(0.9) translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

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

.modal-icon-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
}

.modal-receipt-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Modern Dynamic Statistics Showcase (Centenary Royal Blue Luxury Glass Edition)
   ========================================================================== */
.stats-banner {
  position: relative;
  padding: 6rem 0 6.5rem 0;
  background: 
    radial-gradient(circle at 85% 15%, rgba(217, 119, 6, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(56, 189, 248, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.45) 0%, transparent 70%),
    linear-gradient(135deg, #050f20 0%, #091a38 45%, #17326c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 2px solid rgba(217, 119, 6, 0.5);
  overflow: hidden;
  color: #ffffff;
}

/* Subtle Animated Light Pulse */
.stats-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 180%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
  pointer-events: none;
  animation: statsPulse 12s ease-in-out infinite alternate;
}

@keyframes statsPulse {
  0% { transform: scale(1) translateY(0); opacity: 0.5; }
  100% { transform: scale(1.08) translateY(20px); opacity: 0.85; }
}

/* Floating Centenary Particles */
.stats-particles,
.stats-particles *,
.stats-watermark,
.stats-watermark * {
  pointer-events: none !important;
  user-select: none !important;
}

.stats-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.stats-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.9) 0%, rgba(245, 158, 11, 0) 70%);
  animation: floatParticle 8s ease-in-out infinite alternate;
}

.stats-particles .p-1 { width: 8px; height: 8px; top: 20%; left: 12%; animation-duration: 7s; }
.stats-particles .p-2 { width: 14px; height: 14px; top: 65%; left: 22%; animation-duration: 9.5s; opacity: 0.4; }
.stats-particles .p-3 { width: 6px; height: 6px; top: 28%; right: 15%; animation-duration: 6s; }
.stats-particles .p-4 { width: 12px; height: 12px; top: 78%; right: 28%; animation-duration: 11s; opacity: 0.5; }
.stats-particles .p-5 { width: 10px; height: 10px; top: 15%; left: 48%; animation-duration: 8.5s; opacity: 0.6; }
.stats-particles .p-6 { width: 16px; height: 16px; top: 82%; left: 8%; animation-duration: 10s; opacity: 0.35; }

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-25px) translateX(15px) scale(1.3); opacity: 0.8; }
  100% { transform: translateY(-50px) translateX(-10px) scale(1); opacity: 0.3; }
}

/* Atmospheric Rotating Background Watermark Badge */
.stats-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.09;
  z-index: 1;
  filter: drop-shadow(0 0 50px rgba(245, 158, 11, 0.4));
  animation: slowRotateWatermark 90s linear infinite;
}

.stats-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes slowRotateWatermark {
  100% { transform: rotate(360deg); }
}

/* Ensure container sits proudly above background decorations */
.stats-banner .container {
  position: relative;
  z-index: 20;
}

/* Centenary Header Above Cards */
.stats-centenary-header {
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
  text-align: left;
}

.stats-centenary-badge-wrap {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating Golden Halo Ring */
.stats-badge-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, #f59e0b 90deg, transparent 180deg, #38bdf8 270deg, transparent 360deg);
  animation: haloSpin 8s linear infinite;
  filter: blur(4px);
  opacity: 0.75;
}

@keyframes haloSpin {
  100% { transform: rotate(360deg); }
}

.stats-centenary-badge-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 25px rgba(217, 119, 6, 0.5));
  animation: badgeGentleFloat 4s ease-in-out infinite;
}

@keyframes badgeGentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

.stats-centenary-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stats-centenary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  background: rgba(254, 243, 199, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
}

.stats-centenary-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.15;
}

.stats-centenary-subtitle {
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.88);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 25;
}

/* Ultra-Modern Frosted Glass Cards */
.stat-card-modern {
  background: rgba(14, 28, 62, 0.72);
  border-radius: 24px;
  padding: 2.5rem 1.6rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(2, 6, 23, 0.48);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  transform-style: preserve-3d;
  z-index: 30;
  pointer-events: auto !important;
}

.stat-card-modern > * {
  pointer-events: none;
}

/* Interactive Shimmer Light-Sweep */
.card-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.85s ease;
  pointer-events: none;
}

.stat-card-modern:hover .card-shimmer {
  transform: translateX(100%);
}

/* Neon Top Glow Bars */
.stat-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.95;
  transition: height 0.35s ease, filter 0.35s ease;
}

.stat-card-gold::before { background: linear-gradient(90deg, #d97706, #fbbf24, #f59e0b); }
.stat-card-blue::before { background: linear-gradient(90deg, #1d4ed8, #38bdf8, #0284c7); }
.stat-card-emerald::before { background: linear-gradient(90deg, #047857, #34d399, #10b981); }
.stat-card-purple::before { background: linear-gradient(90deg, #be123c, #fb7185, #f43f5e); }

.stat-card-modern:hover::before {
  height: 5px;
  filter: brightness(1.35);
}

/* Glowing Hover States */
.stat-card-modern:hover {
  transform: translateY(-10px);
}

.stat-card-gold:hover {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 22px 50px rgba(217, 119, 6, 0.32),
    0 0 30px rgba(245, 158, 11, 0.2);
}
.stat-card-blue:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 22px 50px rgba(37, 99, 235, 0.38),
    0 0 30px rgba(56, 189, 248, 0.2);
}
.stat-card-emerald:hover {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 22px 50px rgba(5, 150, 105, 0.32),
    0 0 30px rgba(52, 211, 153, 0.2);
}
.stat-card-purple:hover {
  border-color: rgba(251, 113, 133, 0.45);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 22px 50px rgba(225, 29, 72, 0.32),
    0 0 30px rgba(251, 113, 133, 0.2);
}

/* Glowing Micro-Icon Badges */
.stat-icon-badge {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.35rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card-gold .stat-icon-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.22);
}
.stat-card-blue .stat-icon-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.22);
}
.stat-card-emerald .stat-icon-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.22);
}
.stat-card-purple .stat-icon-badge {
  background: rgba(251, 113, 133, 0.15);
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.35);
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.22);
}

.stat-card-modern:hover .stat-icon-badge {
  transform: scale(1.18) rotate(6deg) translateY(-2px);
}

/* Number & Unit display with Vibrant Radiant Gradients */
.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
  will-change: transform;
}

.stat-card-gold .stat-number {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(245, 158, 11, 0.35));
}

.stat-card-blue .stat-number {
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(56, 189, 248, 0.35));
}

.stat-card-emerald .stat-number {
  background: linear-gradient(135deg, #d1fae5 0%, #34d399 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(52, 211, 153, 0.35));
}

.stat-card-purple .stat-number {
  background: linear-gradient(135deg, #ffe4e6 0%, #fb7185 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(251, 113, 133, 0.35));
}

.stat-unit {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #f1f5f9;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

/* Tagline / Subtitle */
.stat-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.45;
  margin-top: 0.3rem;
  max-width: 90%;
  transition: color 0.3s ease;
}

.stat-card-modern:hover .stat-tagline {
  color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 860px) {
  .stats-centenary-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .stats-centenary-pill {
    margin: 0 auto;
  }
  .stats-centenary-badge-img {
    width: 84px;
    height: 84px;
  }
  .stats-centenary-title {
    font-size: 1.75rem;
  }
  .stats-watermark {
    width: 280px;
    height: 280px;
    right: -40px;
    bottom: -30px;
    opacity: 0.06;
  }
}

@media (max-width: 640px) {
  .stats-banner {
    padding: 4rem 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .stat-card-modern {
    padding: 2rem 1.35rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   Kindergarten Showcase Section (Dark Blue Edition)
   ========================================================================== */
.kindergarten-section {
  padding: 5.5rem 0;
  background: 
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.14) 0%, transparent 45%),
    linear-gradient(135deg, #050f20 0%, #091b3b 50%, #132f63 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.kindergarten-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.kindergarten-image {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kindergarten-image-wrapper:hover .kindergarten-image {
  transform: scale(1.04);
}

.kindergarten-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(9, 27, 59, 0.9);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.kindergarten-image-badge i {
  color: #fbbf24;
}

.kindergarten-text-content {
  text-align: left;
}

.kindergarten-text-content .kg-tag {
  color: #38bdf8;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.75rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
}

.kindergarten-text-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.kindergarten-text-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #cbd5e1;
  text-align: justify;
  margin-bottom: 1.75rem;
}

.kindergarten-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.kg-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.kg-feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateX(4px);
}

.kg-feature-item i {
  color: #fbbf24;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .kindergarten-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .kindergarten-section {
    padding: 4rem 0;
  }
  .kindergarten-text-content h2 {
    font-size: 2rem;
  }
  .kindergarten-features-list {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   Founders & Founding Leadership Section (Royal Heritage Blue)
   ═══════════════════════════════════════════════════════════ */
.founders-section {
  position: relative;
  padding: 5.5rem 0;
  background: 
    radial-gradient(circle at 12% 20%, rgba(56, 189, 248, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 88% 80%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
    linear-gradient(135deg, #061329 0%, #0c234b 50%, #16366f 100%);
  border-top: 2px solid rgba(245, 158, 11, 0.35);
  border-bottom: 2px solid rgba(245, 158, 11, 0.35);
  color: #ffffff;
  overflow: hidden;
}

.founders-section .section-header h2 {
  color: #ffffff !important;
  font-size: 2.5rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.founders-section .section-header p {
  color: #cbd5e1 !important;
  font-size: 1.08rem;
  line-height: 1.75;
}

.founders-section .section-header .tag {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

.founder-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding-top: 1.75rem;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-gold);
  z-index: 5;
  transition: height 0.3s ease;
}

.founder-card.founder-primary::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  height: 6px;
}

.founder-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(245, 158, 11, 0.25);
}

.founder-card:hover::before {
  height: 8px;
}

.founder-img-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0.5rem auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.15), 0 0 0 3px #fbbf24;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.founder-card:hover .founder-img {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(10, 25, 47, 0.22), 0 0 0 4px #f59e0b;
}

.founder-badge-floating {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fef08a;
  border: 1px solid rgba(254, 240, 138, 0.45);
  padding: 0.28rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
  z-index: 3;
}

.founder-card.founder-primary .founder-badge-floating {
  background: var(--gradient-gold);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);
}

.founder-info {
  padding: 0.75rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  background: #ffffff;
}

.founder-name {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.founder-role-title {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.founder-desc {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.founder-honor-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
  justify-content: center;
}

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

@media (max-width: 640px) {
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Curriculum Page Styles
   ========================================================================== */
.curriculum-hero {
  background: linear-gradient(135deg, #071529 0%, #0f172a 60%, #1e293b 100%);
  color: #ffffff;
  padding: 5.5rem 0 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-coral);
}

.curriculum-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.curriculum-hero-pill {
  background: rgba(255, 78, 49, 0.15);
  border: 1px solid rgba(255, 78, 49, 0.4);
  color: #ff8a75;
  padding: 0.45rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.curriculum-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  max-width: 1000px;
  margin: 0 auto 1.5rem auto;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.curriculum-hero-lead {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.85;
  max-width: 920px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
  text-align: justify;
}

.curriculum-highlights-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.curriculum-metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1rem;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.curriculum-metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.5);
}

.curriculum-metric-card i {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
  display: block;
}

.curriculum-metric-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.curriculum-metric-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

/* 1. Architectural Phases Grid */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.phase-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.phase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.phase-card-lp {
  border-top: 5px solid #f97316;
}

.phase-card-up {
  border-top: 5px solid #0284c7;
}

.phase-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.phase-card-lp .phase-header-badge {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.phase-card-up .phase-header-badge {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.phase-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.phase-desc {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.phase-features-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phase-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.phase-features-list li i {
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.phase-card-lp .phase-features-list li i {
  color: #f97316;
}

.phase-card-up .phase-features-list li i {
  color: #0284c7;
}

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

.subject-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.subject-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.subject-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.subject-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.subject-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.25rem;
  text-align: justify;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.subject-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* 3. Infrastructure & Athletic Cards */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 3rem;
}

.infra-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 2.5rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.infra-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.infra-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.infra-card p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #cbd5e1;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.infra-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.infra-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}

/* 4. Homework Culture & Assessment */
.homework-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-left: 6px solid #10b981;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3.5rem 0;
}

.homework-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.homework-card h3 i {
  color: #10b981;
}

.homework-card p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #475569;
  text-align: justify;
}

/* 5. CCE Evaluation Grid */
.cce-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.cce-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.cce-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.cce-formative .cce-badge {
  background: #eef2ff;
  color: #4f46e5;
}

.cce-summative .cce-badge {
  background: #fef3c7;
  color: #b45309;
}

.cce-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.cce-card p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #64748b;
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .curriculum-highlights-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .curriculum-hero-title {
    font-size: 2.1rem;
  }
  .phases-grid,
  .infra-grid,
  .cce-grid,
  .subjects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .curriculum-highlights-bar {
    grid-template-columns: 1fr;
  }
  .phase-card,
  .infra-card,
  .homework-card {
    padding: 1.75rem;
  }
}







/* ==========================================================================
   Luxury White Background Campus Excellence / Facilities Showcase
   ========================================================================== */
.facilities-luxury-section {
  position: relative;
  padding: 6.5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.6) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(254, 243, 199, 0.5) 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 0.8) 0%, transparent 60%),
              linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  color: #0f172a;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.facilities-luxury-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.facilities-luxury-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.facilities-luxury-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.facilities-tag-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
  border-radius: 50px;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.facilities-luxury-title {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary-navy, #0a192f);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.facilities-luxury-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto;
}

.facilities-grid-luxury {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

/* Luxury Card with White/Frosted Aesthetics */
.facility-glass-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 2.25rem 1.65rem 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.facility-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, #0284c7), var(--card-glow, #38bdf8));
  opacity: 0.85;
  transition: height 0.3s ease;
}

.facility-glass-card:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 0 25px var(--card-glow, rgba(2, 132, 199, 0.15));
}

.facility-glass-card:hover::before {
  height: 6px;
}

/* Card Header: Medallion + Metric Badge */
.facility-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.facility-icon-medallion {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: transform 0.35s ease;
}

.facility-glass-card:hover .facility-icon-medallion {
  transform: scale(1.1) rotate(4deg);
}

.facility-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Card Content */
.facility-card-title {
  color: var(--primary-navy, #0a192f);
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.facility-card-desc {
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Micro-Feature Chips */
.facility-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.15rem;
  border-top: 1px solid #f1f5f9;
}

.facility-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  transition: all 0.25s ease;
}

.facility-glass-card:hover .facility-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Bottom Virtual Tour Banner inside Section */
.facilities-tour-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-left: 5px solid #f59e0b;
  border-radius: 22px;
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.tour-banner-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tour-banner-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.tour-banner-title {
  color: var(--primary-navy, #0a192f);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.tour-banner-desc {
  color: #64748b;
  font-size: 0.93rem;
  margin: 0;
}

.tour-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.tour-banner-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Responsiveness for Facilities Showcase */
@media (max-width: 1024px) {
  .facilities-grid-luxury {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities-luxury-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .facilities-luxury-section {
    padding: 4.5rem 0;
  }
  .facilities-grid-luxury {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .facilities-tour-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .tour-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .tour-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Dynamic Headless CMS Components (Videos, Testimonials & Modal Player)
   ========================================================================== */

/* 1. YouTube Video Showcase Section */
.videos-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.video-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.video-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.16);
  border-color: rgba(217, 119, 6, 0.35);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a192f;
  overflow: hidden;
}

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

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  padding-left: 4px;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

.video-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  z-index: 2;
}

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

.video-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-navy, #0a192f);
  line-height: 1.45;
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-play-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ef4444;
  display: flex;
  align-items: center;
}

.video-arrow {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: all 0.25s ease;
}

.video-card:hover .video-arrow {
  color: var(--primary-navy, #0a192f);
  transform: translateX(5px);
}

/* 2. Testimonials Showcase Section with Luxury Carousel */
.testimonials-section {
  padding: 5.5rem 0;
  background-color: var(--bg-slate, #f8fafc);
  position: relative;
  overflow: hidden;
}

.testimonials-carousel-container {
  position: relative;
  margin-top: 2.5rem;
}

.testimonials-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

.testimonial-card {
  flex: 0 0 calc((100% - 3.5rem) / 3);
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
}

.testimonial-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--primary-navy, #0a192f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.08);
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 5;
}

.testimonial-arrow-btn:hover {
  background: var(--primary-navy, #0a192f);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(10, 25, 47, 0.2);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50px;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dot.active {
  width: 28px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 1.75rem) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
    padding: 1.75rem 1.5rem;
  }
  .testimonial-arrow-btn {
    display: none;
  }
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #0a192f 100%);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy, #0a192f);
  margin: 0 0 0.2rem 0;
}

.testimonial-role {
  font-size: 0.83rem;
  color: #64748b;
  font-weight: 600;
}

/* 3. Dedicated Video Player Modal */
.video-modal-backdrop {
  z-index: 10001;
  background: rgba(5, 15, 32, 0.85);
  backdrop-filter: blur(10px);
}

.video-modal-content {
  background: #0a192f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 860px;
  width: 95%;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-close {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.8);
  transform: rotate(90deg);
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  background: #000000;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
