:root {
  /* Brand Identity — midnight navy #0a0f2e (corrected from #06165c) */
  --navy: #0a0f2e;
  --navy-2: #14206e;
  --navy-3: #060a1e;
  --pink: #ff2d7a;
  --pink-3: #e91e6b;
  --pink-dark: #cc115a;
  --gold: #D4A853;
  --gold-soft: #e8d5a3;
  /* Gold on light bg: #9a7a32 passes WCAG AA (4.6:1 contrast) */
  --gold-accessible: #9a7a32;
  --white: #ffffff;
  --soft: #f8f9fc;
  --soft-2: #eef1f8;
  --ink: #0a0f2e;
  --muted: #565e7a;
  --border: rgba(10, 15, 46, 0.09);
  --shadow-sm: 0 2px 8px rgba(10, 15, 46, 0.05), 0 1px 2px rgba(10, 15, 46, 0.04);
  --shadow: 0 4px 16px rgba(10, 15, 46, 0.05), 0 8px 32px rgba(10, 15, 46, 0.05);
  --shadow-lg: 0 8px 30px rgba(10, 15, 46, 0.06), 0 24px 80px rgba(10, 15, 46, 0.07);
  --shadow-hover: 0 16px 48px rgba(10, 15, 46, 0.09), 0 32px 80px rgba(10, 15, 46, 0.07);
  --radius: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
}

/* === Custom Scrollbar — Meghmehul Theme === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f2f8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink), var(--pink-dark));
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--pink), var(--pink));
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--pink) #f0f2f8;
}

/* Hide scrollbars on swipe/carousel containers globally */
.results-premium-grid,
.results-tabs-premium,
.faculty-grid-new,
.faculty-grid,
.premium-achievement-grid,
.course-strip {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.results-premium-grid::-webkit-scrollbar,
.results-tabs-premium::-webkit-scrollbar,
.faculty-grid-new::-webkit-scrollbar,
.faculty-grid::-webkit-scrollbar,
.premium-achievement-grid::-webkit-scrollbar,
.course-strip::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* topbar=48px + nav-min-height=76px + 4px buffer = 128px */
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2.5px solid var(--pink);
  outline-offset: 2px;
}

.button:focus-visible,
.stream-btn:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 45, 117, 0.15);
}

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

/* Lazy images visible by default */
img[loading="lazy"] {
  opacity: 1;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.img-placeholder,
.premium-ach-img-wrap,
.achievement-poster-img-wrapper,
.stream-card-fig {
  position: relative;
  background: linear-gradient(110deg, #eef1f8 30%, #f8f9fc 50%, #eef1f8 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(10, 15, 46, 0.06);
}

a {
  color: inherit;
  text-decoration: none;
}

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

i[data-lucide] {
  width: 1.1em;
  height: 1.1em;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-style: normal;
  line-height: 1;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  transform: translateY(-160%);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 45, 122, 0.35);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.skip-link::after {
  content: '\2193';
  font-size: 1.1rem;
  line-height: 1;
}

.skip-link:focus {
  transform: translateY(0);
  box-shadow: 0 6px 24px rgba(255, 45, 122, 0.45);
  outline: none;
}

.skip-link:hover {
  box-shadow: 0 6px 24px rgba(255, 45, 122, 0.4);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: sticky;
  top: 48px;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 4px 30px rgba(6, 22, 92, 0.06);
  transition: all 0.4s var(--ease-premium);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(6, 22, 92, 0.08);
  border-bottom: 1px solid rgba(6, 22, 92, 0.05);
}

.header.is-scrolled .nav-wrap {
  min-height: 64px; /* Shrunk height on scroll */
}

.topbar {
  background: #0a0f2e;
  color: var(--white);
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 101;
}

.topbar-inner,
.topbar-links,
.social-links,
.nav-wrap,
.brand,
.site-nav,
.button,
.course-strip a,
.stream-card a,
.contact-list a {
  display: flex;
  align-items: center;
}

.topbar .social-links {
  gap: 14px;
}

.topbar-inner {
  height: 48px;
  justify-content: space-between;
  gap: 24px;
}

.topbar-links {
  gap: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.topbar-links i[data-lucide] {
  color: var(--pink);
  width: 16px;
  height: 16px;
}

.topbar-links span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}

.topbar .social-links a:hover {
  background: var(--pink);
  transform: scale(1.18) rotate(6deg);
  color: var(--white);
  box-shadow: 0 0 30px rgba(255, 45, 117, 0.55);
  border-color: var(--pink);
}

.topbar .social-links a:active {
  transform: scale(0.95);
}

.topbar .social-links i[data-lucide] {
  width: 18px;
  height: 18px;
}

.topbar .social-links .fa-brands {
  font-size: 19px;
  line-height: 1;
  transition: transform 0.3s ease;
  display: inline-block;
}

.topbar .social-links a:hover .fa-brands {
  transform: scale(1.1);
}

.nav-wrap {
  min-height: 76px;
  justify-content: space-between;
  gap: 20px;
  transition: min-height 0.4s var(--ease-premium);
}

.brand {
  gap: 14px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0;
  display: flex;
  align-items: center;
}

.brand-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #0A0F2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(10, 15, 46, 0.25), 0 0 0 1px rgba(255, 47, 146, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 47, 146, 0.18), transparent 55%);
  pointer-events: none;
}

.brand-logo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 15, 46, 0.30), 0 0 20px rgba(255, 47, 146, 0.15);
}



.brand-text {
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-text strong {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-icon-nav {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  flex: 0 0 auto;
  box-shadow: 0 4px 16px rgba(6, 22, 92, 0.15);
}

.site-nav {
  position: relative;
  gap: 4px;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 4px 16px rgba(255, 45, 117, 0.25);
}

.site-nav a {
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 0.8);
  position: relative;
  z-index: 2;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--pink);
  background: rgba(255, 45, 117, 0.07);
}

.site-nav a[aria-current="page"],
.site-nav a.active {
  color: var(--white);
  z-index: 3;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 4px 16px rgba(255, 45, 117, 0.25);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 10px 24px;
  color: var(--white);
  background: linear-gradient(135deg, #FF2E88, #cc115a);
  border: 2px solid transparent;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 46, 136, 0.3);
  transition: all 0.35s ease;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #FF2E88;
  background: var(--white);
  border-color: #FF2E88;
  box-shadow: 0 4px 16px rgba(255, 46, 136, 0.18);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--navy);
  background: var(--white);
  transition: all 0.25s ease;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 60px;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(255, 45, 117, 0.07), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(6, 22, 92, 0.04), transparent 40%),
    linear-gradient(160deg, #fafcff 0%, #f0f4fc 48%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -15% -30% 30%;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 117, 0.03), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 50px;
  /* Equal columns for balanced visual weight between copy and image */
  grid-template-columns: 1fr 1fr;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 6px 24px rgba(255, 45, 117, 0.3);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.testimonial-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero-copy p {
  max-width: 600px;
  margin: 22px 0 30px;
  color: #5A6482;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.kpi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 14px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(6, 22, 92, 0.06);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 25.5px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--pink), transparent 40%, transparent 60%, var(--navy));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.kpi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 31, 122, 0.15);
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 12px;
  flex: 0 0 auto;
}

.kpi-icon-blue {
  background: rgba(59, 130, 246, 0.1);
}

.kpi-icon-green {
  background: rgba(16, 185, 129, 0.1);
}

.kpi-icon-gold {
  background: rgba(245, 158, 11, 0.1);
}

.kpi-icon-pink {
  background: rgba(255, 45, 117, 0.1);
}

.kpi-value {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.kpi-value-rating {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.kpi-label {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25; /* Landscape aspect ratio that balances text column and prevents cropping */
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg), 0 20px 50px rgba(6, 22, 92, 0.04);
  transition: transform 0.4s var(--ease-premium);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* Keeps student faces vertically centered */
  border-radius: var(--radius-lg);
}

/* Absolute positioning wrappers for parallax */
.hero-float-card-wrapper {
  position: absolute;
  z-index: 10;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(30px);
  /* Initially slow entrance transition, switched to fast via JS for parallax */
  transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium);
}

.hero-float-badge-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-premium) 0.3s, transform 1s var(--ease-premium) 0.3s;
}

/* When hero has .hero-active (fade-in on load) */
.hero-active .hero-float-card-wrapper,
.hero-active .hero-float-badge-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* Position rules for wrappers */
.hero-float-card-1 {
  bottom: 8%;
  left: -25px;
}

.hero-float-card-2 {
  top: 8%;
  right: -25px;
}

.hero-float-card-3 {
  bottom: 30%;
  right: -15px;
  display: flex;
}

.hero-float-card-4 {
  top: 45%;
  left: -30px;
  display: flex;
}

/* Inner float cards visual style */
.hero-float-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(6, 22, 92, 0.08), 0 5px 15px rgba(6, 22, 92, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow;
}

/* Distinct asynchronous float animations for child cards */
.hero-float-card-wrapper.hero-float-card-1 .hero-float-card {
  animation: floatCard1 6s ease-in-out infinite;
}

.hero-float-card-wrapper.hero-float-card-2 .hero-float-card {
  animation: floatCard2 6.5s ease-in-out infinite 0.5s;
}

.hero-float-card-wrapper.hero-float-card-3 .hero-float-card {
  animation: floatCard3 7s ease-in-out infinite 1s;
}

.hero-float-card-wrapper.hero-float-card-4 .hero-float-card {
  animation: floatCard4 5.5s ease-in-out infinite 1.5s;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--navy));
  flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(255, 45, 117, 0.2);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-float-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-float-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 1px;
}

/* Interactive hover styling */
.hero-float-card:hover {
  transform: scale(1.04) translateY(-3px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 25px 50px rgba(6, 22, 92, 0.12), 0 0 25px rgba(255, 45, 122, 0.22);
  border-color: rgba(255, 45, 122, 0.35);
}

.hero-float-card:hover .hero-float-icon {
  transform: scale(1.1) rotate(6deg);
}

.hero-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(6, 22, 92, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(6, 22, 92, 0.25);
  animation: floatBadge 5s ease-in-out infinite 0.5s;
}

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

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

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

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

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

/* Entrance Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-copy {
  animation: fadeInUp 0.8s var(--ease-premium) both;
}

.hero-media {
  animation: fadeInRight 0.8s var(--ease-premium) 0.2s both;
}

.course-strip a {
  animation: fadeInUp 0.5s var(--ease-premium) both;
}

.course-strip a:nth-child(1) { animation-delay: 0.3s; }
.course-strip a:nth-child(2) { animation-delay: 0.38s; }
.course-strip a:nth-child(3) { animation-delay: 0.46s; }
.course-strip a:nth-child(4) { animation-delay: 0.54s; }
.course-strip a:nth-child(5) { animation-delay: 0.62s; }

.section:first-of-type {
  padding-top: 60px;
}

/* ========================================
   BUTTONS
   ======================================== */
.button {
  min-height: 52px;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.button:hover::after {
  transform: translateX(100%) skewX(-15deg);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-4px) scale(1.02);
}

.button:active {
  transform: translateY(-1px) scale(0.99);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 8px 28px rgba(255, 45, 117, 0.3);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 45, 117, 0.4), 0 0 60px rgba(255, 45, 117, 0.1);
}

.button-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}

.button-outline:hover {
  background: rgba(255, 45, 117, 0.04);
  box-shadow: 0 0 0 4px rgba(255, 45, 117, 0.1), 0 4px 16px rgba(255, 45, 117, 0.08);
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 24px 56px rgba(255, 45, 117, 0.5);
}

.button-outline {
  color: var(--navy);
  border-color: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.button-outline:hover {
  box-shadow: var(--shadow);
  border-color: rgba(255, 45, 117, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

/* ========================================
   COURSE STRIP
   ======================================== */
.course-strip {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 30px;
}

.course-strip a {
  min-height: 80px;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 850;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.course-strip a:hover,
.course-strip a:focus-visible {
  border-color: rgba(255, 45, 117, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-strip svg {
  color: var(--pink);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: clamp(72px, 9vw, 110px) 0;
}

.section-soft {
  background: var(--soft);
}

.section-alt {
  background: linear-gradient(180deg, var(--soft), var(--white));
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.testimonial-copy h2,
.contact-panel h2 {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.section-heading p,
.about-copy>p,
.testimonial-copy p,
.contact-panel>p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  /* Optimal reading line length ~65 characters */
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   STREAM CARDS
   ======================================== */
.stream-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stream-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
}

.stream-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 45, 117, 0.12);
}

.stream-card-fig {
  position: relative;
  width: 100%;
  height: 220px;
  margin: 0;
  overflow: hidden;
}

.stream-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.stream-card-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 92, 0.15) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.stream-card:hover .stream-card-fig::after {
  opacity: 0.7;
}

.stream-card-icon {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 6px 20px rgba(255, 45, 117, 0.3);
}

.stream-card-icon i {
  width: 22px;
  height: 22px;
}

.stream-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 4px 14px rgba(255, 45, 117, 0.25);
  margin-bottom: 14px;
  align-self: flex-start;
}

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

.stream-card-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.stream-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

.stream-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.stream-pills .pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.stream-pills .pill:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 45, 117, 0.06);
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  min-width: 160px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 6px 20px rgba(255, 45, 117, 0.3);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.stream-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 45, 117, 0.4);
}

.social-svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s ease;
}

.topbar .social-links a i.fa-brands {
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.topbar .social-links a:hover .social-svg,
.topbar .social-links a:hover i.fa-brands {
  transform: scale(1.1);
}

.stream-btn i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

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

.featured-stream {
  position: relative;
}

.featured-stream::after {
  content: "Popular";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 4px 14px rgba(255, 45, 117, 0.35);
}

.stream-card .button {
  width: 100%;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  align-items: center;
  gap: 60px;
  grid-template-columns: 0.85fr 1.15fr;
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-media img {
  min-height: 600px;
  object-fit: cover;
}

.why-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.why-grid article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 45, 117, 0.15);
}

.why-grid svg {
  width: 28px;
  height: 28px;
  color: var(--pink);
}

.why-grid h3 {
  margin: 12px 0 5px;
  color: var(--navy);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========================================
   FACULTY SECTION
   ======================================== */
.faculty-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.faculty-card {
  position: relative;
  padding: 32px 24px 26px;
  border-radius: var(--radius-xl);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  border: 1.5px solid var(--border);
  overflow: visible;
}

.faculty-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-xl) + 1.5px);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--pink), var(--navy), var(--pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.faculty-card:hover::before {
  opacity: 1;
}

.faculty-avatar-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--pink), var(--navy));
  box-shadow: 0 8px 24px rgba(255, 30, 108, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faculty-card:hover .faculty-avatar-container {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 12px 32px rgba(255, 30, 108, 0.25);
}

.faculty-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--soft);
  display: block;
}

.faculty-badge-expertise {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--pink), var(--pink));
  box-shadow: 0 4px 10px rgba(255, 30, 108, 0.3);
}

.faculty-info h3 {
  margin: 10px 0 4px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.faculty-designation {
  margin: 0;
  color: var(--pink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.faculty-department {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========================================
   RESULTS & ACHIEVEMENTS SECTION
   ======================================== */
.results-achievements-section {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(255, 45, 117, 0.05), transparent 40%),
    radial-gradient(ellipse at 90% 80%, rgba(6, 22, 92, 0.03), transparent 35%),
    linear-gradient(180deg, var(--soft) 0%, var(--white) 50%, var(--soft) 100%);
}

.results-subsection {
  margin-top: 64px;
  border: none;
  padding-top: 56px;
  position: relative;
}

.results-subsection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.results-subsection:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

.results-subsection:first-of-type::before {
  display: none;
}

.gold-accent {
  color: var(--gold);
}

.gold-gradient {
  background: linear-gradient(135deg, var(--gold), #b8923a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-pink {
  color: var(--pink);
}

#posters-gallery .subsection-heading {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

#posters-gallery .sub-eyebrow {
  color: var(--pink);
  letter-spacing: 0.14em;
}

#posters-gallery .subsection-heading h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

#posters-gallery .subsection-heading p {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 600px;
  margin: 12px auto 0;
}

#posters-gallery .results-header-glow {
  top: -50px;
  right: 0;
  left: auto;
  width: 420px;
  height: 420px;
}

#posters-gallery .results-header-watermark {
  top: -10px;
  right: 3%;
  font-size: 5.5rem;
  opacity: 0.05;
}

.subsection-heading {
  /*max-width: 600px;*/
  margin-bottom: 36px;
}

.sub-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.subsection-heading h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.subsection-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Featured University Topper */
.featured-topper {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--white), var(--soft));
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-topper:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 45, 117, 0.15);
}

.featured-topper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.03), transparent 50%);
  pointer-events: none;
}

.featured-topper-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  box-shadow: 0 6px 20px rgba(251, 133, 0, 0.35);
}

.featured-topper-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: center;
  min-height: 400px;
}

.featured-topper-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.featured-topper-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-topper:hover .featured-topper-image img {
  transform: scale(1.05);
}

.featured-topper-rank {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 8px 24px rgba(255, 45, 117, 0.4);
}

.rank-number {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.rank-label {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

.featured-topper-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-topper-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 45, 117, 0.08);
  margin-bottom: 16px;
}

.featured-topper-content h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.featured-topper-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.featured-topper-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.featured-stat {
  display: flex;
  flex-direction: column;
}

.featured-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy-2);
  line-height: 1.1;
}

.featured-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.featured-topper-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
}

/* Historical Results Timeline - Premium Redesign */
.timeline-container {
  position: relative;
  max-width: 1040px;
  margin: 48px auto 0;
  padding: 24px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom, var(--pink), var(--navy), var(--pink));
  transform: translateX(-50%);
  border-radius: 999px;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 20px rgba(255, 45, 117, 0.5);
}

.timeline-line::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 20px rgba(6, 22, 92, 0.4);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.timeline-col {
  position: relative;
  padding: 0 40px;
  margin-bottom: 32px;
}

.timeline-left {
  text-align: right;
  padding-right: 52px;
}

.timeline-right {
  text-align: left;
  padding-left: 52px;
}

.timeline-left .timeline-card {
  margin-left: auto;
  max-width: 440px;
}

.timeline-right .timeline-card {
  margin-right: auto;
  max-width: 440px;
}

.timeline-col-center {
  grid-column: 1 / -1;
  text-align: center;
  padding: 0 40px;
}

.timeline-col-center .timeline-card {
  margin: 0 auto;
  max-width: 440px;
  text-align: left;
}

.timeline-col-center .timeline-year-badge {
  text-align: center;
}

.timeline-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  width: 20px;
  height: 20px;
  background: var(--pink);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--pink), 0 4px 16px rgba(255, 45, 117, 0.35);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-card:hover .timeline-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 4px var(--pink), 0 0 30px rgba(255, 45, 117, 0.6), 0 0 60px rgba(255, 45, 117, 0.2);
}

.timeline-left .timeline-dot {
  right: -62px;
}

.timeline-right .timeline-dot {
  left: -62px;
}

.timeline-col-center .timeline-dot {
  left: 50%;
  top: -48px;
  transform: translateX(-50%);
}

.timeline-col-center .timeline-card:hover .timeline-dot {
  transform: translateX(-50%) scale(1.35);
}

.timeline-year-badge {
  display: inline-flex;
  padding: 6px 18px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 4px 14px rgba(6, 22, 92, 0.25);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.timeline-left .timeline-year-badge {
  margin-left: auto;
}

.timeline-right .timeline-year-badge {
  margin-right: auto;
}

.timeline-card-content {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.timeline-card-content::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-lg) + 1.5px);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--pink), transparent 40%, transparent 60%, var(--navy));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.timeline-card:hover .timeline-card-content::before {
  opacity: 1;
}

.timeline-card:hover .timeline-card-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 45, 117, 0.15);
}

.timeline-stats-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.timeline-left .timeline-stats-bar {
  justify-content: flex-end;
}

.timeline-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--pink);
  background: rgba(255, 45, 117, 0.07);
  padding: 4px 12px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.timeline-card:hover .timeline-stat {
  background: rgba(255, 45, 117, 0.12);
}

.timeline-stat i {
  width: 14px;
  height: 14px;
}

.timeline-card-content ul {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.timeline-card-content ul li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.timeline-card-content ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

.timeline-card-content ul li strong {
  color: var(--navy);
  font-weight: 800;
}

/* Achievement Posters Gallery - Premium Showcase */
.gallery-masonry {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #040620;
  aspect-ratio: 2 / 2.8;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  outline: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.gallery-masonry-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(6, 22, 92, 0.25);
  border-color: rgba(255, 45, 117, 0.3);
}

.gallery-item-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 6, 32, 0.7) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-masonry-item:hover .gallery-item-image::after {
  opacity: 1;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-masonry-item:hover .gallery-item-image img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.gallery-masonry-item:hover .gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.gallery-masonry-item:hover::after {
  opacity: 1;
}

.overlay-details {
  text-align: left;
}

.poster-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--pink);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.overlay-details h4 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.poster-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.4;
}

.gallery-zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
}

.gallery-masonry-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.gallery-zoom-icon:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 45, 117, 0.6);
  transform: scale(1.1) rotate(0);
}

.gallery-zoom-icon i {
  width: 20px;
  height: 20px;
}

.achievement-gallery-showcase {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 31, 122, 0.06), transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(6, 22, 92, 0.07), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.5), transparent 60%);
}

.achievement-gallery-showcase::before {
  content: "";
  position: absolute;
  top: 6%;
  left: -6%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 122, 0.10), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.achievement-gallery-showcase::after {
  content: "";
  position: absolute;
  bottom: -4%;
  right: -4%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 22, 92, 0.10), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

/* Floating particles */
.achievement-gallery-showcase .results-header-wrap {
  position: relative;
  z-index: 1;
}

.achievement-gallery-showcase .results-header-wrap::before,
.achievement-gallery-showcase .results-header-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.achievement-gallery-showcase .results-header-wrap::before {
  width: 16px;
  height: 16px;
  top: 18px;
  left: 10%;
  background: rgba(255, 31, 122, 0.10);
  box-shadow:
    160px 50px 0 -2px rgba(255, 31, 122, 0.07),
    70px 130px 0 -3px rgba(6, 22, 92, 0.07),
    -40px 200px 0 2px rgba(255, 31, 122, 0.05);
}

.achievement-gallery-showcase .results-header-wrap::after {
  width: 11px;
  height: 11px;
  bottom: -24px;
  right: 12%;
  background: rgba(6, 22, 92, 0.08);
  box-shadow:
    -130px -70px 0 -1px rgba(255, 31, 122, 0.06),
    -50px -30px 0 1px rgba(255, 31, 122, 0.04),
    80px -140px 0 0 rgba(6, 22, 92, 0.05);
}

/* Premium Achievement Grid – Natural Masonry */
.premium-achievement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Featured card (G1 – left, tall) */
.premium-ach-featured {
  grid-row: 1 / 3;
  align-self: start;
}

/* Secondary column wrapper */
.premium-ach-secondary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sub-row for G3 & G4 */
.premium-ach-subrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Premium Card – Dark premium poster frame */
.premium-ach-card {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  background: linear-gradient(135deg, #08123d, #111827);
  border-radius: 32px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(10, 15, 60, 0.15);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
  cursor: pointer;
  transform: translate(var(--parallax-x), var(--parallax-y));
  will-change: transform;
  outline: none;
}

.premium-ach-card:hover {
  transform: translate(var(--parallax-x), var(--parallax-y)) translateY(-12px);
  box-shadow: 0 40px 100px rgba(10, 15, 60, 0.20), 0 0 70px rgba(255, 31, 122, 0.10);
}

.premium-ach-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 31, 122, 0.4);
}

/* Image Wrapper – poster frame with dark backdrop */
.premium-ach-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-ach-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Glass Badge (top-left) */
.premium-ach-glass-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  pointer-events: none;
}

/* Gradient Overlay (bottom) */
.premium-ach-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 22px 22px;
  background: linear-gradient(to top,
      rgba(0, 0, 30, 0.9) 0%,
      rgba(0, 0, 30, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.premium-ach-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 4px;
}

.premium-ach-title {
  margin: 0 0 3px;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.premium-ach-featured .premium-ach-title {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.premium-ach-subtitle {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
  margin-top: 2px;
  line-height: 1.3;
}

/* Zoom Icon (top-right) */
.premium-ach-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: scale(0.7) translateY(-6px);
  pointer-events: none;
}

.premium-ach-card:hover .premium-ach-zoom {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.premium-ach-zoom svg {
  width: 18px;
  height: 18px;
}

/* Fade + slide reveal animation */
@keyframes achCardReveal {
  from {
    opacity: 0;
    transform: translateY(48px);
  }

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

.premium-ach-card.reveal-on-scroll.is-revealed {
  animation: achCardReveal 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.premium-ach-card.reveal-on-scroll.is-revealed:nth-child(2) {
  animation-delay: 0.12s;
}

.premium-ach-card.reveal-on-scroll.is-revealed:nth-child(3) {
  animation-delay: 0.22s;
}

.premium-ach-card.reveal-on-scroll.is-revealed:nth-child(4) {
  animation-delay: 0.32s;
}

/* Legacy poster card fallback for course pages */
.achievement-poster-grid,
.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.achievement-poster-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #070b2d, #151044 54%, #380c34);
  box-shadow: 0 22px 58px rgba(6, 22, 92, 0.2);
  cursor: zoom-in;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
}

.achievement-poster-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 34px 80px rgba(6, 22, 92, 0.28);
}

.achievement-poster-img-wrapper {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.achievement-poster-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.achievement-poster-card:hover .achievement-poster-img-wrapper img {
  transform: scale(1.04);
}

.achievement-poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 18px;
  background: linear-gradient(to top, rgba(2, 10, 50, 0.92), transparent);
  pointer-events: none;
}

.poster-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.poster-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.zoom-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.achievement-poster-card:hover .zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.zoom-badge i {
  width: 18px;
  height: 18px;
}

/* Responsive Media Overrides for slider and grid */
@media (max-width: 720px) {

  .faculty-carousel-dots {
    display: flex;
  }

  /* Timeline mobile */
  .timeline-line {
    left: 20px;
  }

  .timeline-line::before,
  .timeline-line::after {
    display: none;
  }

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

  .timeline-col {
    padding: 0 0 0 48px;
    margin-bottom: 24px;
    text-align: left !important;
  }

  .timeline-left,
  .timeline-right,
  .timeline-col-center {
    padding: 0 0 0 48px;
    text-align: left !important;
  }

  .timeline-left .timeline-card,
  .timeline-right .timeline-card,
  .timeline-col-center .timeline-card {
    margin: 0;
    max-width: 100%;
  }

  .timeline-dot {
    left: -38px !important;
    right: auto !important;
    top: 20px !important;
    width: 16px;
    height: 16px;
    transform: none !important;
  }

  .timeline-col-center .timeline-dot {
    left: -38px !important;
    top: 20px !important;
    transform: none !important;
  }

  .timeline-col-center .timeline-card:hover .timeline-dot {
    transform: none !important;
  }

  .timeline-year-badge {
    font-size: 0.82rem;
    padding: 5px 14px;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .timeline-stats-bar {
    justify-content: flex-start !important;
  }

  .timeline-left .timeline-stats-bar {
    justify-content: flex-start !important;
  }

  /* Featured topper mobile */
  .featured-topper-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featured-topper-image {
    min-height: 300px;
  }

  .featured-topper-content {
    padding: 32px 24px;
  }

  .featured-topper-content h3 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .featured-topper-stats {
    gap: 24px;
  }

  .featured-stat-value {
    font-size: 1.6rem;
  }

  .featured-topper-badge {
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .featured-topper-rank {
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    bottom: 14px;
    left: 14px;
  }

  .rank-number {
    font-size: 1.3rem;
  }

  .rank-label {
    font-size: 0.45rem;
  }

  /* Gallery mobile layout */
  .gallery-masonry {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-masonry-item {
    aspect-ratio: 2 / 2.5 !important;
  }

  /* Premium Gallery Mobile */
  .gallery-grid-premium {
    display: flex !important;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 24px;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
  }

  .gallery-grid-premium::-webkit-scrollbar {
    display: none;
  }

  .gallery-premium-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    margin: 0;
  }

  .gallery-premium-frame {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
  }

  .gallery-premium-label {
    font-size: 0.8rem;
  }
}

.achievement-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 38, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.achievement-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.achievement-lightbox[hidden] {
  display: none;
  opacity: 0;
}

.achievement-lightbox figure {
  max-width: min(900px, 92vw);
  max-height: 88vh;
  margin: 0;
  overflow: auto;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.achievement-lightbox.is-open figure {
  transform: scale(1);
}

.achievement-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
}

.achievement-lightbox figcaption {
  padding: 12px 16px;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.achievement-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.2rem;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body.lightbox-open {
  overflow: hidden;
}

/* ========================================
   STUDENT SUCCESS STORIES
   ======================================== */
.stories-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 45, 117, 0.15);
}

.story-quote {
  margin-bottom: 16px;
  color: var(--pink);
}

.story-quote i {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

.story-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.story-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.story-author strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.story-author span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ========================================
   SCROLL REVEAL - Premium
   ======================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ========================================
   TRUST BADGES (Hero) - Premium Grid
   ======================================== */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(10, 15, 46, 0.08);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  white-space: nowrap;
  text-align: center;
}

.trust-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(255, 31, 122, 0.18);
}

.trust-badge-icon {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.trust-badge-icon.gold {
  color: #f59e0b;
}

.trust-badge-icon.pink {
  color: var(--pink);
}

.trust-badge-icon.blue {
  color: #3b82f6;
}

.trust-badge-icon.green {
  color: #10b981;
}

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

@media (max-width: 576px) {
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .trust-badge {
    min-height: 58px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}

/* ========================================
   GOOGLE REVIEWS SECTION
   ======================================== */
.google-rating-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.google-rating-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}

.google-rating-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.google-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
  flex: 0 0 auto;
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.google-rating-text {
  display: flex;
  flex-direction: column;
}

.google-rating-stars {
  font-size: 1.3rem;
  letter-spacing: 2px;
  line-height: 1;
}

.google-rating-score {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 4px 0 2px;
}

.google-rating-score strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
}

.google-rating-reviews {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

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

.review-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 45, 117, 0.12);
}

.review-stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}

.review-card p {
  margin: 0 0 20px;
  color: #26304f;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-author div {
  display: flex;
  flex-direction: column;
}

.review-author strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.review-author span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 2px;
}

/* ========================================
   OUTSTANDING RESULTS SECTION
   ======================================== */
#outstanding-results {
  position: relative;
  overflow: hidden clip;
}

#outstanding-results::before {
  content: "";
  position: absolute;
  top: 6%;
  left: -5%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 47, 146, 0.08), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

#outstanding-results::after {
  content: "";
  position: absolute;
  bottom: -4%;
  right: -4%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 26, 104, 0.07), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.results-header-wrap {
  position: relative;
  text-align: center;
  z-index: 1;
}

.results-header-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(255, 47, 146, 0.12), transparent 70%);
  pointer-events: none;
}

.results-header-watermark {
  position: absolute;
  top: -10px;
  right: 10%;
  font-size: 8rem;
  line-height: 1;
  color: rgba(255, 47, 146, 0.04);
  pointer-events: none;
  user-select: none;
}

.results-header-watermark i {
  width: 128px;
  height: 128px;
  stroke-width: 1;
}

.results-tabs-premium {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.results-tab-premium {
  position: relative;
  flex: 1;
  height: 50px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-weight: 850;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(6, 22, 92, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, background 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.results-tab-premium::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 47, 146, 0.12), rgba(6, 22, 92, 0.08));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.results-tab-premium:hover {
  color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 47, 146, 0.14);
}

.results-tab-premium:hover::before {
  opacity: 1;
}

.results-tab-premium.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 8px 30px rgba(255, 47, 146, 0.35);
}

.results-tab-premium span {
  position: relative;
  z-index: 1;
}

.results-tab-content {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.results-tab-content.is-active {
  opacity: 1;
  transform: translateY(0);
}

.results-tab-content.is-switching {
  opacity: 0;
  transform: translateY(18px);
}

.results-premium-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.result-premium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 45, 122, 0.15);
  box-shadow: var(--shadow-lg);
  transition: transform 0.45s var(--ease-premium), box-shadow 0.45s ease;
  overflow: hidden;
  isolation: isolate;
  animation: resultCardIn 0.52s var(--ease-premium) both;
  animation-delay: var(--card-delay, 0ms);
}

.result-premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--pink), transparent 40%, transparent 60%, var(--navy));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.result-premium-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -28px;
  height: 60px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(255, 45, 122, 0.25), transparent 68%);
  filter: blur(8px);
  opacity: 0.55;
  z-index: -1;
}

.result-premium-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover), 0 0 60px rgba(255, 45, 122, 0.12);
}

.result-premium-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--pink), var(--pink-dark)) border-box;
  border: 4px solid transparent;
  box-shadow: 0 14px 32px rgba(255, 45, 122, 0.18), 0 0 0 7px rgba(255, 45, 122, 0.07);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s ease;
}

.result-premium-avatar::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, rgba(255, 45, 122, 0.65), rgba(204, 17, 90, 0.55)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.result-premium-avatar span {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.result-premium-card:hover .result-premium-avatar {
  transform: scale(1.08);
  box-shadow: 0 18px 42px rgba(255, 45, 122, 0.28), 0 0 0 9px rgba(255, 45, 122, 0.09);
}

.result-premium-body {
  padding: 0 4px 16px;
  text-align: center;
}

.result-premium-rank {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 45, 122, 0.12);
  color: var(--pink);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-premium-body h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.result-premium-subject {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}

.result-premium-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
  padding: 8px 17px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 12px 24px rgba(255, 45, 122, 0.32);
}

@keyframes resultCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ========================================
   FACULTY SPOTLIGHT
   ======================================== */
.faculty-section {
  position: relative;
  overflow: hidden clip;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 45, 117, 0.05), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(6, 22, 92, 0.04), transparent 40%),
    linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
}

.faculty-section::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -4%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 122, 0.08), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.faculty-section::after {
  content: "";
  position: absolute;
  bottom: -3%;
  right: -3%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 22, 92, 0.08), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.faculty-grid-new {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.faculty-card-new {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  width: 100%;
}

.faculty-card-new-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 31, 122, 0.15);
  box-shadow: 0 25px 60px rgba(10, 15, 60, 0.12);
  transition: all .45s cubic-bezier(.22, 1, .36, 1);
  height: 100%;
  overflow: hidden;
}

.faculty-card-new:hover .faculty-card-new-inner {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(255, 31, 122, 0.20), 0 0 60px rgba(255, 31, 122, 0.08);
  border-color: rgba(255, 31, 122, 0.35);
}

.faculty-avatar-wrap {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  position: relative;
  margin-bottom: 14px;
  flex: 0 0 auto;
  background: var(--soft);
}

.faculty-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2b88, #7b2cff);
  box-shadow: 0 0 35px rgba(255, 31, 122, 0.25);
  pointer-events: none;
  z-index: 0;
}

.faculty-avatar-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  display: block;
}

.faculty-card-new:hover .faculty-avatar-wrap img {
  transform: scale(1.05);
}

.faculty-avatar-fallback {
  display: none;
  position: absolute;
  inset: 4px;
  z-index: 2;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.faculty-avatar-fallback span {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 900;
}

.faculty-founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ff2b88, #7b2cff);
  box-shadow: 0 4px 18px rgba(255, 43, 136, 0.35);
  margin-bottom: 8px;
}

.faculty-card-new h3 {
  margin: 0 0 4px;
  color: #07165f;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.faculty-verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2b88, #7b2cff);
  box-shadow: 0 3px 10px rgba(255, 43, 136, 0.4);
  flex-shrink: 0;
  animation: verify-bounce .6s ease;
}

@keyframes verify-bounce {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

.faculty-role {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2px;
  margin-bottom: 10px;
}

.faculty-social-proof {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.3;
  opacity: 0.75;
}

.faculty-bottom-pill {
  display: inline-flex;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 15, 46, 0.08);
  box-shadow: 0 8px 25px rgba(10, 15, 46, 0.05);
  margin-top: 6px;
}

.faculty-dept {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff2b88;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.faculty-card-founder {
  position: relative;
}

.faculty-card-founder::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(255, 43, 136, 0.12), transparent 70%);
  pointer-events: none;
}

.faculty-card-founder .faculty-card-new-inner {
  border-color: rgba(255, 43, 136, 0.25);
}

.faculty-card-founder:hover .faculty-card-new-inner {
  border-color: rgba(255, 43, 136, 0.5);
  box-shadow: 0 30px 60px rgba(255, 43, 136, 0.22);
}

.faculty-card-vishal .faculty-card-new-inner {
  border-color: rgba(245, 158, 11, 0.25);
}

.faculty-card-vishal:hover .faculty-card-new-inner {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 30px 60px rgba(245, 158, 11, 0.18);
}

.faculty-card-vishal-star {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.faculty-card-vishal-star i {
  width: 15px;
  height: 15px;
  color: var(--white);
  fill: currentColor;
}

/* ========================================
   CONTACT SECTION - Enhanced
   ======================================== */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  border: 1px solid rgba(6, 22, 92, 0.06);
  box-shadow: 0 4px 28px rgba(6, 22, 92, 0.04);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--pink), var(--pink-dark));
  opacity: 0;
  transition: opacity 0.4s ease, height 0.4s ease;
}

.contact-info-card:hover::before {
  opacity: 1;
  height: calc(100% - 28px);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 117, 0.15);
  background: linear-gradient(135deg, #f2f4ff, #ffffff);
  box-shadow: 0 12px 44px rgba(6, 22, 92, 0.08), 0 0 30px rgba(255, 45, 117, 0.06);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 6px 16px rgba(255, 45, 117, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(255, 45, 117, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-info-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-info-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.contact-info-card a {
  color: var(--pink);
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0;
}

.contact-actions .button {
  flex: 1;
  min-width: 180px;
  border-radius: 14px;
  font-weight: 750;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-actions .button-primary {
  box-shadow: 0 6px 24px rgba(255, 45, 117, 0.25);
}

.contact-actions .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(255, 45, 117, 0.35);
}

.contact-actions .button-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 22, 92, 0.1);
}

.contact-map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(6, 22, 92, 0.04);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.enquiry-form h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 1.35rem;
  position: relative;
  padding-bottom: 14px;
}

.enquiry-form h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--soft), var(--soft-2));
  color: var(--muted);
  min-height: 200px;
}

/* ========================================
   TESTIMONIALS - Premium Carousel
   ======================================== */
.testimonial-carousel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 56px;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
  width: 100%;
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(6, 22, 92, 0.06);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(6, 22, 92, 0.1);
  border-color: rgba(255, 45, 117, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star-filled {
  width: 18px;
  height: 18px;
  color: #f5a623;
}

.star-filled polygon {
  fill: #f5a623;
}

.testimonial-card p {
  margin: 0 0 24px;
  color: #26304f;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  font-weight: 600;
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(6, 22, 92, 0.06);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-author div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-author strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 2px;
}

/* Floating arrows */
.carousel-arrow {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(6, 22, 92, 0.08);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 22, 92, 0.1);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 0;
}

.carousel-arrow:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(255, 45, 117, 0.3);
  transform: scale(1.08);
}

.carousel-arrow i {
  width: 22px;
  height: 22px;
}

/* Pagination dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(6, 22, 92, 0.12);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 45, 117, 0.3);
  transform: scale(1.2);
}

.carousel-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.3);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 45, 117, 0.12);
}

.feature-card i {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.5rem;
  background: rgba(255, 45, 117, 0.08);
  color: var(--pink);
  margin-bottom: 20px;
  transition: all 0.35s ease;
}

.feature-card:hover i {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 8px 24px rgba(255, 45, 117, 0.3);
  transform: scale(1.08);
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 750;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========================================
   GLASS CARD UTILITY
   ======================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(6, 22, 92, 0.06);
}

/* ========================================
   GALLERY - Premium
   ======================================== */
.gallery-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-premium-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.gallery-premium-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--soft);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-premium-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  padding: 2px;
  background: linear-gradient(135deg, var(--pink), transparent 40%, transparent 60%, var(--navy));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-premium-item:hover .gallery-premium-frame::before {
  opacity: 1;
}

.gallery-premium-item:hover .gallery-premium-frame {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 45, 117, 0.15);
}

.gallery-premium-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-premium-item:hover .gallery-premium-frame img {
  transform: scale(1.1);
}

.gallery-premium-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 6, 32, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-premium-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-premium-icon i {
  width: 22px;
  height: 22px;
}

.gallery-premium-item:hover .gallery-premium-icon {
  transform: scale(1);
}

.gallery-premium-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0 4px;
  transition: color 0.3s ease;
}

.gallery-premium-item:hover .gallery-premium-label {
  color: var(--pink);
}

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-modal[hidden] {
  display: none;
  opacity: 0;
}

.lightbox-content {
  max-width: min(900px, 92vw);
  max-height: 88vh;
  margin: 0;
  overflow: auto;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.lightbox-modal.is-open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  width: 100%;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: 14px 20px;
  margin: 0;
  color: var(--navy);
  font-weight: 750;
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.3rem;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--pink);
}

body.lightbox-open {
  overflow: hidden;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2), var(--navy-3));
  text-align: center;
  color: var(--white);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.cta-section::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 117, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(255, 45, 117, 0.04), transparent 50%),
    radial-gradient(ellipse at 90% 85%, rgba(6, 22, 92, 0.05), transparent 50%),
    linear-gradient(180deg, var(--soft), var(--white));
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 117, 0.05), transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-panel,
.enquiry-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-list a {
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  color: #35405e;
  font-weight: 650;
  background: var(--soft);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.contact-list a:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-list svg {
  flex: 0 0 auto;
  color: var(--pink);
}

.contact-panel iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
}

.enquiry-form {
  padding: 32px;
}

.enquiry-form h2 {
  margin: 0 0 20px;
  color: var(--navy);
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: all 0.3s ease;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #aab0c0;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 45, 117, 0.1), 0 4px 12px rgba(255, 45, 117, 0.06);
}

.enquiry-form .button {
  width: 100%;
  margin-top: 20px;
  height: 52px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 30px rgba(255, 45, 117, 0.3);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.enquiry-form .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 45, 117, 0.4);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #12715b;
  font-weight: 750;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 64px 0 20px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-3);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--navy), var(--pink));
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr;
}

.footer-brand {
  justify-content: flex-start;
  color: var(--white);
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer ul a {
  transition: color 0.25s ease;
}

.footer p {
  max-width: 360px;
  margin: 18px 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer h4 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
  opacity: 1;
}

.footer-social {
  margin-top: 22px;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
  background: var(--pink);
  transform: translateY(-3px) scale(1.12) rotate(8deg);
  box-shadow: 0 0 28px rgba(255, 45, 117, 0.5);
  border-color: var(--pink);
}

.footer-social a .social-svg {
  width: 20px;
  height: 20px;
}

.footer-social a i.fa-brands {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.footer-social a:hover i.fa-brands {
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

/* ========================================
   OPENING HOURS WIDGET — Footer
   ======================================== */
.footer-hours {
  margin-top: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.footer-hours-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease;
}

.footer-hours-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.footer-hours-status {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
}

/* Live status dot */
.footer-hours-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse-green 2s ease-in-out infinite;
}

.footer-hours-dot.is-closed {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  animation: none;
}

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.footer-hours-chevron {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-hours-toggle[aria-expanded="true"] .footer-hours-chevron {
  transform: rotate(180deg);
}

/* Panel */
.footer-hours-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 0 8px;
  animation: slideDown 0.28s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.footer-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.footer-hours-table tr {
  transition: background 0.15s ease;
}

.footer-hours-table tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.footer-hours-table td {
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.footer-hours-table td:first-child {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  width: 44%;
}

.footer-hours-table td:last-child {
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

/* Today's row — highlighted green */
.footer-hours-table tr.is-today td {
  color: #4ade80;
}

.footer-hours-table tr.is-today td:first-child {
  color: #4ade80;
  font-weight: 900;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.breadcrumbs .separator {
  color: rgba(6, 22, 92, 0.2);
  font-weight: normal;
}

.breadcrumbs .current {
  color: var(--navy);
}

/* ========================================
   COURSES GRID (Internal Pages)
   ======================================== */
.courses-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.course-card {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 45, 117, 0.12);
}

/* Course thumbnail with 16:9 aspect ratio */
.course-card .course-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-light, #f0f2f5);
}

.course-card .course-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Icon pill when no thumbnail */
.course-card .icon-pill {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(6, 22, 92, 0.2);
  transition: all 0.35s ease;
}

.course-card:hover .icon-pill {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 8px 24px rgba(255, 45, 117, 0.3);
  transform: scale(1.08);
}

/* Type badge overlay — top-left corner */
.thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(10, 15, 46, 0.7);
  z-index: 2;
  line-height: 1;
}

.thumb-badge i {
  width: 12px;
  height: 12px;
}

/* Resource type line below title */
.resource-type-line {
  margin: 0 0 8px;
}

.resource-type-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.resource-type-label i {
  width: 14px;
  height: 14px;
}

/* Card title */
.course-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.35;
}

/* Card description */
.course-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex-grow: 0;
}

/* Resource link buttons */
.course-resource-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.course-resource-links .button {
  width: 100%;
  height: 44px;
  min-height: 0;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: 0.82rem;
  white-space: nowrap;
}

.course-resource-links .button i {
  width: 18px;
  height: 18px;
}

.course-resource-links .button-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 45, 117, 0.04);
}


/* Responsive grid */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 6px 20px rgba(255, 45, 117, 0.3);
  transition: all 0.3s ease;
  margin-top: auto;
  border: 0;
  cursor: pointer;
  align-self: flex-start;
}

.course-cta i {
  transition: transform 0.3s ease;
}

.course-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 45, 117, 0.4);
}

.course-cta:hover i {
  transform: translateX(4px);
}

/* ========================================
   WHY JOIN (3 COLUMN)
   ======================================== */
.why-grid-three {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.why-grid-three article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.why-grid-three article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 45, 117, 0.15);
}

.why-grid-three svg {
  width: 28px;
  height: 28px;
  color: var(--pink);
}

.why-grid-three h3 {
  margin: 13px 0 6px;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 750;
}

.why-grid-three p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.accordion-item:hover {
  border-color: rgba(255, 45, 117, 0.15);
  box-shadow: var(--shadow);
}

.accordion-item.is-active {
  border-color: rgba(255, 45, 117, 0.2);
  box-shadow: var(--shadow);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: color 0.25s ease;
}

.accordion-header:hover {
  color: var(--pink);
}

.accordion-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  transition: all 0.35s ease;
}

.accordion-item:hover .accordion-icon {
  color: var(--white);
  background: var(--pink);
}

.accordion-item.is-active .accordion-icon {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.25);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ========================================
   STREAM CTA BANNER
   ======================================== */
.stream-cta-section {
  position: relative;
  overflow: hidden;
  padding: 70px 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2), var(--navy-3));
  color: var(--white);
  border-radius: var(--radius-lg);
  margin-top: 50px;
  text-align: center;
}

.stream-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.stream-cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.stream-cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.15;
}

.stream-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.stream-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.stream-cta-buttons .button {
  min-width: 160px;
}

.stream-cta-buttons .button-whatsapp,
.button-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.stream-cta-buttons .button-whatsapp:hover,
.button-whatsapp:hover {
  background: #20ba59;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
}

/* ========================================
   PAGE HERO (Secondary pages)
   ======================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 45, 117, 0.06), transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(6, 22, 92, 0.04), transparent 35%),
    linear-gradient(145deg, #fafcff 0%, #f0f4fc 48%, #ffffff 100%);
}

.page-hero h1 {
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 800px;
}

.page-hero p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 650px;
  line-height: 1.7;
}

/* ========================================
   SECONDARY PAGES (Courses, Contact, Gallery, Teachers)
   ======================================== */
.notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fff3cd;
  color: #664d03;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
  border: 1px solid #ffecb5;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
}

.course-meta {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink);
  background: rgba(255, 45, 117, 0.08);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.course-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.course-list li i {
  color: var(--pink);
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 800;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--navy);
}

.icon-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.icon-card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  margin-bottom: 14px;
}

.icon-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 750;
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  justify-content: center;
}

.filter-button {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-button:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.filter-button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-color: transparent;
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 14px 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(transparent, rgba(4, 6, 32, 0.85));
}

.teacher-card {
  padding: 0;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}

.teacher-card .card-body {
  padding: 20px;
}

.placeholder-photo {
  width: 100%;
  height: 200px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--soft), var(--soft-2));
  color: var(--navy);
  font-size: 2.5rem;
  font-weight: 900;
}

.teacher-subject {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink);
  background: rgba(255, 45, 117, 0.08);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-item {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-item strong {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-item .text-link {
  font-size: 0.9rem;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 750;
}

.card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE TABLET
   ======================================== */
@media (max-width: 1080px) {
  .site-nav {
    position: absolute;
    top: 82px;
    right: 24px;
    left: 24px;
    display: none;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: grid;
    align-items: stretch;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-grid,
  .about-grid,
  .testimonial-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: auto;
    aspect-ratio: 1.5;
  }

  .kpi-grid {
    max-width: 100%;
  }

  .hero-float-card-3,
  .hero-float-card-4 {
    display: none;
  }

  .course-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .faculty-grid,
  .achievement-card-grid,
  .achievement-gallery,
  .gallery-grid-premium,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .results-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  .featured-topper-inner {
    grid-template-columns: 1fr;
  }

  .featured-topper-image {
    min-height: 320px;
  }

  .featured-topper-content {
    padding: 36px 32px;
  }

  .results-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .premium-achievement-grid {
    gap: 20px;
  }

  .premium-ach-featured {
    grid-row: auto;
  }

  .premium-ach-secondary {
    gap: 20px;
  }

  .premium-ach-subrow {
    gap: 20px;
  }

  .testimonial-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .carousel-track {
    gap: 16px;
  }

  .faculty-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .faculty-avatar-wrap {
    width: 115px;
    height: 115px;
  }
}

@media (min-width: 1081px) {
  .contact-list {
    display: flex;
    flex-direction: column;
  }
}

/* ========================================
   RESPONSIVE MOBILE
   ======================================== */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 116px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 72px;
    gap: 12px;
    padding: 0 4px;
  }

  .brand-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-logo{
    width:96%;
    height:96%;
    object-fit:contain;
    transform:scale(1.15);
}
  .brand-text {
    font-size: clamp(0.9rem, 3vw, 1.05rem);
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    flex-shrink: 0;
  }

  .site-nav {
    top: 80px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding: 60px 0 30px;
    text-align: center;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .button-row {
    justify-content: center;
    flex-direction: column;
    gap: 14px;
  }

  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
    line-height: 1.1;
  }

  .hero-media {
    padding: 6px;
    min-height: auto;
  }

  .hero-media img {
    min-height: 260px;
    height: auto;
    object-position: center 15%;
  }

  .hero-float-card-wrapper,
  .hero-float-badge-wrapper {
    display: none !important;
  }

  .button {
    width: 100%;
    border-radius: 16px;
  }

  .button-row .button {
    border-radius: 16px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .course-strip,
  .stream-grid,
  .why-grid,
  .achievement-card-grid,
  .achievement-gallery,
  .results-timeline,
  .gallery-grid-premium,
  .form-grid,
  .footer-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .why-grid-three {
    grid-template-columns: 1fr;
  }

  .course-strip {
    gap: 10px;
  }

  .course-strip a {
    justify-content: flex-start;
    min-height: 64px;
  }

  .stream-card,
  .featured-stream,
  .form-field-full {
    grid-column: auto;
  }

  .section,
  .contact-section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 44px 0;
  }

  .about-media img {
    min-height: 280px;
  }

  .contact-panel,
  .enquiry-form {
    padding: 20px;
  }

  .stream-cta-section {
    padding: 50px 16px;
    border-radius: var(--radius);
  }

  .faculty-card {
    padding: 24px 16px 20px;
  }

  .faculty-avatar-container {
    width: 110px;
    height: 110px;
  }

  /* Google Reviews Mobile */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .google-rating-badge {
    padding: 16px 24px;
    flex-direction: column;
    text-align: center;
  }

  /* Outstanding Results Mobile */
  .results-tabs-premium {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .results-tabs-premium::-webkit-scrollbar {
    display: none;
  }

  .results-tab-premium {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 24px;
    scroll-snap-align: start;
  }

  .results-premium-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 28px;
    margin: 0;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .results-premium-grid::-webkit-scrollbar {
    display: none;
  }

  .result-premium-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    min-height: auto;
  }

  .premium-achievement-grid {
    scrollbar-width: none;
    overflow-y: hidden;
  }

  .premium-achievement-grid::-webkit-scrollbar {
    display: none;
  }

  .premium-ach-secondary,
  .premium-ach-subrow {
    display: contents;
  }

  .premium-ach-featured {
    grid-row: auto;
  }

  /* Faculty Grid Mobile */
  .faculty-avatar-wrap {
    width: 100px;
    height: 100px;
  }

  .faculty-card-new-inner {
    padding: 22px 14px 14px;
  }

  .faculty-card-new h3 {
    font-size: 1.25rem;
  }

  .faculty-dept {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .faculty-bottom-pill {
    margin-top: 4px;
  }

  /* Stories Mobile */
  .stories-grid {
    grid-template-columns: 1fr;
  }

  /* Premium Gallery Mobile */
  .gallery-grid-premium {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-premium-frame {
    aspect-ratio: 4 / 3;
  }

  .lightbox-content {
    max-width: 100%;
    border-radius: 12px;
  }

  .lightbox-content img {
    max-height: 60vh;
  }

  /* Contact Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }
}

/* ========================================
   MOMENTS GALLERY — Premium Masonry
   ======================================== */
.moments-gallery {
  overflow: hidden;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  grid-auto-flow: dense;
}

.moments-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: var(--soft);
  box-shadow: 0 4px 16px rgba(10, 15, 46, 0.06), 0 8px 32px rgba(10, 15, 46, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 600ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 350ms ease;
  will-change: transform, opacity;
}

.moments-card.is-visible {
  box-shadow: 0 4px 20px rgba(10, 15, 46, 0.07), 0 8px 36px rgba(10, 15, 46, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.moments-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 300ms ease;
}

.moments-card.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10, 15, 46, 0.13), 0 8px 24px rgba(10, 15, 46, 0.09);
}

/* Pink border glow on hover */
.moments-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--pink), transparent 40%, transparent 60%, var(--pink)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
  z-index: 3;
}

.moments-card.is-visible:hover::after {
  opacity: 1;
}

.moments-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
  transition: border-color 400ms ease;
}

.moments-card.is-visible:hover::before {
  border-color: rgba(255, 45, 122, 0.25);
}

.moments-card-media {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.moments-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.moments-card.is-visible:hover .moments-card-media img {
  transform: scale(1.08);
}

/* Bottom overlay */


/* Card spans */
.moments-card[data-span="wide"] {
  grid-column: span 2;
}

/* Different aspect ratios for variety */
.moments-card[data-ratio="16-9"] .moments-card-media {
  aspect-ratio: 16 / 9;
}

.moments-card[data-ratio="4-3"] .moments-card-media {
  aspect-ratio: 4 / 3;
}

.moments-card[data-ratio="1-1"] .moments-card-media {
  aspect-ratio: 1 / 1;
}

.moments-card[data-ratio="3-4"] .moments-card-media {
  aspect-ratio: 3 / 4;
}

.moments-card[data-ratio="3-2"] .moments-card-media {
  aspect-ratio: 3 / 2;
}

/* Navigation dots (mobile) */
.moments-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.moments-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 15, 46, 0.16);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.moments-dot.is-active {
  background: var(--pink);
  width: 26px;
  border-radius: 999px;
}

/* ========================================
   MOMENTS LIGHTBOX
   ======================================== */
.moments-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}

.moments-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.moments-lightbox[hidden] {
  display: none;
}

.moments-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 38, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.moments-lightbox-viewport {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 92vw;
  max-height: 88vh;
}

.moments-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              opacity 350ms ease;
  opacity: 0;
}

.moments-lightbox.is-open .moments-lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.moments-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 250ms ease;
}

.moments-lightbox-close:hover {
  background: var(--pink);
  transform: rotate(90deg) scale(1.08);
}

.moments-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 250ms ease;
  opacity: 0.8;
}

.moments-lightbox-nav:hover {
  background: var(--pink);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.moments-lightbox-prev {
  left: 18px;
}

.moments-lightbox-next {
  right: 18px;
}

.moments-lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(10, 15, 46, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 18px;
  border-radius: 999px;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

body.lightbox-open {
  overflow: hidden;
}

/* ========================================
   MOMENTS GALLERY — Scroll reveal
   ======================================== */
.moments-card:nth-child(1) { transition-delay: 0ms; }
.moments-card:nth-child(2) { transition-delay: 80ms; }
.moments-card:nth-child(3) { transition-delay: 160ms; }
.moments-card:nth-child(4) { transition-delay: 240ms; }
.moments-card:nth-child(5) { transition-delay: 320ms; }
.moments-card:nth-child(6) { transition-delay: 400ms; }
.moments-card:nth-child(7) { transition-delay: 480ms; }
.moments-card:nth-child(8) { transition-delay: 560ms; }
.moments-card:nth-child(9) { transition-delay: 640ms; }

/* Desktop: place 8th card in right-center gap; last card is normal so dense fills it naturally */
.moments-card:nth-child(8) {
  grid-column: 3;
}

/* ========================================
   MOMENTS GALLERY — Tablet (721–1024px)
   ======================================== */
@media (min-width: 721px) and (max-width: 1024px) {
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .moments-card[data-span="wide"] {
    grid-column: span 2;
  }

  .moments-card:nth-child(1) { transition-delay: 0ms; }
  .moments-card:nth-child(2) { transition-delay: 60ms; }
  .moments-card:nth-child(3) { transition-delay: 120ms; }
  .moments-card:nth-child(4) { transition-delay: 180ms; }
  .moments-card:nth-child(5) { transition-delay: 240ms; }
  .moments-card:nth-child(6) { transition-delay: 300ms; }
  .moments-card:nth-child(7) { transition-delay: 360ms; }
  .moments-card:nth-child(8) { transition-delay: 420ms; }
  .moments-card:nth-child(9) { transition-delay: 480ms; }

  /* Reset 8th card placement on tablet (2 columns) */
  .moments-card:nth-child(8) {
    grid-column: auto;
  }
}

/* ========================================
   MOMENTS GALLERY — Mobile (≤720px)
   ======================================== */
@media (max-width: 720px) {
  .moments-grid {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    padding: 6px 2px 16px;
    margin: 0 -14px;
    padding-left: 14px;
    padding-right: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
  }

  .moments-grid::-webkit-scrollbar {
    display: none;
  }

  .moments-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
    opacity: 1;
    transform: none;
    transition: box-shadow 300ms ease;
  }

  .moments-card.is-visible {
    opacity: 1;
    transform: none;
  }

  .moments-card:first-child {
    flex: 0 0 85vw;
  }

  .moments-card[data-span="wide"] {
    grid-column: auto;
  }

  .moments-dots {
    display: flex;
  }

  .moments-lightbox-prev {
    left: 10px;
  }

  .moments-lightbox-next {
    right: 10px;
  }

  .moments-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .moments-lightbox-viewport {
    max-width: 98vw;
    max-height: 80vh;
  }

  .moments-lightbox-img {
    max-height: 70vh;
  }
}

/* Tablet timeline fix */
@media (max-width: 900px) {
  .timeline-left {
    padding-right: 36px;
  }

  .timeline-right {
    padding-left: 36px;
  }

  .timeline-left .timeline-dot {
    right: -46px;
  }

  .timeline-right .timeline-dot {
    left: -46px;
  }
}

/* ========================================
   TOPBAR RESPONSIVE - Premium Mobile
   ======================================== */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    height: auto;
    padding: 8px 0;
    position: sticky;
    top: 0;
  }

  .topbar-inner {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .topbar-links {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    white-space: normal;
  }

  .topbar-links span {
    overflow-wrap: break-word;
    word-break: break-word;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .topbar-links i[data-lucide] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .topbar-links span:not(:last-child) {
    margin-bottom: 4px;
  }

  .topbar .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
  }

  .topbar .social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .topbar .social-links a:hover {
    background: var(--pink);
    border-color: var(--pink);
    transform: scale(1.08);
  }

  .topbar .social-links .fa-brands {
    font-size: 19px;
  }

  .topbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 999;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 6px 0;
  }

  .topbar-links span {
    font-size: 0.78rem;
    gap: 6px;
  }

  .topbar-links i[data-lucide] {
    width: 16px;
    height: 16px;
  }

  .topbar .social-links {
    margin-top: 4px;
  }

  .topbar .social-links a {
    width: 42px;
    height: 42px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-social a .social-svg,
  .footer-social a i.fa-brands {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }
}

@media (max-width: 425px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .brand-text {
    white-space: normal;
    font-size: 0.82rem;
  }

  .brand-logo-wrap {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: 21px;
    height: 21px;
    object-fit: contain;
    display: block;
  }

  .nav-wrap {
    min-height: 60px;
    gap: 8px;
    padding: 0 4px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .site-nav {
    top: 68px;
  }

  .topbar .social-links a {
    width: 36px;
    height: 36px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .footer-social a .social-svg,
  .footer-social a i.fa-brands {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 24px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7vw, 1.8rem);
  }

  .hero-copy p {
    font-size: 0.9rem;
  }

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

  .kpi-card {
    padding: 18px 10px 16px;
  }

  .kpi-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .kpi-value {
    font-size: 1.4rem;
  }

  .trust-badges {
    margin-top: 16px;
    margin-bottom: 16px;
    gap: 8px;
  }

  .trust-badge {
    min-height: 50px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

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

  .course-strip a {
    min-height: 52px;
    padding: 8px;
    font-size: 0.72rem;
  }

  .section-heading h2 {
    font-size: clamp(1.4rem, 5vw, 1.6rem);
  }

  .faculty-grid-new {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .result-premium-card {
    padding: 22px 16px 20px;
  }

  .result-premium-body {
    min-width: 0;
    padding-top: 14px;
  }

  .result-premium-score {
    margin-top: 0;
    align-self: flex-start;
  }

  .testimonial-carousel {
    padding: 0 20px;
    gap: 16px;
  }

  .carousel-wrapper {
    gap: 8px;
  }

  .carousel-track {
    gap: 12px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    padding: 20px;
  }

  .testimonial-card p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .carousel-arrow {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .carousel-arrow i {
    width: 16px;
    height: 16px;
  }

  .testimonial-avatar {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .carousel-dots {
    gap: 8px;
  }

  .footer {
    padding: 40px 0 16px;
  }

  .footer-grid {
    gap: 24px;
  }

  .topbar .social-links {
    gap: 10px;
  }
}

@media (max-width: 375px) {
  .container {
    width: min(100% - 16px, 1180px);
  }

  .hero h1 {
    font-size: clamp(1.3rem, 6vw, 1.5rem);
  }

  .hero-badge-pill {
    font-size: 0.68rem;
    padding: 6px 14px;
  }

  .stream-card-body {
    padding: 18px;
  }

  .stream-card-body h3 {
    font-size: 1.1rem;
  }

  .stream-btn {
    min-width: 140px;
    padding: 10px 18px;
    font-size: 0.78rem;
  }

  .topbar .social-links a {
    width: 34px;
    height: 34px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
  }

  .footer-social a .social-svg,
  .footer-social a i.fa-brands {
    width: 15px;
    height: 15px;
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 12px, 1180px);
  }

  .hero h1 {
    font-size: 1.2rem;
  }

  .kpi-card {
    padding: 14px 8px 12px;
    border-radius: 18px;
  }

  .kpi-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .kpi-value {
    font-size: 1.15rem;
  }

  .kpi-label {
    font-size: 0.55rem;
  }

  .topbar-links {
    gap: 4px 8px;
    font-size: 0.7rem;
  }

  .topbar .social-links a {
    width: 32px;
    height: 32px;
  }

  .topbar .social-links i[data-lucide],
  .topbar .social-links a i.fa-brands {
    width: 14px;
    height: 14px;
    font-size: 14px;
  }

  .course-strip a {
    font-size: 0.65rem;
    min-height: 44px;
    padding: 6px;
  }

  .stream-card-icon {
    width: 36px;
    height: 36px;
  }

  .stream-card-fig {
    height: 160px;
  }
}

/* ========================================
   LARGE SCREENS 1440px+
   ======================================== */
@media (min-width: 1400px) {
  .container {
    width: min(1320px, calc(100% - 48px));
  }

  .hero h1 {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
  }

  .stream-grid {
    gap: 32px;
  }

  .features-grid {
    gap: 28px;
  }

  .faculty-grid {
    gap: 32px;
  }
}

/* ========================================
   CAROUSEL DOTS — Achievement Gallery
   ======================================== */
.gallery-carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 12px auto 0;
  padding: 0;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 22, 92, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s ease, transform 0.35s ease, width 0.35s ease;
}

.gallery-dot.is-active {
  background: var(--pink, #ff1f7a);
  width: 26px;
  border-radius: 999px;
  transform: scale(1);
}

/* ========================================
   CAROUSEL DOTS — Faculty Section
   ======================================== */
.faculty-carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 12px auto 0;
  padding: 0;
}

.faculty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 22, 92, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s ease, transform 0.35s ease, width 0.35s ease;
}

.faculty-dot.is-active {
  background: var(--pink, #ff1f7a);
  width: 26px;
  border-radius: 999px;
  transform: scale(1);
}

/* ========================================
   MOBILE GALLERY OVERRIDE (768px)
   ======================================== */
@media (max-width: 768px) {
  .gallery-carousel-dots {
    display: flex;
  }

  .premium-achievement-grid {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 0 20px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
  }

  .premium-achievement-grid::-webkit-scrollbar {
    display: none;
  }

  .premium-achievement-grid {
    scrollbar-width: none;
  }

  .premium-ach-secondary,
  .premium-ach-subrow {
    display: contents !important;
  }

  .premium-ach-card {
    flex: 0 0 85vw;
    width: 85vw;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    scroll-snap-align: center;
    display: block;
    overflow: hidden;
    margin: 0 !important;
  }

  .premium-ach-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
  }

  .premium-ach-featured,
  .premium-ach-secondary {
    grid-row: auto !important;
    grid-column: auto !important;
    height: auto !important;
    min-height: unset !important;
  }

  .premium-ach-card::before,
  .premium-ach-card::after {
    display: none;
  }

  .premium-ach-featured .premium-ach-img-wrap,
  .premium-ach-img-wrap {
    min-height: unset !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .premium-ach-overlay {
    border-radius: 0 0 24px 24px;
  }

  .premium-ach-glass-badge {
    pointer-events: none;
  }

  .premium-ach-zoom {
    pointer-events: none;
  }

  /* ===== Faculty Mobile Carousel ===== */
  .faculty-section {
    position: relative;
    z-index: 0;
  }

  .faculty-section .container {
    position: relative;
    z-index: 1;
  }

  .faculty-grid-new {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding: 4px 2px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
    margin-top: 28px;
  }

  .faculty-grid-new::-webkit-scrollbar {
    display: none;
  }

  .faculty-card-new {
    flex: 0 0 82vw;
    scroll-snap-align: center;
    min-width: 0;
  }

  .faculty-grid {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 4px 2px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
  }

  .faculty-grid::-webkit-scrollbar {
    display: none;
  }

  .faculty-grid .faculty-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    min-width: 0;
    max-width: 85vw;
  }

  .faculty-card-new-inner {
    padding: 22px 14px 14px;
  }

  .faculty-avatar-wrap {
    width: 105px;
    height: 105px;
  }

  .faculty-card-new h3 {
    font-size: 1.25rem;
  }

  .faculty-dept {
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }

  .faculty-bottom-pill {
    margin-top: 4px;
  }

  .faculty-carousel-dots {
    display: flex;
  }

  /* ===== Outstanding Results Carousel ===== */
  .results-premium-grid {
    display: flex !important;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 28px;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .results-premium-grid::-webkit-scrollbar {
    display: none;
  }

  .result-premium-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    min-height: auto;
  }

  /* ===== Course Strip Carousel ===== */
  .course-strip {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
    margin-top: 24px;
  }

  .course-strip::-webkit-scrollbar {
    display: none;
  }

  .course-strip a {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    min-width: 0;
    min-height: 68px;
    margin: 0;
    justify-content: center;
    font-size: 0.78rem;
    padding: 12px 14px;
  }

  /* ===== Smooth Mobile Swipe Snap for Faculty and Results ===== */
  .faculty-grid,
  .faculty-grid-new {
    display: flex !important;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 24px;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: none !important;
  }

  .faculty-grid::-webkit-scrollbar,
  .faculty-grid-new::-webkit-scrollbar {
    display: none;
  }

  .faculty-card,
  .faculty-card-new {
    flex: 0 0 280px;
    scroll-snap-align: center;
    margin: 0;
  }
}

/* ========================================
   PROMOTIONAL POPUP
   ======================================== */
.promo-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 350px;
  max-width: calc(100% - 48px);
  background: var(--navy);
  border: 1.5px solid rgba(255, 45, 122, 0.45);
  border-radius: 24px;
  padding: 24px;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(6, 22, 92, 0.35), 0 0 30px rgba(255, 45, 122, 0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
}

.promo-popup.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.promo-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-premium);
  line-height: 1;
  padding-bottom: 2px;
}

.promo-popup-close:hover {
  background: var(--pink);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 45, 122, 0.5);
  border-color: var(--pink);
}

.promo-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 45, 122, 0.25);
}

.promo-popup-badge i {
  width: 12px;
  height: 12px;
}

.promo-popup h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.promo-popup p {
  color: #B4BCCF;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 18px;
}

.promo-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  font-weight: 750;
  font-size: 0.85rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.35s var(--ease-premium);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 45, 122, 0.3);
}

.promo-popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 45, 122, 0.45), 0 0 20px rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.promo-popup-cta i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.promo-popup-cta:hover i {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .promo-popup {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(6, 22, 92, 0.4);
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-fade-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Gold Highlights and Gradients Utilities */
.text-gold {
  /* #D4A853 on white = 2.8:1 (WCAG fail). Use on dark backgrounds only. */
  color: var(--gold) !important;
}

/* WCAG AA compliant gold for light/white backgrounds (4.6:1 contrast ratio) */
.text-gold-accessible {
  color: var(--gold-accessible) !important;
}

.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy) !important;
}

/* ========================================
   FORM VALIDATION STYLES - Custom Premium
   ======================================== */
.form-grid input.form-error,
.form-grid select.form-error,
.form-grid textarea.form-error {
  border-color: var(--pink);
  background: rgba(255, 45, 117, 0.03);
  box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.12);
  animation: shake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.form-field-error-msg {
  display: block;
  margin-top: 6px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.form-field-error-msg.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}

.form-success-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(18, 113, 91, 0.08);
  border: 1.5px solid rgba(18, 113, 91, 0.2);
  color: #0d5e4a;
  font-weight: 700;
  font-size: 0.93rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-success-msg.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal delay utilities */
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* Course strip accessibility */
.course-strip a:focus-visible {
  outline: 2.5px solid var(--pink);
  outline-offset: 4px;
  border-color: rgba(255, 45, 117, 0.35);
  box-shadow: 0 0 0 4px rgba(255, 45, 117, 0.1);
}

/* Trust badge — non-interactive, explicit cursor */
.trust-badge {
  cursor: default;
}

/* =============================================
   SWIPER POSTER GALLERY — Toppers & Highlights
   ============================================= */
.premium-achievement-swiper {
  overflow: visible;
  position: relative;
  z-index: 1;
  padding: 12px 0 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.premium-achievement-swiper .swiper-wrapper {
  align-items: center;
}
.premium-achievement-swiper .swiper-slide {
  width: 420px;
  height: auto;
  opacity: 0.5;
  transform: scale(0.82);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
  filter: blur(1.5px);
  will-change: transform, opacity;
}
.premium-achievement-swiper .swiper-slide-visible {
  opacity: 0.65;
  transform: scale(0.85);
  filter: blur(0.8px);
}
.premium-achievement-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.premium-achievement-swiper .swiper-slide .premium-ach-card {
  height: auto;
  margin: 0;
  box-shadow: 0 20px 60px rgba(10, 15, 60, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
  border-radius: 30px;
  padding: 10px;
}
.premium-achievement-swiper .swiper-slide-active .premium-ach-card {
  box-shadow: 0 30px 80px rgba(10, 15, 60, 0.18), 0 0 0 1px rgba(255, 47, 146, 0.12);
}
.premium-achievement-swiper .premium-ach-card:hover {
  transform: none;
}

/* Swiper Navigation */
.premium-achievement-swiper .swiper-button-next,
.premium-achievement-swiper .swiper-button-prev {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
  transition: all 0.3s ease;
  top: calc(50% - 40px);
}
.premium-achievement-swiper .swiper-button-next:hover,
.premium-achievement-swiper .swiper-button-prev:hover {
  background: linear-gradient(135deg, var(--pink, #ff2f92), var(--pink-dark, #cc0066));
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(255, 47, 146, 0.30);
}
.premium-achievement-swiper .swiper-button-next::after,
.premium-achievement-swiper .swiper-button-prev::after {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a1a2e;
  transition: color 0.3s ease;
}
.premium-achievement-swiper .swiper-button-next:hover::after,
.premium-achievement-swiper .swiper-button-prev:hover::after {
  color: #fff;
}
.premium-achievement-swiper .swiper-button-next {
  right: -12px;
}
.premium-achievement-swiper .swiper-button-prev {
  left: -12px;
}
.premium-achievement-swiper .swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Swiper Pagination */
.premium-achievement-swiper .swiper-pagination {
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.premium-achievement-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
  margin: 0 !important;
}
.premium-achievement-swiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink, #ff2f92), var(--pink-dark, #cc0066));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(255, 47, 146, 0.35);
}

/* Tablet */
@media (max-width: 1024px) {
  .premium-achievement-swiper .swiper-slide {
    width: 380px;
  }
  .premium-achievement-swiper .swiper-button-next {
    right: 4px;
  }
  .premium-achievement-swiper .swiper-button-prev {
    left: 4px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .premium-achievement-swiper {
    padding: 8px 0 40px;
  }
  .premium-achievement-swiper .swiper-slide {
    width: 82vw;
    opacity: 0.55;
    transform: scale(0.78);
    filter: blur(0.6px);
  }
  .premium-achievement-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  .premium-achievement-swiper .swiper-button-next,
  .premium-achievement-swiper .swiper-button-prev {
    display: none;
  }
  .premium-achievement-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .premium-achievement-swiper .swiper-pagination-bullet-active {
    width: 22px;
  }
}

/* ==========================================
   Study Resources — Premium Cards & Filters
   ========================================== */

/* ── Filter Row ── */
.resources-filter-row {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  align-items: end;
  background: #0a0f2e;
  padding: 24px 28px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(10, 15, 46, 0.12);
}

.filter-field {
  flex: 1;
}

.filter-field-search {
  flex: 7;
}

.filter-field-semester {
  flex: 3;
}

.filter-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 10px;
}

.filter-input-wrap,
.filter-select-wrap {
  position: relative;
}

.filter-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.filter-input-wrap input,
.filter-select-wrap select {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #e2e4ea;
  color: #0a0f2e;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-sizing: border-box;
}

.filter-select-wrap select {
  padding: 14px 44px 14px 16px;
  cursor: pointer;
}

.filter-input-wrap input:focus,
.filter-select-wrap select:focus {
  border-color: #ff2d7a;
  box-shadow: 0 0 0 4px rgba(255, 45, 122, 0.12);
}

.filter-input-wrap input::placeholder {
  color: #aaa;
}

.filter-select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  width: 16px;
  height: 16px;
}

/* ── Resource Grid ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  min-height: 200px;
}

/* ── Resource Card ── */
.resource-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 15, 46, 0.06);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 15, 46, 0.1);
}

/* ── Card Thumbnail ── */
.resource-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #f0f2f5;
}

.resource-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-premium);
}

.resource-card:hover .resource-card-thumb {
  transform: scale(1.04);
}

/* ── Semester Badge ── */
.resource-semester-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff2d7a, #a855f7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(255, 45, 122, 0.3);
  pointer-events: none;
}

/* ── Card Body ── */
.resource-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0a0f2e;
  line-height: 1.35;
}

.resource-card-body p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Resource Badges (Premium Pills) ── */
.resource-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.resource-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
}

.resource-badge svg {
  flex-shrink: 0;
}

.resource-badge-pdf {
  background: #fef2f2;
  color: #dc2626;
}

.resource-badge-video {
  background: #fdf2f8;
  color: #ff2d7a;
}

.resource-badge-drive {
  background: #fefce8;
  color: #ca8a04;
}

.resource-badge-external {
  background: #f3f4f6;
  color: #6b7280;
}

/* ── Action Buttons ── */
.resource-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.resource-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  line-height: 1;
  flex: 1;
  justify-content: center;
}

.resource-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-btn-pdf {
  background: #fef2f2;
  color: #dc2626;
}
.resource-btn-pdf:hover {
  background: #fee2e2;
}

.resource-btn-video {
  background: #fdf2f8;
  color: #ff2d7a;
}
.resource-btn-video:hover {
  background: #fce7f3;
}

.resource-btn-drive {
  background: #fefce8;
  color: #ca8a04;
}
.resource-btn-drive:hover {
  background: #fef9c3;
}

.resource-btn-external {
  background: #f3f4f6;
  color: #4b5563;
}
.resource-btn-external:hover {
  background: #e5e7eb;
}

/* ── Empty State ── */
.resources-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
}

.resources-empty-icon {
  margin-bottom: 16px;
  color: #d1d5db;
}

.resources-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0f2e;
  margin: 0 0 8px;
}

.resources-empty-desc {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

/* ── Search Highlight ── */
.search-highlight {
  background: linear-gradient(120deg, rgba(255, 45, 122, 0.2) 0%, rgba(168, 85, 247, 0.18) 100%);
  color: #0a0f2e;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .resources-filter-row {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .resource-card-body {
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .resources-filter-row {
    padding: 16px;
    border-radius: 16px;
  }

  .filter-input-wrap input,
  .filter-select-wrap select {
    padding: 12px 14px 12px 40px;
    font-size: 0.85rem;
  }

  .filter-select-wrap select {
    padding: 12px 40px 12px 14px;
  }

  .resource-card-body {
    padding: 14px;
  }

  .resource-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
}