/* ============================================================
   CAMPUS COMPASS — Fresher Survival Guide
   Amrita Vishwa Vidyapeetham, Amaravati
   Production-Quality Stylesheet
   ============================================================ */

/* ─── Google Fonts loaded via <link> in HTML head ─── */

/* ============================================================
   §1  DESIGN TOKENS / CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* ── Primary palette ── */
  --primary: #AA2347;
  --primary-dark: #8A1B39;
  --primary-darker: #5A1128;
  --primary-light: #D4345A;
  --primary-lightest: #FDF0F3;
  --primary-rgb: 170, 35, 71;

  /* ── Accent ── */
  --accent: #FFC72C;
  --accent-dark: #E5B025;
  --accent-rgb: 255, 199, 44;

  /* ── Text ── */
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A5A;
  --text-muted: #8888A0;
  --text-on-primary: #FFFFFF;

  /* ── Backgrounds ── */
  --bg-white: #FFFFFF;
  --bg-light: #FBF7F8;
  --bg-section-alt: #F9F2F4;
  --bg-dark: #1A1A2E;

  /* ── Borders & Shadows ── */
  --border: #E8D0D8;
  --shadow-sm: 0 2px 8px rgba(170, 35, 71, 0.08);
  --shadow-md: 0 4px 20px rgba(170, 35, 71, 0.12);
  --shadow-lg: 0 8px 40px rgba(170, 35, 71, 0.16);
  --shadow-xl: 0 16px 60px rgba(170, 35, 71, 0.2);

  /* ── Glass ── */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: 20px;

  /* ── Layout ── */
  --max-width: 1440px;
  --content-width: min(1440px, calc(100vw - 48px));
  --section-padding: 100px 0;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 50%;
}

/* ============================================================
   §2  (REMOVED DARK MODE)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

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

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   §4  PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(170, 35, 71, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 78%, rgba(255, 199, 44, 0.16), transparent 26rem),
    linear-gradient(135deg, #fff 0%, #fff7fa 46%, #fffdf5 100%);
  transition:
    opacity 0.75s ease,
    visibility 0.75s ease,
    transform 0.75s ease;
}

#preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(170, 35, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 35, 71, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

#preloader::after {
  content: 'AMRITA';
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: clamp(18px, 5vw, 70px);
  z-index: 1;
  color: rgba(170, 35, 71, 0.045);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4.8rem, 13vw, 16rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

#preloader.hidden,
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

.preloader-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.14;
  filter: grayscale(0.12) blur(0.3px);
  transform: none;
  pointer-events: none;
}

.preloader-bg-left {
  inset: 0;
  background-image:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.60) 0%,
      rgba(255, 247, 250, 0.70) 45%,
      rgba(255, 253, 245, 0.62) 100%
    ),
    url("campus-life/loadpg1.png");
  border-radius: 0;
}

.preloader-shell {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100vw - 36px));
  min-height: 420px;
  display: grid;
  place-items: center;
}

.preloader-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 1px solid rgba(170, 35, 71, 0.13);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.15) 58%, transparent 70%);
  box-shadow:
    inset 0 0 50px rgba(255, 199, 44, 0.08),
    0 30px 80px rgba(170, 35, 71, 0.12);
  animation: preloaderOrbitSpin 9s linear infinite;
}

.preloader-orbit::before,
.preloader-orbit::after {
  content: '';
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px dashed rgba(170, 35, 71, 0.18);
}

.preloader-orbit::after {
  inset: 82px;
  border-style: solid;
  border-color: rgba(255, 199, 44, 0.24);
}

.preloader-compass {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.compass-needle {
  position: relative;
  width: 12px;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(180deg, #AA2347 0%, #FFC72C 50%, #AA2347 100%);
  box-shadow: 0 0 28px rgba(170, 35, 71, 0.22);
  animation: compassNeedleFloat 1.8s ease-in-out infinite alternate;
}

.compass-needle::before,
.compass-needle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
}

.compass-needle::before {
  top: -18px;
  border-bottom: 24px solid #AA2347;
}

.compass-needle::after {
  bottom: -18px;
  border-top: 24px solid #FFC72C;
}

.compass-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #AA2347;
  box-shadow: 0 0 0 8px rgba(170, 35, 71, 0.08);
}

.preloader-brand-card {
  position: relative;
  z-index: 3;
  width: min(430px, 100%);
  padding: 42px 38px 36px;
  text-align: center;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(170, 35, 71, 0.12);
  box-shadow:
    0 30px 90px rgba(90, 17, 40, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.preloader-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 8px 18px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.14);
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.preloader-title {
  margin: 0 0 10px;
  color: #1A1A2E;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.preloader-subtitle {
  margin: 0 0 26px;
  color: #5e5e6d;
  font-size: 0.98rem;
  font-weight: 600;
}

.preloader-loading-bar {
  position: relative;
  width: 100%;
  height: 9px;
  background: rgba(170, 35, 71, 0.12);
  border-radius: 999px;
  margin: 0 auto 12px;
  overflow: hidden;
}

.loading-progress {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #AA2347 0%, #D4345A 45%, #FFC72C 100%);
  box-shadow: 0 0 22px rgba(170, 35, 71, 0.28);
  transition: width 0.18s ease;
}

.preloader-percent {
  display: block;
  color: #AA2347;
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@keyframes preloaderOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes compassNeedleFloat {
  from { transform: scale(0.96); }
  to { transform: scale(1.04); }
}

@media (max-width: 900px) {
  .preloader-bg-image {
    opacity: 0.10;
    background-position: center;
  }
}

@media (max-width: 520px) {
  .preloader-shell {
    min-height: 360px;
  }

  .preloader-orbit {
    width: 260px;
    height: 260px;
  }

  .preloader-brand-card {
    padding: 34px 24px 30px;
    border-radius: 28px;
  }
}


/* ============================================================
   §5  HEADER / NAV
   ============================================================ */
/* ── Header Base ── */
/* ============================================================
   §5  HEADER / NAV — Video-like scroll navbar
   ============================================================ */

header.header {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition:
    top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    right 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease,
    box-shadow 0.45s ease,
    border-radius 0.45s ease;
}

header.header.scrolled {
  top: 12px;
  left: 28px;
  right: 28px;
  width: calc(100% - 56px);
  border-radius: 22px;
  background: rgba(12, 12, 16, 0.76);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-element-1,
.header-element-2 {
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  transition:
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

header.header.scrolled .header-inner {
  padding: 10px 24px;
  gap: 18px;
}

/* Logo movement */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: #fff;
  text-decoration: none;
  transform-origin: left center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.logo-area:hover {
  opacity: 0.9;
}

.logo-placeholder {
  width: 170px !important;
  height: auto !important;
  min-height: auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    width 0.45s ease,
    transform 0.45s ease;
}

header.header.scrolled .logo-placeholder {
  width: 135px !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.logo-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #F8C950;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  color: #F8C950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

header.header.scrolled .logo-area {
  transform: translateX(-6px) scale(0.92);
}

/* Nav links hidden before scroll, visible after scroll */
.nav-menu {
  justify-self: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

header.header.scrolled .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hide menu button exactly when desktop nav links appear */
header.header.scrolled #mobile-menu-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  margin-left: -14px;
  transform: scale(0.85);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-link::after {
  display: none;
}

/* Right-side buttons */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-pill-link {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 30px 8px 10px;
  border-radius: 999px;
  background: #A03148;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(160, 49, 72, 0.28);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.header-pill-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #FCF9FA;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-pill-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(160, 49, 72, 0.18);
}

.header-pill-link:hover::before {
  transform: scaleX(1);
}

.pill-plus {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff !important;
  flex: 0 0 auto;
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.pill-arrow-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-pill-link:hover .pill-plus {
  color: #fff !important;
  background: rgba(160, 49, 72, 0.92);
  transform: translateY(2px);
}

.pill-text {
  position: relative;
  z-index: 2;
  color: #fff;
  transition: color 0.35s ease;
}

.header-pill-link:hover .pill-text {
  color: #A03148;
}


.header-icon-btn,
#mobile-menu-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d26;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.header-icon-btn:hover,
#mobile-menu-btn:hover {
  transform: translateY(-2px);
  background: #fff;
}

.search-icon {
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: currentColor;
  border-radius: 4px;
  transform: rotate(45deg);
}

.mobile-menu-btn {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    width 0.35s ease;
}

.mobile-menu-btn:hover .hamburger-line:nth-child(1) {
  width: 18px;
  transform: translateX(-3px);
}

.mobile-menu-btn:hover .hamburger-line:nth-child(2) {
  width: 24px;
}

.mobile-menu-btn:hover .hamburger-line:nth-child(3) {
  width: 18px;
  transform: translateX(3px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  width: 25px;
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  width: 25px;
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Fullscreen menu opened by the menu button */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 28px 42px;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--primary-rgb), 0.18), transparent 32rem),
    rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px) scale(0.98);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-nav-links {
  width: min(860px, calc(100vw - 36px));
  max-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  overflow-y: auto;
}

.mobile-nav .nav-link {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 24px;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 800;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(170, 35, 71, 0.08);
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  color: var(--text-primary);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}

.mobile-nav-close:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

/* ============================================================
   §6  QUICK TIPS TICKER
   ============================================================ */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: rgba(15, 15, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 20;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.22);
}

.ticker-label {
  display: none;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #fbfbfd, transparent);
}

.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #fbfbfd, transparent);
}

.ticker-track {
  display: flex;
  gap: 80px;
  animation: tickerScroll 45s linear infinite;
  width: max-content;
  padding-left: 50vw;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: 0.02em;
}

.ticker-item::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #F8C950;
  border-radius: 50%;
  box-shadow: 0 0 10px #F8C950;
}

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

/* ============================================================
   §7  HERO SECTION (Premium Island Layout)
   ============================================================ */
/* ============================================================
   §7  HERO SECTION — Fullscreen Hyundai-like Layout
   ============================================================ */

.hero-section.island-layout {
  position: relative;
  height: 100dvh;
  min-height: 620px;
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #fbfbfd;
}

.hero-glow {
  display: none;
}

.hero-island-container.container {
  position: relative;
  z-index: 5;
  width: 100vw;
  max-width: none;
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  display: block;
}

.hero-island-glass {
  position: relative;
  width: 100vw;
  height: 100%;
  min-height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: #f8eef2;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Image becomes full-screen background layer */
.island-visuals {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* Content sits above image, allowing real smooth blending */
.island-content {
  position: relative;
  z-index: 5;
  width: min(56vw, 760px);
  min-width: 0;
  height: 100%;
  padding: clamp(84px, 11vh, 112px) clamp(34px, 5.2vw, 76px) 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  background: transparent;
}

.hero-island-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 24%,
      rgba(255, 255, 255, 0.76) 37%,
      rgba(255, 255, 255, 0.46) 49%,
      rgba(255, 255, 255, 0.18) 61%,
      rgba(255, 255, 255, 0.00) 74%
    );
}

/* Greeting pill */
.greeting-text {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.72rem, 0.82vw, 0.9rem);
  font-weight: 800;
  color: #A03148;
  background: rgba(160, 49, 72, 0.10);
  padding: 9px 20px;
  border-radius: 999px;
  margin-bottom: clamp(14px, 2.2vh, 24px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title.gradient-text {
  max-width: 10ch;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.7rem, 5.45vw, 6.15rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: clamp(14px, 2vh, 22px);
  background: linear-gradient(135deg, #5A1128 0%, #A03148 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #A03148;
}

.typing-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.5rem);
  font-weight: 800;
  color: #F8C950;
  margin-bottom: clamp(12px, 1.8vh, 20px);
  min-height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.island-content .hero-subtitle {
  max-width: 54ch;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: clamp(18px, 3vh, 30px);
}

/* Typing line */
.typing-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #F8C950;
  margin-bottom: 22px;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Subtitle */
.island-content .hero-subtitle {
  max-width: 54ch;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 38px;
}

/* Fullscreen image side */
.island-visuals {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* Carousel fills the whole right side */
.carousel-track {
  position: absolute;
  inset: 0;
}

/* Image slides */
.carousel-slide {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.85s ease,
    transform 1.3s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Full image coverage */
.hero-island-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  border-left: none;
}

/* Dark bottom overlay like car websites */
.island-visuals::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10), transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 32%);
}

/* Carousel arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: none;
  transform: translateY(-50%);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #A03148;
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
  left: max(52vw, 680px);
}

.carousel-next {
  right: 24px;
}

/* Dots at bottom-right like premium hero sliders */
.carousel-dots {
  position: absolute;
  right: 34px;
  bottom: 84px;
  left: auto;
  z-index: 7;
  display: flex;
  gap: 9px;
  transform: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.carousel-dot.active {
  width: 34px;
  border-radius: 999px;
  background: #F8C950;
}

/* Stats panel converted into bottom floating bar */
.hero-island-stats {
  position: absolute;
  left: 46%;
  bottom: 100px;
  z-index: 8;
  width: min(720px, calc(100% - 48px));
  transform: translateX(-50%);
  background: rgba(18, 18, 22, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.stat-pill {
  flex: 1;
  text-align: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-pill:last-child {
  border-right: none;
}

.stat-pill .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-pill .stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* CTA Button */
.island-content .hero-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px 38px;
  background: #A03148;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(160, 49, 72, 0.32);
  transition:
    color 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: max-content;
}

.island-content .hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #F8C950;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.island-content .hero-cta:hover {
  color: var(--primary-darker);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(248, 201, 80, 0.38);
}

.island-content .hero-cta:hover::before {
  transform: scaleX(1);
}

/* Hide the wave because fullscreen hero should not have a cut shape */
.hero-wave {
  display: none;
}

/* Responsive */
@media (max-width: 1180px) {
  .hero-section.island-layout {
    height: 100dvh;
    min-height: 620px;
  }

  .hero-island-glass {
    display: block;
  }

  .hero-island-glass::before {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.90) 34%,
        rgba(255, 255, 255, 0.58) 55%,
        rgba(255, 255, 255, 0.18) 76%,
        rgba(255, 255, 255, 0.00) 100%
      );
  }

  .island-content {
    position: relative;
    inset: auto;
    z-index: 5;
    width: min(70vw, 680px);
    max-width: none;
    padding: 96px 34px 138px;
    background: transparent;
  }

  .island-visuals {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
  }

  .hero-title.gradient-text {
    max-width: 12ch;
    font-size: clamp(2.6rem, 8vw, 5.2rem);
  }

  .carousel-prev {
    left: 24px;
  }
}

@media (max-width: 768px) {
  .hero-section.island-layout {
    height: 100dvh;
    min-height: 620px;
  }

  .hero-island-glass {
    height: 100%;
    min-height: 100%;
  }

.island-content {
  max-width: none;
  width: 100%;
  padding: 96px 24px 160px;
  justify-content: center;
  background: transparent;
}

.hero-island-glass::before {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.86) 42%,
      rgba(255, 255, 255, 0.52) 70%,
      rgba(255, 255, 255, 0.16) 100%
    );
}

  .greeting-text {
    font-size: 0.68rem;
    padding: 8px 16px;
  }

  .hero-title.gradient-text {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
    line-height: 1;
  }

  .typing-text {
    font-size: 0.95rem;
  }

  .island-content .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .island-content .hero-cta {
    width: 100%;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  .carousel-prev {
    left: 12px;
  }

  .carousel-next {
    right: 12px;
  }

  .carousel-dots {
    right: 20px;
    bottom: 104px;
  }

  .hero-island-stats {
    bottom: 46px;
    width: calc(100% - 24px);
    padding: 10px;
    gap: 8px;
  }

  .stat-pill {
    padding: 0 8px;
  }

  .stat-pill .stat-number {
    font-size: 1.05rem;
  }

  .stat-pill .stat-label {
    font-size: 0.56rem;
  }
}


/* ============================================================
   §8  SECTIONS (general)
   ============================================================ */
.section {
  padding: var(--section-padding);
  background: var(--bg-white);
  position: relative;
  transition: background var(--transition);
}

.section-alt {
  background: var(--bg-section-alt);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 50px;
  margin-bottom: 16px;
}

[data-theme='dark'] .section-badge {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 16px auto 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Academic section heading like reference image ── */
.academic-hero-header {
  text-align: left;
  max-width: 1180px;
  margin: 0 20px 20px;
  padding-left: 0;
}

.academic-life-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.055);
  border: 1px solid rgba(170, 35, 71, 0.12);
  color: #8A1B39;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge-icon {
  font-size: 1rem;
  letter-spacing: 0;
}

.academic-main-title {
  display: block;
  max-width: 1120px;
  margin-bottom: 20px;
  color: #1A1A2E;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.academic-main-title::after {
  display: none;
}

.academic-main-subtitle {
  max-width: 760px;
  margin: 0;
  color: #4A4A5A;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

/* ============================================================
   §9  IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg-section-alt) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 180px;
  transition: background var(--transition), border-color var(--transition);
}

.img-placeholder::before {
  content: '🖼️';
  font-size: 2rem;
  opacity: 0.5;
}

[data-theme='dark'] .img-placeholder {
  background: linear-gradient(135deg, var(--bg-section-alt) 0%, rgba(var(--primary-rgb), 0.1) 100%);
  border-color: var(--border);
}

/* ============================================================
   §10  ACADEMIC LIFE
   ============================================================ */

/* ── Branches Connected Layout ── */
.branch-showcase {
  position: relative;
  padding: 28px 0 30px;
}

.branch-network {
  position: relative;
  width: calc(100% - 50px);
  min-height: 650px;
  margin: 0 auto;
  margin-right: 20px;
  padding-right: 10px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(var(--primary-rgb), 0.08), transparent 23rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(253, 240, 243, 0.88));
  box-shadow: 0 24px 70px rgba(90, 17, 40, 0.10);
}

/* Light background pattern */
.branch-network::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

/* Middle rectangle */
.branch-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 220px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0.75);
  box-shadow:
    0 24px 65px rgba(170, 35, 71, 0.34),
    inset 0 0 0 8px rgba(255, 255, 255, 0.08);
  opacity: 0;
}

.branch-showcase.active .branch-center {
  animation: branchCenterPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Thread SVG layer */
.branch-threads {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.branch-thread {
  fill: none;
  stroke: #AA2347;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 850;
  stroke-dashoffset: 850;
  filter: drop-shadow(0 0 8px rgba(170, 35, 71, 0.25));
}

.branch-showcase.active .branch-thread {
  animation: branchThreadTravel 1.15s ease forwards;
}

.branch-showcase.active .thread-1 { animation-delay: 0.25s; }
.branch-showcase.active .thread-2 { animation-delay: 0.40s; }
.branch-showcase.active .thread-3 { animation-delay: 0.55s; }
.branch-showcase.active .thread-4 { animation-delay: 0.70s; }
.branch-showcase.active .thread-5 { animation-delay: 0.85s; }
.branch-showcase.active .thread-6 { animation-delay: 1.00s; }

/* Branch cards */
.branch-node {
  position: absolute;
  z-index: 5;
  width: 320px;
  min-height: 155px;
  padding: 20px 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(253, 240, 243, 0.92));
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  box-shadow: 0 18px 48px rgba(90, 17, 40, 0.13);
  opacity: 0;
  transform: translateY(20px) scale(0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.branch-node:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(var(--primary-rgb), 0.36);
  box-shadow: 0 28px 70px rgba(90, 17, 40, 0.20);
}

.branch-showcase.active .branch-node {
  animation: branchCardReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.branch-showcase.active .branch-node-1 { animation-delay: 1.30s; }
.branch-showcase.active .branch-node-2 { animation-delay: 1.45s; }
.branch-showcase.active .branch-node-3 { animation-delay: 1.60s; }
.branch-showcase.active .branch-node-4 { animation-delay: 1.75s; }
.branch-showcase.active .branch-node-5 { animation-delay: 1.90s; }
.branch-showcase.active .branch-node-6 { animation-delay: 2.05s; }

/* Card positions based on your reference image */
.branch-node-1 {
  left: 3%;
  top: 16%;
}

.branch-node-2 {
  left: 50%;
  top: 5%;
  transform: translateX(-50%) translateY(20px) scale(0.94);
}

.branch-node-3 {
  right: 3%;
  top: 16%;
}

.branch-node-4 {
  left: 3%;
  bottom: 16%;
}

.branch-node-5 {
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%) translateY(20px) scale(0.94);
}

.branch-node-6 {
  right: 3%;
  bottom: 16%;
}

.branch-showcase.active .branch-node-2 {
  animation-name: branchCardRevealCenterTop;
}

.branch-showcase.active .branch-node-5 {
  animation-name: branchCardRevealCenterBottom;
}

/* Tag */
.branch-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.branch-node h4 {
  margin-bottom: 8px;
  color: var(--primary-darker);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.28;
}

.branch-node p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.52;
}

/* Animations */
@keyframes branchCenterPop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.68);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes branchThreadTravel {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes branchCardReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes branchCardRevealCenterTop {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes branchCardRevealCenterBottom {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Tablet view */
@media (max-width: 980px) {
  .branch-network {
    min-height: auto;
    padding: 185px 18px 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .branch-center {
    top: 28px;
    width: 190px;
    height: 78px;
    border-radius: 22px;
    font-size: 1rem;
    transform: translateX(-50%) scale(0.75);
  }

  .branch-showcase.active .branch-center {
    animation: branchCenterPopTablet 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .branch-threads {
    display: none;
  }

  .branch-node,
  .branch-node-1,
  .branch-node-2,
  .branch-node-3,
  .branch-node-4,
  .branch-node-5,
  .branch-node-6 {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 160px;
    transform: translateY(20px) scale(0.94);
  }

  .branch-showcase.active .branch-node-2,
  .branch-showcase.active .branch-node-5 {
    animation-name: branchCardReveal;
  }

  @keyframes branchCenterPopTablet {
    from {
      opacity: 0;
      transform: translateX(-50%) scale(0.68);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
  }
}

/* Mobile view */
@media (max-width: 620px) {
  .branch-network {
    grid-template-columns: 1fr;
    padding-top: 165px;
  }

  .branch-center {
    width: 170px;
    height: 70px;
    border-radius: 20px;
    font-size: 0.9rem;
  }
}

/* ── Black Academic Spaces Showcase ── */
/* ── Black Academic Spaces Showcase ── */
.academic-spaces-showcase {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 54px;
  margin-bottom: 60px;
  padding: clamp(38px, 4.8vw, 58px) 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(170, 35, 71, 0.34), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(242, 203, 101, 0.12), transparent 26rem),
    linear-gradient(135deg, #050506 0%, #09090d 46%, #111018 100%);
  overflow: hidden;
}

.academic-spaces-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.academic-spaces-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100vw - 72px));
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.academic-spaces-inner::before {
  display: none;
}

.academic-spaces-header {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 24px;
}

.academic-spaces-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.22);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.academic-spaces-header h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.academic-spaces-header p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.75;
}

.academic-spaces-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: center;
  min-height: 370px;
}


.academic-card-stack {
  position: relative;
  min-height: 370px;
  perspective: 1400px;
}

.space-image-card {
  position: absolute;
  left: 46%;
  top: 50%;
  width: min(390px, 82%);
  height: 335px;
  overflow: hidden;
  border-radius: 28px;
  background: #17171d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  transform-origin: center;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
}

.space-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(135deg, rgba(170, 35, 71, 0.26), transparent 55%);
}

.space-image-card span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.2;
}

.space-image-card.active {
  z-index: 4;
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) rotate(-2deg) translateX(-18px) scale(1);
}

.space-image-card.next {
  z-index: 3;
  opacity: 0.68;
  filter: blur(0.4px);
  transform: translate(-50%, -50%) rotate(4deg) translateX(58px) translateY(10px) scale(0.90);
}

.space-image-card.far {
  z-index: 2;
  opacity: 0.28;
  filter: blur(1px);
  transform: translate(-50%, -50%) rotate(8deg) translateX(110px) translateY(24px) scale(0.80);
}

.space-image-card.hidden-card {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(10deg) translateX(160px) translateY(44px) scale(0.72);
}

.academic-space-content {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.space-count {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

.space-count span:first-child {
  color: #F2CB65;
  font-size: 2.15rem;
}

.space-info {
  display: none;
  opacity: 0;
  transform: translateY(18px);
}

.space-info.active {
  display: block;
  animation: spaceInfoReveal 0.55s ease forwards;
}

.space-label {
  display: inline-flex;
  width: max-content;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.22);
  border: 1px solid rgba(170, 35, 71, 0.42);
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.space-info h4 {
  max-width: 620px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.space-info p {
  max-width: 640px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.65;
}

.space-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.space-chips span {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.84rem;
  font-weight: 700;
}

.space-controls {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.space-nav-btn {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.space-nav-btn span {
  display: block;
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-2px);
}

.space-nav-btn:hover {
  transform: translateY(-4px) scale(1.06);
  background: #F2CB65;
  color: #5A1128;
  border-color: #F2CB65;
  box-shadow: 0 18px 40px rgba(242, 203, 101, 0.22);
}

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

@media (max-width: 980px) {
  .academic-spaces-showcase {
    padding: 42px 0;
  }

  .academic-spaces-inner {
    width: calc(100vw - 36px);
  }

  .academic-spaces-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
  }

  .academic-card-stack {
    min-height: 340px;
  }

  .space-image-card {
    left: 50%;
    width: min(370px, 82%);
    height: 320px;
  }

  .academic-space-content {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .academic-spaces-showcase {
    padding: 38px 0;
  }

  .academic-spaces-inner {
    width: calc(100vw - 24px);
  }

  .academic-spaces-header {
    margin-bottom: 22px;
  }

  .academic-card-stack {
    min-height: 285px;
  }

  .space-image-card {
    width: 82%;
    height: 260px;
    border-radius: 24px;
  }

  .space-info h4 {
    font-size: clamp(1.85rem, 11vw, 2.8rem);
  }

  .space-controls {
    margin-top: 22px;
  }
}


/* ── Attendance Tracker ── */
.attendance-tracker {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.attendance-tracker h3 {
  margin-bottom: 20px;
}

.attendance-bar {
  position: relative;
  width: 100%;
  height: 28px;
  background: var(--bg-section-alt);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.attendance-bar .bar-fill {
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(90deg, #e74c3c, var(--accent), #2ecc71);
  transition: width 1.5s ease;
}

.attendance-bar .threshold-line {
  position: absolute;
  left: 75%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 2;
}

.attendance-bar .threshold-line::after {
  content: '75%';
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* ── Exam + CGPA Strategy Showcase ── */
.academic-strategy-showcase {
  position: relative;
  width: calc(100% - 50px);
  margin: 72px auto 76px;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(170, 35, 71, 0.18), transparent 26rem),
    radial-gradient(circle at 85% 80%, rgba(242, 203, 101, 0.18), transparent 22rem),
    linear-gradient(135deg, #fff8fa 0%, #fdf0f3 48%, #fff 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 28px 90px rgba(90, 17, 40, 0.12);
}

.academic-strategy-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--primary-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.strategy-header {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin-bottom: 36px;
}

.strategy-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 18px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.16);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strategy-header h3 {
  margin-bottom: 12px;
  color: #1A1A2E;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.strategy-header p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

.strategy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  justify-content: center;
  max-width: 1260px;
  margin: 0 auto;
}

/* Nike-style exam card */
.exam-showcase-card {
  position: relative;
  width: min(100%, 610px);
  justify-self: end;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 18%, rgba(242, 203, 101, 0.22), transparent 18rem),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.10), transparent 18rem),
    linear-gradient(145deg, #7b1733 0%, #AA2347 48%, #4a0e22 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 30px 90px rgba(90, 17, 40, 0.24);
}

.exam-showcase-card::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -160px;
  border-radius: 50%;
  background: rgba(242, 203, 101, 0.18);
  filter: blur(2px);
  animation: examGlowFloat 7s ease-in-out infinite alternate;
}

.exam-showcase-card::after {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  top: 47%;
  height: 140px;
  background: linear-gradient(90deg, transparent, rgba(242, 203, 101, 0.22), transparent);
  transform: rotate(-12deg);
  animation: examSlashMove 4.5s ease-in-out infinite alternate;
}

.exam-card-bg-text {
  position: absolute;
  right: -10px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.055);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(7rem, 13vw, 13rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.exam-card-top,
.exam-score-hero,
.exam-split-bar,
.internal-breakdown,
.exam-disclaimer {
  position: relative;
  z-index: 2;
}

.exam-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.exam-chip {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.16);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.24);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-total {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.76);
}

.exam-score-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.score-side {
  display: flex;
  flex-direction: column;
}

.score-side:last-child {
  text-align: right;
  align-items: flex-end;
}

.score-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4.4rem, 8vw, 7.8rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: #fff;
}

.score-label {
  margin-top: 12px;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.score-divider {
  width: 2px;
  height: 118px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(242, 203, 101, 0.8), transparent);
}

.exam-split-bar {
  display: flex;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.internal-fill {
  width: 70%;
  display: grid;
  place-items: center;
  background: linear-gradient(90deg, #F2CB65, #fff0a8);
  color: #5A1128;
  font-size: 0.8rem;
  font-weight: 900;
  animation: examFillGrow 1.2s ease both;
}

.endsem-fill {
  width: 30%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.internal-breakdown {
  display: grid;
  gap: 14px;
}

.breakdown-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.105);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.breakdown-item:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.15);
}

.breakdown-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(242, 203, 101, 0.18);
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
}

.breakdown-item h4 {
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
}

.breakdown-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.exam-disclaimer {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

/* CGPA card */
.cgpa-showcase-card {
  position: relative;
  width: min(100%, 610px);
  justify-self: start;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 203, 101, 0.28), transparent 16rem),
    linear-gradient(145deg, #ffffff 0%, #fff8fa 42%, #fdf0f3 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  box-shadow: 0 30px 90px rgba(90, 17, 40, 0.14);
}

.cgpa-orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  border: 36px solid rgba(170, 35, 71, 0.06);
  box-shadow:
    0 0 0 28px rgba(242, 203, 101, 0.08),
    inset 0 0 0 1px rgba(170, 35, 71, 0.08);
  animation: cgpaOrbit 8s linear infinite;
}

.cgpa-card-top {
  position: relative;
  z-index: 2;
  margin-bottom: 26px;
}

.cgpa-kicker {
  display: inline-flex;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.15);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cgpa-card-top h3 {
  margin-bottom: 12px;
  color: #1A1A2E;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.cgpa-card-top p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.cgpa-rule-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.cgpa-rule {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(var(--primary-rgb), 0.10);
  box-shadow: 0 14px 34px rgba(90, 17, 40, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.cgpa-rule:hover {
  transform: translateX(-8px) scale(1.01);
  border-color: rgba(var(--primary-rgb), 0.24);
  box-shadow: 0 22px 54px rgba(90, 17, 40, 0.14);
}

.rule-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

.cgpa-rule p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
}

@keyframes examGlowFloat {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(24px) scale(1.08);
  }
}

@keyframes examSlashMove {
  from {
    transform: rotate(-12deg) translateX(-24px);
  }
  to {
    transform: rotate(-12deg) translateX(24px);
  }
}

@keyframes examFillGrow {
  from {
    width: 0;
  }
  to {
    width: 70%;
  }
}

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

@media (max-width: 1050px) {
  .academic-strategy-showcase {
    width: calc(100vw - 36px);
    margin-left: calc(50% - 50vw + 18px);
    margin-right: calc(50% - 50vw + 18px);
  }

.strategy-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
}

  .exam-showcase-card,
  .cgpa-showcase-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .academic-strategy-showcase {
    width: calc(100vw - 24px);
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    padding: 26px 18px;
    border-radius: 26px;
  }

  .exam-score-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .score-side:last-child {
    text-align: left;
    align-items: flex-start;
  }

  .score-divider {
    width: 100%;
    height: 2px;
  }

  .internal-fill span,
  .endsem-fill span {
    font-size: 0.68rem;
  }
}

/* ── Compact height fix for Exam + CGPA Strategy ── */
.academic-strategy-showcase {
  margin: 52px auto 58px;
  padding: clamp(24px, 3vw, 38px);
}

.strategy-header {
  margin-bottom: 24px;
}

.strategy-header h3 {
  font-size: clamp(1.9rem, 3.4vw, 3.6rem);
}

.strategy-header p {
  font-size: 0.98rem;
  line-height: 1.6;
}

.strategy-grid {
  gap: clamp(20px, 2.4vw, 30px);
}

.exam-showcase-card,
.cgpa-showcase-card {
  min-height: 500px;
  padding: clamp(22px, 2.4vw, 32px);
}

.exam-card-top {
  margin-bottom: 26px;
}

.exam-score-hero {
  margin-bottom: 20px;
}

.score-number {
  font-size: clamp(3.8rem, 6.4vw, 6.2rem);
}

.score-label {
  margin-top: 8px;
  font-size: 0.78rem;
}

.score-divider {
  height: 92px;
}

.exam-split-bar {
  height: 36px;
  margin-bottom: 20px;
}

.internal-breakdown {
  gap: 10px;
}

.breakdown-item {
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
}

.breakdown-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.15rem;
}

.breakdown-item h4 {
  font-size: 0.9rem;
}

.breakdown-item p {
  font-size: 0.78rem;
  line-height: 1.35;
}

.exam-disclaimer {
  margin-top: 14px;
  padding: 11px 14px;
  font-size: 0.8rem;
}

.cgpa-card-top {
  margin-bottom: 20px;
}

.cgpa-card-top h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.cgpa-card-top p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.cgpa-rule-stack {
  gap: 10px;
}

.cgpa-rule {
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
}

.rule-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.cgpa-rule p {
  font-size: 0.86rem;
  line-height: 1.42;
}

/* ── Extra slim fix for Exam + CGPA cards ── */
.academic-strategy-showcase {
  padding: clamp(20px, 2.4vw, 30px);
}

.strategy-header {
  margin-bottom: 18px;
}

.strategy-header h3 {
  font-size: clamp(1.8rem, 3vw, 3.15rem);
}

.strategy-header p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.exam-showcase-card,
.cgpa-showcase-card {
  width: min(100%, 560px);
  min-height: 445px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 30px;
}

.exam-card-top {
  margin-bottom: 18px;
}

.exam-score-hero {
  margin-bottom: 14px;
}

.score-number {
  font-size: clamp(3.2rem, 5.4vw, 5.1rem);
}

.score-label {
  margin-top: 6px;
  font-size: 0.72rem;
}

.score-divider {
  height: 76px;
}

.exam-split-bar {
  height: 32px;
  margin-bottom: 14px;
}

.internal-breakdown {
  gap: 8px;
}

.breakdown-item {
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 15px;
}

.breakdown-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 1.05rem;
}

.breakdown-item h4 {
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.breakdown-item p {
  font-size: 0.74rem;
  line-height: 1.28;
}

.exam-disclaimer {
  margin-top: 10px;
  padding: 9px 13px;
  font-size: 0.76rem;
  border-radius: 15px;
}

.cgpa-card-top {
  margin-bottom: 14px;
}

.cgpa-card-top h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
}

.cgpa-card-top p {
  font-size: 0.86rem;
  line-height: 1.42;
}

.cgpa-rule-stack {
  gap: 8px;
}

.cgpa-rule {
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
}

.rule-number {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 0.82rem;
}

.cgpa-rule p {
  font-size: 0.8rem;
  line-height: 1.34;
}



/* ============================================================
   §11  CLUBS & EXTRACURRICULARS
   ============================================================ */

/* ── Video-style Clubs Horizontal Accordion ── */
.clubs-section {
  background: #050505;
  color: #fff;
  overflow: hidden;
}

.clubs-section .container {
  max-width: none;
  width: 100%;
  padding: 0;
}

.clubs-wonder-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(70px, 8vw, 110px) clamp(24px, 6vw, 90px);
  background:
    radial-gradient(circle at 18% 20%, rgba(170, 35, 71, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 80%, rgba(242, 203, 101, 0.12), transparent 24rem),
    linear-gradient(135deg, #050505 0%, #08080b 52%, #111016 100%);
}

.clubs-wonder-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.clubs-wonder-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.24);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clubs-wonder-header h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.clubs-wonder-header p {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

.clubs-wonder-accordion {
  width: min(1420px, 100%);
  height: 470px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.club-wonder-card {
  position: relative;
  flex: 0.72;
  min-width: 86px;
  overflow: hidden;
  border-radius: 14px;
  background: #15151a;
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  filter: grayscale(1);
  opacity: 0.62;
  transform: translateY(0);
  transition:
    flex 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.club-wonder-card.active {
  flex: 4.8;
  filter: grayscale(0);
  opacity: 1;
  border-color: rgba(242, 203, 101, 0.34);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}

.club-wonder-card:hover {
  transform: translateY(-6px);
}

.club-wonder-card img,
.club-placeholder-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.club-wonder-card img {
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.club-wonder-card.active img {
  transform: scale(1);
}

.club-placeholder-bg {
  background:
    linear-gradient(135deg, rgba(170, 35, 71, 0.42), rgba(242, 203, 101, 0.18)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      transparent 2px 18px
    );
}

.club-placeholder-bg::before {
  content: '+';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.22);
  font-size: 7rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

.club-wonder-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(135deg, rgba(170, 35, 71, 0.34), transparent 55%);
  z-index: 1;
}

.club-wonder-content {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.club-wonder-card.active .club-wonder-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.club-wonder-count {
  display: inline-flex;
  margin-bottom: 14px;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.club-wonder-content h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.club-wonder-content p {
  max-width: 620px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.65;
}

.club-wonder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.club-wonder-tags span {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}

.club-wonder-side-title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.club-wonder-card.active .club-wonder-side-title {
  opacity: 0;
}

.clubs-section .content-block {
  width: min(1240px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
}

.clubs-section .block-title,
.clubs-section .quiz-title {
  color: #fff;
}

.clubs-section .section-subtitle,
.clubs-section p {
  color: rgba(255, 255, 255, 0.70);
}

@media (max-width: 980px) {
  .clubs-wonder-section {
    padding: 58px 18px;
  }

  .clubs-wonder-accordion {
    height: auto;
    flex-direction: column;
  }

  .club-wonder-card,
  .club-wonder-card.active {
    flex: none;
    width: 100%;
    min-height: 210px;
    filter: grayscale(0);
    opacity: 1;
  }

  .club-wonder-content {
    opacity: 1;
    transform: translateY(0);
  }

  .club-wonder-side-title {
    display: none;
  }
}

@media (max-width: 560px) {
  .clubs-wonder-header {
    margin-bottom: 28px;
  }

  .club-wonder-card,
  .club-wonder-card.active {
    min-height: 240px;
  }

  .club-wonder-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .club-wonder-content h3 {
    font-size: 1.8rem;
  }

  .club-wonder-content p {
    font-size: 0.86rem;
  }
}


/* ── Club Journey Dashboard: Join Path + Why + Quiz ── */
.club-journey-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(70px, 8vw, 110px) clamp(22px, 6vw, 90px);
  background:
    radial-gradient(circle at 16% 18%, rgba(170, 35, 71, 0.30), transparent 28rem),
    radial-gradient(circle at 84% 82%, rgba(242, 203, 101, 0.14), transparent 26rem),
    linear-gradient(135deg, #050505 0%, #08080d 48%, #101016 100%);
  overflow: hidden;
}

.club-journey-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.club-journey-header {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.club-journey-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.24);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.club-journey-header h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.club-journey-header p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  line-height: 1.75;
}

.club-journey-grid {
  position: relative;
  z-index: 2;
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

/* Left timeline card */
.club-path-card,
.club-impact-card,
.club-quiz-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.club-path-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 34px;
}

.club-path-card::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(242, 203, 101, 0.12);
  filter: blur(2px);
}

.path-card-header {
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
}

.path-mini-label {
  display: inline-flex;
  width: max-content;
  padding: 7px 15px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.30);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-card-header h4 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.path-card-header p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
  line-height: 1.65;
}

.club-path-timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.club-path-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F2CB65, rgba(242, 203, 101, 0.10));
  box-shadow: 0 0 24px rgba(242, 203, 101, 0.38);
}

.club-path-step {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.path-number {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow:
    0 0 0 8px rgba(170, 35, 71, 0.16),
    0 14px 34px rgba(170, 35, 71, 0.30);
}

.path-content {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.club-path-step:hover .path-content {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.095);
  border-color: rgba(242, 203, 101, 0.22);
}

.path-tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: #F2CB65;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path-content h5 {
  margin-bottom: 6px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.path-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Right column */
.club-decision-panel {
  display: grid;
  gap: 24px;
}

.club-impact-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px;
  border-radius: 30px;
}

.impact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(242, 203, 101, 0.14);
  color: #F2CB65;
  font-size: 1.7rem;
  box-shadow: inset 0 0 0 1px rgba(242, 203, 101, 0.18);
}

.impact-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: #F2CB65;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.club-impact-card h4 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.club-impact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
}

.club-impact-card strong {
  color: #fff;
}

/* Quiz inside right panel */
.club-quiz-card {
  padding: 28px;
  border-radius: 30px;
}

.club-quiz-heading {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.quiz-glow-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #AA2347;
  color: #F2CB65;
  font-size: 1.35rem;
  box-shadow: 0 16px 34px rgba(170, 35, 71, 0.32);
}

.quiz-title {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.quiz-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.55;
}

.quiz-container {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.quiz-progress {
  position: relative;
  width: 100%;
  height: 7px;
  margin-bottom: 34px;
  overflow: visible;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.quiz-progress .quiz-progress-bar,
.quiz-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #AA2347, #F2CB65);
  border-radius: 999px;
  transition: width var(--transition);
  box-shadow: 0 0 18px rgba(242, 203, 101, 0.28);
}

.quiz-progress-text {
  position: absolute;
  right: 0;
  top: 14px;
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
}

.quiz-question {
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-option {
  padding: 15px 17px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.quiz-option:hover {
  transform: translateY(-3px);
  background: rgba(242, 203, 101, 0.13);
  color: #fff;
  border-color: rgba(242, 203, 101, 0.28);
}

.quiz-option.selected {
  background: #F2CB65;
  color: #5A1128;
  border-color: #F2CB65;
  box-shadow: 0 0 0 4px rgba(242, 203, 101, 0.12);
  animation: quizPulse 0.4s ease;
}

@keyframes quizPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.quiz-result {
  text-align: left;
  padding: 24px;
  border-radius: 22px;
  background: rgba(242, 203, 101, 0.11);
  border: 1px solid rgba(242, 203, 101, 0.22);
}

.quiz-result h3 {
  color: #F2CB65;
  margin-bottom: 10px;
}

.quiz-result p {
  color: rgba(255, 255, 255, 0.72);
}

.quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  border: 1px solid rgba(242, 203, 101, 0.22);
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(170, 35, 71, 0.28);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.quiz-btn:hover {
  transform: translateY(-3px);
  background: #F2CB65;
  color: #5A1128;
}

.quiz-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1050px) {
  .club-journey-grid {
    grid-template-columns: 1fr;
  }

  .club-path-card,
  .club-impact-card,
  .club-quiz-card {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .club-journey-section {
    padding: 56px 18px;
  }

  .club-journey-header {
    text-align: left;
  }

  .club-path-step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .path-number {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .club-path-timeline::before {
    left: 23px;
  }

  .club-impact-card,
  .club-quiz-heading {
    grid-template-columns: 1fr;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }
}

/* ── Compact height fix for Club Journey cards ── */
.club-journey-section {
  padding: clamp(46px, 5.5vw, 72px) clamp(22px, 6vw, 90px);
}

.club-journey-header {
  margin-bottom: 28px;
}

.club-journey-header h3 {
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
}

.club-journey-header p {
  font-size: 0.96rem;
  line-height: 1.6;
}

.club-journey-grid {
  gap: clamp(20px, 3vw, 36px);
}

.club-path-card {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 28px;
}

.path-card-header {
  margin-bottom: 22px;
}

.path-card-header h4 {
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
}

.path-card-header p {
  font-size: 0.88rem;
  line-height: 1.48;
}

.club-path-timeline {
  gap: 12px;
}

.club-path-step {
  grid-template-columns: 50px 1fr;
  gap: 14px;
}

.path-number {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  font-size: 0.78rem;
}

.club-path-timeline::before {
  left: 24px;
}

.path-content {
  padding: 13px 16px;
  border-radius: 18px;
}

.path-tag {
  margin-bottom: 5px;
  font-size: 0.62rem;
}

.path-content h5 {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.path-content p {
  font-size: 0.78rem;
  line-height: 1.36;
}

.club-decision-panel {
  gap: 16px;
}

.club-impact-card {
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: 26px;
}

.impact-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 1.35rem;
}

.club-impact-card h4 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.club-impact-card p {
  font-size: 0.86rem;
  line-height: 1.48;
}

.club-quiz-card {
  padding: 22px;
  border-radius: 26px;
}

.club-quiz-heading {
  grid-template-columns: 50px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.quiz-glow-icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  font-size: 1.15rem;
}

.quiz-title {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
}

.quiz-subtitle {
  font-size: 0.84rem;
  line-height: 1.42;
}

.quiz-progress {
  margin-bottom: 26px;
}

.quiz-question {
  margin-bottom: 14px;
  font-size: 1rem;
}

.quiz-options {
  gap: 9px;
  margin-bottom: 16px;
}

.quiz-option {
  padding: 11px 14px;
  border-radius: 15px;
  font-size: 0.8rem;
}

.quiz-result {
  padding: 18px;
  border-radius: 18px;
}

.quiz-btn {
  padding: 11px 22px;
  font-size: 0.82rem;
}

/* ============================================================
   §12  CAMPUS & HOSTEL LIFE
   ============================================================ */

/* ── Premium Campus Life Experience Map ── */
.campus-section {
  overflow: hidden;
}

.campus-life-experience {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(70px, 8vw, 112px) clamp(22px, 6vw, 92px);
  background:
    radial-gradient(circle at 18% 18%, rgba(170, 35, 71, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 78%, rgba(242, 203, 101, 0.18), transparent 24rem),
    linear-gradient(135deg, #fff8fa 0%, #fdf0f3 44%, #fffaf0 100%);
  overflow: hidden;
}

.campus-life-experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(170, 35, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 35, 71, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.campus-life-top {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto 46px;
  text-align: center;
}

.campus-life-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 9px 20px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.16);
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.campus-life-title {
  margin-bottom: 16px;
  color: #1A1A2E;
  font-size: clamp(2.2rem, 4.7vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.campus-life-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.campus-life-grid {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
}

/* Left image card */
.campus-life-visual-card {
  position: relative;
  min-height: 620px;
}

.campus-life-image-frame {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 38px;
  background: #111;
  box-shadow:
    0 34px 95px rgba(90, 17, 40, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.campus-life-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s ease;
}

.campus-life-main-img.is-changing {
  opacity: 0;
  transform: scale(1.08);
}

.campus-life-main-img {
  opacity: 1;
}

.campus-life-image-frame:hover .campus-life-main-img {
  transform: scale(1);
}

.campus-life-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(135deg, rgba(170, 35, 71, 0.28), transparent 55%);
  pointer-events: none;
}

.campus-life-mini-strip {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 26px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.campus-life-thumb {
  position: relative;
  height: 76px;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    opacity 0.32s ease;
}

.campus-life-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.08);
  transition:
    transform 0.45s ease,
    opacity 0.32s ease;
}

.campus-life-thumb:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 203, 101, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.campus-life-thumb:hover img,
.campus-life-thumb.active img {
  opacity: 1;
  transform: scale(1);
}

.campus-life-thumb.active {
  border-color: #F2CB65;
  box-shadow:
    0 0 0 4px rgba(242, 203, 101, 0.16),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.campus-life-image-overlay {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 4;
}

.campus-life-photo-label {
  display: inline-flex;
  width: max-content;
  padding: 8px 15px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.18);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.26);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campus-life-image-overlay h3 {
  max-width: 520px;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.campus-life-image-overlay p {
  max-width: 500px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.65;
}

.campus-life-floating-chip {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #5A1128;
  border: 1px solid rgba(170, 35, 71, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  font-weight: 900;
  font-size: 0.92rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: campusChipFloat 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Keep chips inside image frame and away from thumbnails/text */
.chip-one {
  left: 40px;
  top: 128px;
}

.chip-two {
  right: 40px;
  top: 128px;
  animation-delay: 0.5s;
}

.chip-three {
  right: 42px;
  bottom: 92px;
  animation-delay: 0.9s;
}

.chip-four {
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  animation-delay: 1.2s;
}

/* Right day panel */
.campus-day-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.2vw, 46px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 10%, rgba(242, 203, 101, 0.24), transparent 17rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 250, 0.76));
  border: 1px solid rgba(170, 35, 71, 0.12);
  box-shadow: 0 30px 90px rgba(90, 17, 40, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.campus-day-panel::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  border: 34px solid rgba(170, 35, 71, 0.06);
}

.campus-day-header {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.campus-day-label {
  display: inline-flex;
  width: max-content;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.16);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campus-day-header h3 {
  margin-bottom: 10px;
  color: #1A1A2E;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.campus-day-header p {
  max-width: 560px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.campus-day-timeline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.campus-day-timeline::before {
  content: '';
  position: absolute;
  left: 95px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #AA2347, #F2CB65);
  box-shadow: 0 0 22px rgba(242, 203, 101, 0.28);
}

.campus-day-step {
  position: relative;
  display: grid;
  grid-template-columns: 78px 34px 1fr;
  gap: 14px;
  align-items: center;
}

.day-time {
  color: #AA2347;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.day-dot {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  border-radius: 50%;
  background: #AA2347;
  box-shadow: 0 0 0 8px rgba(170, 35, 71, 0.09);
}

.day-content {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(170, 35, 71, 0.10);
  box-shadow: 0 14px 34px rgba(90, 17, 40, 0.07);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.campus-day-step:hover .day-content {
  transform: translateX(8px);
  border-color: rgba(170, 35, 71, 0.24);
  box-shadow: 0 22px 50px rgba(90, 17, 40, 0.13);
}

.day-content h4 {
  margin-bottom: 4px;
  color: #1A1A2E;
  font-size: 0.95rem;
  font-weight: 900;
}

.day-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.45;
}

.campus-life-quote {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(170, 35, 71, 0.08);
  color: #5A1128;
  border: 1px solid rgba(170, 35, 71, 0.14);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 700;
}

/* Feature row with animated image cards */
.campus-life-feature-row {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.campus-life-feature {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(170, 35, 71, 0.12);
  box-shadow: 0 18px 48px rgba(90, 17, 40, 0.09);
  transition:
    transform 0.38s ease,
    box-shadow 0.38s ease,
    border-color 0.38s ease;
}

.campus-life-feature:hover {
  transform: translateY(-10px);
  border-color: rgba(170, 35, 71, 0.28);
  box-shadow: 0 30px 76px rgba(90, 17, 40, 0.16);
}

.campus-feature-image {
  position: relative;
  height: 145px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(242, 203, 101, 0.18), transparent 12rem),
    rgba(170, 35, 71, 0.08);
}

.campus-feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(135deg, rgba(170, 35, 71, 0.18), transparent 58%);
  pointer-events: none;
}

.campus-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08) translateY(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.campus-life-feature:hover .campus-feature-image img {
  transform: scale(1.18) translateY(-10px);
}

.campus-feature-content {
  position: relative;
  padding: 22px;
}

.campus-feature-content span {
  position: absolute;
  right: 22px;
  top: -27px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #AA2347;
  color: #F2CB65;
  font-size: 1.35rem;
  box-shadow: 0 16px 34px rgba(170, 35, 71, 0.24);
}

.campus-feature-content h4 {
  margin-bottom: 8px;
  color: #1A1A2E;
  font-size: 1.05rem;
  font-weight: 900;
}

.campus-feature-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

@keyframes campusChipFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

@media (max-width: 1050px) {
  .campus-life-grid {
    grid-template-columns: 1fr;
  }

  .campus-life-visual-card {
    min-height: auto;
  }

  .campus-life-image-frame {
    height: 500px;
  }

  .campus-life-feature-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .campus-life-experience {
    padding: 56px 18px;
  }

  .campus-life-top {
    text-align: left;
    margin-bottom: 30px;
  }

  .campus-life-image-frame {
    height: 420px;
    border-radius: 28px;
  }

.campus-life-mini-strip {
  left: 16px;
  right: 16px;
  top: 16px;
  gap: 7px;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 620px) {
  .campus-life-feature {
    min-height: auto;
  }

  .campus-feature-image {
    height: 180px;
  }
}


.campus-life-thumb {
  height: 54px;
  border-radius: 13px;
}
  .campus-life-image-overlay {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }

  .campus-life-floating-chip {
    display: none;
  }

  .campus-day-panel {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .campus-day-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .campus-day-timeline::before,
  .day-dot {
    display: none;
  }

  .day-time {
    text-align: left;
  }

  .campus-life-feature-row {
    grid-template-columns: 1fr;
  }
}


/* ── Daily Timeline ── */
.daily-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.daily-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--accent));
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 60px;
}

.timeline-dot {
  position: absolute;
  top: 28px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border: 4px solid var(--bg-white);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  z-index: 2;
  transition: background var(--transition), border-color var(--transition);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-content {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

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

.timeline-time {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
}

.timeline-content h4 { margin-bottom: 6px; }
.timeline-content p { margin-bottom: 0; font-size: 0.88rem; }

/* ── Hostel Cards ── */
.hostel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.facility-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

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

.facility-card .facility-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.facility-card h4 { margin-bottom: 8px; }
.facility-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }

/* ── Mess Table ── */
.mess-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.mess-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 20px;
  text-align: left;
  letter-spacing: 0.02em;
}

.mess-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: background var(--transition);
}

.mess-table tr:nth-child(even) td {
  background: var(--bg-section-alt);
}

.mess-table tr:hover td {
  background: rgba(var(--primary-rgb), 0.04);
}

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

/* ── Campus Map ── */
.campus-map {
  position: relative;
  background: var(--bg-section-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 400px;
  margin-top: 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campus-map::after {
  content: '🗺️ Campus Map';
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.map-point {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--primary);
  border: 3px solid var(--bg-white);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
  z-index: 2;
  animation: mapPulse 2s ease-in-out infinite;
}

.map-point:hover {
  transform: scale(1.3);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.5);
}

@keyframes mapPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0); }
}

.map-point .map-label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-sm);
}

.map-point:hover .map-label { opacity: 1; }

/* ── Premium Route Planner: Getting to Campus ── */
.campus-route-planner {
  width: min(1480px, 100%);
  margin: 58px auto 0;
}

.route-planner-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 15%, rgba(170, 35, 71, 0.16), transparent 24rem),
    radial-gradient(circle at 90% 85%, rgba(242, 203, 101, 0.18), transparent 22rem),
    linear-gradient(135deg, #fff8fa 0%, #fdf0f3 48%, #fffaf0 100%);
  border: 1px solid rgba(170, 35, 71, 0.12);
  box-shadow: 0 28px 90px rgba(90, 17, 40, 0.12);
}

.route-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.route-kicker {
  display: inline-flex;
  width: max-content;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.16);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-info-panel h3 {
  max-width: 560px;
  margin-bottom: 14px;
  color: #1A1A2E;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.route-info-panel p {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.route-access-list {
  display: grid;
  gap: 12px;
}

.route-access-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(170, 35, 71, 0.10);
  color: var(--text-secondary);
  box-shadow: 0 12px 30px rgba(90, 17, 40, 0.06);
}

.route-map-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(170, 35, 71, 0.13);
  box-shadow: 0 24px 70px rgba(90, 17, 40, 0.13);
}

.route-map-preview {
  height: 310px;
  overflow: hidden;
  background: #f3e8ec;
}

.route-map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(1.03);
}

.route-search-box {
  padding: 24px;
}

.route-search-box label {
  display: block;
  margin-bottom: 10px;
  color: #1A1A2E;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
}

.route-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.route-input-row input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid rgba(170, 35, 71, 0.16);
  background: #fff;
  color: var(--text-primary);
  font: inherit;
  outline: none;
  box-shadow: 0 10px 26px rgba(90, 17, 40, 0.06);
}

.route-input-row input:focus {
  border-color: rgba(170, 35, 71, 0.42);
  box-shadow: 0 0 0 4px rgba(170, 35, 71, 0.08);
}

.route-input-row button {
  padding: 15px 24px;
  border-radius: 999px;
  background: #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(170, 35, 71, 0.24);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.route-input-row button:hover {
  transform: translateY(-3px);
  background: #F2CB65;
  color: #5A1128;
}

.route-hint {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .route-planner-grid {
    grid-template-columns: 1fr;
  }

  .route-map-preview {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .route-planner-grid {
    padding: 22px 16px;
    border-radius: 26px;
  }

  .route-input-row {
    grid-template-columns: 1fr;
  }

  .route-input-row button {
    width: 100%;
  }

  .route-map-preview {
    height: 260px;
  }
}

/* ── Fresher Launch Board: Campus Highlights + Week 1 Checklist ── */
.fresher-launch-board {
  position: relative;
  width: min(1480px, 100%);
  margin: 60px auto 0;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 14%, rgba(170, 35, 71, 0.24), transparent 25rem),
    radial-gradient(circle at 90% 86%, rgba(242, 203, 101, 0.22), transparent 25rem),
    linear-gradient(135deg, #160812 0%, #2b0c18 46%, #fff6df 145%);
  box-shadow: 0 34px 100px rgba(90, 17, 40, 0.24);
  color: #fff;
}

.fresher-launch-board::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    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: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.fresher-launch-board::after {
  content: '01';
  position: absolute;
  right: clamp(20px, 4vw, 70px);
  top: clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.035);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(7rem, 14vw, 16rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.launch-board-header {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-bottom: 38px;
}

.launch-board-kicker,
.launch-mini-label {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.13);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.26);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-board-kicker {
  margin-bottom: 18px;
}

.launch-board-header h3 {
  max-width: 920px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 4.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.launch-board-header p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.96rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.launch-board-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.launch-highlights-panel,
.launch-checklist-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.22);
}

.launch-highlights-panel::before,
.launch-checklist-panel::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -120px;
  border-radius: 50%;
  background: rgba(242, 203, 101, 0.10);
  pointer-events: none;
}

.launch-panel-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.launch-mini-label {
  margin-bottom: 14px;
  font-size: 0.66rem;
}

.launch-panel-heading h4 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.6rem, 2.7vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.052em;
}

.launch-panel-heading p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
}

.launch-highlight-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.launch-highlight-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(242, 203, 101, 0.11), transparent 12rem),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.launch-highlight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 203, 101, 0.34);
  background:
    radial-gradient(circle at top left, rgba(242, 203, 101, 0.18), transparent 13rem),
    rgba(255, 255, 255, 0.115);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.launch-highlight-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 17px;
  background: #AA2347;
  color: #F2CB65;
  font-size: 1.35rem;
  box-shadow: 0 14px 32px rgba(170, 35, 71, 0.30);
}

.launch-highlight-card h5 {
  margin-bottom: 6px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
}

.launch-highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.launch-quick-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.launch-quick-row span {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
}

/* Checklist panel */
.launch-progress-box {
  position: relative;
  z-index: 2;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 20%, rgba(242, 203, 101, 0.12), transparent 13rem),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 203, 101, 0.15);
}

.launch-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
}

.launch-progress-top strong {
  color: #F2CB65;
}

.launch-progress-track {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.launch-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #AA2347, #F2CB65);
  box-shadow: 0 0 22px rgba(242, 203, 101, 0.32);
  transition: width 0.45s ease;
}

.launch-progress-box p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.5;
}

.launch-checklist {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.launch-check-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.launch-check-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(242, 203, 101, 0.22);
}

.launch-check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.launch-check-box {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 203, 101, 0.22);
  color: #F2CB65;
  transition:
    background 0.28s ease,
    transform 0.28s ease,
    border-color 0.28s ease;
}

.launch-check-box::before {
  content: '✓';
  opacity: 0;
  transform: scale(0.4);
  font-weight: 900;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.launch-check-text {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.launch-check-item:has(input:checked) {
  background: rgba(242, 203, 101, 0.14);
  border-color: rgba(242, 203, 101, 0.32);
}

.launch-check-item:has(input:checked) .launch-check-box {
  background: #F2CB65;
  color: #5A1128;
  border-color: #F2CB65;
  transform: scale(1.05);
}

.launch-check-item:has(input:checked) .launch-check-box::before {
  opacity: 1;
  transform: scale(1);
}

.launch-check-item:has(input:checked) .launch-check-text {
  color: #fff;
}

@media (max-width: 1050px) {
  .launch-board-grid {
    grid-template-columns: 1fr;
  }

  .fresher-launch-board {
    border-radius: 30px;
  }
}

@media (max-width: 620px) {
  .fresher-launch-board {
    padding: 28px 18px;
    border-radius: 26px;
  }

  .launch-highlight-grid {
    grid-template-columns: 1fr;
  }

  .launch-check-item {
    grid-template-columns: 34px 1fr;
    padding: 11px 12px;
  }

  .launch-check-box {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }
}


/* ── Full Screen Fresher Launch Board Section ── */
.launch-scroll-scene {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  padding: clamp(130px, 13vh, 165px) clamp(28px, 6vw, 90px) clamp(80px, 9vh, 120px);
  background:
    radial-gradient(circle at 12% 14%, rgba(170, 35, 71, 0.24), transparent 25rem),
    radial-gradient(circle at 90% 86%, rgba(242, 203, 101, 0.22), transparent 25rem),
    linear-gradient(135deg, #160812 0%, #2b0c18 46%, #fff6df 145%);
  overflow: hidden;
}

.launch-scroll-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    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: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 82%);
  pointer-events: none;
}

.launch-scroll-scene::after {
  content: 'MISSION';
  position: absolute;
  right: clamp(28px, 7vw, 120px);
  top: clamp(125px, 14vh, 170px);
  color: rgba(255, 255, 255, 0.04);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(6rem, 14vw, 18rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

/* Remove old card feeling */
.launch-scroll-scene > .fresher-launch-board {
  position: relative;
  z-index: 2;
  width: min(1520px, 100%);
  min-height: 720px;
  margin: 0 auto;
  padding: 0;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  color: #fff;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.launch-scroll-scene > .fresher-launch-board::before,
.launch-scroll-scene > .fresher-launch-board::after {
  display: none !important;
}

/* Header */
.launch-scroll-scene .launch-board-header {
  max-width: 920px;
  margin-bottom: clamp(34px, 5vh, 54px);
  opacity: 1 !important;
  transform: none !important;
}

.launch-scroll-scene .launch-board-kicker {
  margin-bottom: 18px;
  padding: 9px 20px;
  font-size: 0.72rem;
}

.launch-scroll-scene .launch-board-header h3 {
  max-width: 980px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.6rem, 5.2vw, 5.7rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.launch-scroll-scene .launch-board-header p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

/* Main layout */
.launch-scroll-scene .launch-board-grid {
  display: grid;
  grid-template-columns: minmax(580px, 1.08fr) minmax(480px, 0.92fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

/* Inner glass panels */
.launch-scroll-scene .launch-highlights-panel,
.launch-scroll-scene .launch-checklist-panel {
  position: relative;
  min-height: 430px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 1 !important;
  transform: none !important;
  overflow: hidden;
}

.launch-scroll-scene .launch-highlights-panel::before,
.launch-scroll-scene .launch-checklist-panel::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: rgba(242, 203, 101, 0.12);
  pointer-events: none;
}

.launch-scroll-scene .launch-panel-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.launch-scroll-scene .launch-mini-label {
  padding: 7px 15px;
  margin-bottom: 14px;
  font-size: 0.66rem;
}

.launch-scroll-scene .launch-panel-heading h4 {
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.052em;
}

.launch-scroll-scene .launch-panel-heading p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Highlights */
.launch-scroll-scene .launch-highlight-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.launch-scroll-scene .launch-highlight-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(242, 203, 101, 0.12), transparent 12rem),
    rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 1 !important;
  transform: none !important;
}

.launch-scroll-scene .launch-highlight-card:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(242, 203, 101, 0.34);
  background:
    radial-gradient(circle at top left, rgba(242, 203, 101, 0.18), transparent 13rem),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.launch-scroll-scene .launch-highlight-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 15px;
  font-size: 1.15rem;
}

.launch-scroll-scene .launch-highlight-card h5 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.15;
}

.launch-scroll-scene .launch-highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.launch-scroll-scene .launch-quick-row {
  display: none;
}

/* Progress */
.launch-scroll-scene .launch-progress-box {
  position: relative;
  z-index: 2;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 20%, rgba(242, 203, 101, 0.12), transparent 13rem),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 203, 101, 0.15);
}

.launch-scroll-scene .launch-progress-top {
  margin-bottom: 12px;
  font-size: 0.84rem;
}

.launch-scroll-scene .launch-progress-track {
  height: 9px;
}

.launch-scroll-scene .launch-progress-box p {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Checklist */
.launch-scroll-scene .launch-checklist {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-scroll-scene .launch-check-item {
  min-height: 58px;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 18px;
  opacity: 1 !important;
  transform: none !important;
}

.launch-scroll-scene .launch-check-item:hover {
  transform: translateX(5px) !important;
}

.launch-scroll-scene .launch-check-box {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.launch-scroll-scene .launch-check-text {
  font-size: 0.8rem;
  line-height: 1.32;
}

@keyframes launchProgressGlow {
  from {
    box-shadow: 0 0 18px rgba(242, 203, 101, 0.24);
  }

  to {
    box-shadow: 0 0 34px rgba(242, 203, 101, 0.46);
  }
}

.launch-scroll-scene .fresher-launch-board.launch-scroll-complete .launch-progress-fill {
  animation: launchProgressGlow 2.4s ease-in-out infinite alternate;
}

@media (max-width: 1050px) {
  .launch-scroll-scene {
    min-height: auto;
    padding: 90px 22px;
  }

  .launch-scroll-scene .launch-board-grid {
    grid-template-columns: 1fr;
  }

  .launch-scroll-scene .launch-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-scroll-scene .launch-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .launch-scroll-scene {
    padding: 70px 18px;
  }

  .launch-scroll-scene .launch-board-header h3 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .launch-scroll-scene .launch-highlight-grid {
    grid-template-columns: 1fr;
  }

  .launch-scroll-scene .launch-highlights-panel,
  .launch-scroll-scene .launch-checklist-panel {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 26px;
  }
}


/* ============================================================
   §13  SURVIVAL KIT
   ============================================================ */

/* ── Playful Do's & Don'ts: Campus Survival Traffic Rules ── */
.survival-traffic-rules {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 7.2vw, 104px) clamp(24px, 6vw, 90px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 20%, rgba(44, 204, 113, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 80%, rgba(170, 35, 71, 0.20), transparent 30rem),
    linear-gradient(135deg, #fffaf4 0%, #fdf0f3 44%, #f8fff9 100%);
}

.survival-traffic-rules::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(170, 35, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 35, 71, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  pointer-events: none;
}

.survival-traffic-rules::after {
  content: 'SURVIVE';
  position: absolute;
  left: 50%;
  top: clamp(22px, 4vw, 48px);
  z-index: 1;
  transform: translateX(-50%);
  color: rgba(170, 35, 71, 0.045);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(5.5rem, 14vw, 18rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.traffic-rules-header {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.traffic-kicker {
  display: inline-flex;
  width: max-content;
  padding: 9px 20px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.16);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.traffic-rules-header h3 {
  margin-bottom: 14px;
  color: #1A1A2E;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.traffic-rules-header p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: clamp(0.96rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}

.traffic-rules-stage {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 150px minmax(420px, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: stretch;
}

.traffic-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 30px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 68px rgba(90, 17, 40, 0.10);
}

.traffic-panel::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -95px;
  top: -110px;
  border-radius: 50%;
  pointer-events: none;
}

.traffic-panel-do {
  background:
    radial-gradient(circle at 18% 14%, rgba(46, 204, 113, 0.16), transparent 17rem),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(46, 204, 113, 0.20);
}

.traffic-panel-do::before {
  background: rgba(46, 204, 113, 0.12);
}

.traffic-panel-dont {
  background:
    radial-gradient(circle at 82% 16%, rgba(170, 35, 71, 0.16), transparent 17rem),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(170, 35, 71, 0.18);
}

.traffic-panel-dont::before {
  background: rgba(170, 35, 71, 0.11);
}

.traffic-panel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.traffic-light-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #1A1A2E;
  font-size: 1.55rem;
  box-shadow: 0 18px 40px rgba(26, 26, 46, 0.18);
}

.traffic-label {
  display: inline-flex;
  margin-bottom: 5px;
  color: #AA2347;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.traffic-panel-top h4 {
  margin: 0;
  color: #1A1A2E;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.traffic-rule-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 11px;
}

.traffic-rule-card {
  position: relative;
  overflow: hidden;
  padding: 15px 17px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 12px 30px rgba(90, 17, 40, 0.065);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    border-color 0.34s ease,
    background 0.34s ease;
}

.traffic-rule-card::after {
  content: '';
  position: absolute;
  right: -32px;
  top: -32px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  opacity: 0.12;
  transition: transform 0.34s ease, opacity 0.34s ease;
}

.do-card::after {
  background: #2ecc71;
}

.dont-card::after {
  background: #AA2347;
}

.traffic-rule-card:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: 0 24px 60px rgba(90, 17, 40, 0.13);
}

.traffic-rule-card:hover::after {
  transform: scale(1.45);
  opacity: 0.18;
}

.do-card:hover {
  border-color: rgba(46, 204, 113, 0.35);
  background: rgba(246, 255, 250, 0.95);
}

.dont-card:hover {
  border-color: rgba(170, 35, 71, 0.30);
  background: rgba(255, 247, 249, 0.95);
}

.rule-number {
  display: inline-flex;
  width: max-content;
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.do-card .rule-number {
  background: rgba(46, 204, 113, 0.12);
  color: #16834B;
}

.dont-card .rule-number {
  background: rgba(170, 35, 71, 0.10);
  color: #AA2347;
}

.traffic-rule-card h5 {
  margin-bottom: 5px;
  color: #1A1A2E;
  font-size: 0.94rem;
  font-weight: 900;
}

.traffic-rule-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Center survival meter — fixed premium design */
.traffic-meter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.traffic-meter::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2ecc71, #F2CB65, #AA2347);
  box-shadow: 0 0 28px rgba(242, 203, 101, 0.34);
  opacity: 0.75;
}

.traffic-meter-card {
  position: relative;
  z-index: 3;
  width: 156px;
  min-height: 220px;
  padding: 16px 14px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 20%, rgba(242, 203, 101, 0.28), transparent 46%),
    linear-gradient(180deg, #1A1A2E 0%, #2A0B17 100%);
  color: #fff;
  border: 1px solid rgba(242, 203, 101, 0.28);
  box-shadow:
    0 24px 60px rgba(26, 26, 46, 0.26),
    0 0 0 10px rgba(242, 203, 101, 0.06);
  animation: trafficMeterFloat 3.8s ease-in-out infinite alternate;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.traffic-meter-card::before,
.traffic-meter-card::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F2CB65;
  box-shadow: 0 0 18px rgba(242, 203, 101, 0.55);
}

.meter-mini-label,
.meter-bottom {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
}

.meter-status-ring {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(242, 203, 101, 0.25);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.08);
}

.traffic-meter-card strong {
  display: block;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* Meter working states controlled by JS */
.traffic-meter-card.is-safe {
  background:
    radial-gradient(circle at 50% 20%, rgba(46, 204, 113, 0.34), transparent 46%),
    linear-gradient(180deg, #10291b 0%, #08150e 100%);
  border-color: rgba(46, 204, 113, 0.42);
  box-shadow:
    0 24px 60px rgba(26, 26, 46, 0.24),
    0 0 0 10px rgba(46, 204, 113, 0.08),
    0 0 42px rgba(46, 204, 113, 0.20);
}

.traffic-meter-card.is-risky {
  background:
    radial-gradient(circle at 50% 20%, rgba(170, 35, 71, 0.42), transparent 46%),
    linear-gradient(180deg, #3A0D1D 0%, #160812 100%);
  border-color: rgba(170, 35, 71, 0.46);
  box-shadow:
    0 24px 60px rgba(26, 26, 46, 0.24),
    0 0 0 10px rgba(170, 35, 71, 0.08),
    0 0 42px rgba(170, 35, 71, 0.22);
}

.traffic-meter-card.is-neutral {
  background:
    radial-gradient(circle at 50% 20%, rgba(242, 203, 101, 0.28), transparent 46%),
    linear-gradient(180deg, #1A1A2E 0%, #2A0B17 100%);
}

.traffic-meter-card.is-risky strong {
  color: #ff9bb1;
}

.traffic-meter-card.is-safe strong {
  color: #8ff0b7;
}

.traffic-rule-card.is-meter-active {
  transform: translateY(-7px) scale(1.015);
}

@keyframes trafficMeterFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10px);
  }
}


@keyframes trafficOrbFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

@media (max-width: 1050px) {
  .traffic-rules-stage {
    grid-template-columns: 1fr;
  }

  .traffic-meter {
    display: none;
  }
}

@media (max-width: 620px) {
  .survival-traffic-rules {
    padding: 64px 18px;
  }

  .traffic-rules-header {
    text-align: left;
  }

  .traffic-panel {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .traffic-panel-top {
    align-items: flex-start;
  }

  .traffic-light-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
}


/* ── Senior Says: Responsive Moving Testimonial Wall ── */
.senior-says-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(56px, 6vw, 82px) clamp(20px, 5vw, 74px) 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 203, 101, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 82%, rgba(170, 35, 71, 0.09), transparent 26rem),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 52%, #fff7fa 88%, #ffffff 100%);
}

.senior-says-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(170, 35, 71, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 35, 71, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.senior-says-section::after {
  content: 'SENIORS';
  position: absolute;
  left: 50%;
  top: clamp(14px, 3.4vw, 36px);
  transform: translateX(-50%);
  color: rgba(170, 35, 71, 0.032);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4.4rem, 13vw, 15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.senior-says-header {
  position: relative;
  z-index: 3;
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.senior-says-kicker {
  display: inline-flex;
  width: max-content;
  padding: 8px 19px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.14);
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.senior-says-header h3 {
  margin-bottom: 12px;
  color: #11111f;
  font-size: clamp(2.15rem, 4.4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.senior-says-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #555564;
  font-size: clamp(0.92rem, 1.05vw, 1.06rem);
  line-height: 1.65;
}

/* Laptop / desktop: vertical moving columns */
.senior-marquee-wall {
  position: relative;
  z-index: 2;
  width: min(1420px, 100%);
  height: 620px;
  margin: 0 auto;
  padding: 34px 28px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  overflow: hidden;
  background: transparent;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    black 10%,
    black 94%,
    rgba(0, 0, 0, 0.82) 98%,
    transparent 100%
  );
}

.senior-marquee-wall::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(180deg, #fffaf5 0%, rgba(255, 250, 245, 0) 100%);
}

.senior-marquee-wall::after {
  display: none !important;
}

.senior-marquee-column {
  position: relative;
  overflow: visible;
}

.senior-marquee-track {
  display: grid;
  gap: 20px;
  padding: 0 14px 0;
  will-change: transform;
}

.senior-column-up .senior-marquee-track {
  animation: seniorScrollUp 26s linear infinite;
}

.senior-column-down .senior-marquee-track {
  animation: seniorScrollDown 28s linear infinite;
}

.slow-column .senior-marquee-track {
  animation-duration: 32s;
}

.senior-marquee-wall:hover .senior-marquee-track {
  animation-play-state: paused;
}

/* Card design */
.senior-say-card {
  position: relative;
  min-height: 178px;
  padding: clamp(18px, 1.8vw, 26px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.94));
  border: none;
  box-shadow:
    0 26px 58px rgba(90, 17, 40, 0.13),
    0 12px 28px rgba(90, 17, 40, 0.08),
    14px 0 34px rgba(90, 17, 40, 0.055),
    -14px 0 34px rgba(90, 17, 40, 0.055),
    0 0 0 1px rgba(170, 35, 71, 0.055);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease;
}

.senior-say-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 34px 78px rgba(90, 17, 40, 0.18),
    0 16px 36px rgba(90, 17, 40, 0.10),
    18px 0 42px rgba(90, 17, 40, 0.075),
    -18px 0 42px rgba(90, 17, 40, 0.075),
    0 0 0 1px rgba(170, 35, 71, 0.08);
}

.senior-say-card::before {
  content: '“';
  position: absolute;
  top: 8px;
  right: 18px;
  color: rgba(170, 35, 71, 0.07);
  font-family: Georgia, serif;
  font-size: 4.8rem;
  line-height: 1;
  pointer-events: none;
}

.senior-say-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 20px;
  color: #252536;
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.senior-profile {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.senior-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(242, 203, 101, 0.42), transparent 46%),
    #AA2347;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(170, 35, 71, 0.18);
}

.senior-profile strong {
  display: block;
  color: #151525;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.15;
}

.senior-profile small {
  display: block;
  color: #777786;
  font-size: 0.78rem;
  font-weight: 600;
}

.senior-feature-card {
  background:
    radial-gradient(circle at 16% 16%, rgba(242, 203, 101, 0.22), transparent 13rem),
    linear-gradient(135deg, #2A0B17 0%, #5A1128 100%);
  border-color: rgba(242, 203, 101, 0.18);
}

.senior-feature-card p,
.senior-feature-card .senior-profile strong {
  color: #fff;
}

.senior-feature-card .senior-profile small {
  color: rgba(255, 255, 255, 0.68);
}

.senior-feature-card .senior-avatar {
  background: #F2CB65;
  color: #5A1128;
}

.senior-warning-card {
  background:
    radial-gradient(circle at 88% 16%, rgba(170, 35, 71, 0.12), transparent 12rem),
    #fff7f9;
  border-color: rgba(170, 35, 71, 0.18);
}

/* Desktop vertical motion */
@keyframes seniorScrollUp {
  from {
    transform: translateY(46%);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes seniorScrollDown {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(46%);
  }
}

/* Tablet + phone: horizontal moving rows */
@media (max-width: 1050px) {
  .senior-says-section {
    padding: 60px 0 18px;
  }

  .senior-says-header {
    width: calc(100% - 40px);
    margin-bottom: 30px;
  }

  .senior-marquee-wall {
    width: 100%;
    height: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: hidden;
    mask-image: none;
  }

  .senior-marquee-wall::before,
  .senior-marquee-wall::after {
    display: none;
  }

  .senior-marquee-column {
    width: 100%;
    overflow: hidden;
  }

  .senior-marquee-track {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 12px 24px;
  }

  .senior-column-up .senior-marquee-track,
  .senior-column-down .senior-marquee-track,
  .slow-column .senior-marquee-track {
    animation: seniorRowScrollLeft 30s linear infinite;
  }

  .senior-marquee-column:nth-child(2) .senior-marquee-track {
    animation-name: seniorRowScrollRight;
    animation-duration: 34s;
  }

  .senior-marquee-column:nth-child(3) .senior-marquee-track {
    animation-duration: 38s;
  }

  .senior-say-card {
    width: min(390px, 82vw);
    min-height: 188px;
    flex: 0 0 auto;
  }
}

@keyframes seniorRowScrollLeft {
  from {
    transform: translateX(0);
  }

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

@keyframes seniorRowScrollRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 620px) {
  .senior-says-section {
    padding: 54px 0 16px;
  }

  .senior-says-header {
    width: calc(100% - 32px);
    text-align: left;
    margin-bottom: 24px;
  }

  .senior-says-kicker {
    font-size: 0.62rem;
    padding: 8px 16px;
  }

  .senior-says-header h3 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .senior-says-header p {
    font-size: 0.92rem;
  }

  .senior-marquee-wall {
    gap: 12px;
  }

  .senior-marquee-track {
    gap: 12px;
    padding: 4px 16px;
  }

  .senior-say-card {
    width: 84vw;
    min-height: 174px;
    padding: 18px;
    border-radius: 22px;
  }

  .senior-say-card p {
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .senior-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.68rem;
  }

  .senior-profile strong {
    font-size: 0.82rem;
  }

  .senior-profile small {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .senior-marquee-track {
    animation: none !important;
  }
}

/* ── Time Blocks ── */
.time-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.time-block {
  padding: 20px 16px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  transition: transform var(--transition);
}

.time-block:hover { transform: scale(1.05); }

.time-block:nth-child(6n+1) { background: var(--primary); }
.time-block:nth-child(6n+2) { background: #3498db; }
.time-block:nth-child(6n+3) { background: #2ecc71; }
.time-block:nth-child(6n+4) { background: var(--accent-dark); color: var(--primary-darker); }
.time-block:nth-child(6n+5) { background: #9b59b6; }
.time-block:nth-child(6n+6) { background: #e67e22; }

.time-block .block-time {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 4px;
  font-weight: 400;
}

/* ── Mental Health ── */
.mental-health {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
  border: 1px solid rgba(155, 89, 182, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 48px;
}

[data-theme='dark'] .mental-health {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(52, 152, 219, 0.08) 100%);
  border-color: rgba(155, 89, 182, 0.2);
}

.mental-health h3 {
  color: #9b59b6;
  margin-bottom: 12px;
}

.mental-health p {
  max-width: 640px;
}

.helpline-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 16px;
  transition: box-shadow var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.helpline-card:hover {
  box-shadow: var(--shadow-md);
}

.helpline-card .phone-icon {
  font-size: 1.4rem;
}

.helpline-card .helpline-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.helpline-card .helpline-info p { margin-bottom: 0; font-size: 0.85rem; }

/* ── Contacts Grid ── */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 280px));
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.contacts-grid .contact-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

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

.contacts-grid .contact-card h4 { margin-bottom: 8px; color: var(--primary); }
.contacts-grid .contact-card p { margin-bottom: 4px; font-size: 0.88rem; }

/* ============================================================
   §14  TOOLS & RESOURCES — Dark Accordion Showcase
   ============================================================ */

.tools-dark-showcase {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(70px, 8vw, 118px) clamp(18px, 5vw, 82px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(170, 35, 71, 0.34), transparent 31rem),
    radial-gradient(circle at 86% 84%, rgba(242, 203, 101, 0.16), transparent 32rem),
    radial-gradient(circle at 48% 52%, rgba(88, 105, 255, 0.10), transparent 28rem),
    linear-gradient(135deg, #030304 0%, #090910 45%, #130713 100%);
}

.tools-dark-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.tools-dark-showcase::after {
  content: 'TOOLS';
  position: absolute;
  right: clamp(18px, 6vw, 100px);
  top: clamp(22px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.035);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(5rem, 14vw, 18rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.tools-dark-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.tools-dark-header {
  max-width: 980px;
  margin-bottom: clamp(42px, 5vw, 66px);
}

.tools-dark-badge {
  display: inline-flex;
  width: max-content;
  padding: 9px 20px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.24);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tools-dark-header h2 {
  max-width: 1050px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.tools-dark-header p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.tool-accordion-block {
  margin-top: clamp(34px, 4vw, 54px);
}

.tool-accordion-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.tool-accordion-heading > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.22);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
}

.tool-accordion-heading h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.tool-accordion-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.tool-accordion-row {
  display: flex;
  gap: 14px;
  height: 330px;
  min-width: 0;
}

.tool-accordion-card {
  position: relative;
  flex: 1;
  min-width: 72px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.08), transparent 13rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.105);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  isolation: isolate;
  filter: brightness(1);
  transition:
    flex 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.tool-accordion-card.active {
  flex: 4.6;
  filter: grayscale(0) brightness(1);
  border-color: rgba(242, 203, 101, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 95px rgba(0, 0, 0, 0.36),
    0 0 60px rgba(170, 35, 71, 0.20);
}

.tool-accordion-card:hover {
  transform: translateY(-4px);
}

.tool-accordion-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.70)),
    radial-gradient(circle at 50% 35%, rgba(242, 203, 101, 0.20), transparent 14rem);
  opacity: 0.65;
}

.tool-accordion-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.30) 62%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.tool-accordion-card.active::after {
  opacity: 1;
}

.tool-accordion-card img {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  transition:
    left 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-accordion-card.active img {
  left: 34px;
  top: 34px;
  width: 92px;
  height: 92px;
  transform: translate(0, 0);
}

.tool-card-content {
  position: absolute;
  left: 34px;
  right: 28px;
  bottom: 30px;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.45s ease 0.13s,
    transform 0.45s ease 0.13s;
}

.tool-accordion-card.active .tool-card-content {
  opacity: 1;
  transform: translateY(0);
}

.tool-card-content span {
  display: inline-flex;
  padding: 7px 13px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.13);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.22);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tool-card-content h4 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tool-card-content p {
  max-width: 38ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .tool-accordion-row {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-accordion-card,
  .tool-accordion-card.active {
    min-height: 270px;
    flex: unset;
  }

  .tool-accordion-card img,
  .tool-accordion-card.active img {
    left: 28px;
    top: 28px;
    width: 74px;
    height: 74px;
    transform: none;
  }

  .tool-card-content,
  .tool-accordion-card.active .tool-card-content {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 620px) {
  .tools-dark-showcase {
    padding: 58px 16px;
  }

  .tools-dark-header h2 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .tool-accordion-row {
    grid-template-columns: 1fr;
  }

  .tool-accordion-card,
  .tool-accordion-card.active {
    min-height: 245px;
    border-radius: 24px;
  }

  .tool-accordion-heading {
    align-items: flex-start;
  }

  .tool-accordion-heading > span {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .tool-card-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}

.platform-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.platform-card .platform-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.platform-card h4 { margin-bottom: 8px; }
.platform-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }

/* ============================================================
   §15  FAQ SECTION
   ============================================================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg);
  transition: box-shadow var(--transition), border-color var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

/* Native details/summary support */
details.faq-item {
  cursor: default;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
  list-style: none;
}

/* Remove default <summary> triangle/marker */
summary.faq-question::-webkit-details-marker,
summary.faq-question::marker {
  display: none;
  content: '';
}

summary.faq-question {
  list-style-type: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #AA2347;

  -webkit-mask:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 14 L42 32 L22 50' fill='none' stroke='black' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 30px 30px no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 14 L42 32 L22 50' fill='none' stroke='black' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 30px 30px no-repeat;

  transform: rotate(90deg);
  transform-origin: center;
  transition: transform 0.32s ease;
}

details.faq-item[open] > .faq-question::after,
.faq-item.active .faq-question::after {
  transform: rotate(-90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

/* For native <details>[open] — auto-expand answer */
details.faq-item[open] .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px;
}

details.faq-item[open] > summary.faq-question {
  color: var(--primary);
}

.faq-question.active + .faq-answer,
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ heading alignment like timeline heading */
.faq-header {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto 64px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.faq-header > .section-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  margin: 0 auto 24px !important;
}

.faq-header > .section-title {
  display: block !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto 18px !important;
  text-align: center !important;
}

.faq-header > .section-title::after {
  margin: 18px auto 0 !important;
}

.faq-header > .section-subtitle {
  display: block !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* ============================================================
   §16  FIRST MONTH TIMELINE
   ============================================================ */

.timeline-header {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto 64px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.timeline-header > .section-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  margin: 0 auto 24px !important;
}

.timeline-header > .section-title {
  display: block !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto 18px !important;
  text-align: center !important;
}

.timeline-header > .section-title::after {
  margin: 18px auto 0 !important;
}

.timeline-header > .section-subtitle {
  display: block !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  text-align: center !important;
}



.month-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 0;
}

.week-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.week-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.week-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.week-number {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 16px;
}

.week-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.week-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.week-content h4 { margin-bottom: 10px; }

.week-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.week-content ul {
  padding-left: 0;
}

.week-content ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.week-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   §17  FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, var(--primary-darker) 0%, #1A0A12 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-col:first-child p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin-top: 8px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--primary-darker);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   §18  BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
  z-index: 500;
  cursor: pointer;
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   §19  SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
}

.fade-in-up {
  transform: translateY(40px);
}
.fade-in-up.active {
  transform: translateY(0);
}

.fade-in-left {
  transform: translateX(-40px);
}
.fade-in-left.active {
  transform: translateX(0);
}

.fade-in-right {
  transform: translateX(40px);
}
.fade-in-right.active {
  transform: translateX(0);
}

.scale-in {
  transform: scale(0.9);
}
.scale-in.active {
  transform: scale(1);
}

/* Staggered animation helper — add delays via inline style or nth-child */
.reveal[data-delay='100'] { transition-delay: 0.1s; }
.reveal[data-delay='200'] { transition-delay: 0.2s; }
.reveal[data-delay='300'] { transition-delay: 0.3s; }
.reveal[data-delay='400'] { transition-delay: 0.4s; }
.reveal[data-delay='500'] { transition-delay: 0.5s; }
.reveal[data-delay='600'] { transition-delay: 0.6s; }

/* ============================================================
   §20  UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ============================================================
   §21  RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-menu {
    display: none;
  }

  #mobile-menu-btn {
    display: grid;
  }

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


  .dos-donts-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero-stats {
    gap: 32px;
  }

  .daily-timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 60px;
    padding-right: 20px;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
    right: auto;
  }
}

/* ============================================================
   §22  RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
    --radius: 12px;
    --radius-lg: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 100px 16px 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-item .stat-number {
    font-size: 1.6rem;
  }

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

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

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-container {
    padding: 32px 24px;
  }

  .join-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-item::before {
    display: none;
  }

  .step-item {
    max-width: 100%;
  }

  .senior-quotes {
    grid-template-columns: 1fr;
  }

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

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

  .featured-club {
    padding: 32px 24px;
  }

  .featured-club::before {
    top: 12px;
    right: -40px;
    font-size: 0.65rem;
    padding: 4px 36px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .daily-timeline::before {
    left: 16px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 48px;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 7px;
  }

  .hostel-cards {
    grid-template-columns: 1fr;
  }

.contacts-grid {
  grid-template-columns: repeat(2, minmax(230px, 280px));
  justify-content: center;
}

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

  .campus-map {
    min-height: 260px;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .ticker-wrapper {
    margin-top: 66px;
  }

  .ticker-label {
    display: none;
  }

  .ticker-track {
    padding-left: 16px;
  }

  details.faq-item[open] .faq-answer {
    padding: 0 20px 20px;
  }
}

/* ============================================================
   §23  RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: 48px 0;
  }

  body {
    font-size: 15px;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-title::after {
    width: 40px;
    height: 3px;
  }

  .mess-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dos-donts-grid {
    gap: 20px;
  }

  .dos-column,
  .donts-column {
    padding: 24px 20px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-question.active + .faq-answer,
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  details.faq-item[open] .faq-answer {
    padding: 0 20px 20px;
  }

  .quiz-question {
    font-size: 1.05rem;
  }

  .mental-health {
    padding: 28px 20px;
  }

  .footer {
    padding-top: 48px;
  }

  .logo-area .logo-text {
    font-size: 1.05rem;
  }
}

/* ============================================================
   §24  PRINT STYLES
   ============================================================ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  header.header,
  .ticker-wrapper,
  .hero-particles,
  .hero-wave,
  #back-to-top,
  #preloader,
  .mobile-nav,
  .header-actions,
  .social-links,
  .quiz-section,
  .hero-cta {
    display: none !important;
  }

  .hero-section {
    min-height: auto !important;
    padding: 40px 0 !important;
  }

  .section {
    padding: 30px 0 !important;
    page-break-inside: avoid;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555;
  }

  .branch-card,
  .club-card,
  .tool-card,
  .facility-card,
  .week-card,
  .tip-card,
  .quote-card,
  .faq-item,
  .checklist-item {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .branches-grid,
  .clubs-grid,
  .tools-grid,
  .hostel-cards,
  .month-timeline,
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer {
    padding: 20px 0 !important;
  }

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

  img {
    max-width: 100% !important;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
}

/* ============================================================
   §25  SPECIAL EFFECTS & POLISH
   ============================================================ */

/* ── Gradient Text Utility ── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glow Effect for Buttons/Cards ── */
.glow-primary {
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15),
              0 0 40px rgba(var(--primary-rgb), 0.08);
}

.glow-accent {
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2),
              0 0 40px rgba(var(--accent-rgb), 0.1);
}

/* ── Shimmer Loading Effect ── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--bg-section-alt) 25%,
    rgba(var(--primary-rgb), 0.05) 50%,
    var(--bg-section-alt) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease infinite;
}

/* ── Dot Pattern Background ── */
.dot-pattern {
  background-image: radial-gradient(
    rgba(var(--primary-rgb), 0.06) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

/* ── Noise Texture Overlay ── */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Animated Border Gradient ── */
.animated-border {
  position: relative;
  border: none !important;
  padding: 2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light), var(--primary));
  background-size: 300% 300%;
  animation: borderGradient 4s ease infinite;
}

.animated-border > * {
  background: var(--bg-white);
  border-radius: calc(var(--radius) - 2px);
}

@keyframes borderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Counter Number Roll-Up (JS driven, CSS base) ── */
.counter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: all 0.1s ease;
}

/* ── Focus Visible for Accessibility ── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced Motion Preference ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-section {
    animation: none !important;
  }

  .ticker-track {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── High Contrast Mode Support ── */
@media (prefers-contrast: high) {
  :root {
    --primary: #AA2347;
    --border: #666;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .branch-card,
  .club-card,
  .tool-card,
  .facility-card,
  .tip-card,
  .checklist-item,
  .faq-item,
  .quote-card {
    border-width: 2px;
  }
}

/* ── Selection Styling in Dark Mode ── */
[data-theme='dark'] ::selection {
  background: var(--accent);
  color: var(--primary-darker);
}

/* ── Smooth Transition for Theme Switch ── */
[data-theme='dark'] body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

[data-theme='dark'] .hero-section {
  background: linear-gradient(
    135deg,
    #0F0F1A 0%,
    var(--primary-darker) 25%,
    var(--primary-dark) 50%,
    var(--primary-darker) 75%,
    #0F0F1A 100%
  );
  background-size: 400% 400%;
  animation: heroGradient 12s ease infinite;
}

[data-theme='dark'] .ticker-wrapper {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-darker));
}

[data-theme='dark'] .footer {
  background: linear-gradient(135deg, #0A0A14 0%, #0F0F1A 100%);
}

[data-theme='dark'] .mess-table td {
  background: var(--bg-light);
}

[data-theme='dark'] .mess-table tr:nth-child(even) td {
  background: var(--bg-section-alt);
}

/* ============================================================
   §PATCH  MISSING CRITICAL STYLES
   ============================================================ */

/* ── Preloader inner elements ── */
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preloader-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: preloaderSpin 0.9s linear infinite;
}

.preloader-text {
  color: rgba(255,255,255,0.85);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* ── Logo text area ── */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Ticker label ── */
.ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: var(--primary-dark);
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 3;
  white-space: nowrap;
}

/* ── Hamburger menu button ── */
.mobile-menu-btn {
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Body menu-open state ── */
body.menu-open {
  overflow: hidden;
}

body.menu-open header.header {
  z-index: 5100;
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

body.menu-open .header-inner {
  pointer-events: none;
}

body.menu-open #mobile-menu-btn {
  pointer-events: auto;
  position: relative;
  z-index: 5200;
}
/* ── Hero stat cards (used in HTML instead of .stat-item) ── */
.stat-card {
  text-align: center;
  padding: 12px 8px;
}

/* ── Typing text area ── */
.typing-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--accent);
  min-height: 1.5em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 2px;
  animation: cursorBlink 0.8s step-end infinite;
}

/* ── Dark mode toggle icon visibility ── */
.icon-sun { display: none; }
.icon-moon { display: inline; }
[data-theme='dark'] .icon-sun { display: inline; }
[data-theme='dark'] .icon-moon { display: none; }

/* ── Mobile nav links list ── */
.mobile-nav-links {
  width: min(860px, calc(100vw - 36px));
  max-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  overflow-y: auto;
}

/* ── Logo placeholder ── */
/* ── Logo image override: keep logo direct, no card ── */
.logo-placeholder {
  width: 150px !important;
  height: auto !important;
  min-height: auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder::before {
  display: none !important;
  content: none !important;
}

.site-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

header.header.scrolled .logo-placeholder {
  width: 120px !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}




/* ── Content blocks (generic sub-sections) ── */
.content-block {
  margin-bottom: 48px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.block-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  padding-left: 16px;
}

.block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px;
}

/* ── Info card (general purpose info box) ── */
.info-card {
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

[data-theme='dark'] .info-card {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* ── Wellness tips ── */
.wellness-tip {
  padding: 14px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wellness-tip:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.mental-health-tips {
  margin-top: 24px;
}

.mental-health-intro {
  margin-bottom: 16px;
}

/* ── Contact icon & number ── */
.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.contact-number {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 16px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Time management display ── */
.time-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

.time-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.time-hours {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Balance Mode: Time Management + Mental Wellness ── */
.balance-mode-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 56px;
  margin-bottom: 66px;
  padding: clamp(58px, 6.5vw, 96px) clamp(22px, 6vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(170, 35, 71, 0.34), transparent 30rem),
    radial-gradient(circle at 86% 84%, rgba(242, 203, 101, 0.16), transparent 30rem),
    radial-gradient(circle at 50% 48%, rgba(92, 120, 255, 0.10), transparent 28rem),
    linear-gradient(135deg, #040405 0%, #09080d 42%, #120915 100%);
}

.balance-mode-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  pointer-events: none;
}

.balance-mode-section::after {
  content: 'BALANCE';
  position: absolute;
  right: clamp(20px, 6vw, 100px);
  top: clamp(28px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.035);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(5rem, 13vw, 17rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.balance-mode-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.balance-mode-header {
  max-width: 900px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.balance-kicker {
  display: inline-flex;
  width: max-content;
  padding: 9px 20px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 203, 101, 0.12);
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.24);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.balance-mode-header h3 {
  max-width: 980px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 5.3rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.balance-mode-header p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.2vw, 1.14rem);
  line-height: 1.7;
}

.balance-mode-grid {
  display: grid;
  grid-template-columns: minmax(480px, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
}

.balance-card {
  position: relative;
  min-height: 620px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 16%, rgba(242, 203, 101, 0.10), transparent 18rem),
    rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.balance-card::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -130px;
  border-radius: 50%;
  background: rgba(170, 35, 71, 0.24);
  filter: blur(4px);
  pointer-events: none;
}

.balance-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.balance-card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #AA2347;
  font-size: 1.55rem;
  box-shadow: 0 18px 42px rgba(170, 35, 71, 0.28);
}

.balance-card-label {
  display: block;
  margin-bottom: 4px;
  color: #F2CB65;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.balance-card-top h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Time card */
.daily-timeline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
}

.daily-timeline::before {
  content: '';
  position: absolute;
  left: 116px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F2CB65, #AA2347, #7d7dff);
  box-shadow: 0 0 24px rgba(242, 203, 101, 0.30);
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px 32px 1fr;
  gap: 12px;
  align-items: center;
}

.timeline-time {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: right;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  justify-self: center;
  border-radius: 50%;
  background: #F2CB65;
  box-shadow:
    0 0 0 8px rgba(242, 203, 101, 0.08),
    0 0 24px rgba(242, 203, 101, 0.44);
}

.timeline-content {
  padding: 15px 17px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition:
    transform 0.34s ease,
    background 0.34s ease,
    border-color 0.34s ease;
}

.timeline-content:hover {
  transform: translateX(8px);
  background:
    linear-gradient(135deg, rgba(242, 203, 101, 0.15), rgba(255, 255, 255, 0.06));
  border-color: rgba(242, 203, 101, 0.30);
}

.timeline-content h5 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.timeline-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Wellness orbit card */
.wellness-orbit-card {
  background:
    radial-gradient(circle at 72% 20%, rgba(92, 120, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 22% 82%, rgba(242, 203, 101, 0.10), transparent 18rem),
    rgba(255, 255, 255, 0.062);
}

.mind-orbit {
  position: relative;
  z-index: 2;
  min-height: 320px;
  display: grid;
  place-items: center;
  margin: 10px 0 28px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 203, 101, 0.18);
  box-shadow: inset 0 0 36px rgba(242, 203, 101, 0.035);
}

.orbit-ring-one {
  width: 260px;
  height: 260px;
  animation: orbitSpin 22s linear infinite;
}

.orbit-ring-two {
  width: 360px;
  height: 210px;
  transform: rotate(-16deg);
  border-color: rgba(125, 125, 255, 0.20);
  animation: orbitPulse 4s ease-in-out infinite alternate;
}

.mind-core {
  position: relative;
  z-index: 3;
  width: 172px;
  height: 172px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 20%, rgba(242, 203, 101, 0.34), transparent 45%),
    linear-gradient(180deg, #1A1A2E 0%, #2A0B17 100%);
  border: 1px solid rgba(242, 203, 101, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 10px rgba(242, 203, 101, 0.05);
  animation: calmBreath 3.4s ease-in-out infinite alternate;
}

.mind-core span {
  font-size: 2rem;
}

.mind-core strong {
  display: block;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

.mind-core small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
}

.orbit-chip {
  position: absolute;
  z-index: 4;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.chip-one { top: 18px; left: 50%; transform: translateX(-50%); }
.chip-two { top: 96px; right: 34px; }
.chip-three { bottom: 82px; right: 18px; }
.chip-four { bottom: 20px; left: 50%; transform: translateX(-50%); }
.chip-five { bottom: 82px; left: 18px; }
.chip-six { top: 96px; left: 34px; }

.wellness-rule-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wellness-rule {
  padding: 17px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.wellness-rule h5 {
  margin-bottom: 5px;
  color: #F2CB65;
  font-size: 0.9rem;
  font-weight: 900;
}

.wellness-rule p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.45;
}

.balance-bottom-strip {
  margin: 28px auto 0;
  width: min(760px, 100%);
  padding: 16px 24px;
  text-align: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(242, 203, 101, 0.15);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.balance-bottom-strip span {
  display: block;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.balance-bottom-strip p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

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

@keyframes orbitPulse {
  from {
    opacity: 0.45;
    transform: rotate(-16deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: rotate(-16deg) scale(1.04);
  }
}

@keyframes calmBreath {
  from { transform: scale(0.98); }
  to { transform: scale(1.035); }
}

@media (max-width: 1050px) {
  .balance-mode-grid {
    grid-template-columns: 1fr;
  }

  .balance-card {
    min-height: auto;
  }

  .mind-orbit {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .balance-mode-section {
    padding: 58px 18px;
  }

  .balance-mode-header h3 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .timeline-row {
    grid-template-columns: 72px 24px 1fr;
    gap: 8px;
  }

  .daily-timeline::before {
    left: 88px;
  }

  .timeline-time {
    font-size: 0.68rem;
  }

  .wellness-rule-grid {
    grid-template-columns: 1fr;
  }

  .mind-orbit {
    min-height: 280px;
    transform: scale(0.92);
  }

  .balance-bottom-strip {
    border-radius: 26px;
  }
}

/* ── Attendance Command Center: Compact Elite Design ── */
.attendance-command-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 38px;
  margin-bottom: 44px;
  padding: clamp(34px, 3.8vw, 54px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(170, 35, 71, 0.13), transparent 22rem),
    radial-gradient(circle at 90% 84%, rgba(242, 203, 101, 0.18), transparent 22rem),
    linear-gradient(135deg, #fffaf6 0%, #ffffff 48%, #fdf0f3 100%);
}

.attendance-command-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(170, 35, 71, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 35, 71, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  pointer-events: none;
}

.attendance-command-section::after {
  content: '75%';
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  top: 12px;
  color: rgba(170, 35, 71, 0.04);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(5rem, 12vw, 13rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.attendance-command-inner {
  position: relative;
  z-index: 2;
  width: min(1420px, 100%);
  margin: 0 auto;
}

.attendance-command-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.55fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.attendance-command-kicker {
  display: inline-flex;
  width: max-content;
  padding: 7px 16px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.15);
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.attendance-command-header h3 {
  max-width: 850px;
  margin: 0;
  color: #171729;
  font-size: clamp(1.8rem, 3.5vw, 3.45rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.attendance-command-header p {
  margin: 0;
  color: #5e5e6d;
  font-size: 0.95rem;
  line-height: 1.55;
}

.attendance-compact-shell {
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(560px, 1.05fr);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: stretch;
}

.attendance-input-panel,
.attendance-dashboard-panel {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(170, 35, 71, 0.11);
  box-shadow:
    0 20px 58px rgba(90, 17, 40, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.attendance-input-panel::before,
.attendance-dashboard-panel::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: rgba(242, 203, 101, 0.18);
  pointer-events: none;
}

.attendance-panel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.attendance-panel-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #AA2347;
  color: #F2CB65;
  font-size: 1.15rem;
  box-shadow: 0 13px 30px rgba(170, 35, 71, 0.20);
}

.attendance-panel-top span:not(.attendance-panel-icon) {
  display: block;
  margin-bottom: 3px;
  color: #AA2347;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.attendance-panel-top h4 {
  margin: 0;
  color: #1A1A2E;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.attendance-form-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.attendance-field-card {
  padding: 12px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(170, 35, 71, 0.10);
  box-shadow: 0 9px 24px rgba(90, 17, 40, 0.05);
}

.attendance-field-card label {
  display: block;
  margin-bottom: 6px;
  color: #5A1128;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.attendance-field-card input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(170, 35, 71, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #1A1A2E;
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.attendance-field-card input:focus {
  border-color: rgba(170, 35, 71, 0.42);
  box-shadow: 0 0 0 4px rgba(170, 35, 71, 0.08);
  transform: translateY(-1px);
}

.attendance-calc-btn {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #AA2347;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(170, 35, 71, 0.20);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.attendance-calc-btn span {
  color: #F2CB65;
  font-size: 1.05rem;
}

.attendance-calc-btn:hover {
  transform: translateY(-2px);
  background: #8A1B39;
  box-shadow: 0 20px 44px rgba(170, 35, 71, 0.27);
}

.attendance-dashboard-panel {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(242, 203, 101, 0.14), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(253, 240, 243, 0.78));
}

.attendance-meter-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.attendance-ring {
  --attendance-progress: 0deg;
  --attendance-color: #AA2347;
  width: 158px;
  height: 158px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--attendance-color) var(--attendance-progress), rgba(170, 35, 71, 0.10) 0deg);
  box-shadow:
    0 18px 42px rgba(90, 17, 40, 0.13),
    0 0 0 7px rgba(255, 255, 255, 0.72);
}

.attendance-ring-core {
  width: 114px;
  height: 114px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 18%, rgba(242, 203, 101, 0.20), transparent 50%),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(170, 35, 71, 0.08);
}

.attendance-ring-core span {
  color: #1A1A2E;
  font-family: 'Poppins', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.attendance-ring-core small {
  display: block;
  max-width: 90px;
  color: #777786;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.attendance-result-area {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 11px;
}

.attendance-status-badge {
  width: max-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(170, 35, 71, 0.08);
  color: #AA2347;
  border: 1px solid rgba(170, 35, 71, 0.14);
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.attendance-result {
  padding: 13px 15px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(170, 35, 71, 0.10);
  box-shadow: 0 10px 28px rgba(90, 17, 40, 0.055);
}

.attendance-result h4 {
  margin-bottom: 5px;
  color: #1A1A2E;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.attendance-result p {
  margin: 0;
  color: #555564;
  font-size: 0.82rem;
  line-height: 1.45;
}

.attendance-result .attendance-action {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(170, 35, 71, 0.10);
  color: #5A1128;
  font-weight: 850;
}

.attendance-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.attendance-mini-stats div {
  padding: 9px;
  border-radius: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(170, 35, 71, 0.10);
}

.attendance-mini-stats span {
  display: block;
  color: #AA2347;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.attendance-mini-stats small {
  display: block;
  margin-top: 5px;
  color: #777786;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.attendance-rule-strip {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.10), rgba(242, 203, 101, 0.14), rgba(239, 68, 68, 0.10));
  border: 1px solid rgba(242, 203, 101, 0.22);
}

.attendance-rule-strip span {
  color: #AA2347;
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.attendance-rule-strip p {
  margin: 0;
  color: #555564;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Status colors controlled by JS */
.attendance-dashboard-panel.attendance-safe .attendance-status-badge {
  color: #16834B;
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.22);
}

.attendance-dashboard-panel.attendance-safe .attendance-ring {
  --attendance-color: #22c55e;
}

.attendance-dashboard-panel.attendance-borderline .attendance-status-badge {
  color: #9a6b00;
  background: rgba(242, 203, 101, 0.18);
  border-color: rgba(242, 203, 101, 0.36);
}

.attendance-dashboard-panel.attendance-borderline .attendance-ring {
  --attendance-color: #F2CB65;
}

.attendance-dashboard-panel.attendance-danger .attendance-status-badge {
  color: #AA2347;
  background: rgba(170, 35, 71, 0.10);
  border-color: rgba(170, 35, 71, 0.24);
}

.attendance-dashboard-panel.attendance-danger .attendance-ring {
  --attendance-color: #AA2347;
}

.attendance-dashboard-panel.attendance-error-state .attendance-status-badge {
  color: #AA2347;
  background: rgba(170, 35, 71, 0.10);
}

@media (max-width: 1050px) {
  .attendance-command-header,
  .attendance-compact-shell {
    grid-template-columns: 1fr;
  }

  .attendance-input-panel,
  .attendance-dashboard-panel {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .attendance-command-section {
    padding: 38px 16px;
  }

  .attendance-command-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .attendance-command-header h3 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }

  .attendance-command-header p {
    font-size: 0.86rem;
  }

  .attendance-input-panel,
  .attendance-dashboard-panel {
    padding: 16px;
    border-radius: 24px;
  }

  .attendance-form-grid,
  .attendance-dashboard-panel {
    grid-template-columns: 1fr;
  }

  .attendance-ring {
    width: 150px;
    height: 150px;
  }

  .attendance-ring-core {
    width: 108px;
    height: 108px;
  }

  .attendance-mini-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .attendance-rule-strip {
    align-items: flex-start;
    border-radius: 20px;
    text-align: left;
  }
}


/* ── Quiz result styles ── */
.quiz-result-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.quiz-result-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.quiz-result-card {
  background: var(--glass-bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.quiz-result-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.quiz-result-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.quiz-retake-btn {
  display: block;
  margin: 0 auto;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.quiz-retake-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── Fix Club Quiz Result Card Colors ── */
.club-quiz-card .quiz-result {
  margin-top: 18px;
  padding: 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(170, 35, 71, 0.24), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(242, 203, 101, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.club-quiz-card .quiz-result-title {
  text-align: center;
  margin-bottom: 22px;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.club-quiz-card .quiz-result-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.club-quiz-card .quiz-result-card {
  position: relative;
  overflow: hidden;
  min-height: 175px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 203, 101, 0.12), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(242, 203, 101, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 46px rgba(0, 0, 0, 0.22);
}

.club-quiz-card .quiz-result-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(170, 35, 71, 0.20), transparent 58%);
  pointer-events: none;
}

.club-quiz-card .quiz-result-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #AA2347;
  color: #F2CB65;
  font-size: 1.55rem;
  box-shadow: 0 14px 30px rgba(170, 35, 71, 0.28);
}

.club-quiz-card .quiz-result-card h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: #F2CB65;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1.16;
}

.club-quiz-card .quiz-result-card p {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.45;
}

.club-quiz-card .quiz-retake-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 0;
  padding: 13px 34px;
  border-radius: 999px;
  background: #AA2347;
  color: #F2CB65;
  border: 1px solid rgba(242, 203, 101, 0.24);
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(170, 35, 71, 0.28);
}

.club-quiz-card .quiz-retake-btn:hover {
  transform: translateY(-3px);
  background: #F2CB65;
  color: #5A1128;
}

@media (max-width: 720px) {
  .club-quiz-card .quiz-result-cards {
    grid-template-columns: 1fr;
  }

  .club-quiz-card .quiz-result-card {
    min-height: auto;
  }
}


@media (max-width: 900px) {
  header.header {
    top: 14px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }

  header.header.scrolled {
    top: 10px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  .header-inner {
    padding: 12px 14px;
    grid-template-columns: auto auto;
  }

  .nav-menu {
    display: none;
  }

  .header-pill-link {
    display: none;
  }

  .header-icon-btn,
  #mobile-menu-btn {
    width: 46px;
    height: 46px;
  }

  header.header.scrolled #mobile-menu-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 46px;
    margin-left: 0;
    transform: none;
  }

  .logo-title {
    font-size: 0.98rem;
    color: #F8C950;
  }

  .logo-subtitle {
    font-size: 0.58rem;
    color: #F8C950;
  }

  .mobile-nav {
    inset: 0;
    padding: 108px 16px 28px;
    border-radius: 0;
  }

  .mobile-nav-links {
    width: min(520px, calc(100vw - 28px));
    max-height: calc(100vh - 150px);
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .header-icon-btn {
    display: none;
  }

  .logo-placeholder {
    width: 105px !important;
    height: auto !important;
  }

  .logo-title {
    font-size: 0.9rem;
    color: #F8C950;
  }

  .logo-subtitle {
    display: none;
  }
}

/* ============================================================
   END OF STYLESHEET — Campus Compass
   ============================================================ */

