/*
  Frontend theme settings
  Change the values below to update the public website colors and fonts.
*/

/* ── Global broken image handler ───────────────────────────────
   JS (in <head>) sets opacity/visibility on error.
   CSS hides alt text via color:transparent as extra defence.
   Parent wrappers get placeholder bg so layout stays intact.
─────────────────────────────────────────────────────────────── */
img {
  color: transparent; /* hides alt text when image fails */
}
img.img-broken {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* Placeholder background so the card/wrapper still has shape */
.facility-img-wrap,
.ne-img,
[class*="-img-wrap"],
[class*="-thumb"],
[class*="-cover"] {
  background: #e8edf4;
}

/* ── No-image state: show overlay content by default ── */
.facility-img-wrap.img-missing {
  background: linear-gradient(145deg, #0c2b5c 0%, #1a5296 60%, #1189d5 100%);
}
/* Always-visible overlay when no image */
.facility-img-wrap.img-missing .facility-overlay {
  opacity: 1;
  justify-content: center;
}
/* Subtle pulse animation to distinguish "no image" state */
.facility-img-wrap.img-missing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
/* Keep card hover effect working */
.facility-card:hover .facility-img-wrap.img-missing {
  background: linear-gradient(145deg, #0a2248 0%, #154080 60%, #0d74bb 100%);
}

:root {
  --default-font: "Poppins", "Roboto", system-ui, -apple-system, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --background-color: #f8fafb;
  --default-color: #212529;
  --heading-color: #1189d5;        /* Brand Royal Blue from Logo */
  --accent-color: #1189d5;         /* Brand Royal Blue from Logo */
  --accent-color-rgb: 17, 137, 213; /* RGB components for opacity */
  --gold-color: #dca11c;           /* Brand Gold from Logo Orb */
  --gold-color-rgb: 220, 161, 28;  /* RGB components for opacity */
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #0c2b5c;
  --nav-hover-color: #1189d5;      /* Brand Royal Blue highlight on hover */
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #1189d5;

  --topbar-bg: linear-gradient(135deg, #061224 0%, #0c2b5c 50%, #1189d5 100%);
}

.light-background {
  --background-color: #ffffff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* ==========================================
   PAGE TITLE HERO BANNER — Navy Design
   ========================================== */
.sp-page-title {
  background: linear-gradient(135deg, #061224 0%, #0c2b5c 42%, #14548c 76%, #1189d5 100%) !important;
  background-color: #0c2b5c !important;
  padding: 155px 0 54px !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

/* Kill the inherited base-template overlay (main.css .page-title:before) that
   washes the hero out to pale gray — decoration now comes from real elements below. */
.sp-page-title::before,
.sp-page-title::after {
  display: none !important;
}

/* Dotted grid accents — real bounded elements so the pattern actually tiles */
.sp-hero-dots {
  position: absolute;
  width: 90px;
  height: 60px;
  background-image: radial-gradient(#dca11c 1.8px, transparent 1.8px);
  background-size: 14px 14px;
  background-repeat: repeat;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
.sp-hero-dots--tl { top: 20px; left: 26px; }
.sp-hero-dots--br {
  bottom: 14px;
  right: 40px;
}

/* Ring accents — two concentric-ish circles, top-right */
.sp-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(220,161,28,0.65);
  pointer-events: none;
  z-index: 1;
}
.sp-hero-ring--lg { top: -80px; right: -60px; width: 240px; height: 240px; }
.sp-hero-ring--sm { top: 4px; right: 132px; width: 92px; height: 92px; border-color: rgba(220,161,28,0.5); }

@media (max-width: 767px) {
  .sp-hero-ring--sm { display: none; }
}

.sp-page-title .container {
  position: relative;
  z-index: 2;
}

.sp-page-title-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-page-title .sp-section-tag {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FFC107;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.sp-page-title .sp-tag-dash {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #dca11c;
  border-radius: 2px;
}

.sp-page-title h1 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  color: #ffffff !important;
  margin: 6px 0 0 !important;
  line-height: 1.25;
}

.sp-page-title .sp-hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 8px 0 0 !important;
  max-width: 560px;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .sp-page-title { padding: 100px 0 38px !important; }
}

/* ==========================================
   BREADCRUMB CARD — floating below hero
   ========================================== */
.sp-crumbcard-wrap {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  margin-bottom: 6px;
}

.sp-crumbcard {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 12px 34px rgba(6,18,36,0.18);
}

.sp-crumb-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.sp-crumb-step:not(.active):hover {
  background: #f4f8ff;
}

.sp-crumb-step.active {
  background: #fbf1da;
  cursor: default;
}

.sp-crumb-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #0c2b5c;
  background: #ffffff;
  border: 1.5px solid #d7e3f0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sp-crumb-step:first-child .sp-crumb-icon {
  background: #0c2b5c;
  border-color: #0c2b5c;
  color: #ffffff;
}

.sp-crumb-step.active .sp-crumb-icon {
  background: #dca11c;
  border-color: #dca11c;
  color: #ffffff;
}

.sp-crumb-label {
  font-size: 14px;
  font-weight: 700;
  color: #0c2b5c;
  line-height: 1.25;
  max-width: 150px;
}

.sp-crumb-arrow {
  display: flex;
  align-items: center;
  color: #c3ccd8;
  font-size: 13px;
}

@media (max-width: 767px) {
  .sp-crumbcard-wrap { margin-top: -20px; }
  .sp-crumbcard { padding: 10px 14px; gap: 6px; }
  .sp-crumb-icon { width: 36px; height: 36px; font-size: 14px; }
  .sp-crumb-label { font-size: 12.5px; max-width: 110px; }
  .sp-crumb-step { padding: 4px 6px; gap: 8px; }
}

/* ==========================================
   HEADER — scroll transition and SRU-style hero overlay
   ========================================== */
.header {
  --background-color: #ffffff !important;
  background-color: #ffffff !important;
  --nav-color: #0c2b5c;
  --default-color: #0c2b5c;
  --heading-color: #0c2b5c;
  box-shadow: 0 2px 16px rgba(12, 43, 92, 0.10);
  transition: background-color .32s ease, box-shadow .32s ease, top .32s ease, backdrop-filter .32s ease;
}
.scrolled .header {
  --background-color: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 3px 20px rgba(12, 43, 92, 0.15);
}

body.index-page:not(.cgs-nav-solid) .topbar {
  background: linear-gradient(90deg, rgba(6,18,36,.72), rgba(12,43,92,.54), rgba(17,137,213,.28)) !important;
  border-bottom-color: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

body.index-page:not(.cgs-nav-solid) #header.header {
  --background-color: transparent !important;
  background: linear-gradient(180deg, rgba(6,18,36,.62), rgba(6,18,36,.10)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
}

body.index-page.cgs-nav-solid #header.header,
body.index-page.scrolled #header.header {
  background: #ffffff !important;
  box-shadow: 0 12px 34px rgba(12, 43, 92, 0.16) !important;
}

/* Nav links dark on white header */
#header .navmenu a,
#header .navmenu a:focus {
  color: #0c2b5c !important;
}
#header .navmenu a:hover,
#header .navmenu .active {
  color: #1189d5 !important;
}

body.index-page:not(.cgs-nav-solid) #header .navmenu > ul > li > a,
body.index-page:not(.cgs-nav-solid) #header .navmenu > ul > li > a:focus {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

body.index-page:not(.cgs-nav-solid) #header .navmenu > ul > li > a:hover,
body.index-page:not(.cgs-nav-solid) #header .navmenu > ul > li > a.active {
  color: #fac700 !important;
}

/* ==========================================
   LOGO — header badge plate
   Fixed height, width follows the artwork. The live logo is a wide lockup
   (wordmark + CBSE affiliation strip); forcing it into a square/circular frame
   with object-fit:contain renders it unreadably small.
   ========================================== */
.header .logo {
  height: 86px;
  min-width: 86px;
  max-width: 300px;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  padding: 6px 14px;
  margin-right: 18px;
  box-shadow: 0 12px 28px rgba(12,43,92,.18);
  border: 1px solid rgba(255,255,255,.78);
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.header .logo img {
  height: 100%;
  width: auto;
  display: block;
  clip-path: none;
  margin-bottom: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform .32s ease, filter .32s ease;
}

.header .logo {
  border-radius: 20px !important;
}

.header .logo img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

body.index-page:not(.cgs-nav-solid) .header .logo {
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
}

body.index-page.cgs-nav-solid .header .logo,
body.index-page.scrolled .header .logo {
  height: 74px;
  min-width: 74px;
  padding: 5px 12px;
}

body.index-page .hero {
  margin-top: 0 !important;
}

body.index-page .hero .hero-slide {
  min-height: 760px;
}

body.index-page .hero .hero-overlay {
    background: transparent !important;
    opacity: 0 !important;
    pointer-events: none;
}

body.index-page .hero .slide-bg,
body.index-page .hero .slide-video {
    filter: none !important;
    opacity: 1 !important;
}

body.index-page .hero .hero-content {
  max-width: 790px;
  padding-top: 68px;
}

body.index-page .hero .hero-content h1 {
  color: #ffffff !important;
  font-size: clamp(2.35rem, 4.9vw, 4.65rem) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 10px 30px rgba(0,0,0,.52);
}

body.index-page .hero .hero-content h1 strong,
body.index-page .hero .hero-content h1 span {
  color: #fac700 !important;
}

body.index-page .hero .hero-content p {
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(1rem, 1.6vw, 1.45rem) !important;
  line-height: 1.65 !important;
  max-width: 760px;
  text-shadow: 0 4px 18px rgba(0,0,0,.44);
}

body.index-page .hero .cta-buttons {
  gap: 22px !important;
  margin-top: 34px !important;
}

body.index-page .hero .cta-buttons .btn-primary,
body.index-page .hero .cta-buttons .btn-secondary {
  min-width: 210px;
  min-height: 62px;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}

body.index-page .hero .cta-buttons .btn-primary {
  background: linear-gradient(135deg,#1189d5,#0c2b5c) !important;
  border-color: transparent !important;
}

body.index-page .hero .cta-buttons .btn-secondary {
  background: #ffffff !important;
  color: #0c2b5c !important;
  border-color: #ffffff !important;
}

body.index-page .hero .cta-buttons .btn-secondary:hover {
  background: #fac700 !important;
  color: #061224 !important;
  border-color: #fac700 !important;
}

body.index-page .hero-slider-controls {
  bottom: 82px !important;
  z-index: 60 !important;
  background: rgba(6,18,36,.76) !important;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}

/* ==========================================
   PREMIUM COLLABORATIVE NAVY & GOLD STYLING
   ========================================== */

/* Accentuate Section Underlines with Brand Gold */
.section-title h2:before,
.section-title h2:after {
  background: var(--gold-color) !important;
}

/* Accentuate Carousel Pagination with Brand Gold */
.hero-pagination .swiper-pagination-bullet-active {
  background: var(--gold-color) !important;
  box-shadow: 0 0 10px rgba(220, 161, 28, 0.5) !important;
}

/* Brand Buttons Custom Colors & Transitions */
.cta-buttons {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap;
  margin-top: 30px !important;
}

.hero-swiper .btn-primary,
.hero .hero-container .hero-content .cta-buttons .btn-primary,
.cta-buttons .btn-primary,
.hero-swiper .btn-secondary,
.hero .hero-container .hero-content .cta-buttons .btn-secondary,
.cta-buttons .btn-secondary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

.hero-swiper .btn-primary,
.hero .hero-container .hero-content .cta-buttons .btn-primary,
.cta-buttons .btn-primary {
  background-color: var(--accent-color) !important;
  border: 2px solid var(--accent-color) !important;
  color: var(--contrast-color) !important;
}

.hero-swiper .btn-primary:hover,
.hero .hero-container .hero-content .cta-buttons .btn-primary:hover,
.cta-buttons .btn-primary:hover {
  background-color: var(--gold-color) !important;
  border-color: var(--gold-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(220, 161, 28, 0.35) !important;
}

.hero-swiper .btn-secondary,
.hero .hero-container .hero-content .cta-buttons .btn-secondary,
.cta-buttons .btn-secondary {
  background-color: transparent !important;
  border: 2px solid var(--contrast-color) !important;
  color: var(--contrast-color) !important;
}

.hero-swiper .btn-secondary:hover,
.hero .hero-container .hero-content .cta-buttons .btn-secondary:hover,
.cta-buttons .btn-secondary:hover {
  background-color: var(--contrast-color) !important;
  color: var(--accent-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25) !important;
}

/* Navigation Arrows Hover Accent */
.hero-nav-btn:hover {
  background: var(--gold-color) !important;
  border-color: var(--gold-color) !important;
  box-shadow: 0 8px 25px rgba(220, 161, 28, 0.4) !important;
}

/* Stats Card Accent and Orbs */
.hero .hero-container .stats-card .stats-header .decoration-line {
  background-color: var(--gold-color) !important;
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-icon {
  background-color: var(--gold-color) !important;
}

/* Program badges and event ticker register buttons */
.program-badge {
  background-color: var(--gold-color) !important;
}

.hero .event-ticker .ticker-item .btn-register:hover {
  color: var(--gold-color) !important;
}

.btn-view-all,
.btn-learn-more {
  color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

.btn-view-all:hover,
.btn-learn-more:hover {
  background-color: var(--gold-color) !important;
  border-color: var(--gold-color) !important;
  color: #ffffff !important;
}

/* Dynamic filters on homepage */
.isotope-layout .program-filters li.filter-active {
  background-color: var(--gold-color) !important;
  color: #ffffff !important;
}

.isotope-layout .program-filters li:hover {
  color: var(--gold-color) !important;
}

/* Footer — deep navy from logo palette, gold top border */
.footer {
  background: linear-gradient(160deg, #0a1628 0%, #0f2044 50%, #0c1a38 100%) !important;
  border-top: 4px solid #fac700 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #0c1a38 !important;
}
.main {
  background-color: var(--background-color, #ffffff) !important;
}
body::after, html::after {
  display: none !important;
}
/* Hide any injected stray elements that might cause spacing */
body > div:last-of-type:not(#waWidget):not(#preloader) {
  margin-bottom: 0 !important;
}

.footer .copyright, 
.footer .credits,
.footer .credits p,
.footer .copyright p {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ==========================================
   ULTRA-PREMIUM CAROUSEL STYLES
   ========================================== */

.hero-swiper {
  width: 100%;
  height: 90vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .hero-swiper {
    height: auto;
    min-height: 100vh;
  }
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 100px 0;
}

@media (max-width: 992px) {
  .hero-slide {
    padding: 120px 0 80px 0;
    height: auto;
    min-height: 100vh;
  }
}

.hero-slide .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Side scrim: keeps the photo bright and open on the right while holding
     the headline/paragraph side dark enough for white text to stay legible. */
  background: linear-gradient(90deg,
    rgba(6, 6, 6, 0.66) 0%,
    rgba(6, 6, 6, 0.62) 58%,
    rgba(6, 6, 6, 0.00) 86%);
  z-index: 2;
}

/* Below lg the hero copy spans the full column width, so the scrim has to
   cover the whole slide instead of just the left side. */
@media (max-width: 991.98px) {
  .hero-slide .hero-overlay {
    background: linear-gradient(180deg,
      rgba(6, 6, 6, 0.60) 0%,
      rgba(6, 6, 6, 0.64) 100%);
  }
}

.hero-slide .container {
  position: relative;
  z-index: 3;
}

.hero-slide .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Custom Navigation Controls */
.hero-nav-btn {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-nav-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 25px rgba(17, 137, 213, 0.4);
}

.swiper-button-prev.hero-nav-btn {
  left: 30px;
}

.swiper-button-next.hero-nav-btn {
  right: 30px;
}

.hero-nav-btn::after {
  display: none !important; /* Hide Swiper default text/icon */
}

.hero-nav-btn i {
  font-size: 22px;
  line-height: 1;
}

/* Custom Pagination dots */
.hero-pagination {
  bottom: 35px !important;
  z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 6px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--accent-color);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(17, 137, 213, 0.5);
}

@media (max-width: 991px) {
  .hero-nav-btn {
    display: none !important; /* Touch/Swipe is enough for tablets and mobile */
  }
  .hero-pagination {
    bottom: 20px !important;
  }
}

/* Cinematic Slide Micro-Animations */
.hero-slide .hero-content h1,
.hero-slide .hero-content p,
.hero-slide .hero-content .cta-buttons,
.hero-slide .stats-card {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active.hero-slide .hero-content h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.swiper-slide-active.hero-slide .hero-content p {
  opacity: 0.9;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.swiper-slide-active.hero-slide .hero-content .cta-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.swiper-slide-active.hero-slide .stats-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* ==========================================
   HOME PAGE SECTIONS — NEW STYLES
   ========================================== */

/* --- 2. Vision/Mission/Aim Cards --- */
.cgs-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(17,137,213,0.08);
  border: 1px solid rgba(17,137,213,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cgs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(17,137,213,0.15);
}
.cgs-card-highlight {
  background: linear-gradient(135deg, #0c2b5c 0%, #1189d5 100%);
  color: #fff;
}
.cgs-card-highlight h3,
.cgs-card-highlight p { color: #fff; }
.cgs-card-icon {
  width: 64px; height: 64px;
  background: rgba(17,137,213,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.cgs-card-icon i { font-size: 28px; color: #1189d5; }
.cgs-card-highlight .cgs-card-icon { background: rgba(255,255,255,0.15); }
.cgs-card-highlight .cgs-card-icon i { color: #dca11c; }
.cgs-card-thumb {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid rgba(17,137,213,0.18);
  box-shadow: 0 4px 14px rgba(17,137,213,0.15);
  flex-shrink: 0;
}
.cgs-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cgs-card-highlight .cgs-card-thumb {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.cgs-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #0c2b5c; }
.cgs-card p  { font-size: 0.92rem; color: #555; line-height: 1.7; }
/* Fix: highlight card text must override .cgs-card p */
.cgs-card-highlight h3 { color: #fff !important; }
.cgs-card-highlight p  { color: rgba(255,255,255,0.92) !important; }
.btn-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px;
  font-size: 0.85rem; font-weight: 600;
  color: #1189d5; text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.btn-read-more:hover { border-color: #dca11c; color: #dca11c; }
.cgs-card-highlight .btn-read-more { color: #dca11c; }

/* --- VMA card icon animation on scroll-in --- */
@keyframes iconBounce {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  60%  { transform: scale(1.2) rotate(5deg);  opacity: 1; }
  80%  { transform: scale(0.9) rotate(-3deg); }
  100% { transform: scale(1)   rotate(0deg);  opacity: 1; }
}
@keyframes cardSlideUp {
  0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}
.cgs-card {
  animation: cardSlideUp 0.6s ease both;
}
.cgs-card .cgs-card-icon {
  animation: iconBounce 0.7s ease both;
  animation-delay: 0.3s;
}
.cgs-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(17,137,213,0.18);
}
.cgs-card:hover .cgs-card-icon i {
  transform: rotate(10deg) scale(1.15);
  transition: transform 0.3s ease;
}

/* --- News & Events auto-scroll wrap --- */
.ne-scroll-wrap {
  padding: 12px 20px;
  height: 280px;
  overflow: hidden;        /* hide scrollbar, JS handles scroll */
  position: relative;
}
.ne-list-inner {
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════
   THE ULTIMATE BOND — dark premium (reference design)
═══════════════════════════════════════════════════ */
.ultimate-bond {
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.70)),
    var(--ultimate-bond-bg),
    linear-gradient(135deg, #fffbee 0%, #fff8e1 50%, #fdf3cc 100%) !important;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0 64px !important;
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.ub-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ub-blob-tl {
  width: 480px; height: 480px;
  background: rgba(220, 161, 28, 0.10);
  top: -140px; left: -120px;
}
.ub-blob-br {
  width: 420px; height: 420px;
  background: rgba(12, 43, 92, 0.07);
  bottom: -120px; right: -100px;
}

.ultimate-bond .container { position: relative; z-index: 2; }

/* ── Section title ── */
.ultimate-bond .section-title h2       { color: #0c2b5c; }
.ultimate-bond .section-title h2:before,
.ultimate-bond .section-title h2:after { background: #dca11c; }
.ultimate-bond .section-title p        { color: #5a6070; }

/* ── Center circle decoration ── */
.ub-center-wrap {
  position: relative;
  width: 220px; height: 220px;
  margin: 0 auto 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ub-center-blob {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(220, 161, 28, 0.18);
  filter: blur(36px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ub-center-ring {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(220, 161, 28, 0.6);
  animation: ub-spin 20s linear infinite;
}
.ub-center-circle {
  position: relative;
  z-index: 1;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c2b5c, #1a4a8a);
  border: 2px solid rgba(220, 161, 28, 0.50);
  box-shadow: 0 8px 32px rgba(12,43,92,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.ub-center-circle i {
  font-size: 2.1rem;
  color: #dca11c;
}
.ub-center-circle span {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #dca11c;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@keyframes ub-spin {
  to { transform: rotate(360deg); }
}

/* ── 2-column role cards ── */
.ub-roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.ub-role-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(220,161,28,0.20);
  border-left: 4px solid #dca11c;
  box-shadow: 0 2px 12px rgba(12,43,92,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ub-role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(12,43,92,0.13);
}
.ub-role-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(220,161,28,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ub-role-icon i { font-size: 1.3rem; color: #dca11c; }
.ub-role-card h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0c2b5c;
  margin-bottom: 5px;
  font-family: var(--heading-font);
}
.ub-role-card p {
  font-size: 0.79rem;
  color: #5a6070;
  line-height: 1.65;
  margin: 0;
}

/* ── Guide full-width card ── */
.ub-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #0c2b5c, #1a4a8a);
  border-radius: 16px;
  padding: 22px 24px;
  border-left: 5px solid #dca11c;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(12,43,92,0.18);
}
.ub-guide-card i {
  font-size: 1.35rem;
  color: #dca11c;
  flex-shrink: 0;
  margin-top: 2px;
}
.ub-guide-card strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 800;
  color: #dca11c;
  margin-bottom: 6px;
  font-family: var(--heading-font);
}
.ub-guide-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.72;
  margin: 0;
}

/* ── Bottom tag pills ── */
.ub-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ub-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid;
  font-family: var(--heading-font);
}
.ub-pill-gold { color: #0c2b5c; border-color: #dca11c; background: rgba(220,161,28,0.12); }
.ub-pill-dim  { color: #0c2b5c; border-color: #0c2b5c; background: rgba(12,43,92,0.07); }
.ub-pill-teal { color: #0c2b5c; border-color: #0c2b5c; background: rgba(12,43,92,0.07); }

/* ── Responsive ── */
@media (max-width: 767px) {
  .ub-roles-grid { grid-template-columns: 1fr; }
  .ub-guide-card { flex-direction: row; }
}
@media (max-width: 480px) {
  .ub-center-wrap { width: 180px; height: 180px; }
  .ub-center-circle { width: 120px; height: 120px; }
  .ub-center-ring { width: 160px; height: 160px; }
}

/* --- 3. News & Events --- */
.ne-box {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.ne-box-header {
  display: flex; align-items: center; gap: 10px;
  background: #0c2b5c; color: #fff;
  padding: 14px 20px;
}
.ne-events-header { background: linear-gradient(90deg,#c0392b,#e74c3c); }
.ne-box-header i  { font-size: 20px; color: #dca11c; }
.ne-box-header h3 { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.ne-scroll-wrap   { padding: 12px 20px; max-height: 280px; overflow-y: auto; }
.ne-scroll-wrap::-webkit-scrollbar { width: 4px; }
.ne-scroll-wrap::-webkit-scrollbar-thumb { background: #dca11c; border-radius: 4px; }
.ne-list          { list-style: none; padding: 0; margin: 0; }
.ne-list li       { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.ne-list li:last-child { border-bottom: none; }
.ne-date          { flex-shrink: 0; font-size: 0.72rem; font-weight: 700; color: #fff; background: #1189d5;
                    padding: 2px 7px; border-radius: 4px; white-space: nowrap; margin-top: 2px; }
.ne-events-header ~ .ne-scroll-wrap .ne-date { background: #e74c3c; }
.ne-list a        { font-size: 0.88rem; color: #333; text-decoration: none; line-height: 1.5; }
.ne-list a:hover  { color: #1189d5; }

/* --- 4. Learning Atmosphere --- */
.facility-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(17,137,213,0.15); }
.facility-img-wrap {
  position: relative; overflow: hidden; height: 200px;
}
.facility-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.facility-card:hover .facility-img-wrap img { transform: scale(1.07); }
.facility-overlay {
  position: absolute; inset: 0;
  background: rgba(12,43,92,0.88);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
  padding: 20px;
}
.facility-card:hover .facility-overlay { opacity: 1; }
.facility-overlay p { color: #fff; font-size: 0.85rem; line-height: 1.6; text-align: center; margin-bottom: 12px; }
.fac-read-more { font-size: 0.82rem; font-weight: 700; color: #dca11c; text-decoration: none; border: 1px solid #dca11c; padding: 4px 14px; border-radius: 20px; }
.fac-read-more:hover { background: #dca11c; color: #fff; }
.facility-body { padding: 16px; display: flex; align-items: center; gap: 10px; }
.facility-body i  { font-size: 22px; color: #1189d5; }
.facility-body h4 { margin: 0; font-size: 1rem; font-weight: 700; color: #0c2b5c; }

.footer-brand-logo-frame {
  display: inline-flex;
  width: 132px;
  height: 132px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
}

.footer-brand-logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* --- 5. Special Add-on's --- */
.addon-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-left: 4px solid #1189d5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.addon-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(17,137,213,0.14); }
.addon-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #0c2b5c, #1189d5);
  display: flex; align-items: center; justify-content: center;
}
.addon-icon i { font-size: 24px; color: #dca11c; }
.addon-thumb {
  width: 56px; height: 56px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(17,137,213,0.2);
  box-shadow: 0 3px 10px rgba(17,137,213,0.15);
}
.addon-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.addon-card h4 { font-size: 1.05rem; font-weight: 700; color: #0c2b5c; margin-bottom: 8px; }
.addon-card p  { font-size: 0.88rem; color: #555; line-height: 1.65; }

/* --- 6. Mastering Skills (dark bg) --- */
.mastering-skills.dark-background { background: linear-gradient(135deg, #061224 0%, #0c2b5c 100%) !important; }

/* Equal-height row — col uses flex column */
.mastering-skills .row { align-items: stretch; }
.mastering-skills [class*="col-"] { display: flex; }

.skill-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  min-height: 280px;   /* all cards same min height */
}
.skill-card:hover {
  background: rgba(220,161,28,0.15);
  border-color: rgba(220,161,28,0.45);
  transform: translateY(-6px);
}
.skill-thumb {
  width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 16px;
  background: rgba(220,161,28,0.15);
  border: 2px solid rgba(220,161,28,0.4);
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.skill-card:hover .skill-thumb { background: rgba(220,161,28,0.32); }
.skill-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skill-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(220,161,28,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(220,161,28,0.35);
  transition: background 0.3s;
  flex-shrink: 0;
}
.skill-card:hover .skill-icon { background: rgba(220,161,28,0.32); }
.skill-icon i  { font-size: 26px; color: #dca11c; }
.skill-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; text-align: center; }
.skill-card p  { font-size: 0.82rem; color: rgba(255,255,255,0.68); line-height: 1.65; margin: 0; text-align: center; flex: 1; }

/* --- 7. Our Legacy --- */
.legacy-card-link { text-decoration: none; }
.legacy-card {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.legacy-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(17,137,213,0.18); }
.legacy-img-wrap { position: relative; overflow: hidden; height: 180px; }
.legacy-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.legacy-card:hover .legacy-img-wrap img { transform: scale(1.07); }
.legacy-overlay {
  position: absolute; inset: 0;
  background: rgba(12,43,92,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.legacy-card:hover .legacy-overlay { opacity: 1; }
.legacy-overlay i { font-size: 32px; color: #dca11c; }
.legacy-body { padding: 14px 16px; background: #fff; }
.legacy-body h5 { margin: 0; font-size: 0.9rem; font-weight: 700; color: #0c2b5c; }

/* --- 8. Contact Section --- */
.contact-info .ci-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #0c2b5c, #1189d5);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info .ci-icon i  { font-size: 18px; color: #dca11c; }
.contact-info strong      { font-weight: 700; color: #0c2b5c; display: block; margin-bottom: 2px; }
.contact-info p, .contact-info a { font-size: 0.9rem; color: #555; text-decoration: none; }
.contact-info a:hover     { color: #1189d5; }
.contact-form .form-control {
  border-radius: 8px; border: 1px solid #dde3ec;
  padding: 10px 14px; font-size: 0.9rem;
}
.contact-form .form-control:focus { border-color: #1189d5; box-shadow: 0 0 0 3px rgba(17,137,213,0.10); }
.map-wrap iframe { border-radius: 12px; }

/* Hover Zoom effect on backgrounds */
.hero-slide .slide-bg,
.hero-slide .slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform 6s ease;
}

.swiper-slide-active.hero-slide .slide-bg,
.swiper-slide-active.hero-slide video.slide-video {
  transform: scale(1.06);
}

/* ── 3rd-level dropdown fix (School Management sub-options)
   main.css positions it to the LEFT (left:-100%) — override to RIGHT ── */
@media (min-width: 1200px) {
  .navmenu .dropdown .dropdown > ul {
    left: 100% !important;
    right: auto !important;
    top: 0 !important;
    min-width: 180px;
    border-top: 3px solid var(--gold-color);
    border-radius: 0 6px 6px 6px;
    box-shadow: 0 8px 30px rgba(12,43,92,.15);
  }
  .navmenu .dropdown .dropdown:hover > ul {
    left: 100% !important;
    right: auto !important;
    top: 0 !important;
    opacity: 1;
    visibility: visible;
  }
  /* Highlight active School Management item */
  .navmenu .dropdown .dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navmenu .dropdown .dropdown > a .toggle-dropdown {
    margin-left: 8px;
    font-size: 12px;
    opacity: 0.7;
  }
}

/* ── Visitor Counter Badge ── */
.vc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(250,199,0,0.35);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.vc-badge-label {
  background: #fac700;
  color: #0a1628;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  white-space: nowrap;
}
.vc-badge-count {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 18px;
  white-space: nowrap;
}

/* ==========================================
   CGS production polish overrides
   ========================================== */

.header-main {
  min-height: 78px;
}

.header .logo img {
  width: 232px;
  max-width: 24vw;
  height: 78px;
  object-fit: contain;
  object-position: center;
}

.footer .footer-about .logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

@media (max-width: 575px) {
  .header .logo img {
    width: 160px;
    height: 70px;
    max-width: 58vw;
  }
}

@media (min-width: 1200px) {
  #header .navmenu > ul {
    gap: 28px;
  }

  #header .navmenu > ul > li > a {
    align-items: center;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    min-height: 78px;
    padding: 0 !important;
  }

  #header .navmenu > ul > li > a .toggle-dropdown {
    font-size: 12px;
    margin-left: 7px;
    transition: transform .2s cubic-bezier(.2,.8,.2,1);
  }

  #header .navmenu > ul > li.dropdown:hover > a .toggle-dropdown {
    transform: rotate(180deg);
  }

  #header .navmenu > ul > li.dropdown {
    position: relative;
  }

  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel {
    left: 50% !important;
    right: auto !important;
    top: calc(100% - 4px) !important;
    width: min(720px, calc(100vw - 80px));
    min-width: 500px;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px;
    padding: 24px 26px 26px;
    border: 1px solid rgba(17, 137, 213, .14);
    border-top: 3px solid #fac700;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 70px rgba(6,18,36,.2);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px) scale(.985);
    transform-origin: top center;
    transition:
      opacity .18s ease-out,
      visibility .18s ease-out,
      transform .22s cubic-bezier(.22,1,.36,1);
  }

  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel::before {
    content: attr(data-menu-label);
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    color: #1189d5;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel::after {
    content: "";
    position: absolute;
    top: -10px;
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    background: #fff;
    border-left: 1px solid rgba(17,137,213,.14);
    border-top: 1px solid rgba(17,137,213,.14);
    transform: rotate(45deg);
  }

  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel > li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease-out, transform .22s cubic-bezier(.22,1,.36,1);
  }

  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li {
    opacity: 1;
    transform: translateY(0);
  }

  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li:nth-child(2) { transition-delay: .025s; }
  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li:nth-child(3) { transition-delay: .045s; }
  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li:nth-child(4) { transition-delay: .065s; }
  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li:nth-child(5) { transition-delay: .085s; }
  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li:nth-child(6) { transition-delay: .105s; }
  #header .navmenu > ul > li.dropdown:hover > .cgs-dropdown-panel > li:nth-child(7) { transition-delay: .125s; }

  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel > li > a {
    min-height: 52px;
    align-items: center;
    padding: 13px 15px !important;
    border-radius: 11px;
    background: #f4f8ff !important;
    color: #0c2b5c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: inset 0 0 0 1px rgba(12,43,92,.03);
    transition: background .16s ease-out, color .16s ease-out, transform .16s ease-out, box-shadow .16s ease-out;
  }

  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel > li > a:hover,
  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel > li > a.active {
    background: #ffffff !important;
    color: #1189d5 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(12,43,92,.1), inset 0 0 0 1px rgba(17,137,213,.18);
  }

  #header .navmenu .cgs-dropdown-panel .dropdown > .cgs-sub-dropdown {
    min-width: 240px;
    padding: 12px;
    border-radius: 14px;
    border-top: 3px solid #fac700;
    box-shadow: 0 18px 44px rgba(6,18,36,.18);
  }
}

.hero-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 86px;
  z-index: 48;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(6, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(6,18,36,.24);
}

.hero-slider-controls .hero-pagination {
  position: static !important;
  display: inline-flex;
  align-items: center;
  width: auto !important;
  transform: none !important;
}

.hero-pause-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fac700;
  color: #08234e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform .16s ease-out, background .16s ease-out;
}

.hero-pause-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.hero-slider-controls .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px !important;
  background: rgba(255,255,255,.62);
  opacity: 1;
  transition: width .22s cubic-bezier(.2,.8,.2,1), background .18s ease-out;
}

.hero-slider-controls .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 999px;
  background: #fac700 !important;
  box-shadow: 0 0 16px rgba(250,199,0,.34) !important;
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  z-index: 47;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #fac700, #20a4f3);
}

.hero-progress span.is-running {
  animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 575px) {
  .hero-slider-controls { bottom: 70px; }
  .hero-progress { bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel,
  #header .navmenu > ul > li.dropdown > .cgs-dropdown-panel > li,
  .hero-slider-controls .swiper-pagination-bullet {
    transition: none !important;
  }
}

.mastering-skills.dark-background {
  background: linear-gradient(135deg, #071b3e 0%, #0c2b5c 58%, #104f83 100%) !important;
}

.mastering-skills .section-title h2,
.mastering-skills .section-title p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.skill-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.skill-icon,
.skill-thumb {
  background: rgba(250, 199, 0, 0.18);
  border-color: rgba(250, 199, 0, 0.55);
}

.skill-card h4 { color: #ffffff; }
.skill-card p { color: rgba(255, 255, 255, 0.84); }

.legacy-card {
  background: #ffffff;
  border: 1px solid rgba(12, 43, 92, 0.08);
}

.legacy-img-wrap {
  height: 210px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.legacy-img-wrap img {
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.legacy-card:hover .legacy-img-wrap img {
  transform: scale(1.035);
}

/* Ultimate Bond reference-style layout */
.ultimate-bond {
  background: #ffffff !important;
  padding: 72px 0 66px !important;
  overflow: hidden;
}

.ultimate-bond .section-title h2 {
  color: #6b6b6b !important;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  text-transform: uppercase;
}

.ultimate-bond .section-title p { color: #6a6a6a !important; }

.ub-reference-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 440px) minmax(220px, 1fr);
  gap: clamp(18px, 3vw, 52px);
  align-items: center;
}

.ub-cloud-column {
  display: grid;
  gap: 34px;
}

.ub-cloud-card,
.ub-guide-note {
  position: relative;
  text-align: center;
}

.ub-cloud-name {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 70px;
  padding: 14px 30px;
  margin-bottom: 14px;
  color: var(--ub-color);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  font-weight: 300;
  line-height: 1;
  isolation: isolate;
  background:
    radial-gradient(circle at 24% 12%, rgba(255,255,255,.98) 0 20%, transparent 21%),
    radial-gradient(circle at 75% 9%, rgba(255,255,255,.98) 0 22%, transparent 23%),
    linear-gradient(112deg, #ffffff 0%, #ffffff 34%, rgba(255,255,255,.74) 48%, #ffffff 62%, #ffffff 100%);
  background-size: 100% 100%, 100% 100%, 230% 100%;
  border: 1px solid #d7d7d7;
  border-radius: 48px;
  filter: drop-shadow(12px 12px 0 #1189d5) drop-shadow(0 7px 7px rgba(0,0,0,.22));
}

.ub-cloud-name::before,
.ub-cloud-name::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-bottom: 0;
  border-radius: 50%;
  z-index: -1;
}

.ub-cloud-name::before {
  width: 58px;
  height: 58px;
  left: 28px;
  top: -20px;
}

.ub-cloud-name::after {
  width: 70px;
  height: 70px;
  right: 36px;
  top: -28px;
}

.ub-cloud-card p,
.ub-guide-note p {
  color: #6b6b6b;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 390px;
}

.ub-center-art {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ub-sky {
  width: min(100%, 430px);
  aspect-ratio: 1 / 1.05;
  position: relative;
  border-radius: 48% 52% 42% 58%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.96), rgba(255,255,255,.44) 28%, transparent 44%),
    linear-gradient(180deg, #dff6ff 0%, #c7ecf6 48%, #cbe8bd 49%, #a9d99a 100%);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.45);
  overflow: hidden;
}

.ub-sky strong {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  color: #1d1d1d;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 0.9;
  font-style: italic;
}

.ub-home,
.ub-school,
.ub-me {
  position: absolute;
  color: #2f2f2f;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.95rem;
}

.ub-home { left: 78px; top: 230px; transform: rotate(-3deg); }
.ub-school { right: 74px; top: 224px; transform: rotate(4deg); }
.ub-me { left: 50%; top: 230px; transform: translateX(-50%); color: #ffffff; }

.ub-child {
  position: absolute;
  left: 50%;
  top: 202px;
  width: 110px;
  height: 190px;
  transform: translateX(-50%);
}

.ub-head {
  position: absolute;
  left: 36px;
  top: 0;
  width: 42px;
  height: 46px;
  border-radius: 52% 48% 48% 52%;
  background: #f7c09a;
  border: 5px solid #231f20;
}

.ub-body {
  position: absolute;
  left: 28px;
  top: 48px;
  width: 60px;
  height: 72px;
  background: #f26f53;
  border: 5px solid #231f20;
  border-radius: 20px 20px 12px 12px;
}

.ub-arm,
.ub-leg {
  position: absolute;
  display: block;
  background: #f7c09a;
  border: 5px solid #231f20;
  border-radius: 999px;
}

.ub-arm-left { width: 92px; height: 16px; left: -44px; top: 60px; transform: rotate(-34deg); }
.ub-arm-right { width: 92px; height: 16px; right: -48px; top: 58px; transform: rotate(30deg); }
.ub-leg-left { width: 18px; height: 76px; left: 34px; top: 116px; background: #2f2f33; transform: rotate(6deg); }
.ub-leg-right { width: 18px; height: 76px; right: 28px; top: 116px; background: #2f2f33; transform: rotate(-6deg); }

.ub-ground {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: #2f2f2f;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.ub-guide-note {
  margin: 34px auto 0;
  max-width: 820px;
}

.ub-guide-note .ub-cloud-name {
  min-width: 170px;
  min-height: 64px;
}

@media (max-width: 991px) {
  .ub-reference-layout {
    grid-template-columns: 1fr;
  }
  .ub-cloud-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ub-center-art { order: -1; }
}

@media (max-width: 575px) {
  .ub-cloud-column {
    grid-template-columns: 1fr;
  }
  .ub-center-art {
    min-height: 340px;
  }
  .ub-cloud-name {
    min-width: 150px;
    min-height: 58px;
    font-size: 1.6rem;
  }
}

/* Production polish: logo cards, Ultimate Bond artwork, and cloud motion */
.legacy-card {
  height: 100%;
  overflow: hidden;
}

.legacy-img-wrap {
  height: 218px !important;
  padding: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%) !important;
}

.legacy-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 10px 16px !important;
}

.legacy-logo-columbia-global-school,
.legacy-logo-columbia-group-of-institutions {
  transform: scale(1.16);
}

.legacy-logo-columbia-juniors {
  transform: scale(1.1);
}

.legacy-logo-columbia-professional-university {
  transform: scale(1.52);
}

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

.legacy-card:hover .legacy-img-wrap img.legacy-logo-columbia-global-school,
.legacy-card:hover .legacy-img-wrap img.legacy-logo-columbia-group-of-institutions {
  transform: scale(1.2);
}

.legacy-card:hover .legacy-img-wrap img.legacy-logo-columbia-juniors {
  transform: scale(1.14);
}

.legacy-card:hover .legacy-img-wrap img.legacy-logo-columbia-professional-university {
  transform: scale(1.58);
}

.legacy-body {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.legacy-body h5 {
  line-height: 1.25;
  margin: 0;
}

.ultimate-bond {
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72)),
    radial-gradient(circle at 5% 8%, rgba(255, 198, 0, .10) 0 12%, transparent 13%),
    radial-gradient(circle at 96% 92%, rgba(12, 43, 92, .08) 0 10%, transparent 11%),
    var(--ultimate-bond-bg),
    #ffffff !important;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.ub-cloud-name {
  filter: none !important;
  box-shadow:
    8px 10px 0 rgba(17, 137, 213, .92),
    0 12px 26px rgba(12, 43, 92, .16) !important;
  animation:
    ubCloudFloat 6.6s ease-in-out infinite,
    ubCloudGlow 4.8s ease-in-out infinite,
    ubCloudShine 6.2s ease-in-out infinite;
  transform-origin: 50% 65%;
  transition: transform .28s ease, box-shadow .28s ease, color .28s ease, filter .28s ease;
}

.ub-cloud-name::before,
.ub-cloud-name::after {
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, .9),
    inset 0 10px 18px rgba(255,255,255,.85);
  animation: ubCloudPuff 5.2s ease-in-out infinite;
}

.ub-cloud-name::after {
  animation-delay: .75s;
}

.ub-cloud-card {
  animation: ubCardDrift 8.5s ease-in-out infinite;
}

.ub-cloud-left .ub-cloud-card:nth-child(1),
.ub-cloud-right .ub-cloud-card:nth-child(2) {
  justify-self: end;
}

.ub-cloud-left .ub-cloud-card:nth-child(2),
.ub-cloud-right .ub-cloud-card:nth-child(1),
.ub-cloud-right .ub-cloud-card:nth-child(3) {
  justify-self: center;
}

.ub-cloud-left .ub-cloud-card:nth-child(3) {
  justify-self: start;
}

.ub-cloud-card:nth-child(2) .ub-cloud-name { animation-delay: .55s; }
.ub-cloud-card:nth-child(3) .ub-cloud-name { animation-delay: 1.1s; }
.ub-cloud-right .ub-cloud-card:nth-child(1) .ub-cloud-name { animation-delay: .25s; }
.ub-cloud-right .ub-cloud-card:nth-child(2) .ub-cloud-name { animation-delay: .8s; }
.ub-cloud-right .ub-cloud-card:nth-child(3) .ub-cloud-name { animation-delay: 1.35s; }
.ub-guide-note .ub-cloud-name { animation-delay: 1.65s; }

.ub-cloud-card:nth-child(2) { animation-delay: .35s; }
.ub-cloud-card:nth-child(3) { animation-delay: .9s; }
.ub-cloud-right .ub-cloud-card:nth-child(1) { animation-delay: .2s; }
.ub-cloud-right .ub-cloud-card:nth-child(2) { animation-delay: .68s; }
.ub-cloud-right .ub-cloud-card:nth-child(3) { animation-delay: 1.15s; }

@keyframes ubCloudFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-.4deg) scale(1);
  }
  35% {
    transform: translate3d(7px, -8px, 0) rotate(.7deg) scale(1.018);
  }
  68% {
    transform: translate3d(-5px, 4px, 0) rotate(-.55deg) scale(.996);
  }
}

@keyframes ubCardDrift {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

@keyframes ubCloudPuff {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-4px) scale(1.06);
  }
  72% {
    transform: translateY(2px) scale(.98);
  }
}

@keyframes ubCloudShine {
  0%, 42% {
    background-position: 0 0, 0 0, -115% 0;
  }
  62% {
    background-position: 0 0, 0 0, 60% 0;
  }
  100% {
    background-position: 0 0, 0 0, 115% 0;
  }
}

@keyframes ubCloudGlow {
  0%, 100% {
    box-shadow:
      8px 10px 0 rgba(17, 137, 213, .92),
      0 12px 26px rgba(12, 43, 92, .16) !important;
  }
  50% {
    box-shadow:
      10px 12px 0 rgba(17, 137, 213, .96),
      0 14px 32px rgba(12, 43, 92, .24),
      0 0 26px color-mix(in srgb, var(--ub-color, #dca11c) 32%, transparent) !important;
  }
}

.ultimate-bond.ub-in-view .ub-cloud-name {
  animation-duration: 4.8s, 3.4s, 5.4s;
}

.ultimate-bond.ub-in-view .ub-cloud-card:nth-child(odd) .ub-cloud-name {
  filter: saturate(1.08);
}

.ub-center-art {
  min-height: 430px;
}

.ub-center-frame {
  width: min(100%, 430px);
  aspect-ratio: 843 / 1105;
  padding: 10px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(220, 161, 28, .75), rgba(17, 137, 213, .75)) border-box;
  border: 2px solid transparent;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(12, 43, 92, .14);
}

.ub-video-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  padding: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(250,199,0,.9), rgba(17,137,213,.92), rgba(95,207,154,.8)) border-box;
  box-shadow:
    0 22px 58px rgba(12, 43, 92, .18),
    0 0 0 8px rgba(17, 137, 213, .04);
}

.ub-video-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  pointer-events: none;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.62);
}

.ub-video-frame::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  transform: translateX(-72%);
  opacity: 0;
}

.ultimate-bond.ub-in-view .ub-video-frame::after {
  animation: ubVideoSheen 4.8s ease-in-out infinite;
}

.ub-center-frame img,
.ub-bond-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 20px;
  background: #ffffff;
}

.ub-bond-video {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  background: #eef7ff;
}

.ultimate-bond.ub-in-view .ub-video-frame {
  animation: ubVideoPulse 4.2s ease-in-out infinite;
}

@keyframes ubVideoPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 22px 58px rgba(12, 43, 92, .18),
      0 0 0 8px rgba(17, 137, 213, .04);
  }
  50% {
    transform: translateY(-5px);
    box-shadow:
      0 28px 68px rgba(12, 43, 92, .22),
      0 0 0 10px rgba(250, 199, 0, .08);
  }
}

@keyframes ubVideoSheen {
  0%, 54% {
    opacity: 0;
    transform: translateX(-72%);
  }
  65% {
    opacity: .75;
  }
  88%, 100% {
    opacity: 0;
    transform: translateX(72%);
  }
}

@media (max-width: 991px) {
  .ub-center-art {
    min-height: auto;
  }
  .ub-center-frame {
    width: min(100%, 360px);
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .legacy-img-wrap {
    height: 184px !important;
  }
  .legacy-img-wrap img {
    padding: 8px 12px !important;
  }
  .ub-center-frame {
    width: min(100%, 310px);
  }
}

/* Mastering Skills icon refresh */
.skill-icon,
.skill-thumb {
  position: relative;
  isolation: isolate;
  width: 76px !important;
  height: 76px !important;
  margin-bottom: 20px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(255,255,255,.16) 28%, transparent 48%),
    linear-gradient(135deg, var(--skill-a, #fac700), var(--skill-b, #1189d5)) !important;
  box-shadow:
    0 12px 26px rgba(0,0,0,.26),
    inset 0 0 0 2px rgba(255,255,255,.34) !important;
  animation: skillIconFloat 4.8s ease-in-out infinite;
}

.skill-icon::before,
.skill-thumb::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  z-index: -1;
  background: conic-gradient(from 90deg, var(--skill-a, #fac700), var(--skill-b, #1189d5), var(--skill-c, #5fcf9a), var(--skill-a, #fac700));
  opacity: .55;
  animation: skillIconSpin 6.5s linear infinite;
}

.skill-icon::after,
.skill-thumb::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: rgba(12, 43, 92, .22);
  z-index: -1;
}

.skill-icon i {
  color: #ffffff !important;
  font-size: 31px !important;
  text-shadow: 0 3px 10px rgba(0,0,0,.28);
}

.skill-thumb img {
  position: relative;
  z-index: 1;
  width: 72% !important;
  height: 72% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.24));
}

.mastering-skills .row > [class*="col-"]:nth-child(1) { --skill-a:#fac700; --skill-b:#ff8a00; --skill-c:#1189d5; }
.mastering-skills .row > [class*="col-"]:nth-child(2) { --skill-a:#5fcf9a; --skill-b:#1189d5; --skill-c:#fac700; }
.mastering-skills .row > [class*="col-"]:nth-child(3) { --skill-a:#8f7bff; --skill-b:#20a4f3; --skill-c:#fac700; }
.mastering-skills .row > [class*="col-"]:nth-child(4) { --skill-a:#ff6b6b; --skill-b:#fac700; --skill-c:#9bd000; }
.mastering-skills .row > [class*="col-"]:nth-child(5) { --skill-a:#ff8a00; --skill-b:#9d7bed; --skill-c:#20a4f3; }

.skill-card:hover .skill-icon,
.skill-card:hover .skill-thumb {
  animation-duration: 2.8s;
  box-shadow:
    0 16px 34px rgba(0,0,0,.32),
    0 0 30px color-mix(in srgb, var(--skill-a, #fac700) 38%, transparent),
    inset 0 0 0 2px rgba(255,255,255,.42) !important;
}

@keyframes skillIconFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.035); }
}

@keyframes skillIconSpin {
  to { transform: rotate(360deg); }
}

/* Homepage UI upgrade: Columbia photo bands and modern school cards */
.cgs-scroll-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f5f9ff;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.cgs-scroll-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.14)),
    radial-gradient(circle at 88% 12%, rgba(250,199,0,.12), transparent 28%);
  opacity: 1;
  pointer-events: none;
}

.cgs-scroll-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255,255,255,.64), rgba(245,249,255,.38) 58%, rgba(17,137,213,.07)),
    radial-gradient(circle at 88% 12%, rgba(250,199,0,.14), transparent 28%);
  pointer-events: none;
}

.cgs-addon-showcase.cgs-scroll-photo {
  min-height: 720px;
  padding: 110px 0 120px !important;
  background-color: #edf6ff;
}

.cgs-addon-showcase.cgs-scroll-photo::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.14)),
    radial-gradient(circle at 18% 20%, rgba(250,199,0,.13), transparent 28%);
  opacity: 1;
}

.cgs-addon-showcase.cgs-scroll-photo::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.26) 38%, rgba(245,250,255,.48) 100%),
    linear-gradient(90deg, rgba(12,43,92,.12), rgba(17,137,213,.10), rgba(250,199,0,.10));
}

.cgs-addon-showcase .container {
  position: relative;
  z-index: 1;
}

.cgs-addon-showcase .section-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}

.cgs-addon-showcase .cgs-addon-title-copy {
  display: inline-block;
  max-width: 100%;
  padding: 14px clamp(18px, 3vw, 34px) 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(9, 40, 77, 0.22);
  backdrop-filter: blur(10px);
}

.cgs-addon-showcase .section-title h2 {
  color: #1189d5;
  text-shadow: none;
}

.cgs-addon-showcase .section-title p {
  color: #173967;
  font-weight: 700;
  margin-bottom: 0;
}

.cgs-campus-buzz {
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cgs-campus-buzz::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -210px;
  border-radius: 50%;
  background: rgba(250,199,0,.12);
}

.cgs-campus-buzz .container {
  position: relative;
  z-index: 1;
}

.cgs-campus-buzz .ne-box {
  border-radius: 18px;
  border: 1px solid rgba(17,137,213,.12);
  box-shadow: 0 18px 42px rgba(12,43,92,.10);
  background: rgba(255,255,255,.96);
}

.cgs-campus-buzz .ne-box-header {
  min-height: 68px;
  background:
    linear-gradient(135deg, rgba(12,43,92,.98), rgba(17,137,213,.94));
}

.cgs-campus-buzz .ne-events-header {
  background:
    linear-gradient(135deg, #0c2b5c, #dca11c);
}

.cgs-campus-buzz .ne-list li {
  align-items: center;
  padding: 13px 0;
}

.cgs-campus-buzz .ne-date {
  min-width: 74px;
  text-align: center;
  border-radius: 999px;
  background: rgba(17,137,213,.12);
  color: #0c2b5c;
  padding: 6px 10px;
}

.cgs-buzz-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.cgs-buzz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,137,213,.18);
  background: rgba(255,255,255,.82);
  color: #0c2b5c;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cgs-buzz-eyebrow i {
  color: #dca11c;
}

.cgs-buzz-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 138px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid rgba(12,43,92,.2);
  color: #0c2b5c;
  background: rgba(255,255,255,.86);
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(12,43,92,.08);
  transition: transform .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.cgs-buzz-all:hover {
  color: #1189d5;
  border-color: rgba(17,137,213,.36);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(12,43,92,.14);
}

.cgs-buzz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, .86fr);
  gap: 34px;
  align-items: stretch;
}

.cgs-buzz-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cgs-buzz-card {
  min-height: 270px;
  opacity: 0;
  transform: translate3d(-36px, 42px, 0) scale(.97);
  transition:
    opacity .72s ease,
    transform .86s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--buzz-delay, 0ms);
  will-change: opacity, transform;
}

.cgs-buzz-card:nth-child(even),
.cgs-buzz-student {
  transform: translate3d(36px, 42px, 0) scale(.97);
}

.cgs-buzz-card.is-visible,
.cgs-buzz-student.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.cgs-buzz-card.is-featured {
  grid-row: span 2;
  min-height: 568px;
}

.cgs-buzz-card-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: 24px;
  background: #0c2b5c;
  box-shadow: 0 24px 58px rgba(12,43,92,.15);
}

.cgs-buzz-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,36,.06) 0%, rgba(6,18,36,.26) 38%, rgba(6,18,36,.9) 100%),
    radial-gradient(circle at 82% 12%, rgba(250,199,0,.22), transparent 28%);
  z-index: 1;
}

.cgs-buzz-card-link img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.cgs-buzz-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.cgs-buzz-date {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  min-width: 64px;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  color: #0c2b5c;
  text-align: center;
  box-shadow: 0 14px 28px rgba(6,18,36,.16);
}

.cgs-buzz-date strong,
.cgs-buzz-date small {
  display: block;
  line-height: 1;
}

.cgs-buzz-date strong {
  color: #b1242a;
  font-size: 1.45rem;
  font-weight: 900;
}

.cgs-buzz-date small {
  margin-top: 3px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cgs-buzz-type {
  position: absolute;
  top: 20px;
  right: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fac700;
  color: #061224;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cgs-buzz-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}

.cgs-buzz-content h3 {
  color: #fff;
  font-size: 1.26rem;
  font-weight: 900;
  margin: 0 0 7px;
}

.cgs-buzz-card.is-featured .cgs-buzz-content h3 {
  font-size: 1.55rem;
}

.cgs-buzz-content p {
  color: rgba(255,255,255,.82);
  margin: 0 0 12px;
}

.cgs-buzz-content > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.cgs-buzz-student {
  position: relative;
  min-height: 568px;
  opacity: 0;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 20%, rgba(250,199,0,.22), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(232,244,255,.94));
  box-shadow: 0 30px 70px rgba(12,43,92,.16);
  transition:
    opacity .72s ease,
    transform .86s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--buzz-delay, 0ms);
}

.cgs-buzz-student::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(17,137,213,.16);
  pointer-events: none;
}

.cgs-buzz-student-photo {
  position: absolute;
  inset: 0 0 76px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cgs-buzz-student-photo img {
  width: min(96%, 540px);
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 42px rgba(12,43,92,.28));
  animation: cgsStudentFloat 5.6s ease-in-out infinite;
}

.cgs-buzz-student-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cgs-buzz-student-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 22px;
  border-radius: 22px;
  background: rgba(12,43,92,.92);
  color: #fff;
  box-shadow: 0 18px 42px rgba(6,18,36,.24);
}

.cgs-buzz-student-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #fac700;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cgs-buzz-student-card h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 900;
}

.cgs-buzz-student-card p {
  color: rgba(255,255,255,.8);
  margin: 0 0 14px;
}

.cgs-buzz-student-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #061224;
  background: #fac700;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 900;
}

.cgs-buzz-compact {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

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

@media (max-width: 1199.98px) {
  .cgs-buzz-layout {
    grid-template-columns: 1fr;
  }

  .cgs-buzz-student {
    min-height: 520px;
  }
}

@media (max-width: 767.98px) {
  .cgs-buzz-heading {
    display: block;
  }

  .cgs-buzz-all {
    margin-top: 18px;
  }

  .cgs-buzz-cards,
  .cgs-buzz-compact {
    grid-template-columns: 1fr;
  }

  .cgs-buzz-card,
  .cgs-buzz-card.is-featured {
    min-height: 320px;
    grid-row: span 1;
  }

  .cgs-buzz-student {
    min-height: 500px;
  }

  .cgs-buzz-card:nth-child(even),
  .cgs-buzz-student,
  .cgs-buzz-card {
    transform: translate3d(0, 34px, 0) scale(.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgs-buzz-card,
  .cgs-buzz-student {
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .cgs-buzz-student-photo img {
    animation: none;
  }
}

/* Public News & Events listing reached from the Campus Buzz action. */
.cgs-news-listing {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.cgs-news-listing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.cgs-news-listing-heading h2 {
  margin: 0 0 8px;
  color: #0c2b5c;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 900;
}

.cgs-news-listing-heading p {
  margin: 0;
  color: #52677f;
  font-size: 1.04rem;
}

.cgs-news-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid rgba(12,43,92,.18);
  border-radius: 8px;
  color: #0c2b5c;
  background: #fff;
  font-weight: 800;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.cgs-news-home-link:hover {
  color: #1189d5;
  border-color: rgba(17,137,213,.45);
  transform: translateY(-2px);
}

.cgs-news-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cgs-news-listing-card {
  min-width: 0;
}

.cgs-news-listing-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(12,43,92,.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(12,43,92,.08);
  transition: box-shadow .25s ease, transform .25s ease;
}

.cgs-news-listing-card-link:hover {
  box-shadow: 0 20px 42px rgba(12,43,92,.16);
  transform: translateY(-4px);
}

.cgs-news-listing-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf3fb;
}

.cgs-news-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.cgs-news-listing-card-link:hover .cgs-news-listing-media img {
  transform: scale(1.045);
}

.cgs-news-listing-type {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cgs-news-listing-type.is-news {
  background: #1189d5;
}

.cgs-news-listing-type.is-event {
  color: #0c2b5c;
  background: #fac700;
}

.cgs-news-listing-copy {
  display: flex;
  min-height: 218px;
  flex: 1;
  flex-direction: column;
  padding: 21px;
}

.cgs-news-listing-date {
  margin: 0 0 10px;
  color: #718299;
  font-size: .84rem;
  font-weight: 700;
}

.cgs-news-listing-date i {
  color: #dca11c;
}

.cgs-news-listing-copy h2 {
  margin: 0 0 10px;
  color: #0c2b5c;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
}

.cgs-news-listing-copy > p:not(.cgs-news-listing-date) {
  margin: 0 0 16px;
  color: #52677f;
  line-height: 1.6;
}

.cgs-news-listing-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #1189d5;
  font-size: .9rem;
  font-weight: 900;
}

.cgs-news-listing-empty {
  padding: 70px 24px;
  border: 1px solid rgba(12,43,92,.12);
  border-radius: 8px;
  background: #fff;
  color: #52677f;
  text-align: center;
}

.cgs-news-listing-empty i {
  display: block;
  margin-bottom: 12px;
  color: #1189d5;
  font-size: 2.5rem;
}

.cgs-news-listing-empty h2 {
  margin: 0 0 8px;
  color: #0c2b5c;
  font-size: 1.35rem;
  font-weight: 900;
}

.cgs-news-listing-empty p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .cgs-news-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .cgs-news-listing-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .cgs-news-listing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cgs-news-listing-copy {
    min-height: 0;
  }
}

.cgs-photo-cards {
  background:
    radial-gradient(circle at 8% 15%, rgba(250,199,0,.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 52%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cgs-photo-cards::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(17,137,213,.08);
}

.cgs-photo-cards .container {
  position: relative;
  z-index: 1;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 420px;
  gap: 28px;
  align-items: stretch;
}

.learning-card-wrap {
  opacity: 0;
  transform: translateY(54px) scale(.965);
  transition:
    opacity .72s ease,
    transform .88s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--learning-delay, 0ms);
  will-change: opacity, transform;
}

.learning-card-wrap:nth-child(odd) {
  transform: translate(-42px, 54px) scale(.965);
}

.learning-card-wrap:nth-child(even) {
  transform: translate(42px, 54px) scale(.965);
}

.learning-card-wrap.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.cgs-photo-cards .facility-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(17,137,213,.14);
  box-shadow: 0 22px 56px rgba(12,43,92,.13);
  background: #fff;
  isolation: isolate;
}

.cgs-photo-cards .facility-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.38) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .3s ease, transform .85s ease;
}

.cgs-photo-cards .facility-card:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.cgs-photo-cards .facility-img-wrap {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  border-radius: 26px 26px 0 0;
}

.cgs-photo-cards .facility-img-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(6,18,36,.74));
  pointer-events: none;
  z-index: 1;
}

.cgs-photo-cards .facility-card:hover .facility-img-wrap img {
  transform: scale(1.1);
}

.cgs-photo-cards .facility-body {
  position: relative;
  padding: 18px 22px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(242,248,255,.96));
  z-index: 3;
}

.cgs-photo-cards .facility-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.cgs-photo-cards .facility-body i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #dca11c;
  background: rgba(12,43,92,.08);
  transition: transform .32s ease, background .32s ease, color .32s ease;
}

.cgs-photo-cards .facility-card:hover .facility-body i {
  color: #061224;
  background: #fac700;
  transform: rotate(-8deg) scale(1.08);
}

.cgs-photo-cards .facility-overlay {
  z-index: 2;
  background: linear-gradient(180deg, rgba(12,43,92,.08), rgba(12,43,92,.92));
  justify-content: flex-end;
  align-items: flex-start;
  opacity: 1;
  padding: 28px;
}

.cgs-photo-cards .facility-overlay p {
  text-align: left;
  margin-bottom: 14px;
  color: rgba(255,255,255,.92);
}

.cgs-photo-cards .fac-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
  background: #fac700;
  color: #061224;
  border-color: #fac700;
  box-shadow: 0 10px 22px rgba(250,199,0,.28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cgs-photo-cards .fac-read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(250,199,0,.38);
}

@media (max-width: 1199.98px) {
  .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 400px;
  }
}

@media (max-width: 767.98px) {
  .learning-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 390px;
    gap: 22px;
  }

  .learning-card-wrap:nth-child(odd),
  .learning-card-wrap:nth-child(even) {
    transform: translateY(36px) scale(.98);
  }

  .learning-card-wrap.is-visible {
    transform: translateY(0) scale(1);
  }

  .cgs-photo-cards .facility-img-wrap {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .learning-card-wrap {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
}

.discover-path {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 22%, rgba(250,199,0,.14), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(17,137,213,.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 58%, #ffffff 100%);
}

.discover-path::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(12,43,92,.06);
}

.discover-path-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 72px);
}

.discover-path-copy {
  order: 1;
}

.discover-path-visual {
  order: 2;
  display: flex;
  align-self: stretch;
  margin-top: clamp(172px, 12vw, 218px);
}

.discover-path-visual,
.discover-path-badge,
.discover-path .section-title,
.discover-path-card {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(.98);
  transition:
    opacity .72s ease,
    transform .88s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--path-delay, 0ms);
  will-change: opacity, transform;
}

.discover-path-visual {
  transform: translate3d(62px, 34px, 0) scale(.98);
}

.discover-path-card:nth-child(even) {
  transform: translate3d(46px, 34px, 0) scale(.98);
}

.discover-path-visual.is-visible,
.discover-path-badge.is-visible,
.discover-path .section-title.is-visible,
.discover-path-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.discover-path-photo {
  min-height: 600px;
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(231,243,255,.9)),
    radial-gradient(circle at 50% 22%, rgba(250,199,0,.18), transparent 34%);
  box-shadow: 0 30px 75px rgba(12,43,92,.13);
}

.discover-path-photo::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(17,137,213,.16);
  border-radius: 26px;
}

.discover-path-photo::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 105px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.34));
  pointer-events: none;
}

.discover-path-photo img {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  height: auto;
  max-height: calc(100% - 24px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 42px rgba(12,43,92,.24));
  animation: cgsStudentFloat 5.6s ease-in-out infinite;
}

.discover-path-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #0c2b5c;
  background: rgba(250,199,0,.15);
  border: 1px solid rgba(220,161,28,.22);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.discover-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.discover-path-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(12,43,92,.08);
  background: linear-gradient(180deg, #fff, #f6fbff);
  box-shadow: 0 18px 42px rgba(12,43,92,.09);
  transition:
    opacity .72s ease,
    transform .88s cubic-bezier(.16, 1, .3, 1),
    box-shadow .28s ease;
}

.discover-path-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 54px rgba(12,43,92,.14);
}

.discover-path-card h3 {
  margin: 0 0 8px;
  color: #0c2b5c;
  font-size: 1.15rem;
  font-weight: 900;
}

.discover-path-card p {
  margin: 0;
  color: #556271;
  line-height: 1.65;
}

.discover-path-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-top: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0c2b5c;
  background: #fff;
  font-weight: 900;
  font-size: .78rem;
}

.discover-path-gold { background: linear-gradient(180deg, rgba(250,199,0,.18), rgba(255,255,255,.95)); }
.discover-path-blue { background: linear-gradient(180deg, rgba(17,137,213,.15), rgba(255,255,255,.95)); }
.discover-path-mint { background: linear-gradient(180deg, rgba(40,167,69,.13), rgba(255,255,255,.95)); }
.discover-path-sky { background: linear-gradient(180deg, rgba(13,110,253,.12), rgba(255,255,255,.95)); }
.discover-path-lavender { background: linear-gradient(180deg, rgba(124,58,237,.11), rgba(255,255,255,.95)); }
.discover-path-green { background: linear-gradient(180deg, rgba(95,207,154,.16), rgba(255,255,255,.95)); }

.cgs-campus-buzz.cgs-scroll-photo::before,
.cgs-photo-cards.cgs-scroll-photo::before,
.discover-path.cgs-scroll-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.12));
  opacity: 1;
  filter: none;
  transform: none;
}

.cgs-campus-buzz.cgs-scroll-photo::after,
.cgs-photo-cards.cgs-scroll-photo::after,
.discover-path.cgs-scroll-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cgs-campus-buzz.cgs-scroll-photo::after {
  background:
    linear-gradient(90deg, rgba(247,251,255,.58) 0%, rgba(247,251,255,.36) 52%, rgba(255,255,255,.72) 100%),
    radial-gradient(circle at 82% 24%, rgba(250,199,0,.13), transparent 30%);
}

.cgs-photo-cards.cgs-scroll-photo::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.28) 46%, rgba(246,251,255,.54) 100%),
    radial-gradient(circle at 6% 18%, rgba(250,199,0,.16), transparent 24%);
}

.discover-path.cgs-scroll-photo::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.52) 46%, rgba(235,247,255,.64) 100%),
    radial-gradient(circle at 84% 14%, rgba(17,137,213,.14), transparent 30%);
}

.cgs-campus-buzz.cgs-scroll-photo .container,
.cgs-photo-cards.cgs-scroll-photo .container,
.discover-path.cgs-scroll-photo .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1199.98px) {
  .discover-path-layout {
    grid-template-columns: 1fr;
  }

  .discover-path-copy,
  .discover-path-visual {
    order: initial;
  }

  .discover-path-visual {
    align-self: auto;
    margin-top: 0;
  }

  .discover-path-photo {
    height: clamp(440px, 72vw, 580px);
    min-height: 0;
  }

  .discover-path-photo img {
    width: min(94%, 410px);
    max-height: calc(100% - 20px);
  }
}

@media (max-width: 767.98px) {
  .discover-path-grid {
    grid-template-columns: 1fr;
  }

  .discover-path-photo {
    height: 440px;
  }

  .discover-path-photo img {
    width: min(94%, 360px);
    max-height: 420px;
  }

  .discover-path-card:nth-child(even),
  .discover-path-visual {
    transform: translate3d(0, 30px, 0) scale(.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .discover-path-visual,
  .discover-path-badge,
  .discover-path .section-title,
  .discover-path-card {
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .discover-path-photo img {
    animation: none;
  }
}

.cgs-addon-showcase .addon-card {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.78);
  border-left: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(250,199,0,.2), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,248,255,.9));
  box-shadow: 0 26px 64px rgba(12,43,92,.16);
  backdrop-filter: blur(14px);
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(.23, 1, .32, 1),
    box-shadow 260ms cubic-bezier(.23, 1, .32, 1),
    border-color 260ms ease;
}

.cgs-addon-reveal {
  opacity: 0;
  transform: translate3d(var(--addon-shift, 0), 42px, 0) scale(.96) rotate(var(--addon-rotate, 0deg));
  transition:
    opacity .8s ease,
    transform .95s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--addon-delay, 0ms);
  will-change: opacity, transform;
}

.cgs-addon-from-left {
  --addon-shift: -92px;
  --addon-rotate: -1.5deg;
}

.cgs-addon-from-right {
  --addon-shift: 92px;
  --addon-rotate: 1.5deg;
}

.cgs-addon-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.cgs-addon-reveal:nth-child(1) { --addon-delay: 40ms; }
.cgs-addon-reveal:nth-child(2) { --addon-delay: 160ms; }
.cgs-addon-reveal:nth-child(3) { --addon-delay: 80ms; }
.cgs-addon-reveal:nth-child(4) { --addon-delay: 200ms; }
.cgs-addon-reveal:nth-child(n+5) { --addon-delay: 120ms; }

.cgs-addon-showcase .addon-card::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 6px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #fac700, #1189d5, #62d2a2);
  box-shadow: 0 0 24px rgba(17,137,213,.24);
  transform: scaleY(.58);
  transform-origin: top;
  transition: transform 360ms cubic-bezier(.23, 1, .32, 1);
}

.cgs-addon-showcase .addon-card::after {
  content: "";
  position: absolute;
  inset: -45% auto auto -25%;
  width: 58%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-120%) rotate(18deg);
  transition: transform 620ms cubic-bezier(.23, 1, .32, 1);
  z-index: 0;
  pointer-events: none;
}

.cgs-addon-showcase .addon-card > * {
  position: relative;
  z-index: 1;
}

.cgs-addon-showcase .addon-card:hover {
  transform: translateY(-10px);
  border-color: rgba(250,199,0,.46);
  box-shadow: 0 34px 78px rgba(12,43,92,.22);
}

.cgs-addon-showcase .addon-card:hover::before {
  transform: scaleY(1);
}

.cgs-addon-showcase .addon-card:hover::after {
  transform: translateX(260%) rotate(18deg);
}

.cgs-addon-showcase .addon-thumb,
.cgs-addon-showcase .addon-icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 16px 34px rgba(17,137,213,.22);
  transition: transform 260ms cubic-bezier(.23, 1, .32, 1), box-shadow 260ms ease;
}

.cgs-addon-showcase .addon-icon {
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(135deg, #07376f, #1189d5);
}

.cgs-addon-showcase .addon-icon::after,
.cgs-addon-showcase .addon-thumb::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(250,199,0,.28);
  opacity: 0;
  transform: scale(.9);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(.23, 1, .32, 1);
}

.cgs-addon-showcase .addon-icon i {
  font-size: 30px;
  filter: drop-shadow(0 4px 10px rgba(250,199,0,.22));
}

.cgs-addon-showcase .addon-thumb {
  border: 0;
}

.cgs-addon-showcase .addon-card:hover .addon-thumb,
.cgs-addon-showcase .addon-card:hover .addon-icon {
  transform: translateY(-3px) rotate(-2deg) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    0 22px 42px rgba(17,137,213,.28);
}

.cgs-addon-showcase .addon-card:hover .addon-icon::after,
.cgs-addon-showcase .addon-card:hover .addon-thumb::after {
  opacity: 1;
  transform: scale(1);
}

.cgs-addon-showcase .addon-card h4 {
  font-size: 1.24rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.cgs-addon-showcase .addon-card p {
  color: #566273;
  font-size: .96rem;
  line-height: 1.75;
}

.cgs-addon-reveal.is-visible .addon-icon,
.cgs-addon-reveal.is-visible .addon-thumb {
  animation: cgsAddonIconPop 620ms cubic-bezier(.23, 1, .32, 1) both;
  animation-delay: calc(var(--addon-delay, 0ms) + 180ms);
}

@keyframes cgsAddonIconPop {
  0% { opacity: .2; transform: scale(.7) rotate(-8deg); }
  62% { opacity: 1; transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@media (max-width: 767.98px) {
  .cgs-addon-from-left,
  .cgs-addon-from-right {
    --addon-shift: 34px;
  }

  .cgs-addon-from-left {
    --addon-shift: -34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgs-addon-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cgs-addon-reveal.is-visible .addon-icon,
  .cgs-addon-reveal.is-visible .addon-thumb {
    animation: none;
  }
}

.our-legacy {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.our-legacy .legacy-card {
  border-radius: 18px;
  border: 1px solid rgba(12,43,92,.08);
  box-shadow: 0 18px 42px rgba(12,43,92,.10);
}

.our-legacy .legacy-img-wrap {
  background:
    linear-gradient(180deg, #ffffff 0%, #edf6ff 100%) !important;
}

.our-legacy .legacy-body {
  border-top: 1px solid rgba(12,43,92,.08);
  padding: 18px 22px;
}

.contact.section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%) !important;
}

.contact-info {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17,137,213,.12);
  box-shadow: 0 18px 42px rgba(12,43,92,.10);
}

.contact-form {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17,137,213,.12);
  box-shadow: 0 18px 42px rgba(12,43,92,.10);
}

.map-wrap iframe {
  box-shadow: 0 18px 42px rgba(12,43,92,.12);
}

@media (max-width: 991px) {
  .cgs-scroll-photo {
    background-attachment: scroll;
    background-position: center top;
  }

  .cgs-photo-cards .facility-img-wrap {
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgs-scroll-photo {
    background-attachment: scroll;
  }
}

/* Navbar quick actions */
#header .header-main {
  gap: 18px;
}

#header .navmenu {
  flex: 1 1 auto;
}

#header .nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
  flex: 0 0 auto;
}

#header .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

#header .nav-cta:hover {
  transform: translateY(-2px);
}

#header .nav-cta-enquire {
  background: linear-gradient(135deg, #fac700 0%, #f4b72d 100%);
  color: #0c2b5c;
  box-shadow: 0 10px 26px rgba(250, 199, 0, .26);
  border-color: rgba(250, 199, 0, .75);
}

#header .nav-cta-prospectus {
  background: rgba(255, 255, 255, .86);
  color: #0c2b5c;
  border-color: rgba(17, 137, 213, .22);
  box-shadow: 0 10px 24px rgba(12, 43, 92, .08);
}

body.index-page:not(.cgs-nav-solid) #header .nav-cta-prospectus {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
}

body.index-page:not(.cgs-nav-solid) #header .nav-cta-enquire {
  color: #0c2b5c;
}

@media (min-width: 1200px) {
  .topbar-cta-group {
    display: none !important;
  }
}

@media (max-width: 1340px) and (min-width: 1200px) {
  #header .navmenu > ul {
    gap: 18px;
  }

  #header .nav-cta {
    padding: 0 14px;
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  #header .nav-cta-group {
    display: none !important;
  }

  .topbar-cta-group {
    display: flex !important;
  }
}

/* Final homepage polish: Special Add-On's and Mastering Skills */
.cgs-addon-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.cgs-addon-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.88) 48%, rgba(255, 255, 255, 0.72)),
    var(--section-bg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.cgs-addon-showcase::after {
  content: "";
  position: absolute;
  inset: auto -8% -26% -8%;
  z-index: -1;
  height: 44%;
  background:
    radial-gradient(circle at 24% 30%, rgba(229, 166, 20, 0.2), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(30, 145, 213, 0.18), transparent 34%);
  filter: blur(10px);
  pointer-events: none;
}

.cgs-addon-showcase .row {
  perspective: 1400px;
}

.cgs-addon-showcase .section-title {
  position: relative;
  z-index: 1;
}

.cgs-addon-showcase .addon-card {
  position: relative;
  min-height: 224px;
  padding: 34px 36px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(125, 191, 230, 0.44);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 248, 255, 0.78)),
    radial-gradient(circle at 0 0, rgba(255, 199, 37, 0.16), transparent 42%);
  box-shadow: 0 22px 54px rgba(10, 43, 84, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: rotateY(var(--addon-tilt, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 240ms ease, border-color 240ms ease;
  backdrop-filter: blur(14px);
}

.cgs-addon-from-left .addon-card {
  --addon-tilt: -1.2deg;
}

.cgs-addon-from-right .addon-card {
  --addon-tilt: 1.2deg;
}

.cgs-addon-showcase .addon-card::before {
  content: "";
  position: absolute;
  inset: 20px auto 20px 0;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc400, #1d91d5, #66d6a8);
  box-shadow: 0 0 26px rgba(29, 145, 213, 0.45);
}

.cgs-addon-showcase .addon-card::after {
  content: "";
  position: absolute;
  inset: -70% auto auto -35%;
  z-index: -1;
  width: 52%;
  height: 180%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  transform: rotate(18deg) translateX(-30%);
  animation: cgsSheen 6.5s ease-in-out infinite;
}

.cgs-addon-showcase .addon-card:hover {
  border-color: rgba(229, 166, 20, 0.52);
  box-shadow: 0 30px 74px rgba(10, 43, 84, 0.18), 0 12px 34px rgba(29, 145, 213, 0.11);
  transform: rotateY(0deg) translateY(-10px) scale(1.012);
}

.cgs-addon-showcase .addon-icon,
.cgs-addon-showcase .addon-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.5), transparent 25%),
    linear-gradient(145deg, #083265, #168fd3);
  box-shadow: 0 20px 36px rgba(9, 67, 122, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateZ(44px);
  animation: cgsAddonOrbFloat 5.8s ease-in-out infinite;
}

.cgs-addon-showcase .addon-icon::after,
.cgs-addon-showcase .addon-thumb::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.cgs-addon-showcase .addon-icon i {
  position: relative;
  z-index: 1;
  color: #ffc400;
  font-size: 34px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
}

.cgs-addon-showcase .addon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cgs-addon-showcase .addon-card h4 {
  color: #082a5b;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cgs-addon-showcase .addon-card p {
  color: #526175;
  font-size: 18px;
  line-height: 1.68;
}

.cgs-addon-reveal.is-visible .addon-card {
  animation: cgsAddonCardIn 680ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.cgs-addon-from-left.is-visible .addon-card {
  --addon-start-x: -46px;
}

.cgs-addon-from-right.is-visible .addon-card {
  --addon-start-x: 46px;
}

.mastering-skills.dark-background {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(31, 145, 213, 0.34), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(255, 196, 0, 0.16), transparent 32%),
    linear-gradient(135deg, #061d3f 0%, #0b3569 50%, #075783 100%) !important;
}

.mastering-skills.dark-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(5, 27, 58, 0.78), rgba(5, 34, 73, 0.82)),
    url("../img/generated/columbia-scroll-activity-park-bg.webp");
  background-position: center;
  background-size: cover;
  opacity: 0.5;
}

.mastering-skills.dark-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
  pointer-events: none;
}

.mastering-skills .row {
  perspective: 1500px;
}

.mastering-skills .col-lg:nth-child(1) .skill-card {
  --skill-photo: url("../img/generated/columbia-scroll-campus-bg.webp");
  --skill-accent: #ffc400;
  --skill-glow: rgba(255, 196, 0, 0.36);
}

.mastering-skills .col-lg:nth-child(2) .skill-card {
  --skill-photo: url("../img/generated/columbia-scroll-pathway-bg.webp");
  --skill-accent: #6dd6b3;
  --skill-glow: rgba(109, 214, 179, 0.34);
}

.mastering-skills .col-lg:nth-child(3) .skill-card {
  --skill-photo: url("../img/generated/columbia-scroll-learning-lab-bg.webp");
  --skill-accent: #7db7ff;
  --skill-glow: rgba(125, 183, 255, 0.32);
}

.mastering-skills .col-lg:nth-child(4) .skill-card {
  --skill-photo: url("../img/generated/columbia-scroll-activity-park-bg.webp");
  --skill-accent: #ff9b54;
  --skill-glow: rgba(255, 155, 84, 0.32);
}

.mastering-skills .col-lg:nth-child(5) .skill-card {
  --skill-photo: url("../img/generated/columbia-scroll-campus-courtyard-bg.webp");
  --skill-accent: #b99cff;
  --skill-glow: rgba(185, 156, 255, 0.32);
}

.mastering-skills .skill-card {
  position: relative;
  min-height: 390px;
  padding: 34px 28px 32px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateZ(0) rotateX(0deg);
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1), border-color 260ms ease, box-shadow 260ms ease;
  backdrop-filter: blur(12px);
}

.mastering-skills .skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--skill-photo);
  background-position: center;
  background-size: cover;
  opacity: 0.18;
  transform: scale(1.04);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mastering-skills .skill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 36, 77, 0.32), rgba(7, 28, 61, 0.9)),
    radial-gradient(circle at 50% 12%, var(--skill-glow), transparent 36%);
  pointer-events: none;
}

.mastering-skills .skill-card:hover {
  border-color: color-mix(in srgb, var(--skill-accent) 70%, white);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.25), 0 0 34px var(--skill-glow);
  transform: translateY(-12px) rotateX(4deg) rotateY(-3deg);
}

.mastering-skills .skill-card:hover::before {
  opacity: 0.3;
  transform: scale(1.12);
}

.mastering-skills .skill-icon,
.mastering-skills .skill-thumb {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.84), transparent 19%),
    conic-gradient(from 210deg, var(--skill-accent), #1d91d5, #6dd6b3, var(--skill-accent));
  box-shadow: 0 18px 36px var(--skill-glow), inset 0 -14px 22px rgba(0, 33, 75, 0.32);
  transform: translateZ(52px);
  animation: cgsSkillOrb 5.2s ease-in-out infinite;
}

.mastering-skills .skill-icon::before,
.mastering-skills .skill-thumb::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: inherit;
  background: rgba(8, 47, 99, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.mastering-skills .skill-icon i {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 34px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.mastering-skills .skill-thumb img {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  object-fit: cover;
}

.mastering-skills .skill-card h4,
.mastering-skills .skill-card p {
  position: relative;
  z-index: 1;
}

.mastering-skills .skill-card h4 {
  color: #fff;
  font-size: 25px;
  margin-bottom: 18px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mastering-skills .skill-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.64;
}

@keyframes cgsAddonCardIn {
  from {
    opacity: 0;
    transform: translateX(var(--addon-start-x, 0)) translateY(34px) rotateY(var(--addon-tilt, 0deg)) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotateY(var(--addon-tilt, 0deg)) scale(1);
  }
}

@keyframes cgsAddonOrbFloat {
  0%, 100% {
    transform: translateZ(44px) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateZ(44px) translateY(-8px) rotate(2deg);
  }
}

@keyframes cgsSkillOrb {
  0%, 100% {
    transform: translateZ(52px) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateZ(52px) translateY(-9px) rotate(7deg);
  }
}

@keyframes cgsSheen {
  0%, 42% {
    transform: rotate(18deg) translateX(-42%);
    opacity: 0;
  }
  54% {
    opacity: 0.9;
  }
  72%, 100% {
    transform: rotate(18deg) translateX(260%);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .cgs-addon-showcase::before {
    background-attachment: scroll;
  }

  .cgs-addon-showcase .addon-card {
    min-height: auto;
    padding: 28px;
  }

  .mastering-skills .skill-card {
    min-height: 330px;
  }
}

@media (max-width: 575px) {
  .cgs-addon-showcase .addon-card {
    flex-direction: column;
    gap: 20px !important;
  }

  .cgs-addon-showcase .addon-icon,
  .cgs-addon-showcase .addon-thumb {
    width: 82px;
    height: 82px;
  }

  .cgs-addon-showcase .addon-card h4,
  .mastering-skills .skill-card h4 {
    font-size: 22px;
  }

  .cgs-addon-showcase .addon-card p,
  .mastering-skills .skill-card p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgs-addon-showcase .addon-card,
  .cgs-addon-showcase .addon-card::after,
  .cgs-addon-showcase .addon-icon,
  .cgs-addon-showcase .addon-thumb,
  .mastering-skills .skill-card,
  .mastering-skills .skill-icon,
  .mastering-skills .skill-thumb {
    animation: none !important;
    transition: none !important;
  }
}

/* Final header alignment override */
#header .header-main {
  min-height: 92px !important;
  align-items: center !important;
  gap: 18px !important;
  max-width: none !important;
  padding-left: clamp(18px, 4vw, 72px) !important;
  padding-right: clamp(18px, 4vw, 72px) !important;
}

#header .logo-wrap {
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
}

#header .header-main .logo {
  height: 84px !important;
  min-width: 84px !important;
  max-width: 300px !important;
  margin-right: 0 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
}

#header .header-main .logo img {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (min-width: 1200px) {
  #header .navmenu > ul {
    justify-content: center !important;
    gap: clamp(16px, 1.4vw, 26px) !important;
  }

  #header .navmenu > ul > li > a {
    min-height: 92px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: clamp(14px, .82vw, 16px) !important;
  }

  #header .nav-cta-group {
    margin-left: 8px !important;
    gap: 10px !important;
  }

  #header .nav-cta {
    min-height: 42px !important;
    padding: 0 clamp(14px, 1.2vw, 22px) !important;
    font-size: clamp(12px, .75vw, 14px) !important;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  #header .header-main {
    padding-left: 22px !important;
    padding-right: 22px !important;
    gap: 14px !important;
  }

  #header .navmenu > ul {
    gap: 14px !important;
  }

  #header .nav-cta-group {
    gap: 8px !important;
  }

  #header .nav-cta {
    padding: 0 13px !important;
  }
}

/* Ultimate Bond should scroll like Special Add-On: one page flow, resting background */
@media (min-width: 992px) {
  #ultimate-bond.ultimate-bond {
    min-height: calc(100svh - 118px) !important;
    height: auto !important;
    max-height: none !important;
    padding: clamp(42px, 4vw, 58px) 0 clamp(46px, 4vw, 62px) !important;
    /* overflow-x must stay clipped: .ub-blob-br is offset -100px and otherwise
       gives the whole page a ~100px horizontal scrollbar. `clip` (not `hidden`)
       so the y axis is not turned into a scroll container. */
    overflow-x: clip !important;
    overflow-y: visible !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
    scroll-margin-top: 118px !important;
  }

  #ultimate-bond .container {
    height: auto !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  #ultimate-bond .section-title {
    margin-bottom: clamp(20px, 2vw, 30px) !important;
  }

  #ultimate-bond .section-title h2 {
    font-size: clamp(2.05rem, 3vw, 3rem) !important;
    margin-bottom: 12px !important;
  }

  #ultimate-bond .ub-reference-layout {
    align-items: center !important;
    gap: clamp(16px, 2vw, 34px) !important;
  }

  #ultimate-bond .ub-cloud-column {
    gap: clamp(14px, 1.7vw, 22px) !important;
  }

  #ultimate-bond .ub-cloud-name {
    min-width: clamp(158px, 13vw, 210px) !important;
    min-height: 54px !important;
    padding: 10px 24px !important;
    font-size: clamp(1.45rem, 2.15vw, 2.25rem) !important;
    margin-bottom: clamp(18px, 1.7vw, 24px) !important;
  }

  #ultimate-bond .ub-cloud-name::before {
    width: 48px !important;
    height: 48px !important;
    top: -16px !important;
  }

  #ultimate-bond .ub-cloud-name::after {
    width: 58px !important;
    height: 58px !important;
    top: -22px !important;
  }

  #ultimate-bond .ub-cloud-card p,
  #ultimate-bond .ub-guide-note p {
    font-size: clamp(.82rem, .9vw, .94rem) !important;
    line-height: 1.38 !important;
    max-width: 320px !important;
  }

  #ultimate-bond .ub-center-art {
    min-height: clamp(240px, 27vw, 330px) !important;
  }

  #ultimate-bond .ub-video-frame {
    width: min(100%, 430px) !important;
  }

  #ultimate-bond .ub-guide-note {
    margin-top: 14px !important;
    max-width: 740px !important;
  }
}

@media (max-width: 991px) {
  #ultimate-bond.ultimate-bond {
    background-attachment: scroll !important;
  }
}

/* Responsive alignment hardening: phones, tablets, and narrow laptops */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
}

#header .header-main {
  width: 100% !important;
}

@media (max-width: 1199.98px) {
  .topbar {
    height: 42px !important;
  }

  .topbar-hidden {
    top: -46px !important;
  }

  .topbar-inner {
    height: 42px !important;
    padding-inline: 14px !important;
    justify-content: flex-end !important;
  }

  #header.header {
    top: 42px !important;
  }

  #header.header.topbar-scrolled,
  #header.header.scrolled {
    top: 0 !important;
  }

  #header .header-main {
    min-height: 76px !important;
    padding: 8px 18px !important;
    gap: 12px !important;
  }

  #header .header-main .logo {
    height: 62px !important;
    min-width: 118px !important;
    max-width: 178px !important;
    padding: 6px 10px !important;
    border-radius: 16px !important;
  }

  #header .navmenu {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  #header .navmenu > ul {
    display: none !important;
  }

  .mobile-nav-active #header .navmenu > ul,
  .mobile-nav-active .navmenu > ul {
    display: block !important;
  }

  .mobile-nav-toggle {
    position: relative !important;
    z-index: 10013 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, .94) !important;
    border: 1px solid rgba(12, 43, 92, .12) !important;
    box-shadow: 0 10px 22px rgba(12, 43, 92, .12) !important;
    color: #0c2b5c !important;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
    color: #0c2b5c !important;
    background: #ffffff !important;
  }

  .mobile-nav-active .navmenu > ul {
    width: min(88vw, 360px) !important;
    max-width: 360px !important;
    padding: 64px 0 28px !important;
  }

  .mobile-nav-active .navmenu a,
  .mobile-nav-active .navmenu a:focus {
    min-height: 48px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .mobile-nav-active .navmenu .dropdown ul a {
    padding-left: 34px !important;
  }

  .hero,
  .hero .swiper,
  .hero .hero-slide {
    min-height: calc(100svh - 42px) !important;
  }

  .hero .hero-content {
    padding-top: 110px !important;
    padding-bottom: 120px !important;
    max-width: 620px !important;
  }

  .hero .hero-content h1 {
    font-size: clamp(2.05rem, 8vw, 3.4rem) !important;
    line-height: 1.04 !important;
  }

  .hero .hero-content p {
    font-size: clamp(1rem, 2.7vw, 1.18rem) !important;
    line-height: 1.55 !important;
  }

  .hero .cta-buttons {
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .hero .cta-buttons a {
    min-height: 46px !important;
  }

  .hero-nav-btn {
    display: none !important;
  }

  .cgs-scroll-photo,
  .cgs-addon-showcase::before,
  #ultimate-bond.ultimate-bond {
    background-attachment: scroll !important;
  }

  .cgs-buzz-layout,
  .discover-path-layout {
    grid-template-columns: 1fr !important;
  }

  .cgs-buzz-heading {
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .cgs-buzz-all {
    align-self: flex-start !important;
  }

  .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cgs-addon-showcase .addon-card {
    border-radius: 22px !important;
  }
}

@media (max-width: 767.98px) {
  .topbar-inner {
    justify-content: center !important;
  }

  .topbar-cta-group {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .btn-enquire,
  .btn-prospectus {
    height: 30px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    padding-inline: 12px !important;
  }

  #header .header-main {
    min-height: 68px !important;
    padding: 7px 14px !important;
  }

  #header .header-main .logo {
    height: 54px !important;
    min-width: 104px !important;
    max-width: 148px !important;
    padding: 5px 8px !important;
    border-radius: 14px !important;
  }

  .mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    font-size: 20px !important;
  }

  .hero,
  .hero .swiper,
  .hero .hero-slide {
    min-height: 680px !important;
  }

  .hero .container {
    padding-inline: 20px !important;
  }

  .hero .hero-content {
    padding-top: 118px !important;
    padding-bottom: 112px !important;
    text-align: left !important;
  }

  .hero .hero-content h1 {
    font-size: clamp(2rem, 11vw, 3rem) !important;
  }

  .hero .cta-buttons {
    align-items: stretch !important;
  }

  .hero .cta-buttons a {
    width: 100% !important;
    justify-content: center !important;
  }

  .section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .section-title {
    margin-bottom: 30px !important;
  }

  .section-title h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  .section-title p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .cgs-story-media,
  .cgs-story-media img {
    min-height: 330px !important;
  }

  .cgs-story-chip {
    top: 16px !important;
    left: 16px !important;
    max-width: calc(100% - 32px) !important;
    white-space: normal !important;
  }

  .cgs-story-stat {
    width: calc(100% - 24px) !important;
    margin-inline: 12px !important;
  }

  .cgs-vma-card {
    padding: 16px !important;
    gap: 12px !important;
  }

  .cgs-vma-icon {
    width: 42px !important;
    height: 42px !important;
  }

  .cgs-buzz-heading {
    flex-direction: column !important;
  }

  .cgs-buzz-cards,
  .learning-grid,
  .discover-path-grid {
    grid-template-columns: 1fr !important;
  }

  .cgs-buzz-card-link,
  .cgs-buzz-student,
  .facility-card,
  .discover-path-card,
  .cgs-addon-showcase .addon-card {
    border-radius: 18px !important;
  }

  .cgs-addon-showcase .addon-card {
    padding: 24px 20px !important;
  }

  .cgs-addon-showcase .addon-card h4 {
    font-size: 22px !important;
  }

  .cgs-addon-showcase .addon-card p {
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  #ultimate-bond.ultimate-bond {
    padding: 54px 0 58px !important;
  }

  #ultimate-bond .section-title {
    margin-bottom: 26px !important;
  }

  #ultimate-bond .ub-reference-layout {
    gap: 22px !important;
  }

  #ultimate-bond .ub-cloud-column {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  #ultimate-bond .ub-center-art {
    order: -1 !important;
    min-height: auto !important;
  }

  #ultimate-bond .ub-video-frame {
    width: min(100%, 360px) !important;
  }

  #ultimate-bond .ub-cloud-name {
    min-width: 150px !important;
    max-width: min(100%, 260px) !important;
    min-height: 54px !important;
    padding: 10px 22px !important;
    font-size: clamp(1.55rem, 9vw, 2.1rem) !important;
    margin-bottom: 18px !important;
  }

  #ultimate-bond .ub-cloud-card p,
  #ultimate-bond .ub-guide-note p {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .footer .footer-about,
  .footer .footer-links {
    text-align: left !important;
  }
}

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

  #header.header {
    top: 0 !important;
  }

  #header .header-main {
    min-height: 64px !important;
    padding-inline: 12px !important;
  }

  #header .header-main .logo {
    height: 50px !important;
    min-width: 96px !important;
    max-width: 132px !important;
  }

  .mobile-nav-active .navmenu > ul {
    width: 92vw !important;
    max-width: 92vw !important;
  }

  .hero,
  .hero .swiper,
  .hero .hero-slide {
    min-height: 620px !important;
  }

  .hero .hero-content {
    padding-top: 90px !important;
  }

  .hero .hero-content h1 {
    font-size: clamp(1.8rem, 12vw, 2.5rem) !important;
  }

  .hero-slider-controls {
    bottom: 58px !important;
  }

  #nbLatest {
    flex-basis: 112px !important;
    padding-inline: 10px 16px !important;
  }

  .wa-float,
  .back-to-top {
    right: 14px !important;
  }

  .wa-float {
    bottom: 70px !important;
  }

  .back-to-top {
    bottom: 126px !important;
  }
}
