﻿:root {
  /* Dark Theme Colors */
  --brand-dark: #0a0514;
  --brand-purple: #5b21b6;
  --brand-magenta: #c026d3;
  --brand-cyan: #06b6d4;
  --text-main: #ffffff;
  --text-muted: #cbd5e1;

  /* Light Theme Colors */
  --bg-light: #f8fafc;
  --text-light-theme: #0f172a;
  --text-muted-light: #475569;

  --font-main: "Plus Jakarta Sans", sans-serif;

  /* Glass Variables */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-light-bg: rgba(255, 255, 255, 0.6);
  --glass-light-border: rgba(255, 255, 255, 0.9);
  --glass-highlight: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  --glass-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body {
  font-family: var(--font-main);
  background:  #d400fe0c;
  /* Changed to light to support fixed light mesh */
  color: var(--text-main);
  overflow-x: clip;
  min-height: 100vh;
}

.hero-wrapper {
  position: relative;
  min-height: 100vh;
  background: #0a0514d6;
  /* NO overflow: hidden here, allowing seamless blending */
  padding-bottom:60px;
}

/* --- 1. Architectural Animated Grid Background --- */
.hero-grid-architecture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(circle at 0% 81%, #5b2698 0%, #b82bd3 100%);
}

.grid-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 80%
  );
}

.grid-glow-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.4) 1.5px,
    transparent 2px
  );
  background-size: 80px 80px;
  background-position: -0.5px -0.5px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 70%
  );
  animation: pulsePoints 4s infinite alternate ease-in-out;
}

@keyframes pulsePoints {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.t-line {
  position: absolute;
  opacity: 0;
}

.t-line-h {
  height: 1px;
  width: 400px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  box-shadow: 0 0 20px var(--c);
  animation: travelH linear infinite;
}

.t-line-v {
  width: 1px;
  height: 400px;
  background: linear-gradient(180deg, transparent, var(--c), transparent);
  box-shadow: 0 0 20px var(--c);
  animation: travelV linear infinite;
}

@keyframes travelH {
  0% {
    transform: translateX(-400px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw);
    opacity: 0;
  }
}

@keyframes travelV {
  0% {
    transform: translateY(-400px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* --- Hero Depth Blur Overlay --- */
.hero-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  /* Soft dark wash behind the text */
  background: radial-gradient(
    circle at 20% 50%,
    rgba(10, 5, 20, 0.4) 0%,
    transparent 60%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  /* Fades the blur out perfectly right before it touches the 3D phone */
  /* mask-image: linear-gradient(to right, black 35%, transparent 100%); */
  /* -webkit-mask-image: linear-gradient(to right, black 35%, transparent 100%); */
}

.btn-liquid-primary {
  background: var(--brand-purple);
  color: #fff;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.09rem;
  box-shadow:
    0 10px 25px rgba(76, 18, 126, 0.3),
    inset 0 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.btn-liquid-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(76, 18, 126, 0.4);
}

.hero-premium {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* =========================================
   CUSTOM VANILLA GRID SYSTEM (No Bootstrap)
   ========================================= */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 -15px;
}

.align-items-center {
  align-items: center;
}

.col-12,
.col-md-6,
.col-lg-6,
.col-lg-5,
.col-lg-7 {
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

@media (max-width: 1019px) {
}
@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
  .row {
    width: auto !important;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-5 {
    width: 41.666667%;
  }
  .col-lg-7 {
    width: 58.333333%;
  }
}

/* Typography */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;
}

.glowing-dot {
  width: 8px;
  height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 15px #22d3ee;
}

.hero-text-zone {
  margin-top: 6rem;
}

/* CTAs */
.cta-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 7rem;
}

.btn-primary-magnetic {
  background: #fff;
  color: var(--brand-dark);
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
  display: inline-block;
}

.btn-glass-outline {
  background: var(--glass-bg);
  color: #ffffff;
  text-decoration: none;
  padding: 18px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Glass Stat Bar */
.glass-stat-bar {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat h4 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}

.stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- Right Visual: Multi-Layer Glass --- */
.hero-visual-zone {
  position: relative;
  /* min-height: 650px; */
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

@media (max-width: 991px) {
  .hero-visual-zone {
    min-height: 550px;
    margin-top: -10rem;
  }
  .btn-glass-outline,
  .btn-liquid-primary {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .glass-pill {
    align-self: flex-start;
  }
  .cta-cluster {
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 100%;
    margin-bottom: 9rem;
  }
  .cta-cluster .btn-liquid-primary,
  .cta-cluster .btn-glass-outline {
    text-align: center;
    justify-content: center;
  }
}

.main-glass-card {
  position: relative;
  width: 85%;
  height: 90%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 2px 20px rgba(255, 255, 255, 0.15);
  transform-style: preserve-3d;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  mix-blend-mode: luminosity;
}

.card-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 40%,
    rgba(6, 182, 212, 0.1) 100%
  );
  pointer-events: none;
}

/* Floating Badges */
.floating-glass-badge {
  position: absolute;
  z-index: 10;
  background: rgba(10, 5, 20, 0.6);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 2px 10px rgba(255, 255, 255, 0.05);
}

.badge-top {
  top: 10%;
  left: -15%;
}

.badge-bottom {
  bottom: 15%;
  right: -15%;
}

.icon-sphere {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-content h5 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2px;
}

.badge-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* GSAP Hiding */
.g-reveal,
.g-visual {
  visibility: hidden;
}

@media (max-width: 786px) {
  .hero-text-zone {
    margin-top: 3rem;
  }
}

.theme-blend-zone {
  position: relative;
  z-index: 20;
  margin-top:0px;
  padding-top:0px;
  
  pointer-events: none;
  /* Let clicks pass through the gradient */
}

/* Contained Trust Panel inside the transition */
.trust-glass-panel {
  pointer-events: auto;
  position: relative;
  max-width: 1250px;
   top:-75px;
    margin:0 auto;
  margin: 0px auto 0; /* Pulls slightly into the hero gradient for depth */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(85, 0, 255, 0.079);  /* Premium Dark Glass */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--glass-light-border);
  border-radius: 30px;
  padding: 45px 50px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    inset 0 2px 20px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.stat-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(
    to right,
    var(--brand-dark),
    var(--brand-magenta)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(6, 182, 212, 0.25));
  letter-spacing: -2px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.panel-sweep {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: skewX(-20deg);
  animation: glassSweep 4s infinite;
  pointer-events: none;
}

@keyframes glassSweep {
  0% {
    left: -150%;
  }

  50% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

@media (max-width: 1024px) {
  .theme-blend-zone {
    padding: 150px 0 50px 0;
  }

  .trust-glass-panel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-items: center;
    align-items: center;
    row-gap: 40px;
    column-gap: 0;
    padding: 40px 10px;
  }

  .stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
  }

  /* The middle divider becomes a horizontal separator spanning all columns */
  .stat-divider:nth-child(5) {
    grid-column: 1 / 4;
    width: 80%;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
  }

  .stat-number {
    font-size: 2.9rem;
  }
}


@media (max-width: 768px) {
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }

  .trust-glass-panel {
    padding: 25px 10px;
    box-shadow:none;
  }
  .theme-blend-zone {
    padding: 40px 0 0px 0;
  }
}

/* --- Desktop-only Hero -> Statistics transition fix ---
   .hero-grid-architecture/.hero-blur-overlay already stretch to the
   wrapper's real height at all widths (see their base rules above), so
   this block only holds the desktop-specific refinements: the
   theme-blend-zone gradient is redrawn as a pure opacity wash straight
   to the page's own light background -- rather than the flat/dark
   mid-tone stop used below 1025px -- so the Hero's own vivid gradient
   shows through and fades directly into the page instead of hitting a
   mismatched color band. The panel shadow is softened so the card
   blends into that fade. The final gradient stop uses var(--bg-light)
   so it always matches the page background the Achievers section
   below sits on.
   hero-premium gets extra padding-bottom so the download-app buttons
   get breathing room below them even on short viewports (previously
   ~0-15px at 768px-tall viewports); the panel's negative margin is
   then increased to pull it up into that new buffer for a ~50px
   overlap into the Hero, premium-landing-page style. Both values are
   independent: padding-bottom only adds space after the centered Hero
   content (content-box sizing keeps min-height:100vh separate from
   padding, so the heading/image never move), and the panel's own
   margin-top controls how far it rises into that space. */
@media (min-width: 1025px) {
  .hero-premium {
    padding-bottom: 60px;
  }

  .theme-blend-zone {
    padding: 95px 0 50px 0;
  }

  .trust-glass-panel {
    margin-top: -85px;
    box-shadow:
      0 25px 60px rgba(10, 5, 20, 0.28),
      inset 0 2px 20px rgba(255, 255, 255, 0.05);
  }
}

.color-mesh {
  position: fixed;
    inset: 0;
    height: 140vh;
  width: 100%;
  /* height: 100vh; */
  z-index: -2;
  filter: blur(80px);
  opacity: 0.1;
}


.blob {
  position: absolute;
  border-radius: 50%;
  animation: drift 15s infinite alternate ease-in-out;
}

.purple-blob {
  width: 50vw;
  height: 50vw;
  background: var(--brand-purple);
  top: -10%;
  left: -10%;
}

.cyan-blob {
  width: 40vw;
  height: 40vw;
  background: var(--brand-cyan);
  bottom: 0;
  right: -10%;
  animation-delay: -5s;
}

.magenta-blob {
  width: 45vw;
  height: 45vw;
  background: var(--brand-magenta);
  top: 30%;
  left: 30%;
  animation-delay: -10s;
}

/* =========================================
    3. COURSES SECTION (LIGHT THEME)
    ========================================= */
.light-courses-section {
  background-color: transparent;
  /* Let the fixed color-mesh show through */
  color: var(--text-light-theme);
  padding: 50px 0 150px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2,
.section-header-vid h2 {
  font-size: clamp(2.9rem, 4vw, 4.5rem);
  font-weight: 800;
  color: var(--text-light-theme);
  letter-spacing: -1.5px;
  margin-bottom: 15px;
}

.section-header p,
.section-header-vid p {
  font-size: 1.2rem;
  color: var(--text-muted-light);
  font-weight: 500;
}

/* Liquid Expansion Grid */
.expansion-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  gap: 20px;
  height: 600px;
}

.expand-card {
  position: relative;
  flex: 1;
  /* Default closed state */
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(76, 18, 126, 0.08);
}

.stack-courses-section .course-meta {
  color: var(--brand-purple);
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-main);
  font-style: normal;
  line-height: 1.8;
}

.stack-courses-section .course-meta .meta-rest {
  display: none;
}

.stack-courses-section .course-meta-wrap.expanded .meta-rest {
  display: inline;
}

.stack-courses-section .course-meta-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.stack-courses-section .course-meta-wrap .course-meta {
  margin-bottom: 0;
}

.stack-courses-section .meta-toggle-btn {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--brand-cyan, #0ea5e9);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: underline;
}

.stack-courses-section .meta-toggle-btn:hover {
  opacity: 0.8;
}

.stack-courses-section .course-meta-wrap.expanded ~ .course-desc,
.stack-courses-section .course-meta-wrap.expanded ~ .course-features {
  display: none;
}

/* The 3 Course Backgrounds */
.card-nursing {
  background-image: url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&q=80&w=1000");
}

.card-pharma {
  background-image: url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&q=80&w=1000");
}

.card-lab {
  background-image: url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&q=80&w=1000");
}

.expand-card:hover {
  flex: 3;
}

/* Expands massively on hover */

/* Liquid Glass Content Panel inside the card */
.glass-panel-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-light-border);
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 1);
  transition: all 0.5s ease;
}

.course-badge {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: var(--brand-purple);
  color: #fff;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.3);
}

.glass-panel-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light-theme);
  margin-bottom: 5px;
}

.glass-panel-content p {
  font-size: 1rem;
  color: var(--text-muted-light);
  font-weight: 600;
  margin-bottom: 0;
  transition: margin 0.4s;
}

/* Hidden details that appear on hover */
.hidden-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hidden-details p {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-course-cta {
  display: inline-block;
  background: var(--brand-purple);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.2);
  transition: transform 0.3s;
}

.btn-course-cta:hover {
  transform: translateY(-3px);
}

/* Hover Reveal Logic */
.expand-card:hover .hidden-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 20px;
}

.expand-card:hover .glass-panel-content p {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-zone {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .hero-title,
  .hero-subtitle {
    text-align: start;
  }

  .trust-glass-panel {
    flex-direction: column;
    gap: 10px;
    /* padding: 40px 20px; */
  }

  .stat-divider {
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
  }

  .expansion-grid {
    flex-direction: column;
    height: 900px;
  }

  .expand-card:hover {
    flex: 1.5;
  }
}

/* =========================================
   INFINITE SCROLLING MARQUEE
   ========================================= */
.about-marquee-strip {
  position: relative;
  z-index: 10;
  padding: 20px 0;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--brand-purple),
    var(--brand-magenta)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.marquee-dot {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 0.6rem !important;
  display: flex;
  align-items: center;
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   4. ABOUT SECTION (HYBRID PREMIUM)
   ========================================= */
.about-hybrid-premium {
  position: relative;
  padding: 120px 0 0px 0;
  z-index: 10;
  overflow: hidden;
  /* margin-bottom: -100px; */
}

/* Large Editorial Background Number */
.about-big-year {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(20rem, 25vw, 35rem);
  font-weight: 900;
  color: rgba(76, 18, 126, 0.02);
  letter-spacing: -2vw;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hybrid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.hybrid-header {
  text-align: center;
  margin-bottom: 70px;
}

.about-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 1.5rem;
}

.purple-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--brand-purple),
    var(--brand-magenta)
  );
}

.about-title {
  font-size: clamp(3rem, 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text-light-theme);
}

.text-italic-gold {
  /* font-family: 'Cormorant Garamond', serif; */
  /* font-style: italic; */
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
  to {
    background-position: 200% center;
  }
}

/* The Massive Liquid Glass Card */
.liquid-story-wrapper {
  position: relative;
  z-index: 2;
  /* background: rgba(255, 255, 255, 0.4); */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px;
  padding: 60px 40px;
  box-shadow:
    0 40px 80px rgba(76, 18, 126, 0.05),
    inset 0 0 30px rgba(255, 255, 255, 0.3);
  overflow: hidden;
  /* Keeps the lens inside the card */
  cursor: default;
}

/* THE MAGIC: The Liquid Tracking Lens */
.liquid-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;

  /* Liquid Glass properties */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px) contrast(1.1) brightness(1.05);
  -webkit-backdrop-filter: blur(8px) contrast(1.1) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.8),
    0 20px 40px rgba(76, 18, 126, 0.1);

  /* Organic, water-like shape */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: liquidMorph 8s ease-in-out infinite alternate;

  pointer-events: none;
  /* Crucial: Lets you click buttons underneath it */
  z-index: 10;
  opacity: 0;
  transform: scale(0.5);
  /* Hidden by default */
}

@keyframes liquidMorph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  50% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Grid Layout Inside Card */
.hybrid-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 5;
  width: 100%;
}

/* LEFT COLUMN LAYOUT */
.hybrid-left-content {
  display: flex;
  flex-direction: column;
}

.hybrid-header {
  text-align: left;
  margin-bottom: 30px;
}

.about-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 1.5rem;
}

.purple-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--brand-purple),
    var(--brand-magenta)
  );
}

@keyframes goldShimmer {
  to {
    background-position: 200% center;
  }
}

/* Glass Milestone Pills */
.about-milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.milestone-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px;
  background: rgba(91, 33, 182, 0.05);
  border: 1px solid rgba(91, 33, 182, 0.1);
  border-radius: 100px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-light-theme);
  transition: all 0.3s ease;
  cursor: default;
}

.milestone-pill:hover {
  background: rgba(91, 33, 182, 0.12);
  border-color: rgba(91, 33, 182, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 33, 182, 0.08);
}

.milestone-icon {
  font-size: 0.95rem;
  color: var(--brand-purple);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 33, 182, 0.08);
  border-radius: 50%;
}

/* CTAs */
.about-cta-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-course-luxury {
  align-self: flex-start;
}

.btn-link-dark {
  color: var(--text-light-theme);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.05rem;
}

.btn-link-dark:hover {
  color: var(--brand-purple);
}

/* Left Column Inline Visuals */
.hybrid-visual-inline {
  position: relative;
  height: 400px;
  margin-top: 10px;
  width: 100%;
}

/* Orbital Glow Ring */
.orbital-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 33, 182, 0.2);
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.orbital-ring::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--brand-purple);
  border-radius: 50%;
  top: -6px;
  left: 50%;
  box-shadow:
    0 0 20px rgba(91, 33, 182, 0.6),
    0 0 60px rgba(91, 33, 182, 0.3);
}

@keyframes orbitSpin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Staggered Image Stack */
.image-stack {
  position: absolute;
  width: 100%;
  height: 85%;
  top: 0;
  left: 0;
}

.stack-card {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.liquid-glass-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 30%,
    rgba(91, 33, 182, 0.05) 50%,
    transparent 70%,
    rgba(6, 182, 212, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.stack-card:hover .liquid-glass-sheen {
  opacity: 0.6;
}

.stack-main {
  width: 75%;
  height: 95%;
  top: 0%;
  left: 0%;
  z-index: 2;
  border-radius: 30px;
}

.stack-main .parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.stack-main img {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
}

.stack-accent {
  width: 45%;
  height: 65%;
  bottom: -5%;
  right: 10%;
  z-index: 3;
  border-radius: 20px;
  border: 5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.stack-main:hover {
  transform: scale(1.02) rotate(-0.5deg);
}

.stack-accent:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Badges */
.year-badge {
  position: absolute;
  top: -15px;
  left: -10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand-purple);
  border: 1px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.hybrid-right-column {
  position: relative;
  z-index: 10;
}

.rotating-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  z-index: 20;
  /* background: #fff; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 15px 40px rgba(91, 33, 182, 0.12); */
  transition: transform 0.4s ease;
}

.rotating-badge:hover {
  transform: scale(1.1);
}

.rotating-badge svg {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center center;
  animation: rotateText 15s linear infinite;
}

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

.badge-center {
  font-size: 1.2rem;
  color: var(--brand-purple);
  position: relative;
  z-index: 2;
}

/* RIGHT COLUMN (TEXT ONLY) */
.hybrid-right-content {
  padding-top: 30px;
}

.story-block {
  margin-bottom: 40px;
}

.story-block h3 {
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-purple);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-block h3::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--brand-cyan);
}

.story-block p {
  font-size: 1.125rem;
  color: var(--text-muted-light);
  line-height: 1.8;
  font-weight: 500;
}

.g-about-up {
  visibility: hidden;
}

/* =========================================
   ABOUT HYBRID RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about-big-year {
    font-size: 15rem;
    opacity: 0.5;
  }

  /* Safely stack grid on tablets/phones since the UI elements are now decoupled */
  .hybrid-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hybrid-header {
    text-align: center;
  }

  .about-eyebrow {
    justify-content: center;
  }

  .hybrid-visual-inline {
    height: 350px;
  }

  .stack-main {
    width: 85%;
    left: 0;
  }

  .stack-accent {
    width: 50%;
    right: 0;
  }

  .rotating-badge {
    right: -25px;
    top: -30px;
    transform: scale(0.8);
  }

  .hybrid-right-content {
    padding-top: 0;
    text-align: center;
  }

  .story-block h3 {
    justify-content: center;
  }

  .about-milestones {
    justify-content: center;
  }

  .about-cta-container {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }

  .liquid-lens {
    display: none;
  }

  /* Hide complex hover on mobile */
  .liquid-story-wrapper {
    padding: 40px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .about-hybrid-premium {
    padding: 48px 0 0px 0;
  }

  .milestone-pill {
    font-size: 0.7rem;
    padding: 8px 12px;
  }

  .about-milestones {
    gap: 8px;
  }

  .story-block p {
    font-size: 1.125rem;
    text-align: justify;
  }
}

/* =========================================
   5. WHY EDUOOZ SECTION (MAGNETIC STACK)
   ========================================= */
.why-premium-section {
  position: relative;
  padding: 150px 0;
  /* background-color: var(--brand-dark); */
  color: var(--brand-dark);
  z-index: 10;
  overflow: visible; /* Required for sticky to work */
}

/* Ambient Background Glows */
.why-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.15;
}
.orb-left {
  width: 50vw;
  height: 50vw;
  background: var(--brand-purple);
  top: 10%;
  left: -20%;
}
.orb-right {
  width: 40vw;
  height: 40vw;
  background: var(--brand-cyan);
  bottom: 10%;
  right: -10%;
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: flex-start; /* Required for sticky */
}

/* Left: Sticky Sidebar */
.why-sticky-sidebar {
  position: sticky;
  top: 150px; /* Distance from top of screen when pinned */
  padding-right: 40px;
}

.pulse-dot-cyan {
  width: 8px;
  height: 8px;
  background: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--brand-cyan);
}

.why-title {
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}
.text-gradient-purple {
  background: linear-gradient(
    135deg,
    var(--brand-purple) 0%,
    var(--brand-magenta) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-cyan-glow {
  display: inline-block;
  background: var(--brand-cyan);
  color: var(--brand-dark);
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
  transition: all 0.3s ease;
}
.btn-cyan-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
}

/* Right: Stacking Glass Cards */
.why-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 10rem;
}

.why-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 30px;
  padding: 50px;
  overflow: hidden;
  /* This transforms the card slightly as it scrolls up */
  transform-origin: top center;
  box-shadow:
    0 40px 80px rgba(76, 18, 126, 0.05),
    inset 0 0 20px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* The Magic Spotlight Effect */
.card-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    800px at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(91, 33, 182, 0.1),
    transparent 30%
  );
  z-index: 1;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.why-glass-card:hover .card-spotlight {
  opacity: 1;
}

.card-inner-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  pointer-events: none;
  z-index: 2;
  /* Spotlight reflection on the border */
  background: radial-gradient(
    400px at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(91, 33, 182, 0.3),
    transparent 30%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-content {
  position: relative;
  z-index: 3;
}

.icon-cube {
  width: 65px;
  height: 65px;
  background: rgba(91, 33, 182, 0.05);
  border: 1px solid rgba(91, 33, 182, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.08);
  color: var(--brand-purple);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}
.card-text {
  font-size: 1.1rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  font-weight: 500;
}

.g-why-reveal {
  visibility: hidden;
}

@media (max-width: 1024px) {
  .why-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .why-sticky-sidebar {
    position: relative !important;
    top: 0 !important;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  .why-cards-stack {
    margin-top: 0; /* Removing the 10rem desktop offset for better mobile flow */
    gap: 30px;
  }
  .why-glass-card {
    padding: 30px;
  }
  .icon-cube {
    margin: 0 auto 20px;
  }
}

/* =========================================
   5. CINEMATIC VIDEO SECTION
   ========================================= */
.video-luxury-section {
  position: relative;
  padding: 100px 0 150px 0;
  z-index: 10;
}

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

.glowing-dot-purple {
  width: 8px;
  height: 8px;
  background: var(--brand-purple);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--brand-purple);
}

.video-ecosystem {
  position: relative;
  z-index: 55;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main Video Portal */
.main-video-portal {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 7;
  position: relative;
  cursor: none; /* Hide default cursor for custom magnetic one */
  border-radius: 30px;
  overflow: hidden;
  transition:
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.6s ease;
}

.main-video-portal:hover {
  transform: scale(1.02);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(107, 33, 168, 0.3);
}

.video-glass-frame {
  width: 100%;
  height: 100%;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.active-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.4s ease,
    transform 0.8s ease;
}
.main-video-portal:hover .active-video-bg {
  transform: scale(1.05);
}

.video-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 3, 14, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating Meta Data inside Video */
.active-video-meta {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  pointer-events: none;
  z-index: 2;
}
.vid-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.active-video-meta h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.1;
}
.active-video-meta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Custom Magnetic Play Cursor */
.magnetic-play-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition:
    opacity 0.3s,
    transform 0.1s linear; /* Smooth trailing */
}
.main-video-portal:hover .magnetic-play-cursor {
  opacity: 1;
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
  margin-left: 6px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Overlapping Playlist Track Viewport */
.playlist-viewport {
  width: 1380px; /* Supports exactly 5 260px thumbnails + 4 20px gaps */
  margin: 0 auto;
  margin-top: -60px; /* Overlap main video */
  padding: 30px 0 40px 0; /* Padding to prevent vertical clipping of shadows & scales */
  margin-bottom: -40px; /* Offset padding */
  overflow: hidden;
  position: relative;
  z-index: 5;
  /* Fade mask on the outer edges to blend perfectly into background */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.playlist-track {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  width: max-content;
}

.playlist-card {
  width: 260px;
  height: 160px;
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(76, 18, 126, 0.1);

  /* Inactive curved effect base style */
  opacity: 0.5;
  transform: translateY(20px) scale(0.85); /* Shrank and depressed */
  transform-origin: center bottom;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.playlist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s;
  pointer-events: none;
}
.playlist-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(107, 33, 168, 0.4);
  transition: background 0.4s;
  pointer-events: none;
}

.play-icon-sm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  z-index: 2;
  transition: all 0.3s;
  pointer-events: none;
}

/* Active & Hover States for Curved Playlist */
.playlist-card:hover {
  opacity: 0.8;
  transform: translateY(10px) scale(0.9);
}
/* .playlist-card:hover img { opacity: 1; } */
/* .playlist-card:hover .play-icon-sm { background: #fff; color: var(--brand-purple); } */

.playlist-card.active {
  border-color: var(--brand-purple);
  opacity: 1;
  transform: translateY(-5px) scale(1.05); /* Blooms up into center */
  box-shadow: 0 10px 20px rgba(107, 33, 168, 0.3);
  z-index: 10;
}
.playlist-card.active::after {
  background: transparent;
}
.playlist-card.active img {
  opacity: 1;
}
.playlist-card.active .play-icon-sm {
  opacity: 0;
} /* Hide play icon if it's currently playing */

/* YouTube Premium Integrations */
.yt-badge {
  background: rgba(255, 0, 0, 0.1) !important;
  border-color: rgba(255, 0, 0, 0.3) !important;
  color: #ff4e4e !important;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s;
}
.yt-badge:hover {
  background: #ff0000 !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}
.vid-stats {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
  font-weight: 600;
}
.playlist-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.g-vid-reveal {
  visibility: hidden;
}

.video-luxury-section .section-header-vid {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -40px;
}

.yt-category-tabs {
  display: flex;
  gap: 15px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.yt-tab {
  padding: 10px 24px;
  border-radius: 50px;
  background: rgb(91 33 182 / 30%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.yt-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #000000;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.3);
}

.yt-tab.active {
  background: var(--brand-purple);
  color: #fff;
  border-color: var(--brand-purple);
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.3);
}

@media (max-width: 768px) {
  .yt-category-tabs {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .yt-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .video-luxury-section {
    padding: 0px 0 50px 0;
  }
}

@media (max-width: 1024px) {
  .main-video-portal {
    aspect-ratio: 16 / 9;
  }

  .playlist-viewport {
    width: 100%;
    margin-top: -40px;
    mask-image: linear-gradient(
      to right,
      transparent,
      black 15%,
      black 85%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 15%,
      black 85%,
      transparent
    );
  }

  .playlist-card {
    width: 220px; /* Slightly smaller for tablets */
    height: 140px;
  }

  .magnetic-play-cursor {
    display: none;
  } /* Standard cursor on mobile */
  .main-video-portal {
    cursor: pointer;
  }
  .active-video-meta {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .active-video-meta h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .playlist-viewport {
    margin-top: -30px;
    padding-bottom: 20px;
  }

  .playlist-card {
    width: 150px; /* Fits 3 cards nicely on most mobile screens */
    height: 100px;
    border-radius: 12px;
  }

  .playlist-duration {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .play-icon-sm {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .active-video-meta {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px 16px;
    background: linear-gradient(
      to top,
      rgba(7, 3, 14, 0.95) 10%,
      rgba(7, 3, 14, 0.65) 80%,
      transparent 100%
    );
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
  }

  .active-video-meta .vid-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .active-video-meta h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }
  .active-video-meta p {
    font-size: 0.78rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }

  .active-video-meta .vid-stats {
    font-size: 0.72rem;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .playlist-card {
    width: 110px; /* Ensures 3 cards are visible on tiny phones */
    height: 85px; /* Proportional height */
  }

  .active-video-meta {
    padding: 10px 12px 12px;
  }

  .active-video-meta .vid-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  .active-video-meta h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .active-video-meta p {
    font-size: 0.72rem;
  }

  .active-video-meta .vid-stats {
    font-size: 0.68rem;
    margin-top: 4px;
  }
}

/* =========================================
   4. WHY EDUOOZ (Z-AXIS SPATIAL SCROLL)
   ========================================= */
.why-spatial-section {
  position: relative;
  z-index: 10;
}

.spatial-sticky-container {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  /* background: linear-gradient(180deg, var(--bg-light) 0%, #f3eaff 40%, #e8f4fd 70%, var(--bg-light) 100%); */
}

/* The 3D Canvas Background */
#gyro-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 40%,
    transparent 80%
  );
  opacity: 0.85;
}

/* Header */
.spatial-header {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 700px;
}
/* .spatial-header .frost-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 18, 126, 0.08);
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.06);
  margin-bottom: 20px;
  padding: 10px 24px;
  font-size: 0.85rem;
} */

/* The Z-Axis Cards Container */
.z-cards-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 90%;
  max-width: 640px;
  height: 420px;
  perspective: 1200px;
  z-index: 5;
}

/* Z-Card Base */
.z-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-top: 1px solid #ffffff;
  border-radius: 32px;
  padding: 50px 45px;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(76, 18, 126, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.04),
    inset 0 0 40px rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  /* GSAP will control these */
  opacity: 0;
  transform: scale(0.5);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

/* First card visible by default */
.z-card-1 {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

/* Card number watermark */
.z-card::before {
  content: attr(data-num);
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: #5a21b63a;
  -webkit-text-stroke: 1.5px rgba(91, 33, 182, 0.08);
  pointer-events: none;
  z-index: 0;
}

/* Card ambient glow */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: radial-gradient(circle at 50% 0%, rgba(107, 33, 168, 0.06), transparent 55%); */
  pointer-events: none;
  z-index: 0;
}

/* Premium icon sphere */
.icon-sphere-large {
  position: relative;
  z-index: 2;
  font-size: 2.2rem;
  width: 76px;
  height: 76px;
  background: linear-gradient(145deg, #f5edff 0%, #ece0ff 100%);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow:
    0 12px 28px rgba(91, 33, 182, 0.12),
    inset 0 -2px 6px rgba(91, 33, 182, 0.06),
    inset 0 2px 8px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.4s ease;
}

.z-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.z-card p {
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  font-weight: 500;
  max-width: 480px;
}

/* Scroll Indicator */
.spatial-scroll-indicator {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.spatial-scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted-light);
}
.mouse-icon {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted-light);
  border-radius: 20px;
  position: relative;
}
.wheel {
  width: 4px;
  height: 8px;
  background: var(--brand-purple);
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.5s infinite;
}
@keyframes scrollMouse {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 18px;
    opacity: 0;
  }
}

/* ---- Spatial Section Responsive ---- */
@media (max-width: 1024px) {
  .z-cards-container {
    max-width: 520px;
    height: 400px;
  }
  .z-card {
    padding: 40px 30px;
  }
  .z-card h3 {
    font-size: 1.7rem;
  }
  .z-card p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* Below 769px the GSAP pin/scrub fly-through is disabled (index.js) so
     the cards must lay out normally instead of sitting absolutely
     stacked on top of each other waiting on JS to reveal them. */
  .spatial-sticky-container {
    height: auto;
    min-height: 0;
    overflow: visible;
    display: block;
    padding: 90px 0 50px;
  }
  #gyro-canvas {
    display: none;
  }
  .spatial-header {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 90%;
    margin: 0 auto 30px;
  }
  /* .spatial-header h2 { font-size: 1.9rem; } */
  .z-cards-container {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 90%;
    max-width: 92%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    perspective: none;
  }
  .z-card {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 1;
    transform: none;
    filter: none;
    padding: 35px 22px;
    border-radius: 24px;
  }
  .z-card::before {
    font-size: 3.5rem;
    top: 14px;
    right: 18px;
  }
  .z-card h3 {
    font-size: 1.5rem;
  }
  .z-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
  }
  .icon-sphere-large {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    border-radius: 18px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  /* .spatial-header h2 { font-size: 1.6rem; } */
  .z-card {
    padding: 30px 18px;
  }
  .z-card h3 {
    font-size: 1.35rem;
  }
  .z-card p {
    font-size: 0.75rem;
  }
  .icon-sphere-large {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    border-radius: 14px;
  }
}

/* =========================================
   3. COURSES SECTION (Z-AXIS STACKING)
   ========================================= */
.stack-courses-section {
  padding: 50px 0 10px 0;
  position: relative;
  z-index: 10;
}

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

.courses-intro {
  margin-bottom: 20px;
}
.courses-intro h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--brand-dark);
}
.text-italic-purple {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--brand-purple);
}

.frost-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(76, 18, 126, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-purple);
  margin-bottom: 0.5rem;
}
.glowing-dot-purple {
  width: 8px;
  height: 8px;
  background: var(--brand-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(91, 33, 182, 0.4);
}

/* The Stacking Wrapper */
.stack-cards-wrapper {
  /* max-width: 1300px; */
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  padding-bottom: 10vh; /* Allows scrolling past the final card */
}

.card-sticky-wrapper {
  position: sticky;
  top: 15vh; /* Offset to clear the glass header */
  height: 70vh; /* Takes up most of the screen */
  min-height: 500px;
  margin-bottom: 1px;
  display: flex;
  align-items: center;
  transform-origin: top center;
}

/* Progressive Top Offsets to create the visual stack overlay effect */
.card-sticky-wrapper:nth-child(1) {
  top: 12vh;
  z-index: 10;
}
.card-sticky-wrapper:nth-child(2) {
  top: 15vh;
  z-index: 20;
}
.card-sticky-wrapper:nth-child(3) {
  top: 18vh;
  z-index: 30;
}

/* The Liquid Glass Panel */
.card-glass-panel {
  width: 100%;
  height: 85%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-top: 1px solid #fff;
  border-radius: 40px;
  box-shadow:
    0 30px 60px rgba(76, 18, 126, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  transform-origin: top center; /* Crucial for the 3D GSAP scale effect */
  will-change: transform, opacity, filter;
}

/* Left Content */
.panel-left {
  padding: 0px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bg-watermark {
  position: absolute;
  top: 20px;
  right: 40px;
  font-family: var(--font-serif);
  font-size: 15rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(76, 18, 126, 0.02);
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
}

.course-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--brand-purple);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.25);
  position: relative;
  z-index: 2;
}
.course-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}
.course-title-wrap .course-badge {
  margin-bottom: 0;
}
.course-title-wrap h3 {
  margin-bottom: 0;
}

.panel-left h3 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
  letter-spacing: -1px;
}
.panel-left h4 {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--brand-purple);
  margin-bottom: 20px;
}
.panel-left p {
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
}

.course-features {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.course-features span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Right Visual */
.panel-right {
  padding: 20px;
  height: 100%;
}
.liquid-image-mask {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.liquid-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.glass-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(107, 33, 168, 0.15) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.card-glass-panel:hover .liquid-image-mask img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .card-sticky-wrapper {
    height: auto;
    position: relative;
    top: 0;
    margin-bottom: 60px;
  }
  .card-glass-panel {
    grid-template-columns: 1fr;
  }
  .panel-left {
    padding: 40px 30px;
    text-align: left;
    align-items: flex-start;
  }
  .panel-right {
    height: 350px;
    padding: 0 20px 20px 20px;
  }
  .bg-watermark {
    right: 20px;
    transform: none;
    top: 10px;
    font-size: 8rem;
  }
  .course-features {
    align-items: flex-start;
  }
  .btn-course-luxury {
    align-self: flex-start;
    z-index: 2;
  }

  .panel-left h3 {
    font-size: 1.8rem;
  }
  .course-title-wrap {
    gap: 12px;
  }
  .course-title-wrap .course-badge {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .panel-left h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .courses-intro {
    margin-bottom: -50px;
  }
  .mt-neg-50 {
    margin-top: -50px;
  }
}

/* =========================================
   HERO ORBITAL SEQUENCE (APP TO COURSES)
   ========================================= */
.hero-visual-zone {
  position: relative;
  /* height: 650px; */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.app-download-buttons{
display: flex; 
gap: 15px; 
z-index: 30; 
opacity: 0; 
transform: translateY(20px);
/* padding-bottom: 100px; */
}

.orbit-container {
  position: absolute;
  top: 50%;
  left: 60%;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden; /* GSAP reveals */
}

/* Visible Orbital Ring Path */
.orbit-ring-path {
  position: absolute;
  width: 500px;
  height: 500px;
  /* Center via margin so transform is free for GSAP + keyframes */
  margin-left: -250px;
  margin-top: -250px;
  border: 2px dashed rgba(107, 33, 168, 0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRingPulse 4s ease-in-out infinite alternate;
}
.orbit-ring-path::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(6, 182, 212, 0.08);
  border-radius: 50%;
}

@keyframes orbitRingPulse {
  0% {
    opacity: 0.5;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* Orbit nodes — Premium Liquid Glassmorphism */
.orbit-node {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.5),
    inset 0 4px 5px rgba(255, 255, 255, 0.8),
    0 12px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* GSAP initial state: centered, invisible, small */
  opacity: 0;
  scale: 0;
  z-index: 25;
}

.orbit-node:hover {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.7),
    inset 0 4px 8px rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(107, 33, 168, 0.25);
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.2)
  );
}

.node-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3)
  );
  border-radius: 50%;
  margin-bottom: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.node-label {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .orbit-ring-path {
    width: 240px;
    height: 240px;
    margin-left: -120px;
    margin-top: -120px;
  }
  .orbit-node {
    width: 90px;
    height: 90px;
  }
  .node-icon {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
  .node-label {
    font-size: 0.6rem;
  }
}

/* =========================================
   APP / PLAY STORE BADGES
   ========================================= */
.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s,
    background 0.2s;
}

.store-badge-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.store-badge-icon {
  font-size: 1.8rem;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge-caption {
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.store-badge-brand {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* =========================================
   HERO MOCKUP IMAGE
   ========================================= */
.hero-mockup-img {
  position: relative;
  width: 430px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  z-index: 20;
  /* GSAP Initial State — starts shrunk + below */
  opacity: 0;
  transform: translateY(60px) scale(0.6);
}

@media (max-width: 1019px) {
  .hero-mockup-img {
    width: 430px;
  }
}

@media (max-width: 768px) {
  .hero-mockup-img {
    width: 330px;
  }
}

/* =========================================
   5. FACULTY SECTION (INFINITE DRAG)
   ========================================= */
.faculty-filmstrip-section {
  position: relative;
  padding: 40px 0;
  color: #000000;
  z-index: 10;
  overflow: hidden;
}

.faculty-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* margin-bottom: 60px; */
}
.glowing-dot-gold {
  width: 8px;
  height: 8px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 15px #d4af37;
}
.faculty-header h2 {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.scroll-instruction {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}

/* The Physics Drag Track */
.filmstrip-track-wrapper {
  width: 100vw;
  position: relative;
  cursor: grab; /* Shows the user they can grab it */
  overflow: hidden; /* Hides everything outside */
  padding: 20px 0;
}
.filmstrip-track-wrapper:active {
  cursor: grabbing;
}

.filmstrip-track {
  display: flex;
  width: max-content; /* Allows it to grow infinitely */
  gap: 30px;
  padding-left: 5vw; /* Initial offset */
}

/* The Faculty Cards */
.faculty-card {
  width: 350px;
  height: 400px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none; /* Crucial for clean dragging */
}

.fac-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none; /* Stops the browser from dragging the image file */
}

/* Perfectly Hidden Details Panel */
.fac-glass-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(5, 2, 10, 0.95) 0%,
    rgba(5, 2, 10, 0.5) 80%,
    transparent 100%
  );
  padding: 60px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(0);
  transition: background 0.5s;
}

.fac-visible-header {
  position: relative;
  z-index: 2;
}
.fac-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.fac-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
}

/* Hidden state initialized via CSS Grid for buttery smooth 60fps height interpolation */
.fac-hidden-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.6s ease;
}
.fac-hidden-inner {
  overflow: hidden;
}
.fac-role {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: #d4af37;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Focus / Hover / Mobile Active Reveals Everything Perfectly */
.faculty-card:hover,
.faculty-card:active,
.faculty-card.mobile-active {
  transform: scale(1);
}
.faculty-card:hover .fac-portrait,
.faculty-card:active .fac-portrait,
.faculty-card.mobile-active .fac-portrait {
  filter: none;
  transform: scale(1.05);
}
.faculty-card:hover .fac-glass-panel,
.faculty-card:active .fac-glass-panel,
.faculty-card.mobile-active .fac-glass-panel {
  background: linear-gradient(
    to top,
    rgba(5, 2, 10, 0.98) 0%,
    rgba(5, 2, 10, 0.85) 70%,
    transparent 100%
  );
}

/* Expanding the details container smoothly */
.faculty-card:hover .fac-hidden-details,
.faculty-card:active .fac-hidden-details,
.faculty-card.mobile-active .fac-hidden-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (max-width: 1024px) {
  .faculty-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .faculty-card {
    width: 300px;
    height: 420px;
  }
  .fac-name {
    font-size: 1.5rem;
  }
}

/* =========================================
   6. PLACEMENT HIGHLIGHTS (LIGHT THEME)
   ========================================= */
.placement-light-section {
  position: relative;
  padding: 55px 0;
  overflow: hidden;
  z-index: 10;
}

.relative-z {
  position: relative;
  z-index: 10;
}
.mt-5 {
  margin-top: 60px;
}

.placement-header {
  margin-bottom: 40px;
}
.frost-pill-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(76, 18, 126, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}
.glowing-dot-cyan {
  width: 8px;
  height: 8px;
  background: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.placement-header h2 {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--brand-dark);
  line-height: 1.1;
}

/* --- Infinite Typographic River (Light Silver) --- */
.faculty-banner-wrapper {
  width: 100%;
  margin: 0 auto;
}
.faculty-banner-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.faculty-banner-mobile {
  display: none;
}
.faculty-banner-desktop {
  display: block;
}
@media (max-width: 768px) {
  .faculty-banner-mobile {
    display: block;
  }
  .faculty-banner-desktop {
    display: none;
  }
}
.fac-banner-cta {
  margin-top: 32px;
}

.marquee-wrapper {
  position: absolute;
  top: 25%;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-3deg) scale(1.05);
}

.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-text {
  display: flex;
  white-space: nowrap;
}

.marquee-text span {
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: transparent;
  /* Soft silver hollow text for white backgrounds */
  -webkit-text-stroke: 2px rgba(15, 23, 42, 0.04);
  padding-right: 30px;
}

.track-right .marquee-text {
  animation: scrollRight 40s linear infinite;
}
.track-left .marquee-text {
  animation: scrollLeft 40s linear infinite;
}
@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scrollLeft {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* --- 3D Prismatic Alumni Cards --- */
.alumni-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 5;
  margin-top: 45px;
  padding-bottom: 40px;
  perspective: 1500px; /* Base perspective for 3D */
}

.alumni-card-wrapper {
  /* Wrapper handles parallax. It does NOT rotate. This prevents hover jitter. */
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform; /* Force GPU Acceleration for JS Parallax */
}
/* Cycling Animation States */
.alumni-cycle-animator {
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}
.alumni-cycle-animator.cycling-out {
  opacity: 0;
  transform: translateY(-30px) scale(0.95);
  pointer-events: none;
}
.alumni-cycle-animator.cycling-in {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  pointer-events: none;
}
.alumni-card-wrapper:nth-child(2) {
  margin-top: 70px;
}

.prismatic-card {
  position: relative;
  width: 100%;
  /* Frosted Glass Simulation — replaces backdrop-filter: blur(30px) which was
       catastrophically expensive because the continuously-animated marquee text
       behind these cards forced the GPU to recompute a 30px gaussian blur 60x/sec. */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(245, 240, 255, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 24px;
  padding: 25px;
  box-shadow:
    0 20px 50px rgba(76, 18, 126, 0.05),
    inset 0 0 20px rgba(255, 255, 255, 0.8);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
}
/* Simulated frosted texture layer */
.prismatic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(245, 240, 255, 0.4) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* Prismatic Glare Effect (Optimized for Light Backgrounds) */
.card-glare-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.9) 0%,
    rgba(6, 182, 212, 0.15) 30%,
    rgba(192, 38, 211, 0.1) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
  mix-blend-mode: overlay; /* Creates that premium iridescent sheen */
}
.alumni-card-wrapper:hover .card-glare-light {
  opacity: 1;
}
.alumni-card-wrapper:hover .prismatic-card {
  box-shadow:
    0 30px 60px rgba(76, 18, 126, 0.12),
    inset 0 0 30px rgba(255, 255, 255, 1);
}

/* Card Internal Content (Pops out in 3D) */
.card-content-3d {
  position: relative;
  z-index: 1; /* Above the ::before frosted texture */
  transform: translateZ(30px); /* Pushes everything toward the user */
  pointer-events: none; /* Let the wrapper handle the mouse */
}

.alumni-img-box {
  position: relative;
  width: 100%;
  height: 375px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 5px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.alumni-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(10%);
  transition:
    filter 0.3s,
    transform 0.5s;
}
.alumni-card-wrapper:hover .alumni-img-box img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.alumni-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
  z-index: 5;
  pointer-events: none;
}
.alumni-text-overlay h3 {
  font-size: 1.6rem !important;
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}
.alumni-text-overlay .exam-name {
  font-size: 0.95rem !important;
  color: var(--brand-cyan) !important;
  font-weight: 700;
  margin-bottom: 0 !important;
}

.rank-badge {
  position: absolute;
  top: 15px;
  color: var(--brand-cyan);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  text-align: left;
}

/* ── Description: absolute glass-panel overlay on the image ── */
.alumni-info {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 25px;
  z-index: 5;
  border-radius: 0 0 12px 12px;
  padding: 60px 16px 16px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(5, 2, 10, 0.92) 40%,
    rgba(5, 2, 10, 0.97) 100%
  );
  clip-path: inset(100% 0 0 0 round 0 0 12px 12px);
  opacity: 0;
  pointer-events: none;
  transition:
    clip-path 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.45s ease;
}
.alumni-card-wrapper:hover .alumni-info {
  clip-path: inset(0% 0 0 0 round 0 0 12px 12px);
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) {
  .alumni-info {
    clip-path: inset(0% 0 0 0 round 0 0 12px 12px);
    opacity: 1;
    pointer-events: auto;
  }
}

.dest-icon {
  display: none;
}

.placement-dest {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  display: block;
}
.placement-dest strong {
  color: #ffffff;
  font-weight: 800;
  display: block;
}

/* Qualification list */
.fac-desc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fac-desc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.fac-desc-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  margin-top: 5px;
  box-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
}

/* --- Faculty Showcase Section --- */
.fac-showcase-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.fac-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fac-blob-1,
.fac-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}
.fac-blob-1 {
  width: 520px;
  height: 520px;
  background: var(--brand-cyan, #06b6d4);
  top: -120px;
  left: -140px;
}
.fac-blob-2 {
  width: 440px;
  height: 440px;
  background: var(--brand-purple, #7c3aed);
  bottom: -120px;
  right: -100px;
}

.fac-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* --- Dots --- */
.fac-car-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
}

.fac-car-dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.12);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.fac-car-dot.fac-car-dot-active {
  width: 28px;
  background: var(--brand-cyan, #06b6d4);
}
.fac-car-dot:hover:not(.fac-car-dot-active) {
  background: rgba(6, 182, 212, 0.35);
}

/* --- Faculty Batch Dots + Meet All Mentors CTA --- */
.fac-dots-section {
  text-align: center;
  padding: 6px 0 10px;
}

.fac-batch-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-bottom: 30px;
}

.fac-batch-dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: rgba(91, 33, 182, 0.18);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fac-batch-dot.fac-batch-dot-active {
  width: 26px;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.45);
}

.btn-meet-mentors {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: linear-gradient(
    135deg,
    var(--brand-purple),
    var(--brand-magenta, #c026d3)
  );
  color: #fff;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.btn-meet-mentors:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(91, 33, 182, 0.28);
}

/* Particle float animation */
@keyframes fac-float-particle {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(12px, -18px) scale(1.15);
    opacity: 0.6;
  }
  50% {
    transform: translate(-8px, -30px) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translate(6px, -12px) scale(1.05);
    opacity: 0.5;
  }
}

.btn-dark-magnetic {
  display: inline-block;
  background: var(--brand-purple);
  color: #fff;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}
.btn-dark-magnetic:hover {
  background: var(--brand-purple);
  box-shadow: 0 15px 30px rgba(91, 33, 182, 0.3);
}

.g-place-reveal {
  visibility: hidden;
}

/* Scoped overrides: match nursing landing page card dimensions */
.fac-showcase-section .alumni-showcase-grid {
  margin-top: 80px;
  padding-bottom: 10px;
}
.fac-showcase-section .alumni-card-wrapper:nth-child(2) {
  margin-top: 100px;
}
.fac-showcase-section .alumni-img-box {
  height: 420px;
}

@media (max-width: 1024px) {
  .alumni-showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
    perspective: none;
  }
  .marquee-wrapper {
    top: 8%;
    opacity: 0.4;
  }
  .marquee-text span {
    font-size: 4rem;
  }
  /* Disable 3D tilt translations on mobile for flat, clean reading */
  .card-content-3d {
    transform: none;
  }
  /* Reset stagger on single-column layout */
  .fac-showcase-section .alumni-card-wrapper:nth-child(2) {
    margin-top: 0;
  }
  .fac-showcase-section .alumni-showcase-grid {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .fac-showcase-section {
    padding: 40px 0;
  }

  .alumni-card-wrapper:nth-child(2) {
    margin-top: 10px;
  }

  .fac-showcase-section .alumni-card-wrapper:nth-child(2) {
    margin-top: 0;
  }
}

/* =========================================
   7. TESTIMONIALS (ISOLATED SEAMLESS MARQUEE)
   ========================================= */
.testimonials-premium-section {
  position: relative;
  padding: 15px 0 0;
  overflow: hidden;
  z-index: 10;
}

.test-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 5;
}
.test-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--brand-dark);
  line-height: 1.1;
}

/* --- Isolated Marquee Architecture --- */
.test-marquee-master-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Movement is fully JS-driven for drag compatibility */
.test-marquee-container {
  width: 100vw;
  overflow: hidden;
  display: flex;
  margin-left: calc(-50vw + 50%);
  cursor: grab;
  user-select: none;
}
.test-marquee-container:active {
  cursor: grabbing;
}

/* Fading Edges */
.test-marquee-container::before,
.test-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10vw;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.test-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}
.test-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.test-marquee-track {
  display: flex;
  width: max-content;
}

.test-marquee-group {
  display: flex;
  gap: 30px;
  padding-right: 30px;
  flex-shrink: 0;
}

/* --- Fixed Card Design --- */
.test-card {
  width: 420px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.test-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.test-card-header img {
  display: none; /* Hidden — replaced by JS-generated initials */
}

/* Name Initial Avatar */
.test-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
}

.test-card-header h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 5px;
}

.test-badge {
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
  color: #fff;
  display: inline-block;
}
.badge-blue {
  background: #0ea5e9;
}
.badge-cyan {
  background: #06b6d4;
}
.badge-purple {
  background: #8b5cf6;
}

.test-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.test-quote {
  font-size: 1.05rem;
  color: var(--brand-dark);
  opacity: 0.8;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 1024px) {
  .test-card {
    width: 320px;
    padding: 25px;
  }
  .test-marquee-container::before,
  .test-marquee-container::after {
    width: 5vw;
  }
  .test-card-header h4 {
    font-size: 1.1rem;
  }
}

/* =========================================
   ACHIEVERS SPOTLIGHT BANNER
   ========================================= */
.achievers-spotlight-section {
  position: relative;
  width: 100%;
  margin: 5rem 0;
  padding: 0;
  overflow: hidden;
}

.achiever-slider-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .achievers-spotlight-section {
    padding: 0 1.5rem; 
    margin-top: -22px;
  }
  .achiever-slider-container {
    border-radius: 20px;
  } /* Rounded premium look only on desktop */
}

@media (min-width: 768px) {
  .achievers-spotlight-section {
    padding: 0; 
    margin-top:-22px;
  }
  .achiever-slider-container {
   padding: 0;
   margin: 0;
  } 
}


.achiever-track {
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.achiever-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 450px;
}

.achiever-dots {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.achiever-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.achiever-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--brand-purple);
}

@media (max-width: 768px) {
  .achiever-dots {
    margin-top: 12px;
  }
}

.slide-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.achiever-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.achiever-bg-img-mobile {
  display: none;
}

.image-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    transparent 100%
  );
}

.achiever-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 4rem 3rem;
  text-align: center;
  z-index: 5;
}

.achiever-title {
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin: 0;
  font-family: "Arial Black", impact, sans-serif;
}

.achiever-title .highlight {
  color: #fff;
  font-size: clamp(4rem, 10vw, 7.5rem);
  text-shadow:
    0 5px 0 #cbd5e1,
    0 10px 0 #94a3b8,
    0 20px 30px rgba(0, 0, 0, 0.6);
}

/* Slider Navigation Buttons */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover {
  background: #fff;
  color: var(--brand-purple);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn.prev-btn {
  left: 20px;
}
.slider-nav-btn.next-btn {
  right: 20px;
}

@media (max-width: 768px) {
  .achievers-spotlight-section { 
    margin: 0;
  }
  .achiever-slide {
    aspect-ratio: 3 / 4;
    min-height: 400px;
  }
  .slide-image-wrapper {
    background: #ffffff;
  }
  .achiever-bg-img {
    object-fit: contain;
    object-position: center center;
  }
  .achiever-bg-img-desktop {
    display: none;
  }
  .achiever-bg-img-mobile {
    display: block;
  }
  .achiever-text-overlay {
    padding: 3rem 1rem;
  }
  .slider-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .slider-nav-btn.prev-btn {
    left: 10px;
  }
  .slider-nav-btn.next-btn {
    right: 10px;
  }
}

/* ================================================================
   BENTO GRID v3 — "So Far So Good" (4-Column Layout)
   ================================================================ */
/* ================================================================
   IMPACT STATS SECTION v5 — "So Far So Good"
   Premium Editorial Bento Grid (4-Column)
   ================================================================ */

.impact-stats-section {
  position: relative;
  padding: 120px 0 140px;
  background: #ffffff00;
  overflow: hidden;
}

/* Ambient depth orbs */
.impact-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.12;
  z-index: 1;
}
.impact-orb-1 {
  width: 600px;
  height: 600px;
  background: #7c3aed;
  top: -10%;
  left: -10%;
}
.impact-orb-2 {
  width: 500px;
  height: 500px;
  background: #06b6d4;
  bottom: -5%;
  right: -5%;
}

.impact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ---- Section Header ---- */
.impact-header {
  text-align: center;
  margin-bottom: 80px;
}
.impact-title {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -3px;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 24px;
}

/* ---- Bento Grid (4-Column) ---- */
.impact-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 28px;
}

/* Span helpers matching reference image */
.itile-wide-3 {
  grid-column: span 3;
}
.itile-tall {
  grid-row: span 2;
}
.itile-center-big {
  grid-column: span 2;
  grid-row: span 2;
}
.itile-half {
  grid-column: span 2;
}

/* ---- Card Styles ---- */
.itile {
  position: relative;
  border-radius: 40px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  /* Glassmorphism Base */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.itile:hover {
  transform: translateY(-8px);
  /* background: rgba(255, 255, 255, 0.85); */
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Glass Color Variants */
.itile-peach {
  background-color: rgba(255, 247, 237, 0.6);
  color: #9a3412;
  border-color: rgba(254, 215, 170, 0.4);
}
.itile-mint {
  background-color: rgba(240, 253, 244, 0.6);
  color: #166534;
  border-color: rgba(187, 247, 208, 0.4);
}
.itile-sky {
  background-color: rgba(240, 249, 255, 0.6);
  color: #075985;
  border-color: rgba(186, 230, 253, 0.4);
}
.itile-cream {
  background-color: rgba(255, 251, 235, 0.6);
  color: #92400e;
  border-color: rgba(254, 243, 199, 0.4);
}
.itile-lavender {
  background-color: rgba(245, 243, 255, 0.6);
  color: #5b21b6;
  border-color: rgba(221, 214, 254, 0.4);
}

.itile-dark-slate {
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.itile-primary-blue {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.95) 0%,
    rgba(30, 64, 175, 0.95) 100%
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

/* Content Layouts */
.itile-inner-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.itile-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  height: 100%;
}

/* Icons & Elements */
.itile-icon-pill {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.big-icon {
  width: 88px;
  height: 88px;
  font-size: 2.5rem;
}

.itile-pill-peach {
  background: rgba(254, 215, 170, 0.4);
  color: #ea580c;
}
.itile-pill-mint {
  background: rgba(187, 247, 208, 0.4);
  color: #16a34a;
}

.itile-number {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}
.itile-label {
  font-size: 1.05rem;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Center Big Card: Success Hero Redesign */
.itile-success-full-wrap {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 100%;
  width: 100%;
}

.itile-success-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.itile-success-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
}

.itile-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg-white {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 10;
}

.ring-fill-white {
  fill: none;
  stroke: url(#ringGradWhite);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.itile-ring-label-white {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
}

.itile-success-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
}

.itile-success-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.itile-success-headline {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #ffffff;
}

.itile-progress-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ibar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ibar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.ibar-track-white {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  overflow: hidden;
}

.ibar-fill-white {
  height: 100%;
  background: #ffffff;
  width: 0%;
  border-radius: 100px;
  transition: width 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.itile-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #2563eb;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  width: fit-content;
  text-decoration: none;
  transition: all 0.3s ease;
}

.itile-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

.itile-tag-light {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Specific Card Tweaks */
.itile-num-gold {
  color: #b45309;
}
.itile-num-purple {
  color: #6d28d9;
}
.itile-dark-slate .itile-number {
  color: #34d399;
}

.itile-stars {
  display: flex;
  gap: 10px;
  font-size: 1.6rem;
  color: #fbbf24;
}

/* Responsive Overrides */
@media (max-width: 1300px) {
  .impact-bento-grid {
    gap: 20px;
  }
  .itile {
    padding: 36px;
  }
}

@media (max-width: 1100px) {
  .impact-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .itile-wide-3,
  .itile-center-big,
  .itile-half {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .impact-container {
    padding: 0 20px;
  }
  .impact-stats-section {
    padding: 40px 0 40px;
  }
  .impact-bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .itile-wide-3,
  .itile-center-big,
  .itile-half,
  .itile-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .itile {
    padding: 28px;
    border-radius: 28px;
  }
  .itile-number {
    font-size: clamp(1.8rem, 7vw, 3.2rem);
  }
  .itile-inner-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .itile-icon-pill {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .big-icon {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
  }
  .itile-success-full-wrap {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .itile-success-left {
    width: 100%;
  }
  .itile-success-right {
    width: 100%;
    align-items: center;
  }
  .itile-progress-stack {
    width: 100%;
  }
}
