/* ==========================================================================
   THE LAMINARS v2 — STYLESHEET
   Design: Educare Knowledge Hub pattern, Laminars content
   ========================================================================== */


/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */
:root {
  --primary: #3b4fce;
  --primary-dark: #2d3db8;
  --primary-light: #5b6fd6;
  --teal: #14b8a6;
  --purple: #8b5cf6;
  --orange: #f97316;
  --green: #22c55e;
  --red-error: #ef4444;

  --accent: var(--orange);
  --bg: #0c0c12;
  --bg-light: #13131f;
  --text: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-light: rgba(255, 255, 255, 0.38);

  --grad-primary: linear-gradient(135deg, #3b4fce 0%, #7c3aed 100%);
  --grad-teal: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
  --grad-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-orange: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  --grad-green: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
  --grad-hero: linear-gradient(135deg, #1e1b4b 0%, #1e3a5f 50%, #0d4a45 100%);

  --section-py: 96px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .14);
  --shadow-primary: 0 10px 40px rgba(59, 79, 206, .22);

  --ease: all .3s cubic-bezier(.4, 0, .2, 1);
  --ease-slow: all .5s cubic-bezier(.4, 0, .2, 1);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 87.5%; /* ~14px base — approximates 75% zoom feel */
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
  /* clip (not hidden) — clips horizontal overflow without making html a scroll container, so position:sticky keeps working */
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}


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

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

button {
  cursor: pointer;
  font-family: inherit;
}


/* ==========================================================================
   3. PAGE LOADER
   ========================================================================== */

/* Overlay */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0c12;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Grid overlay — same as footer brand-sig-grid */
.loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* Radial glow — same palette as footer */
.loader-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 105%, rgba(180, 83, 9, 0.5) 0%, rgba(124, 58, 237, 0.16) 52%, transparent 72%);
  pointer-events: none;
}

/* Content wrapper */
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* ── Brand text fill ── */
.loader-brand-wrap {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.loader-brand-base,
.loader-brand-fill {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
  background: linear-gradient(155deg, #ffffff 0%, #c4b5fd 30%, #fb923c 75%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

/* Ghost layer — text barely visible */
.loader-brand-base {
  display: block;
  opacity: 0.1;
}

/* Fill layer — clipped left→right by JS */
.loader-brand-fill {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
  /* no CSS transition; JS drives this via rAF */
}

/* ── Circular progress ring ── */
.loader-circle-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  /* start arc at top */
}

.loader-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 6;
}

.loader-ring-fg {
  fill: none;
  stroke: url(#loaderRingGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 263.9;
  /* 2π × r(42) */
  stroke-dashoffset: 263.9;
  /* starts empty */
  transition: stroke-dashoffset 0.12s linear;
}

.loader-pct {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  min-width: 3.2ch;
  text-align: center;
  letter-spacing: -0.01em;
}


/* ==========================================================================
   4. TYPOGRAPHY UTILITIES
   ========================================================================== */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(59, 79, 206, .09);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.8;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 38px;
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.section-padding {
  padding: var(--section-py) 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(59,79,206,0.18) 0%, rgba(124,58,237,0.07) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    #0c0c12;
}

.bg-light-section {
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(59,79,206,0.22) 0%, rgba(124,58,237,0.09) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    #13131f;
}

.courses-section {
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(59,79,206,0.22) 0%, rgba(124,58,237,0.09) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    #13131f;
}

.legacy-section-bg {
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(59,79,206,0.22) 0%, rgba(124,58,237,0.09) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 52px 52px,
    #13131f;
}


/* ==========================================================================
   5. NAVBAR
   ========================================================================== */
#mainNav {
  background: linear-gradient(105deg, #0a0b14 0%, #111840 45%, #2a3db0 80%, #3b4fce 100%);
  border-bottom: 1px solid rgba(91, 111, 214, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  transition: var(--ease);
  z-index: 1000;
}

#mainNav.scrolled {
  padding: 10px 0;
  background: linear-gradient(105deg, #07080f 0%, #0e1535 45%, #243599 80%, #3547c2 100%);
  box-shadow: 0 4px 32px rgba(0, 0, 30, .7), 0 1px 0 rgba(91, 111, 214, .3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff !important;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.brand-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 2px 12px rgba(124,58,237,0.35);
}

.accent-text {
  color: var(--primary);
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .15);
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #3b4fce !important;
  font-size: .86rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  border: none;
  transition: var(--ease);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .18);
}

.btn-enroll:hover {
  transform: translateY(-2px);
  background: #f0f3ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  color: #2a3bb5 !important;
}

.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 4px 6px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: linear-gradient(150deg, #0e1535 0%, #1e2d7d 60%, #3044b8 100%);
    padding: 16px;
    border-radius: var(--r-md);
    margin-top: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
    border: 1px solid rgba(91, 111, 214, .2);
  }

  .btn-enroll {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}


/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0c0c12;
}

/* Grid overlay — mirrors loader/footer grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 1;
}

/* Radial glow — mirrors loader glow, centred from bottom */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 105%, rgba(180,83,9,0.5) 0%, rgba(124,58,237,0.16) 52%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

#canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 80px;
  color: #fff;
}

/* Decorative right column */
.hero-deco-left {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-deco-left img {
  transform: scale(1.1);
}

.hdl-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .22);
  animation: hdlPulse 3.5s ease-in-out infinite;
}

.hdl-ring-outer {
  width: 400px;
  height: 400px;
  animation-delay: 0s;
}

.hdl-ring-inner {
  width: 310px;
  height: 310px;
  animation-delay: .8s;
}

@keyframes hdlPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .55;
  }

  50% {
    transform: scale(1.05);
    opacity: .25;
  }
}

.hdl-cap {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 3px solid rgba(255, 255, 255, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 42px rgba(255, 255, 255, .18), 0 0 80px rgba(130, 147, 240, .35);
  animation: none;
}

.hdl-founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.hdl-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transition: opacity 0.25s ease;
}

.hdl-oi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@keyframes hdlCapFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hdl-orbit-icon {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.hdl-oi-1 {
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.hdl-oi-2 {
  top: 20%;
  right: 0px;
}

.hdl-oi-3 {
  bottom: 20%;
  right: 0px;
}

.hdl-oi-4 {
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.hdl-oi-5 {
  bottom: 20%;
  left: 0px;
}

.hdl-oi-6 {
  top: 20%;
  left: 0px;
}

@keyframes hdlBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes hdlBobCenter {

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

  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ── Orbit ring: JS-controlled rotation (OrbitLabel module) ── */
.hdl-orbit-ring {
  position: absolute;
  inset: 0;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitCounter {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes orbitCounterCentered {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(-360deg);
  }
}

/* ── Top label: appears above the icon currently at the top position ── */
.hdl-top-label {
  position: absolute;
  top: -100px;
  /* increased from -52px to create visible gap below the label */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.hdl-label-text {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a5b4fc 0%, #e879f9 50%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  opacity: 0;
  transform: translateY(-18px);
  transition: transform .52s cubic-bezier(0.22, 1, 0.36, 1), opacity .42s ease;
}

.hdl-label-text.visible {
  transform: translateY(0);
  opacity: 1;
}

.hero-text-col {
  padding: 48px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 22px;
}

.hero-gradient-text {
  font-size: clamp(1.3rem, 3.2vw, 2.2rem);
  background: linear-gradient(155deg, #ffffff 0%, #a9b6f7 50%, #3b4fce 70%, #5b6fd6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: .85em;
  background: rgba(255, 255, 255, .85);
  border-radius: 2px;
  margin-left: 3px;
  vertical-align: -0.05em;
  animation: cursorBlink .75s ease infinite;
}

.typing-cursor.hide {
  display: none;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-subtext {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin: 0 0 34px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  transition: var(--ease);
  box-shadow: 0 8px 30px rgba(255, 255, 255, .18);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 255, 255, .28);
  color: var(--primary-dark) !important;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .5);
  transition: var(--ease);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .8);
  transform: translateY(-3px);
  color: #fff !important;
}

/* Stats strip */
.hero-stats {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 100%;
  margin: 0;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-md);
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 6px 12px;
  color: #fff;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: .73rem;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
  letter-spacing: .3px;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, .2);
  margin: 8px 0;
  flex-shrink: 0;
}

/* Scroll indicator */
/* Hero deco column: scale down on mobile, add top spacing */
.hero-deco-col {
  margin-top: 200px;
  margin-bottom: 200px;
}

@media (min-width: 992px) {
  .hero-deco-col {
    margin-top: 200px;
    margin-bottom: 200px;
  }
}

@media (max-width: 575.98px) {
  .hero-deco-col .hero-deco-left {
    width: 300px;
    height: 300px;
  }

  .hero-deco-col .hdl-ring-outer {
    width: 290px;
    height: 290px;
  }

  .hero-deco-col .hdl-ring-inner {
    width: 225px;
    height: 225px;
  }

  .hero-deco-col .hdl-cap {
    width: 180px;
    height: 180px;
  }

  .hero-deco-col .hdl-orbit-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

@media (max-width: 991.98px) {
  .scroll-indicator {
    display: none;
  }
}

.scroll-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: scrollBounce 1.8s ease infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(17px);
    opacity: .3;
  }
}


/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.mv-grid {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mv-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--bg-light);
  border-radius: var(--r-sm);
  border: 1px solid rgba(0, 0, 0, .05);
  transition: var(--ease);
}

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

.mv-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.mv-card h5 {
  font-family: var(--font-heading);
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

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

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text-muted);
}

.highlight-item i {
  color: var(--green);
  font-size: .95rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  padding: 20px 10px;
}

.about-main-card {
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(59,79,206,0.55) 0%, rgba(91,111,214,0.28) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    #0c0c12;
  border-radius: var(--r-lg);
  padding: 44px 28px;
  text-align: center;
  box-shadow: 0 0 60px rgba(59,79,206,0.25), var(--shadow-primary);
}

.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

@media (max-width: 575px) {
  .about-icon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-icon-card {
  padding: 18px 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  transition: var(--ease);
}

.about-icon-card:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255,255,255,0.22);
  transform: scale(1.04);
}

.aic-img-wrap {
  width: 72px;
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
}

.aic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transform: scale(1.2);
}

.about-center-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.about-center-badge i {
  font-size: 2.4rem;
  margin-bottom: 4px;
}

.badge-sub {
  font-size: .75rem;
  opacity: .75;
  font-weight: 400;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .83rem;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: floatY 3s ease-in-out infinite;
  z-index: 1;
}

.float-card-1 {
  top: -8px;
  right: 0px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 10px;
  left: -8px;
  animation-delay: 1.5s;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


/* ==========================================================================
   8. LEGACY STORY TIMELINE
   ========================================================================== */

/* Stats strip */
.legacy-stats-strip {
  display: flex;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  margin: 0 0 56px;
}

.lss-item {
  flex: 1;
  text-align: center;
  padding: 28px 14px;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lss-item:last-child { border-right: none; }

.lss-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #a5b4fc 0%, #e879f9 50%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lss-num sup {
  font-size: 55%;
  vertical-align: super;
}

.lss-label {
  font-size: .78rem;
  color: rgba(255,255,255,0.48);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Timeline container */
.story-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

/* Ghost spine */
.story-tl-spine {
  position: absolute;
  left: 50%;
  top: 26px;
  bottom: 26px;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Animated fill */
.story-tl-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #a5b4fc 0%, #e879f9 55%, #fb923c 100%);
  transition: height 0.6s cubic-bezier(.4,0,.2,1);
}

/* Step grid: left-card | node | right-card */
.story-step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: flex-start;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

/* Node: always center column */
.story-node {
  grid-column: 2;
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  justify-self: center;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.3);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.story-step.is-active .story-node {
  transform: scale(1.12);
  box-shadow: 0 0 0 10px rgba(165,180,252,0.12), 0 0 32px rgba(165,180,252,0.28), 0 4px 20px rgba(0,0,0,0.4);
}

/* Card base */
.story-card {
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  padding: 22px 22px;
  overflow: hidden;
  position: relative;
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  background: rgba(255,255,255,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* Odd: card on LEFT */
.story-step:nth-child(odd) .story-card {
  grid-column: 1;
  grid-row: 1;
  margin-right: 14px;
  text-align: right;
  opacity: 0;
  transform: translateX(-28px);
}

/* Even: card on RIGHT */
.story-step:nth-child(even) .story-card {
  grid-column: 3;
  grid-row: 1;
  margin-left: 14px;
  opacity: 0;
  transform: translateX(28px);
}

/* Active state */
.story-step.is-active .story-card {
  opacity: 1;
  transform: translateX(0);
}

/* Chapter number — top-right corner */
.story-ch-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}

.story-card-inner h5 {
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.story-card-inner p {
  font-size: .86rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin: 0;
}

/* Mobile: left-spine layout */
@media (max-width: 767px) {
  .story-timeline { max-width: 100%; }

  .story-tl-spine { left: 25px; top: 0; bottom: 0; }

  .story-step {
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    margin-bottom: 28px;
  }

  .story-node {
    grid-column: 1;
    grid-row: 1;
    align-self: flex-start;
    margin-top: 2px;
  }

  .story-step:nth-child(odd) .story-card,
  .story-step:nth-child(even) .story-card {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    text-align: left;
    transform: translateX(20px);
  }

  .story-step.is-active .story-card { transform: translateX(0); }
}

/* Mobile stats: 2×2 */
@media (max-width: 575px) {
  .legacy-stats-strip { flex-wrap: wrap; }

  .lss-item {
    flex: 1 0 50%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .lss-item:nth-child(2n) { border-right: none; }
  .lss-item:nth-last-child(-n+2) { border-bottom: none; }
}


/* ==========================================================================
   9. COURSES SECTION
   ========================================================================== */

/* Filter tabs */
.course-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid rgba(0, 0, 0, .12);
  font-size: .83rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  transition: var(--ease);
  outline: none;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 79, 206, .3);
}

/* Category divider headers inside course grid */
.course-category-header {
  padding-top: 16px;
  padding-bottom: 4px;
}

.category-divider-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 28px 12px 20px;
  position: relative;
  border-radius: 0 8px 8px 0;
  /* gradient text */
  color: transparent;
  background: linear-gradient(135deg, #a5b4fc 0%, #e879f9 50%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* tinted background behind the text */
.category-divider-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(165, 180, 252, .12) 0%, transparent 100%);
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #a5b4fc, #e879f9) 1;
  border-radius: 0 8px 8px 0;
  pointer-events: none;
  z-index: -1;
}

/* bottom rule */
.category-divider-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(165, 180, 252, .3), transparent 70%);
}

/* Sticky on mobile — floats below the fixed navbar while cards scroll past */
@media (max-width: 767px) {
  .course-category-header {
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 4px 0;
    background: rgba(15, 13, 30, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(165, 180, 252, .15);
  }
}

/* Course cards */
.course-card {
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 28px 22px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--ease);
}

.course-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(91, 111, 214, 0.35);
  box-shadow: 0 12px 40px rgba(59, 79, 206, 0.18), 0 2px 12px rgba(0,0,0,0.3);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.18) 0%, rgba(232, 121, 249, 0.10) 45%, transparent 72%);
  pointer-events: none;
  transition: opacity var(--ease);
  opacity: 0.7;
}

.course-card:hover::after {
  opacity: 1;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.28) 0%, rgba(232, 121, 249, 0.15) 45%, transparent 72%);
}

/* Hidden cards when filter active */
.course-card-wrap.hidden {
  display: none;
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.course-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 18px;
  transition: var(--ease);
  flex-shrink: 0;
}

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

.blue-gradient {
  background: var(--grad-primary);
}

.teal-gradient {
  background: var(--grad-teal);
}

.purple-gradient {
  background: var(--grad-purple);
}

.orange-gradient {
  background: var(--grad-orange);
}

.green-gradient {
  background: var(--grad-green);
}

.course-class-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: #a5b4fc;
  background: rgba(91, 111, 214, 0.15);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: .2px;
}

.course-class-tag.arts-tag {
  color: #d8b4fe;
  background: rgba(139, 92, 246, .15);
}

.course-class-tag.teal-tag {
  color: #5eead4;
  background: rgba(20, 184, 166, .12);
}

.course-class-tag.orange-tag {
  color: #fdba74;
  background: rgba(249, 115, 22, .12);
}

.course-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.course-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 12px;
}

.course-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.course-meta span {
  font-size: .78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-meta i {
  color: var(--primary);
}

/* Keyword tags below course description */
.course-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ctag {
  font-size: .7rem;
  font-weight: 600;
  color: #a5b4fc;
  background: rgba(91, 111, 214, 0.12);
  border: 1px solid rgba(91, 111, 214, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .2px;
}

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #a5b4fc;
  border: 1.5px solid rgba(91, 111, 214, 0.45);
  font-size: .83rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  transition: var(--ease);
  align-self: flex-start;
}

.btn-course:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-course i {
  transition: var(--ease);
}

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


/* ==========================================================================
   10. LAMINARS ADVANTAGE
   ========================================================================== */
.advantage-card {
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  height: 100%;
  transition: var(--ease);
}

.advantage-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(91, 111, 214, 0.35);
  box-shadow: 0 8px 30px rgba(59, 79, 206, 0.18);
}

.adv-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
}

.advantage-card h6 {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

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

.btn-advantage {
  display: inline-flex;
  align-items: center;
  background: var(--grad-primary);
  color: #fff !important;
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  transition: var(--ease);
  box-shadow: 0 6px 20px rgba(59, 79, 206, .28);
}

.btn-advantage:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 79, 206, .38);
}


/* ==========================================================================
   11. DIRECTOR SECTION
   ========================================================================== */

.director-card {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: var(--ease);
}

.director-photo-wrap {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(91, 111, 214, 0.35);
  box-shadow: 0 6px 24px rgba(59,79,206,0.25);
}

.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-content {
  flex: 1;
}

.director-quote-hindi {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.director-quote-en {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.director-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.director-info strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.director-info span {
  font-size: .83rem;
  color: var(--text-muted);
}

.director-qual {
  font-size: .78rem;
  color: var(--primary);
}


/* ==========================================================================
   12. FACULTY SECTION
   ========================================================================== */
.faculty-card {
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 22px 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: var(--ease);
}

.faculty-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(91, 111, 214, 0.35);
  box-shadow: 0 12px 40px rgba(59,79,206,0.18), 0 2px 12px rgba(0,0,0,0.3);
}

/* Photo-based faculty avatar */
.faculty-photo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid rgba(59, 79, 206, .15);
  transition: var(--ease);
}

.faculty-card:hover .faculty-photo-wrap {
  border-color: var(--primary);
  transform: scale(1.05);
}

.faculty-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text-initial avatar fallback */
.faculty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
  transition: var(--ease);
}

.faculty-card:hover .faculty-avatar {
  transform: scale(1.08);
}

.faculty-avatar.blue {
  background: var(--grad-primary);
}

.faculty-avatar.teal {
  background: var(--grad-teal);
}

.faculty-avatar.purple {
  background: var(--grad-purple);
}

.faculty-avatar.orange {
  background: var(--grad-orange);
}

.faculty-info h5 {
  font-family: var(--font-heading);
  font-size: .97rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.faculty-subject {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: #a5b4fc;
  background: rgba(91, 111, 214, 0.15);
  border: 1px solid rgba(91, 111, 214, 0.2);
  padding: 3px 11px;
  border-radius: 50px;
  margin-bottom: 11px;
}

.faculty-exp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(20, 184, 166, .1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 11px;
}

.faculty-exp i {
  font-size: .78rem;
}

.faculty-bio {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.faculty-qual {
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.faculty-qual span {
  font-weight: 700;
  color: #a5b4fc;
}

.faculty-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.faculty-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(91, 111, 214, 0.12);
  border: 1px solid rgba(91, 111, 214, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .84rem;
  color: var(--text-muted);
  transition: var(--ease);
}

.faculty-social a:hover {
  background: var(--grad-primary);
  color: #fff;
  transform: scale(1.1);
}


/* ==========================================================================
   13. TESTIMONIALS (Bootstrap 5 Carousel)
   ========================================================================== */
.t-card {
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: var(--ease);
  margin: 0 8px 8px;
}

.t-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(91, 111, 214, 0.35);
  box-shadow: 0 8px 32px rgba(59,79,206,0.18), 0 2px 12px rgba(0,0,0,0.3);
}

.t-quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: .25;
  line-height: 1;
  margin-bottom: 14px;
}

.t-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 18px;
}

.t-stars {
  color: #f59e0b;
  font-size: .85rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
}

.t-avatar.blue {
  background: var(--grad-primary);
}

.t-avatar.teal {
  background: var(--grad-teal);
}

.t-avatar.purple {
  background: var(--grad-purple);
}

.t-avatar.orange {
  background: var(--grad-orange);
}

.t-author strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
}

.t-author span {
  display: block;
  font-size: .77rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.t-indicators {
  position: static;
  margin: 20px;
  gap: 6px;
  z-index: 1;
}

.t-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59, 79, 206, .22);
  border: none;
  opacity: 1;
  transition: var(--ease);
  flex-shrink: 0;
}

.t-indicators .active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.t-ctrl-prev,
.t-ctrl-next {
  width: 44px;
  height: 44px;
  background: rgba(59, 79, 206, 0.08);
  border-radius: 50%;
  border: 1.5px solid rgba(91, 111, 214, 0.25);
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  top: -5%;
  transform: none;
  margin-bottom: 2px;
  z-index: 2;
  opacity: 1;
  color: var(--text-muted);
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.t-ctrl-prev {
  left: calc(50% - 120px);
}

.t-ctrl-next {
  right: calc(50% - 120px);
}

.t-ctrl-prev:hover,
.t-ctrl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(59, 79, 206, .3);
  color: #fff;
  opacity: 1;
}


/* ==========================================================================
   14. CTA BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 56px 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(180,83,9,0.55) 0%, rgba(124,58,237,0.18) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    #0c0c12;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner-content p {
  color: rgba(255, 255, 255, .75);
  font-size: .93rem;
  margin: 0;
}

.btn-cta-banner {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary) !important;
  font-size: .93rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  transition: var(--ease);
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(255, 255, 255, .2);
}

.btn-cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255, 255, 255, .3);
}


/* ==========================================================================
   15. CONTACT SECTION
   ========================================================================== */
.contact-info-panel {
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(180,83,9,0.55) 0%, rgba(124,58,237,0.18) 52%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    #0c0c12;
  border-radius: var(--r-lg);
  padding: 36px 32px;
  color: #fff;
  height: 100%;
}

.ci-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.ci-desc {
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.ci-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ci-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(255, 255, 255, .15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .95rem;
}

.ci-item strong {
  display: block;
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}

.ci-item p {
  color: #fff;
  font-size: .88rem;
  margin: 0;
  line-height: 1.5;
}

/* Inspirational quote inside contact panel */
.ci-quote {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.ci-quote i {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 8px;
  display: block;
}

.ci-quote p {
  font-size: .83rem;
  color: rgba(255, 255, 255, .75);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 6px;
}

.ci-quote span {
  font-size: .76rem;
  color: rgba(255, 255, 255, .5);
}

/* Form wrapper */
.contact-form-wrap {
  background: rgba(19, 19, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  min-height: 420px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-group label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
}

.field-input {
  width: 100%;
  padding: 10px 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--ease);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.field-input:focus {
  border-color: var(--primary);
  background: rgba(59, 79, 206, 0.12);
  box-shadow: 0 0 0 3px rgba(59, 79, 206, .2);
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field-input.error {
  border-color: var(--red-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.field-error {
  font-size: .75rem;
  color: var(--red-error);
  min-height: 15px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  background: var(--grad-primary);
  color: #fff;
  font-size: .93rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  transition: var(--ease);
  box-shadow: 0 6px 20px rgba(59, 79, 206, .28);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 79, 206, .38);
}

.btn-submit.loading {
  opacity: .75;
  pointer-events: none;
  cursor: not-allowed;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 24, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(91, 111, 214, 0.25);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px;
}

.form-success.show {
  display: flex;
}

.success-icon {
  font-size: 4rem;
  color: var(--green);
  animation: bounceIn .5s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }

  60% {
    transform: scale(1.2);
  }

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

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.form-success p {
  color: var(--text-muted);
  font-size: .88rem;
  max-width: 320px;
}

.btn-reset {
  background: var(--grad-primary);
  color: #fff;
  border: none;
  padding: 9px 24px;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 600;
  transition: var(--ease);
  margin-top: 6px;
}

.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}


/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
  background: #0c0c12;
  color: rgba(255, 255, 255, .65);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-logo i {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #fff;
}

.footer-tagline {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .5);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  font-size: .83rem;
  transition: var(--ease);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
  transition: var(--ease);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact li {
  font-size: .83rem;
  color: rgba(255, 255, 255, .5);
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary-light);
  font-size: .88rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  transition: var(--ease);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, .75);
}

/* ── Brand signature (big name + gradient glow at footer base) ── */
.brand-sig-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% 110%, rgba(180, 83, 9, 0.65) 0%, rgba(124, 58, 237, 0.18) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.brand-sig-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

.brand-sig-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 52px 24px 0;
  line-height: 1;
  overflow: hidden;
}

.brand-sig-name {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 18vw, 17rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.02em;
  background: linear-gradient(155deg, #ffffff 0%, #c4b5fd 35%, #fb923c 80%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  display: block;
}

.brand-sig-name em {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0;
}

.brand-sig-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 10px;
}

.brand-sig-bottom>span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.brand-sig-links {
  display: flex;
  gap: 26px;
}

.brand-sig-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.25s;
}

.brand-sig-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
  .brand-sig-name {
    font-size: clamp(2rem, 18vw, 5rem);
  }

  .brand-sig-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ==========================================================================
   17. BACK-TO-TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  box-shadow: 0 6px 20px rgba(59, 79, 206, .4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--ease);
  z-index: 998;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(59, 79, 206, .5);
}


/* ==========================================================================
   18. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-aos] {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}

[data-aos="fade-up"] {
  transform: translateY(56px);
}

[data-aos="fade-right"] {
  transform: translateX(-52px);
}

[data-aos="fade-left"] {
  transform: translateX(52px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0);
}


/* ==========================================================================
   19. RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 992px) {
  :root {
    --section-py: 70px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 100px;
  }

  .about-visual {
    margin-top: 16px;
  }

  .hero-text-col {
    text-align: center;
    padding: 36px 28px;
  }

  .hero-subtext {
    margin: 0 auto 34px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
    justify-content: center;
    max-width: 480px;
  }

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

  .director-quote-hindi {
    text-align: left;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  .hero-overlay {
    padding: 10px 0 30px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-text-col {
    padding: 24px 18px;
  }

  .hero-stats {
    padding: 14px 10px;
    gap: 4px 0;
  }

  .stat-number,
  .stat-suffix {
    font-size: 1.45rem;
  }

  .t-card {
    padding: 28px 22px;
    margin: 0 4px 4px;
  }

  .t-text {
    font-size: .87rem;
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }

  .contact-info-panel {
    padding: 24px 20px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .float-card {
    position: static;
    display: inline-flex;
    margin: 6px;
    animation: none;
  }

  .about-visual {
    text-align: center;
  }

  .site-footer {
    padding-top: 44px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .back-to-top {
    bottom: 18px;
    right: 18px;
  }

  .director-photo-wrap {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 576px) {
  .course-filter-tabs {
    gap: 6px;
  }

  .filter-btn {
    font-size: .78rem;
    padding: 7px 14px;
  }

  .footer-links,
  .footer-contact li {
    font-size: .82rem;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: .78rem;
  }

  .t-ctrl-prev,
  .t-ctrl-next {
    width: 38px;
    height: 38px;
    font-size: .82rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    flex: 0 0 50%;
    width: 50%;
    text-align: center;
  }

  .section-heading {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  }

  .contact-form-wrap {
    padding: 18px 14px;
  }
}