@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --color-start: #000000;
  --color-end: #000000;
  --canvas-height: 2500px;
  --bg-app: #000000;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-glow: rgba(56, 189, 248, 0.2);
  --accent-purple: #c084fc;
  --accent-emerald: #34d399;
  --accent-orange: #f25022;
  --accent-orange-glow: rgba(242, 80, 34, 0.2);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(56, 189, 248, 0.4);
  --glass-card: rgba(22, 22, 22, 0.65);
  --glass-blur: blur(16px);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Global Lenis Smooth Scroll Integration */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000 !important;
  background-color: #000000 !important;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  line-height: 1.5;
}

/* ========================================================= */
/* CANVAS VIEWPORT & LAYOUT                                  */
/* ========================================================= */
.canvas-viewport {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  background: transparent;
}

.canvas-container {
  width: 100%;
  min-height: var(--canvas-height);
  position: relative;
  overflow: hidden;
  background: #000000 !important;
  box-shadow: none !important;
}

/* Background HTML5 canvas */
#gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* Grid overlay */
.grid-overlay {
  display: none !important;
}

/* Height ruler */
.height-ruler {
  display: none !important;
}

.ruler-marker {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.ruler-line {
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.ruler-marker.key-marker {
  color: var(--accent);
  font-weight: 500;
}

.ruler-marker.key-marker .ruler-line {
  width: 20px;
  background: var(--accent);
}

/* Site Content Container */
.site-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Screen Section (100vh / 100dvh full area of screen) */
.screen-section {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

/* ========================================================= */
/* SECTION 1: HERO (Raw B/W "MLSC" - No Description, No Tab) */
/* ========================================================= */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  overflow: hidden;
  border-bottom: none;
  box-sizing: border-box;
}

/* Animated WebP Mascot in Hero Section */
.hero-mascot-webp {
  position: absolute;
  top: clamp(18px, 3vh, 34px);
  right: clamp(0px, 1.5vw, 24px);
  width: clamp(200px, 18vw, 318px);
  max-height: 48vh;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

.hero-mascot-webp.hero-mascot-delayed {
  visibility: hidden;
  opacity: 0;
}

.hero-raw-title {
  font-size: clamp(3.5rem, min(24vw, 24vh), 18rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
  line-height: 0.9;
  text-align: center;
  user-select: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/* MLSC Letter Brand Solid Colors (Matched to Microsoft Learn Chapter banner) */
.letter-m {
  color: #f25022;
  /* Microsoft Orange / Red */
}

.letter-l {
  color: #7fba00;
  /* Microsoft Green */
}

.letter-s {
  color: #ffb900;
  /* Microsoft Yellow / Amber */
}

.letter-c {
  color: #00a4ef;
  /* Microsoft Blue */
}

/* ========================================================= */
/* SECTION 2: ABOUT US SECTION                               */
/* ========================================================= */
.about-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vh, 26px) 24px clamp(26px, 3.6vh, 40px);
  box-sizing: border-box;
  border-bottom: none;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 164, 239, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(127, 186, 0, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(242, 80, 34, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(255, 185, 0, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 60%);
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 88vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 164, 239, 0.4) 25%,
    rgba(127, 186, 0, 0.4) 50%,
    rgba(255, 185, 0, 0.4) 75%,
    rgba(242, 80, 34, 0.4) 90%,
    transparent 100%
  );
  pointer-events: none;
}

.about-container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vh, 26px);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.about-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(4px, 0.8vh, 8px);
}

.about-brand-indicator {
  display: none !important;
}

.about-title {
  font-size: clamp(2rem, min(4.5vw, 4.5vh), 3.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffffff 30%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Greyish rectangular box with glassmorphism (generous, compact, and balanced) */
.about-glass-box {
  width: 100%;
  min-height: clamp(390px, 52vh, 490px);
  max-height: clamp(430px, 60vh, 530px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(18, 19, 23, 0.72) 100%
  );
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: clamp(18px, 2.2vw, 26px);
  box-shadow:
    0 24px 60px -16px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  gap: clamp(10px, 1.4vh, 16px);
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* FluidGlass 3D canvas container — fills the about-glass-box */
#fluid-glass-root {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: auto;
  background: transparent;
}

#fluid-glass-root canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

.about-content-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-text {
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.48;
  color: #ffffff;
  max-width: 780px;
  margin: 0;
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.about-p1 {
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.48;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.about-p2 {
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #e5e7eb;
  margin: 0;
  font-weight: 400;
}

.event-accent.blue {
  color: #00a4ef;
  font-weight: 600;
}

.event-accent.orange {
  color: #f25022;
  font-weight: 600;
}

.event-accent.green {
  color: #7fba00;
  font-weight: 600;
}

.about-quote {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.32;
  color: #ffb900;
  font-style: italic;
  font-weight: 600;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}

.about-highlight {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.32;
  color: #38bdf8;
  font-weight: 600;
  max-width: 780px;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* When 3D FluidGlass mounts successfully, visually hide static HTML text to prevent duplication,
   while preserving full accessibility and SEO */
.about-glass-box.has-fluid-glass .about-content-fallback,
.about-glass-box.has-fluid-glass .about-text,
.about-glass-box.has-fluid-glass .about-highlight {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: normal;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* ========================================================= */
/* SECTION: PROUD MOMENTS                                    */
/* ========================================================= */
.proud-moments-section {
  width: 100%;
  position: relative;
  padding: clamp(28px, 3.8vh, 48px) 24px clamp(18px, 2.4vh, 28px);
  box-sizing: border-box;
}

.proud-container,
.programs-container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.6vh, 38px);
}

.section-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: clamp(6px, 1vh, 14px);
}

.section-brand-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  line-height: 1.28;
  padding-bottom: 6px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subheading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: #94a3b8;
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

.proud-moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.proud-card {
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(18, 20, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.proud-card:hover {
  transform: translateY(-4px);
}

.proud-card.proud-gold:hover {
  border-color: rgba(255, 185, 0, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 185, 0, 0.15);
}

.proud-card.proud-blue:hover {
  border-color: rgba(0, 164, 239, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 164, 239, 0.15);
}

.proud-card.proud-green:hover {
  border-color: rgba(127, 186, 0, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(127, 186, 0, 0.15);
}

.proud-image-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.proud-card-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.proud-card:hover .proud-card-img {
  transform: scale(1.04);
}

.proud-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 4px 4px;
}

.proud-accolade {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  background: none;
  border: none;
  padding: 0;
}

.proud-gold .proud-accolade {
  color: #ffb900;
}

.proud-blue .proud-accolade {
  color: #38bdf8;
}

.proud-green .proud-accolade {
  color: #7fba00;
}

.proud-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 0;
  line-height: 1.3;
}

.proud-card-members {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 2px 0 0;
  line-height: 1.45;
}

.proud-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.programs-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(14px, 2vh, 24px);
  position: relative;
  z-index: 5;
  width: 100%;
}

.proud-view-all-btn,
.programs-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.proud-view-all-btn:hover,
.programs-view-all-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.proud-view-all-btn svg,
.programs-view-all-btn svg {
  transition: transform 0.25s ease;
}

.proud-view-all-btn:hover svg,
.programs-view-all-btn:hover svg {
  transform: translateX(4px);
}

/* ========================================================= */
/* SECTION: PROGRAMS & INITIATIVES                           */
/* ========================================================= */
.programs-section {
  width: 100%;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(32px, 4vh, 48px) 24px clamp(40px, 5vh, 60px);
  box-sizing: border-box;
  overflow: visible;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: 100%;
}

.program-card {
  border-radius: 20px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: rgba(18, 20, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-3px);
}

/* MLSC 4-Color Theming for Programs Content */
/* 1. Blue (#00a4ef) */
.program-card.program-blue {
  border-top: 2px solid #00a4ef;
}
.program-card.program-blue:hover {
  border-color: rgba(0, 164, 239, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 164, 239, 0.15);
}
.program-card.program-blue .program-index {
  color: #00a4ef;
}
.program-card.program-blue .program-label {
  color: #38bdf8;
}
.program-card.program-blue .program-card-title {
  color: #38bdf8;
}
.program-card.program-blue .program-explore-link {
  color: #00a4ef;
}

/* 2. Green (#7fba00) */
.program-card.program-green {
  border-top: 2px solid #7fba00;
}
.program-card.program-green:hover {
  border-color: rgba(127, 186, 0, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(127, 186, 0, 0.15);
}
.program-card.program-green .program-index {
  color: #7fba00;
}
.program-card.program-green .program-label {
  color: #a3e635;
}
.program-card.program-green .program-card-title {
  color: #a3e635;
}
.program-card.program-green .program-explore-link {
  color: #7fba00;
}

/* 3. Yellow (#ffb900) */
.program-card.program-yellow {
  border-top: 2px solid #ffb900;
}
.program-card.program-yellow:hover {
  border-color: rgba(255, 185, 0, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 185, 0, 0.15);
}
.program-card.program-yellow .program-index {
  color: #ffb900;
}
.program-card.program-yellow .program-label {
  color: #facc15;
}
.program-card.program-yellow .program-card-title {
  color: #ffb900;
}
.program-card.program-yellow .program-explore-link {
  color: #ffb900;
}

/* 4. Red/Orange (#f25022) */
.program-card.program-red {
  border-top: 2px solid #f25022;
}
.program-card.program-red:hover {
  border-color: rgba(242, 80, 34, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(242, 80, 34, 0.15);
}
.program-card.program-red .program-index {
  color: #f25022;
}
.program-card.program-red .program-label {
  color: #fb7185;
}
.program-card.program-red .program-card-title {
  color: #f25022;
}
.program-card.program-red .program-explore-link {
  color: #f25022;
}

.program-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.program-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}

.program-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.program-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.program-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.program-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.program-card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.program-card-footer {
  display: flex;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.program-explore-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.program-explore-link .arrow {
  transition: transform 0.2s ease;
}

.program-card:hover .program-explore-link {
  filter: brightness(1.2);
}

.program-card:hover .program-explore-link .arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .proud-moments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ========================================================= */
/* ========================================================= */
/* SECTION 3: EXPLORE SECTION (Native Window ScrollStack)    */
/* ========================================================= */
.explore-section {
  width: 100%;
  position: relative;
  padding: clamp(24px, 3.2vh, 38px) 24px clamp(14px, 2vh, 24px);
  border-bottom: none;
  box-sizing: border-box;
}

.explore-container {
  width: min(1080px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.4vh, 36px);
}

.explore-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(6px, 1vh, 12px);
  opacity: 1 !important;
  transform: none !important;
}

.compact-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.compact-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 2px;
  opacity: 1 !important;
  transform: none !important;
}


/* ========================================================= */
/* REACT BITS: SCROLLSTACK NATIVE WINDOW COMPONENT CSS       */
/* ========================================================= */
.scroll-stack-inner {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 0;
  box-sizing: border-box;
}

.scroll-stack-card {
  transform-origin: top center;
  will-change: transform, filter;
  backface-visibility: hidden;
  height: clamp(15.5rem, 25vh, 19.5rem);
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(1.6rem, 2.8vw, 2.8rem);
  border-radius: clamp(20px, 2.5vw, 32px);
  box-sizing: border-box;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle corner ambient light overlay for premium solid depth */
.scroll-stack-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22) 0%, transparent 60%),
              radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.18) 0%, transparent 65%);
  z-index: 0;
}

/* Background watermark typography to make the cards look rich and full */
.scroll-stack-card::before {
  position: absolute;
  right: 6%;
  bottom: -15%;
  font-size: clamp(8rem, 14vw, 15rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.06em;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  z-index: 0;
}

.scroll-stack-card:hover::before {
  transform: translateX(-12px) scale(1.05);
}

.scroll-stack-card.card-1::before {
  content: "01";
  color: rgba(255, 255, 255, 0.14);
}

.scroll-stack-card.card-2::before {
  content: "02";
  color: rgba(255, 255, 255, 0.14);
}

.scroll-stack-card.card-3::before {
  content: "03";
  color: rgba(255, 255, 255, 0.16);
}

.scroll-stack-card.card-4::before {
  content: "04";
  color: rgba(17, 24, 39, 0.08);
}

.scroll-stack-card.card-5::before {
  content: "05";
  color: rgba(255, 255, 255, 0.14);
}

.scroll-stack-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ========================================================= */
/* MLSC SOLID BRAND COLOR CARDS                              */
/* ========================================================= */
/* Card 1: Microsoft Orange-Red */
.scroll-stack-card.card-1 {
  background-color: #f25022;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px -10px rgba(242, 80, 34, 0.48),
              0 8px 24px rgba(0, 0, 0, 0.6),
              inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
}

.scroll-stack-card.card-1:hover {
  box-shadow: 0 32px 64px -10px rgba(242, 80, 34, 0.58),
              0 12px 30px rgba(0, 0, 0, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

/* Card 2: Microsoft Blue */
.scroll-stack-card.card-2 {
  background-color: #00a4ef;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px -10px rgba(0, 164, 239, 0.48),
              0 8px 24px rgba(0, 0, 0, 0.6),
              inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
}

.scroll-stack-card.card-2:hover {
  box-shadow: 0 32px 64px -10px rgba(0, 164, 239, 0.58),
              0 12px 30px rgba(0, 0, 0, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

/* Card 3: Microsoft Green */
.scroll-stack-card.card-3 {
  background-color: #7fba00;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px -10px rgba(127, 186, 0, 0.48),
              0 8px 24px rgba(0, 0, 0, 0.6),
              inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
}

.scroll-stack-card.card-3:hover {
  box-shadow: 0 32px 64px -10px rgba(127, 186, 0, 0.58),
              0 12px 30px rgba(0, 0, 0, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

/* Card 4: Microsoft Yellow */
.scroll-stack-card.card-4 {
  background-color: #ffb900;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 50px -10px rgba(255, 185, 0, 0.48),
              0 8px 24px rgba(0, 0, 0, 0.6),
              inset 0 1.5px 0 rgba(255, 255, 255, 0.55);
}

.scroll-stack-card.card-4:hover {
  box-shadow: 0 32px 64px -10px rgba(255, 185, 0, 0.6),
              0 12px 30px rgba(0, 0, 0, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.65);
}

/* Card 5: Microsoft Purple */
.scroll-stack-card.card-5 {
  background-color: #5c2d91;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px -10px rgba(92, 45, 145, 0.5),
              0 8px 24px rgba(0, 0, 0, 0.6),
              inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
}

.scroll-stack-card.card-5:hover {
  box-shadow: 0 32px 64px -10px rgba(92, 45, 145, 0.6),
              0 12px 30px rgba(0, 0, 0, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

.scroll-stack-card h2 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-stack-card p {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
  font-weight: 500;
}

/* Card 4 white typography matching other cards */
.scroll-stack-card.card-4 h2 {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.scroll-stack-card.card-4 p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Interactive Arrow Button */
.scroll-stack-arrow {
  width: clamp(52px, 5.8vw, 62px);
  height: clamp(52px, 5.8vw, 62px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.scroll-stack-card.card-4 .scroll-stack-arrow {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.scroll-stack-arrow svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-stack-card:hover .scroll-stack-arrow,
.scroll-stack-arrow:hover {
  background: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 14px 32px -4px rgba(0, 0, 0, 0.45);
}

.scroll-stack-card.card-1:hover .scroll-stack-arrow { color: #f25022; }
.scroll-stack-card.card-2:hover .scroll-stack-arrow { color: #00a4ef; }
.scroll-stack-card.card-3:hover .scroll-stack-arrow { color: #7fba00; }
.scroll-stack-card.card-4:hover .scroll-stack-arrow { 
  background: #ffffff;
  color: #d97706; 
}
.scroll-stack-card.card-5:hover .scroll-stack-arrow { color: #5c2d91; }

.scroll-stack-card:hover .scroll-stack-arrow svg,
.scroll-stack-arrow:hover svg {
  transform: translateX(4px);
}

.scroll-stack-arrow:active {
  transform: scale(0.95);
}

/* Seamless exit spacer into Contact section to ensure clean separation without excessive gap */
.scroll-stack-end {
  width: 100%;
  height: clamp(75px, 11vh, 110px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .explore-section {
    padding: 60px 16px 40px;
  }

  .scroll-stack-card {
    height: auto;
    min-height: 16rem;
    padding: 2rem 1.5rem;
    border-radius: 22px;
    gap: 16px;
  }

  .scroll-stack-arrow {
    width: 46px;
    height: 46px;
  }

  .scroll-stack-end {
    height: 180px;
  }
}

/* ========================================================= */
/* SECTION 4: SITE FOOTER (~220px PROPORTIONAL)              */
/* ========================================================= */
.site-footer {
  width: 100%;
  min-height: auto;
  border-top: 1px solid var(--border-glass);
  border-bottom: none !important;
  background: #000000 !important;
  display: flex;
  align-items: center;
  padding: 24px 24px 16px;
  position: relative;
  z-index: 10;
}

.footer-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-header {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.25s ease;
  width: fit-content;
}

.footer-brand-header:hover {
  opacity: 0.95;
  transform: none;
}

.mlsc-logo-icon {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.mlsc-sq {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.footer-brand-header:hover .mlsc-sq-orange {
  filter: drop-shadow(0 0 8px rgba(242, 80, 34, 0.6));
}

.footer-brand-header:hover .mlsc-sq-green {
  filter: drop-shadow(0 0 8px rgba(127, 186, 0, 0.6));
}

.footer-brand-header:hover .mlsc-sq-blue {
  filter: drop-shadow(0 0 8px rgba(0, 164, 239, 0.6));
}

.footer-brand-header:hover .mlsc-sq-yellow {
  filter: drop-shadow(0 0 8px rgba(255, 185, 0, 0.6));
}

.footer-brand-title {
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.25;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.footer-links-group {
  display: flex;
  gap: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-col a:hover {
  color: #ffffff;
  transform: none;
}

.footer-social-link .footer-social-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-social-link:hover .footer-social-icon {
  opacity: 1;
  transform: none;
}

.footer-social-link[aria-label*="LinkedIn"]:hover {
  color: #38bdf8;
}

.footer-social-link[aria-label*="Instagram"]:hover {
  color: #f472b6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
}

/* ========================================================= */
/* RESPONSIVE BREAKPOINTS                                    */
/* ========================================================= */
@media (max-width: 960px) {
  .explore-card-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compact-section {
    min-height: auto;
    padding: 48px 24px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links-group {
    gap: 32px;
  }
}

/* ========================================================= */
/* FLOATING GLASSMORPHISM NAVBAR (2nd Viewport & Onwards)    */
/* ========================================================= */
.glass-navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -24px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: auto;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}

.glass-navbar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.glass-navbar.navbar-fixed {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: none;
}

.glass-nav-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 6px 10px 6px 18px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 24px rgba(56, 189, 248, 0.08);
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-nav-container:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 44px -10px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 28px rgba(56, 189, 248, 0.12);
}

.glass-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
  transition: opacity 0.2s ease;
}

.glass-nav-brand:hover {
  opacity: 0.85;
}

.nav-logo-icon {
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.glass-nav-brand:hover .mlsc-sq-orange {
  filter: drop-shadow(0 0 6px rgba(242, 80, 34, 0.7));
}

.glass-nav-brand:hover .mlsc-sq-green {
  filter: drop-shadow(0 0 6px rgba(127, 186, 0, 0.7));
}

.glass-nav-brand:hover .mlsc-sq-blue {
  filter: drop-shadow(0 0 6px rgba(0, 164, 239, 0.7));
}

.glass-nav-brand:hover .mlsc-sq-yellow {
  filter: drop-shadow(0 0 6px rgba(255, 185, 0, 0.7));
}

.nav-brand-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.glass-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.glass-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.005em;
}

.glass-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.glass-nav-link:active {
  transform: scale(0.96);
}

.glass-nav-link.active {
  color: #ffffff;
  background: transparent;
  font-weight: 600;
  position: relative;
  z-index: 2;
  box-shadow: none;
}

.glass-nav-link.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 1.5px;
  background: linear-gradient(90deg, #FF5A36 0%, #FFD43B 33%, #A8E63D 66%, #00B7FF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.glass-nav-link.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FF5A36 0%, #FFD43B 33%, #A8E63D 66%, #00B7FF 100%);
  filter: blur(6px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

/* Brie Mascot Styling */
.brie-nav-mascot {
  position: absolute;
  top: 0;
  left: 0;
  height: 52px;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1005;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
  will-change: transform, opacity;
}

.brie-nav-mascot img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

/* Responsive adjustment for tablet and mobile */
@media (max-width: 680px) {
  .glass-navbar {
    top: 14px;
    max-width: calc(100vw - 20px);
  }

  .glass-nav-container {
    padding: 5px 8px 5px 12px;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .glass-nav-container::-webkit-scrollbar {
    display: none;
  }

  .glass-nav-brand {
    padding-right: 8px;
  }

  .nav-brand-text {
    font-size: 0.95rem;
  }

  .glass-nav-link {
    font-size: 0.82rem;
    padding: 6px 12px;
  }
}

/* ========================================================= */
/* ACHIEVEMENTS PAGE: 4-SECTION BACKGROUND & LAYOUT STRUCTURE */
/* ========================================================= */
.achievements-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(32px, 5vh, 64px) 24px;
  border-bottom: none;
  box-sizing: border-box;
}

.achievements-container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.event-glow {
  position: absolute;
  top: -10rem;
  left: 50%;
  height: clamp(24rem, 36vw, 32rem);
  width: clamp(24rem, 36vw, 32rem);
  transform: translateX(-50%);
  border-radius: 9999px;
  filter: blur(72px);
  -webkit-filter: blur(72px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.achievements-section.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 14vh, 130px) 24px clamp(40px, 6vh, 60px);
  text-align: center;
}

.achievements-section.hero-section .hero-container {
  position: relative;
  z-index: 2;
  gap: clamp(14px, 2.2vh, 22px);
  max-width: 900px;
}


.achievements-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
  color: #ffffff;
  margin: 0;
  max-width: 860px;
}

.achievements-gradient-text {
  color: #f25022;
  /* MLSC Orange */
  display: inline-block;
  text-shadow: 0 0 28px rgba(242, 80, 34, 0.35);
}

.achievements-hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 660px;
  margin: 0;
  opacity: 0.92;
}

@media (max-width: 768px) {
  .achievements-section {
    padding: clamp(24px, 4vh, 48px) 16px;
  }

  .achievements-section.hero-section {
    padding: clamp(80px, 12vh, 100px) 18px clamp(36px, 5vh, 48px);
  }
}

/* ========================================================= */
/* ACHIEVEMENTS: OUR JOURNEY SCROLL-DRIVEN TIMELINE          */
/* ========================================================= */
.journey-section {
  width: 100%;
  height: 280vh;
  /* Pinned vertical scroll envelope */
  min-height: 280vh;
  position: relative;
  padding: 0;
  border-bottom: none;
  box-sizing: border-box;
  display: block;
}

.journey-sticky-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(70px, 10vh, 90px) 24px clamp(30px, 5vh, 50px);
  box-sizing: border-box;
}

.journey-content-wrap {
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4.5vh, 48px);
  position: relative;
  box-sizing: border-box;
}

.journey-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  max-width: 700px;
  margin: 0 auto;
}


.journey-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.journey-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Timeline Wrapper & Track */
.journey-timeline-wrapper {
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.journey-timeline-track {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Single Blue Timeline Line (Desktop) */
.journey-line-base {
  position: absolute;
  top: 100px;
  /* Centered with milestone-dot-anchor */
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: rgba(0, 164, 239, 0.25);
  /* Muted MLSC Blue base */
  border-radius: 9999px;
  transform: translateY(-50%);
  z-index: 1;
}

.journey-line-progress {
  position: absolute;
  top: 100px;
  /* Same vertical center */
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: #00a4ef;
  /* Pure MLSC Blue light */
  border-radius: 9999px;
  transform-origin: left center;
  transform: translateY(-50%) scaleX(0);
  box-shadow: 0 0 14px #00a4ef, 0 0 28px rgba(0, 164, 239, 0.7);
  z-index: 2;
  will-change: transform;
}

/* Milestones Row (4 columns) */
.journey-milestones {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

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

/* 1. Year Above Timeline */
.milestone-year-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80px;
  justify-content: flex-end;
  position: relative;
}

.milestone-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #00a4ef;
  /* MLSC Blue */
  letter-spacing: -0.01em;
  opacity: 0.45;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    text-shadow 0.35s ease;
  user-select: none;
}

/* Active Year Lifts Up */
.journey-milestone-item.is-active .milestone-year {
  opacity: 1;
  transform: translateY(-10px);
  /* Smooth upward lift */
  text-shadow: 0 0 18px rgba(0, 164, 239, 0.65), 0 0 35px rgba(0, 164, 239, 0.35);
}

/* Subtle Stem connecting Year down to Dot */
.milestone-stem.stem-top {
  width: 1.5px;
  height: 16px;
  background: rgba(0, 164, 239, 0.3);
  margin-top: 6px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.journey-milestone-item.is-active .milestone-stem.stem-top {
  background: #00a4ef;
  box-shadow: 0 0 8px rgba(0, 164, 239, 0.7);
}

/* 2. Dot Directly ON the Timeline */
.milestone-dot-anchor {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.milestone-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000000;
  border: 2.5px solid rgba(0, 164, 239, 0.45);
  /* Base blue border */
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* Active Dot Illuminates in Bright Blue */
.journey-milestone-item.is-active .milestone-dot {
  background: #ffffff;
  border: 3px solid #00a4ef;
  /* Bright MLSC Blue */
  box-shadow: 0 0 16px #00a4ef, 0 0 30px rgba(0, 164, 239, 0.85);
  transform: scale(1.2);
}

/* 3. Description Below Timeline (No Card / No Box) */
.milestone-desc-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
  max-width: 250px;
  opacity: 0.35;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-milestone-item.is-active .milestone-desc-wrap {
  opacity: 1;
  transform: translateY(0);
}

/* Stem connecting Dot down to Description */
.milestone-stem.stem-bottom {
  width: 1.5px;
  height: 16px;
  background: rgba(0, 164, 239, 0.3);
  margin-bottom: 12px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.journey-milestone-item.is-active .milestone-stem.stem-bottom {
  background: #00a4ef;
  box-shadow: 0 0 8px rgba(0, 164, 239, 0.7);
}

.milestone-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.milestone-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.85rem, 0.95vw, 0.92rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ========================================================= */
/* MOBILE VERTICAL TIMELINE ADAPTATION                       */
/* ========================================================= */
@media (max-width: 820px) {
  .journey-section {
    height: auto !important;
    min-height: auto !important;
    padding: 60px 16px 80px;
    display: block;
  }

  .journey-sticky-container {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding: 0;
  }

  .journey-content-wrap {
    width: 100%;
    gap: 36px;
  }

  .journey-header {
    text-align: left;
    align-items: flex-start;
  }

  .journey-timeline-wrapper {
    padding: 20px 0 0;
  }

  /* Vertical Timeline Lines running down the left */
  .journey-line-base {
    top: 20px;
    bottom: 40px;
    left: 20px;
    width: 3px;
    height: auto;
    transform: none;
  }

  .journey-line-progress {
    top: 20px;
    bottom: 40px;
    left: 20px;
    width: 3px;
    height: auto;
    transform-origin: top center;
    transform: scaleY(0);
  }

  .journey-milestones {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .journey-milestone-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 6px;
    align-items: flex-start;
    text-align: left;
  }

  /* Stems hidden on mobile */
  .milestone-stem {
    display: none;
  }

  .milestone-dot-anchor {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    justify-content: flex-start;
    padding-left: 11px;
    box-sizing: border-box;
  }

  .milestone-year-wrap {
    grid-column: 2;
    grid-row: 1;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .milestone-year {
    font-size: 1.4rem;
  }

  .journey-milestone-item.is-active .milestone-year {
    transform: translateY(-4px);
  }

  .milestone-desc-wrap {
    grid-column: 2;
    grid-row: 2;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    transform: none;
  }

  .milestone-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .milestone-desc {
    font-size: 0.88rem;
  }
}

/* ========================================================= */
/* ACHIEVEMENTS: SECTION 3 - HACKATHON WINNERS               */
/* ========================================================= */
.hackathon-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(60px, 10vh, 100px) 24px;
}

.hackathon-container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5.5vh, 52px);
}

.hackathon-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}


.hackathon-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.hackathon-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
}

/* ========================================================= */
/* ACHIEVEMENTS: HACKATHON WINNERS SINGLE-ROW CAROUSEL STAGE */
/* Parity with Teams Page Coverflow & Scroll Animation        */
/* ========================================================= */
.winner-carousel-stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin: 16px auto 0;
  user-select: none;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: visible;
  box-sizing: border-box;
  outline: none;
}

.winner-cards-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Navigation Buttons (Prev / Next) */
.winner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 35;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.winner-nav-btn:hover {
  background: rgba(0, 164, 239, 0.25);
  border-color: #00A4EF;
  color: #00A4EF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 18px rgba(0, 164, 239, 0.4);
}

.winner-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.winner-nav-btn.prev {
  left: 8px;
}

.winner-nav-btn.next {
  right: 8px;
}

/* Individual Winner Information Card (Single Row 3D Arc) */
.winner-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  max-width: 86vw;
  height: 470px;
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(175deg, #111524 0%, #090c15 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  box-sizing: border-box;
  cursor: pointer;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: flat;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  transform: translate3d(-50%, -50%, -160px) scale(0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Active Center Card: Prominent Glow & Scale */
.winner-card.is-active {
  cursor: default;
  border-color: #00A4EF;
  box-shadow: 0 0 22px rgba(0, 164, 239, 0.45), 0 16px 36px rgba(0, 0, 0, 0.85);
  z-index: 20;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(-50%, -50%, 0px) scale(1) rotateY(0deg);
}

/* Winner Card Image Box */
.winner-card-image-wrap {
  width: 100%;
  height: 175px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 10px;
  position: relative;
  flex-shrink: 0;
}

/* Card Data Fields */
.winner-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}

.winner-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim, #71717a);
}

.winner-value {
  margin: 0;
  line-height: 1.35;
}

/* Hackathon / Competition Name */
.winner-hackathon {
  font-size: 0.9rem;
  color: #38bdf8;
  font-weight: 600;
}

/* Team / Achievement Name */
.winner-team {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Summary / Description */
.winner-desc {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.winner-desc-pending {
  color: #64748b;
  font-style: italic;
}

/* Team Members - Clean Pinned Footer Field */
.winner-members-field {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.winner-members {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.winner-card-image-wrap.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  user-select: none;
}

.winner-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted, #71717a);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.winner-photo-placeholder svg {
  opacity: 0.45;
  color: #00A4EF;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.winner-card:hover .winner-photo-placeholder,
.winner-card:focus-visible .winner-photo-placeholder {
  opacity: 0.9;
  transform: translateY(-2px);
}

.winner-card:hover .winner-photo-placeholder svg,
.winner-card:focus-visible .winner-photo-placeholder svg {
  opacity: 0.8;
  transform: scale(1.08);
}

.winner-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.winner-card:hover .winner-card-img,
.winner-card:focus-visible .winner-card-img {
  transform: scale(1.05);
}

.winner-desc {
  font-size: 0.82rem;
  color: var(--text-dim, #94a3b8);
  line-height: 1.45;
  margin: 2px 0 0;
}

.winner-desc-pending {
  font-style: italic;
  opacity: 0.5;
  font-size: 0.78rem;
}

/* Carousel Bottom Controls (Indicators & Counter) */
.winner-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  position: relative;
  z-index: 25;
}

.winner-carousel-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 68vw;
  overflow-x: auto;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
}

.winner-carousel-indicators::-webkit-scrollbar {
  display: none;
}

.winner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.winner-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.winner-dot.active {
  width: 22px;
  border-radius: 9999px;
  background: #00A4EF;
  box-shadow: 0 0 10px rgba(0, 164, 239, 0.6);
}

.winner-counter-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Responsive Viewports */
@media (max-width: 768px) {
  .winner-carousel-stage {
    height: 480px;
  }

  .winner-card {
    width: 275px;
    height: 440px;
    padding: 14px 14px 12px;
  }

  .winner-card-image-wrap {
    height: 145px;
  }

  .winner-nav-btn {
    width: 38px;
    height: 38px;
  }
}

/* ========================================================= */
/* ACHIEVEMENTS: SECTION 4 - LEADERBOARD (MLSC ORANGE THEME) */
/* ========================================================= */
.leaderboard-section {
  width: 100%;
  position: relative;
  padding: 60px 24px 80px;
  border-bottom: none;
  box-sizing: border-box;
}

.leaderboard-container {
  width: min(1080px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.leaderboard-header-wrap {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.leaderboard-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.05;
  margin: 4px 0 6px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.leaderboard-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0;
}

/* Search & Timeframe Controls */
.leaderboard-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  background: rgba(22, 22, 22, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

.timeframe-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 10, 0.6);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeframe-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.timeframe-btn:hover {
  color: #ffffff;
}

.timeframe-btn.active {
  background: rgba(242, 80, 34, 0.18);
  color: var(--accent-orange);
  border: 1px solid rgba(242, 80, 34, 0.4);
  box-shadow: 0 0 15px rgba(242, 80, 34, 0.25);
}

.leaderboard-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 14px;
  min-width: 260px;
  flex: 1;
  max-width: 380px;
  transition: var(--transition-smooth);
}

.leaderboard-search-box:focus-within {
  border-color: rgba(242, 80, 34, 0.5);
  box-shadow: 0 0 16px var(--accent-orange-glow);
}

.leaderboard-search-box .search-icon {
  color: var(--text-dim);
}

.leaderboard-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  width: 100%;
}

.leaderboard-search-box input::placeholder {
  color: var(--text-dim);
}

/* ========================================================= */
/* PODIUM SECTION (Top 3 Users)                              */
/* ========================================================= */
.podium-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 28px);
  width: 100%;
  margin: 0 auto;
  padding-top: 20px;
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 20px;
  border-radius: 28px;
  background: rgba(22, 22, 22, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  flex: 1;
  max-width: 320px;
}

.podium-card:hover {
  transform: translateY(-8px);
}

/* Rank 1 (Gold - Center) */
.podium-card.rank-1 {
  order: 2;
  min-height: 380px;
  border-color: rgba(255, 185, 0, 0.4);
  box-shadow: 0 25px 60px -10px rgba(255, 185, 0, 0.22),
    0 0 30px rgba(255, 185, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(40, 32, 12, 0.75) 0%, rgba(22, 22, 22, 0.85) 100%);
  z-index: 3;
}

.podium-card.rank-1:hover {
  border-color: rgba(255, 185, 0, 0.7);
  box-shadow: 0 30px 70px -10px rgba(255, 185, 0, 0.35),
    0 0 40px rgba(255, 185, 0, 0.25);
}

/* Rank 2 (Silver - Left) */
.podium-card.rank-2 {
  order: 1;
  min-height: 330px;
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 0 20px 50px -10px rgba(203, 213, 225, 0.15);
  background: linear-gradient(180deg, rgba(30, 35, 45, 0.75) 0%, rgba(22, 22, 22, 0.85) 100%);
  z-index: 2;
}

.podium-card.rank-2:hover {
  border-color: rgba(203, 213, 225, 0.6);
}

/* Rank 3 (Bronze - Right) */
.podium-card.rank-3 {
  order: 3;
  min-height: 290px;
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 20px 50px -10px rgba(217, 119, 6, 0.15);
  background: linear-gradient(180deg, rgba(40, 26, 18, 0.75) 0%, rgba(22, 22, 22, 0.85) 100%);
  z-index: 1;
}

.podium-card.rank-3:hover {
  border-color: rgba(217, 119, 6, 0.6);
}

.podium-crown-wrap {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 6px 12px rgba(255, 185, 0, 0.5));
}

.podium-avatar-outer {
  position: relative;
  margin-top: 10px;
  margin-bottom: 14px;
}

.podium-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.rank-1 .podium-avatar {
  width: 96px;
  height: 96px;
  border-color: #ffb900;
  box-shadow: 0 0 24px rgba(255, 185, 0, 0.4);
}

.rank-2 .podium-avatar {
  border-color: #cbd5e1;
  box-shadow: 0 0 18px rgba(203, 213, 225, 0.3);
}

.rank-3 .podium-avatar {
  border-color: #d97706;
  box-shadow: 0 0 18px rgba(217, 119, 6, 0.3);
}

.podium-rank-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: #080808;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.rank-1 .podium-rank-badge {
  background: linear-gradient(135deg, #ffb900, #f59e0b);
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.rank-2 .podium-rank-badge {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
}

.rank-3 .podium-rank-badge {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #ffffff;
}

.podium-user-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.podium-name {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.podium-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.podium-tier-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-orange);
}

.rank-1 .podium-tier-tag {
  background: rgba(255, 185, 0, 0.15);
  border-color: rgba(255, 185, 0, 0.4);
  color: #ffb900;
}

/* Podium Pedestal Block */
.podium-pedestal-base {
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.podium-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.podium-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.podium-stat-val.pts {
  color: var(--accent-orange);
}

.rank-1 .podium-stat-val.pts {
  color: #ffb900;
}

.podium-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================================= */
/* CURRENT USER HIGHLIGHT CARD (Inspired by Reference Image)  */
/* ========================================================= */
.user-highlight-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(242, 80, 34, 0.16) 0%, rgba(22, 22, 22, 0.8) 100%);
  border: 1px solid rgba(242, 80, 34, 0.4);
  border-radius: 24px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 15px 40px -10px rgba(242, 80, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.user-highlight-card:hover {
  box-shadow: 0 20px 50px -10px rgba(242, 80, 34, 0.32),
    0 0 25px rgba(242, 80, 34, 0.22);
  border-color: rgba(242, 80, 34, 0.6);
}

.user-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.user-card-avatar-wrap {
  position: relative;
}

.user-card-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 15px var(--accent-orange-glow);
}

.user-you-tag {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: var(--accent-orange);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.user-card-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.user-card-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.user-card-stats-grid {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}

.user-stat-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.user-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.user-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.user-stat-val.accent {
  color: var(--accent-orange);
}

/* ========================================================= */
/* RANKINGS TABLE LIST                                      */
/* ========================================================= */
.rankings-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.rankings-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rankings-count-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--accent-orange);
  background: rgba(242, 80, 34, 0.12);
  border: 1px solid rgba(242, 80, 34, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
}

.rankings-table-header {
  display: grid;
  grid-template-columns: 80px 1fr 140px 140px;
  padding: 12px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rankings-table-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px 140px;
  align-items: center;
  padding: 16px 24px;
  background: rgba(22, 22, 22, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  transition: var(--transition-smooth);
}

.ranking-row:hover {
  background: rgba(30, 30, 30, 0.75);
  border-color: var(--border-glass-hover);
  transform: translateX(4px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6),
    0 0 15px var(--accent-orange-glow);
}

.ranking-row.is-current-user {
  background: linear-gradient(90deg, rgba(242, 80, 34, 0.16) 0%, rgba(22, 22, 22, 0.75) 100%);
  border-color: rgba(242, 80, 34, 0.4);
}

.col-rank {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.ranking-row.is-current-user .col-rank {
  color: var(--accent-orange);
}

.col-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.row-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
  flex-shrink: 0;
}

.row-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-name {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.row-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.row-you-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent-orange);
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 6px;
}

.col-solved {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--text-main);
}

.col-points {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.col-badge {
  display: flex;
  align-items: center;
}

.tier-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.tier-badge.grandmaster {
  background: rgba(255, 185, 0, 0.15);
  border-color: rgba(255, 185, 0, 0.4);
  color: #ffb900;
}

.tier-badge.master {
  background: rgba(192, 132, 252, 0.15);
  border-color: rgba(192, 132, 252, 0.4);
  color: var(--accent-purple);
}

.tier-badge.knight {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent);
}

.tier-badge.specialist {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--accent-emerald);
}

/* ========================================================= */
/* RESPONSIVE LEADERBOARD MEDIA QUERIES                       */
/* ========================================================= */
@media (max-width: 900px) {
  .podium-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .podium-card {
    width: 100%;
    max-width: 500px;
    min-height: auto !important;
  }

  .podium-card.rank-1 {
    order: 1;
  }

  .podium-card.rank-2 {
    order: 2;
  }

  .podium-card.rank-3 {
    order: 3;
  }

  .user-highlight-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-card-stats-grid {
    width: 100%;
    justify-content: space-between;
  }

  .rankings-table-header {
    display: none;
  }

  .ranking-row {
    grid-template-columns: 50px 1fr 100px;
    gap: 12px;
    padding: 14px 16px;
  }

  .col-badge {
    display: none;
  }
}

@media (max-width: 580px) {
  .leaderboard-controls-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .leaderboard-search-box {
    max-width: 100%;
    min-width: auto;
  }

  .timeframe-toggle {
    justify-content: center;
  }

  .ranking-row {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .col-solved {
    display: none;
  }

  .user-card-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .user-stat-box {
    text-align: left;
  }
}

/* ========================================================= */
/* HOMEPAGE SECTION: CONTACT & GET IN TOUCH                 */
/* ========================================================= */
.contact-section {
  position: relative;
  width: 100%;
  margin-top: clamp(20px, 3vh, 36px);
  padding: clamp(36px, 5.5vh, 64px) 24px clamp(44px, 6.5vh, 76px);
  box-sizing: border-box;
  background:
    radial-gradient(circle at 15% 30%, rgba(0, 164, 239, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(127, 186, 0, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 60%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: none;
}

.contact-container {
  width: min(1220px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}

/* Left Column: Heading and Subtitle */
.contact-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2vh, 20px);
  width: 100%;
}

.contact-brand-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
}

.contact-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 auto;
  line-height: 1.02;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: clamp(6px, 1vh, 10px);
}

.contact-title-line {
  display: block;
  white-space: nowrap;
  color: #ffffff;
}

.contact-title-line.line-1 {
  align-self: flex-start;
  margin-left: 0;
}

.contact-title-line.line-2 {
  align-self: flex-start;
  margin-left: clamp(24px, 3.5vw, 54px);
}

.contact-title-line.line-3 {
  align-self: flex-start;
  margin-left: clamp(48px, 7vw, 108px);
}

.contact-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 520px;
  text-align: center;
  margin: 8px auto 0;
}

/* Right Column: Clean Glass Form Box */
.contact-form-wrap {
  border-radius: 20px;
  padding: clamp(28px, 3.6vh, 38px) clamp(24px, 3vw, 36px);
  background: rgba(14, 18, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrap:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 164, 239, 0.2);
}

.contact-quick-form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vh, 18px);
  width: 100%;
}

.contact-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-input-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}

.contact-input {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-input:focus {
  background: rgba(0, 0, 0, 0.65);
  border-color: #00a4ef;
  box-shadow: 0 0 0 3px rgba(0, 164, 239, 0.25);
}

.contact-input::placeholder {
  color: #64748b;
}

.contact-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #00a4ef 0%, #0284c7 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0, 164, 239, 0.3);
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 164, 239, 0.5);
  background: linear-gradient(135deg, #38bdf8 0%, #00a4ef 100%);
}

.contact-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-left-col {
    align-items: center;
    text-align: center;
  }

  .contact-title {
    font-size: clamp(2.6rem, 8.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
    margin: 0 auto;
    width: fit-content;
  }

  .contact-title-line.line-2 {
    margin-left: clamp(16px, 4vw, 36px);
  }

  .contact-title-line.line-3 {
    margin-left: clamp(32px, 8vw, 72px);
  }

  .contact-subtitle {
    max-width: 100%;
    text-align: center;
  }

  .contact-input-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }
}

/* ========================================================= */
/* LAPTOP SCREEN RESPONSIVENESS (1024px–1536px & H<=900px)   */
/* Covers 1366x768, 1440x900, 1536x864, 1280x800, 1024x768    */
/* ========================================================= */
@media (max-width: 1440px), (max-height: 900px) and (min-width: 901px) {
  /* Glass Navbar on Laptops */
  .glass-navbar {
    top: clamp(14px, 2vh, 20px);
  }

  .glass-nav-container {
    padding: 5px 8px 5px 16px;
    gap: 8px;
  }

  .glass-nav-link {
    font-size: 0.88rem;
    padding: 6px 15px;
  }

  /* Hero Section on Laptops */
  .hero-raw-title {
    font-size: clamp(3.2rem, min(20vw, 22vh), 16rem);
  }

  .hero-mascot-webp {
    top: clamp(14px, 2.5vh, 28px);
    right: clamp(0px, 1.5vw, 20px);
    width: clamp(190px, 17vw, 280px);
    max-height: 44vh;
  }

  /* About Us Section on Laptops */
  .about-section {
    min-height: auto;
    padding: clamp(12px, 1.8vh, 22px) 24px clamp(20px, 2.6vh, 32px);
  }

  .about-container {
    gap: clamp(14px, 2vh, 22px);
  }

  .about-header-wrap {
    margin-bottom: clamp(4px, 0.8vh, 8px);
  }

  .about-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  }

  .about-glass-box {
    min-height: clamp(360px, 48vh, 440px);
    max-height: clamp(390px, 54vh, 480px);
    padding: clamp(16px, 2.2vw, 28px);
    gap: clamp(8px, 1vh, 12px);
  }

  .about-content-fallback {
    gap: 8px;
  }

  .about-text,
  .about-p1 {
    font-size: clamp(0.86rem, 0.95vw, 0.94rem);
    line-height: 1.44;
  }

  .about-p2 {
    font-size: clamp(0.82rem, 0.9vw, 0.9rem);
    line-height: 1.42;
  }

  .about-quote {
    font-size: clamp(0.9rem, 1.05vw, 1.02rem);
    line-height: 1.3;
    margin: 2px 0 0;
  }

  .about-highlight {
    font-size: clamp(0.88rem, 1vw, 0.98rem);
    line-height: 1.3;
    margin: 2px 0 0;
  }

  /* Proud Moments on Laptops */
  .proud-moments-section {
    padding: clamp(22px, 3vh, 36px) 24px clamp(14px, 1.8vh, 22px);
  }

  .proud-container {
    gap: clamp(22px, 3vh, 32px);
  }

  .section-header-wrap {
    margin-bottom: clamp(6px, 1vh, 12px);
    gap: 12px;
  }

  .section-heading {
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    line-height: 1.28;
    padding-bottom: 6px;
  }

  .section-subheading {
    font-size: clamp(0.85rem, 0.95vw, 0.94rem);
  }

  .proud-moments-grid {
    gap: clamp(12px, 1.4vw, 18px);
  }

  .proud-card {
    padding: clamp(11px, 1.1vw, 14px);
    border-radius: 16px;
    gap: 10px;
  }

  .proud-card-title {
    font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  }

  .proud-card-members {
    font-size: 0.78rem;
  }

  .proud-accolade {
    font-size: 0.72rem;
  }

  .proud-view-all-btn,
  .programs-view-all-btn {
    padding: 8px 18px;
    font-size: 0.84rem;
  }

  /* Programs & Initiatives on Laptops */
  .programs-section {
    padding: clamp(24px, 3vh, 36px) 24px clamp(32px, 4.2vh, 50px);
    min-height: auto;
    overflow: visible;
  }

  .programs-container {
    gap: clamp(22px, 3vh, 32px);
  }

  .programs-grid {
    gap: clamp(14px, 1.5vw, 18px);
  }

  .program-card {
    padding: clamp(16px, 1.6vw, 22px);
    border-radius: 16px;
    gap: 12px;
  }

  .program-card-title {
    font-size: clamp(1.05rem, 1.15vw, 1.18rem);
  }

  .program-card-desc {
    font-size: clamp(0.8rem, 0.85vw, 0.86rem);
    line-height: 1.45;
  }

  .program-icon-wrap {
    width: 42px;
    height: 42px;
  }

  .program-explore-link {
    font-size: 0.82rem;
  }

  /* Explore ScrollStack on Laptops */
  .explore-section {
    padding: clamp(20px, 2.6vh, 32px) 24px clamp(12px, 1.8vh, 20px);
  }

  .explore-container {
    gap: clamp(20px, 2.8vh, 30px);
  }

  .explore-header-row {
    margin-bottom: clamp(6px, 1vh, 10px);
    opacity: 1 !important;
    transform: none !important;
  }

  .compact-title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-stack-card {
    height: clamp(14.5rem, 23vh, 17rem);
    padding: clamp(1.4rem, 2vw, 2.2rem);
    border-radius: 20px;
    gap: 18px;
  }

  .scroll-stack-card h2 {
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  }

  .scroll-stack-card p {
    font-size: clamp(0.86rem, 0.95vw, 0.96rem);
  }

  .scroll-stack-card::before {
    font-size: clamp(6.5rem, 10vw, 9.5rem);
  }

  .scroll-stack-arrow {
    width: 46px;
    height: 46px;
  }

  .scroll-stack-end {
    height: clamp(65px, 9vh, 95px);
  }

  /* Contact Section on Laptops */
  .contact-section {
    margin-top: clamp(14px, 2vh, 24px);
    padding: clamp(26px, 3.8vh, 44px) 24px clamp(32px, 4.6vh, 52px);
  }

  .contact-container {
    gap: clamp(28px, 4vw, 52px);
  }

  .contact-title {
    font-size: clamp(2.8rem, 4.6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
    margin: 0 auto;
    width: fit-content;
  }

  .contact-title-line.line-2 {
    margin-left: clamp(20px, 3vw, 44px);
  }

  .contact-title-line.line-3 {
    margin-left: clamp(40px, 6vw, 88px);
  }

  .contact-subtitle {
    font-size: clamp(0.9rem, 1.05vw, 1rem);
    max-width: 480px;
    text-align: center;
  }

  .contact-form-wrap {
    padding: clamp(22px, 2.5vh, 30px) clamp(20px, 2.2vw, 30px);
    border-radius: 18px;
  }

  .contact-quick-form {
    gap: 14px;
  }

  .contact-input-row {
    gap: 14px;
  }

  .contact-input {
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .contact-textarea {
    min-height: 90px;
  }

  .contact-submit-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}

/* Compact Laptop Width Tweaks (1024px–1180px) */
@media (min-width: 901px) and (max-width: 1180px) {
  .proud-moments-grid {
    gap: 12px;
  }

  .proud-card {
    padding: 10px;
  }

  .proud-card-title {
    font-size: 0.98rem;
  }

  .programs-grid {
    gap: 14px;
  }

  .program-card {
    padding: 16px 18px;
  }

  .contact-container {
    gap: 28px;
  }
}