/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Monotone Professional Portfolio
   Rohit Kumar — Developer & Content Creator
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────── */
:root {
  /* Monotone Palette */
  --bg-primary: #0c0c0c;
  --bg-secondary: #111111;
  --bg-elevated: #181818;
  --bg-card: #141414;
  --border: rgba(255, 255, 255, .06);
  --border-hover: rgba(255, 255, 255, .12);

  --text-primary: #f0f0f0;
  --text-secondary: #8a8a8a;
  --text-muted: #555555;

  /* Accent — subtle warm white instead of neon */
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, .08);
  --accent-glow: rgba(255, 255, 255, .04);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 120px 0;
  --container-max: 1100px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .2s var(--ease);
  --t-med: .4s var(--ease);
  --t-slow: .6s var(--ease);
}

/* ── Reset ──────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

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

ul {
  list-style: none;
}

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

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

.section {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

/* ── Grain / Noise Overlay ──────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Background Watermark Text ─────────────────────── */
.bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 900;
  letter-spacing: -6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* ── Background Dot Grid ──────────────────────────── */
.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 100%);
}

/* ── Text Highlight ─────────────────────────────────── */
.text-highlight {
  position: relative;
  color: var(--text-primary);
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: 2px;
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity .5s ease, visibility .5s ease;
}

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

.loader-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  animation: logoPulse 1.4s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: .5;
    transform: scale(.95);
  }

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

.loader-text {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--text-muted);
}

/* ── Logo Image ─────────────────────────────────────── */
.logo-img {
  height: 34px;
  width: auto;
  border-radius: 6px;
  transition: opacity var(--t-fast);
}

.logo-img:hover {
  opacity: .7;
}

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

/* ═══════════════════════════════════════════════════════
   CURSOR GLOW
   ═══════════════════════════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .03) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .3s ease;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--t-fast), padding var(--t-fast), box-shadow var(--t-fast);
}

.navbar.scrolled {
  background: rgba(12, 12, 12, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.5px;
  transition: opacity var(--t-fast);
}

.nav-logo:hover {
  opacity: .7;
}

.logo-dot {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast);
  letter-spacing: .2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-cta {
  padding: 8px 20px !important;
  font-size: .82rem !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger .bar {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), opacity var(--t-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #d4ff2b, #a8e600);
  color: #0c0c0c;
}

.btn-primary:hover {
  box-shadow: 0 4px 24px rgba(212, 255, 43, .25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: .8rem;
}

.btn-full {
  width: 100%;
}

.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: var(--bg-primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loader {
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 60px;
  background: #050505;
  /* Deep black */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(16, 14, 46, 0.9) 0%, rgba(13, 22, 59, 0.6) 40%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
}

.hero-rings {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.ring-1 {
  width: 500px;
  height: 500px;
  border-width: 2px;
  border-color: rgba(94, 92, 255, 0.15);
  box-shadow: 0 0 40px rgba(94, 92, 255, 0.05);
}

.ring-2 {
  width: 750px;
  height: 750px;
  border-style: dashed;
}

.ring-3 {
  width: 1050px;
  height: 1050px;
  border-width: 1px;
  border-color: rgba(168, 92, 255, 0.08);
  box-shadow: 0 0 60px rgba(168, 92, 255, 0.03);
}

.hero-content {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 850px;
  background: linear-gradient(180deg, #FFFFFF 0%, #B0B0B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(255, 255, 255, 0.15);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #B0B0B0;
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Center Stage (Portrait + Cards) */
.hero-center-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.hero-portrait-wrapper {
  position: relative;
  width: 320px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  transition: transform 0.1s linear;
}


.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  /* filter: drop-shadow(0 0 30px rgba(94, 92, 255, 0.4)) drop-shadow(0 0 80px rgba(168, 92, 255, 0.2)); */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

/* Glassmorphism Social Cards */
.social-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  /* pill shape */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  color: #EAEAEA;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 3;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.social-card-float:hover {
  transform: translateY(-4px) rotate(var(--rot, 0deg)) !important;
  background: rgba(30, 30, 40, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(94, 92, 255, 0.25);
  color: #FFFFFF;
}

.card-profile-pic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

/* Card Initial Positions */
.card-tl {
  top: 20%;
  right: 50%;
  margin-right: -20px;
  --rot: -6deg;
  transform: translate(0, 0) rotate(var(--rot));
}

.card-tr {
  top: 10%;
  left: 50%;
  margin-left: -20px;
  --rot: 8deg;
  transform: translate(0, 0) rotate(var(--rot));
}

.card-bl {
  bottom: 25%;
  right: 50%;
  margin-right: -10px;
  --rot: 5deg;
  transform: translate(0, 0) rotate(var(--rot));
}

.card-br {
  bottom: 28%;
  left: 50%;
  margin-left: 0px;
  --rot: -8deg;
  transform: translate(0, 0) rotate(var(--rot));
}

/* Neon Button */
.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4ff2b, #a8e600);
  color: #0c0c0c;
  padding: 18px 48px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  /* rounded lime button */
  box-shadow: 0 0 20px rgba(168, 230, 0, 0.5), 0 0 40px rgba(212, 255, 43, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-neon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(168, 230, 0, 0.7), 0 0 60px rgba(212, 255, 43, 0.4);
}

.btn-neon:active {
  transform: translateY(1px);
}

.hero-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 4;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 4;
}

.scroll-line {
  width: 1px;
  height: 24px;
  background: var(--text-muted);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
    height: 24px;
  }

  50% {
    opacity: 1;
    height: 36px;
  }
}

/* Responsive constraints for floating cards */
@media (max-width: 900px) {
  .hero-center-stage {
    flex-direction: column;
    padding-bottom: 250px;
    /* space for cards below */
  }

  .card-tl {
    top: auto;
    bottom: 185px;
    left: 50%;
    right: auto;
    margin-right: 0;
    width: 260px;
    justify-content: flex-start;
    margin-left: -130px;
  }

  .card-tr {
    top: auto;
    bottom: 125px;
    left: 50%;
    right: auto;
    margin-left: -130px;
    width: 260px;
    justify-content: flex-start;
  }

  .card-bl {
    top: auto;
    bottom: 65px;
    left: 50%;
    right: auto;
    margin-right: 0;
    width: 260px;
    justify-content: flex-start;
    margin-left: -130px;
  }

  .card-br {
    top: auto;
    bottom: 5px;
    left: 50%;
    right: auto;
    margin-left: -130px;
    width: 260px;
    justify-content: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════
   SECTION LABELS & HEADINGS
   ═══════════════════════════════════════════════════════ */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  
}
.section-label.reveal1 {
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -3px;
  white-space: nowrap;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;

  letter-spacing: -1px;
  margin-bottom: 50px;
  line-height: 1.15;
}

.section-sub {
  color: var(--text-secondary);
  font-size: .95rem;
  max-width: 480px;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 80px;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: .92rem;
  margin-bottom: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.stat-label {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════ */
.skills {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

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

.skill-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.skill-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.skill-card h4 {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.skill-card p {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════ */
.projects {
  border-top: 1px solid var(--border);
}

.projects-list {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}

.project-row:hover {
  background: var(--accent-glow);
}

.project-row:first-child {
  border-top: 1px solid var(--border);
}

.project-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-muted);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-info p {
  color: var(--text-secondary);
  font-size: .85rem;
  margin-bottom: 10px;
  max-width: 500px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.project-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.projects-more {
  text-align: center;
  margin-top: 44px;
}

/* ═══════════════════════════════════════════════════════
   JOIN
   ═══════════════════════════════════════════════════════ */
.join {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.join-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
}

.join-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.join-text {
  color: var(--text-secondary);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.join-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.join-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.join-stat {
  text-align: center;
}

.join-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.join-stat-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.join-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════ */
.reviews {
  border-top: 1px solid var(--border);
}

.reviews-grid {
  display: flex;
  gap: 16px;
}

.reviews-scroller {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.reviews-group {
  display: flex;
  gap: 16px;
  animation: reviewsScroll 40s linear infinite;
}

.reviews-scroller:hover .reviews-group {
  animation-play-state: paused;
}

@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 16px)); }
}

.review-card {
  width: 400px;
  flex-shrink: 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.review-stars {
  font-size: .9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.review-name {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
}

.review-role {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   INSTAGRAM
   ═══════════════════════════════════════════════════════ */
.instagram {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

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

.insta-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--t-fast), border-color var(--t-fast);
  display: block;
}

.insta-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.insta-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

.insta-icon {
  font-size: 2rem;
  opacity: .3;
}

.insta-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-fast);
}

.insta-card:hover .insta-photo {
  transform: scale(1.05);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 12, 12, .9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

.insta-type {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.insta-overlay p {
  font-size: .78rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.insta-cta {
  text-align: center;
  margin-top: 36px;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact {
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color var(--t-fast);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-hover);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ff4d6a;
}

.form-success {
  display: none;
  text-align: center;
  color: #4cff8e;
  font-size: .85rem;
  margin-top: 8px;
}

.form-success.show {
  display: block;
  animation: fadeIn .4s ease;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast);
}

.contact-card:hover {
  border-color: var(--border-hover);
}

.contact-icon {
  font-size: 1.2rem;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card p,
.contact-card a {
  color: var(--text-secondary);
  font-size: .82rem;
  transition: color var(--t-fast);
}

.contact-card a:hover {
  color: var(--text-primary);
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.social-link:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: 10px;
}

.footer-links h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .85rem;
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .75rem;
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    flex-direction: column;
    background: rgba(12, 12, 12, .98);
    backdrop-filter: blur(20px);
    padding: 100px 36px 36px;
    gap: 4px;
    transition: right var(--t-med);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .project-row {
    grid-template-columns: 40px 1fr;
  }

  .project-links {
    grid-column: 2;
    margin-top: 8px;
  }

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

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

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

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-socials {
    justify-content: center;
  }

  .join-card {
    padding: 40px 24px;
  }

  .join-stats {
    gap: 20px;
  }

  .marquee-track {
    bottom: 60px;
  }

  .hero-scroll {
    bottom: 16px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 64px 0;
  }

  .hero-title {
    font-size: 2.4rem;
    letter-spacing: -1px;
  }

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

  .btn {
    width: 100%;
    max-width: 260px;
  }

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

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

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

  .join-stats {
    flex-direction: column;
    gap: 16px;
  }

  .join-stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ═══════════════════════════════════════════════════════
   WHY SKILLS — Premium Section
   ═══════════════════════════════════════════════════════ */
.whyskills {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Faded background title */
.ws-faded-title {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -3px;
  white-space: nowrap;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ws-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* ── Flow Diagram: Skill → 3 paths → Money ──────── */
.ws-flow {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 20px auto 0;
  aspect-ratio: 1000 / 200;
}

.ws-flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Connector line draw-in animation */
.ws-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: wsLineDraw 2s ease forwards;
}

.ws-flow.visible .ws-line {
  animation: wsLineDraw 1.5s ease forwards;
}

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

/* Flow labels shared */
.ws-label-main {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-secondary);
}

.ws-label-italic {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* Start node — left */
.ws-flow-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.ws-flow-start {
  left: 2%;
  top: 50%;
  transform: translateY(-50%);
}

.ws-flow-start .ws-label-italic {
  color: #8a9aff;
}

/* End node — right */
.ws-flow-end {
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
}

.ws-accent-text {
  color: #d4ff2b !important;
  text-shadow: 0 0 20px rgba(212, 255, 43, .25);
}

/* Middle paths — 3 items stacked vertically in center */
.ws-flow-middle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2;
}

.ws-flow-path {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 20px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.ws-flow-path:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, .15);
}

/* Staggered reveal for flow nodes */
.ws-flow.visible .ws-flow-start {
  animation: wsFlowIn .6s .2s both;
}

.ws-flow.visible .ws-flow-path:nth-child(1) {
  animation: wsFlowIn .5s .5s both;
}

.ws-flow.visible .ws-flow-path:nth-child(2) {
  animation: wsFlowIn .5s .7s both;
}

.ws-flow.visible .ws-flow-path:nth-child(3) {
  animation: wsFlowIn .5s .9s both;
}

.ws-flow.visible .ws-flow-end {
  animation: wsFlowIn .6s 1.2s both;
}

@keyframes wsFlowIn {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }

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

/* ── Glassmorphism CTA Card ───────────────────────── */
.ws-card {
  width: 100%;
  max-width: 560px;
  padding: 48px 40px;
  text-align: center;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ws-card-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 28px;
  line-height: 1.3;
  text-transform: lowercase;
}

.ws-em {
  color: #d4ff2b;
  font-style: italic;
}

/* CTA Button */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #0c0c0c;
  background: linear-gradient(135deg, #d4ff2b, #a8e600);
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 0 20px rgba(212, 255, 43, .15);
  margin-bottom: 24px;
}

.ws-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 30px rgba(212, 255, 43, .3),
    0 0 60px rgba(212, 255, 43, .1),
    inset 0 0 20px rgba(255, 255, 255, .1);
}

.ws-btn:active {
  transform: translateY(0) scale(.98);
}

/* Glow border animation */
.ws-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  background: linear-gradient(135deg, #d4ff2b, transparent, #d4ff2b);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-fast);
  animation: wsGlowRotate 3s linear infinite;
}

.ws-btn:hover::before {
  opacity: .6;
}

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

.ws-card-desc {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

/* ── Responsive — Why Skills ──────────────────────── */
@media (max-width: 768px) {
  .whyskills {
    padding: 100px 0 80px;
  }

  .ws-faded-title {
    font-size: 2.5rem;
    top: 20px;
  }

  .ws-flow {
    aspect-ratio: 1000 / 260;
  }

  .ws-label-main {
    font-size: .8rem;
  }

  .ws-label-italic {
    font-size: 1rem;
  }

  .ws-flow-path {
    font-size: .75rem;
    padding: 5px 14px;
  }

  .ws-flow-middle {
    gap: 12px;
  }

  .ws-card {
    padding: 36px 24px;
  }

  .ws-btn {
    padding: 14px 36px;
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .ws-flow {
    aspect-ratio: 1000 / 340;
  }

  .ws-label-main {
    font-size: .7rem;
  }

  .ws-label-italic {
    font-size: .85rem;
  }

  .ws-flow-path {
    font-size: .65rem;
    padding: 4px 10px;
    gap: 8px;
  }

  .ws-flow-middle {
    gap: 8px;
  }
}

/* ═══════════════════════════════════════════════════════
   COHORT SECTION
   ═══════════════════════════════════════════════════════ */
#cohort {
  --neon-lime: #d4ff2b;
  --neon-lime-glow: #d3e600;
  --dark-navy: #0c0c0c;
  --dark-black: #050505;
  --glass-light: rgba(20, 20, 25, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #8a8a8a;
  --accent-blue: #181818;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-black) 50%, #0f1530 100%);
  position: relative;
  overflow: hidden;
}

#cohort .cohort-content {
  min-height: auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.cohort-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.cohort-gradient-base {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 150% 100% at 50% 0%, rgba(24, 24, 24, 0.4) 0%, transparent 50%),
    linear-gradient(to bottom, var(--dark-navy) 0%, var(--dark-black) 100%);
  z-index: 1;
}

.cohort-motion-streaks {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: 2;
}

.cohort-streak {
  position: absolute;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 255, 43, 0.08) 50%, transparent 100%);
  height: 1px;
  animation: streamFlow 8s linear infinite;
}

.cohort-streak:nth-child(1) {
  width: 40%;
  top: 15%;
  animation-delay: 0s;
}

.cohort-streak:nth-child(2) {
  width: 50%;
  top: 25%;
  animation-delay: -2s;
}

.cohort-streak:nth-child(3) {
  width: 35%;
  top: 35%;
  animation-delay: -4s;
}

.cohort-streak:nth-child(4) {
  width: 45%;
  top: 45%;
  animation-delay: -6s;
}

.cohort-streak:nth-child(5) {
  width: 40%;
  top: 55%;
  animation-delay: -1s;
}

.cohort-streak:nth-child(6) {
  width: 50%;
  top: 65%;
  animation-delay: -3s;
}

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

  100% {
    transform: translateX(100vw);
  }
}

.cohort-mountains {
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 100%;
  height: 40%;
  opacity: 0.4;
  z-index: 3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><filter id="glow"><feGaussianBlur stdDeviation="8"/></filter></defs><path d="M0,300 L100,200 L200,250 L350,150 L450,220 L600,120 L750,200 L900,140 L1050,240 L1200,180 L1200,400 L0,400 Z" fill="%23181818" filter="url(%23glow)" opacity="0.3"/><path d="M0,320 L150,280 L300,200 L500,260 L700,180 L900,240 L1050,200 L1200,300 L1200,400 L0,400 Z" fill="%23d4ff2b" opacity="0.05" filter="url(%23glow)"/></svg>') no-repeat center bottom;
  background-size: cover;
  filter: blur(20px) drop-shadow(0 0 60px rgba(212, 255, 43, 0.1));
}

.cohort-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cohort-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(212, 255, 43, 0.4);
  border-radius: 50%;
  animation: cohortTwinkle 3s ease-in-out infinite;
}

.cohort-particle::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(212, 255, 43, 0.6), transparent);
  border-radius: 50%;
  top: -2px;
  left: -2px;
  animation: cohortGlow 2s ease-in-out infinite;
}

@keyframes cohortTwinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes cohortGlow {

  0%,
  100% {
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.cohort-badge {
  background: var(--glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  animation: cohortFadeInDown 0.8s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cohort-badge-dot {
  width: 8px;
  height: 8px;
  background: green;
  border-radius: 50%;
  animation: cohortPulse 2s ease-in-out infinite;
}

.cohort-badge-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@keyframes cohortPulse {

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

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.cohort-typography-section {
  text-align: center;
  margin-bottom: 60px;
  animation: cohortFadeInUp 0.8s ease-out 0.2s backwards;
}

.cohort-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 15px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

.cohort-headline {
  font-size: 72px;
  font-weight: 1000;
  font-family: 'Poppins', sans-serif;
  color: rgb(221, 255, 0);
  letter-spacing: -2px;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(164, 165, 162, 0.3),
    0 0 60px rgba(164, 165, 162, 0.15);
  animation: cohortGlowPulse 2s ease-in-out infinite;
  margin: 0;
}

@keyframes cohortGlowPulse {
  0% {
    background-position: 200% center;
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.25),
      0 0 6px rgba(255, 255, 255, 0.15);
  }

  50% {
    text-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      0 0 14px rgba(255, 255, 255, 0.35);
  }

  100% {
    background-position: -200% center;
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.25),
      0 0 6px rgba(255, 255, 255, 0.15);
  }
}

/* @keyframes cohortGlowPulse {
  0%, 100% { text-shadow: 0 0 30px rgba(212, 255, 43, 0.3), 0 0 60px rgba(212, 255, 43, 0.15); }
  50% { text-shadow: 0 0 40px rgba(212, 255, 43, 0.5), 0 0 80px rgba(212, 255, 43, 0.25); }
} */

.cohort-cards-scroller {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  display: flex;
  margin-bottom: 40px;
  /* Add elegant fade out effect on the edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cohort-cards-container {
  display: flex;
  gap: 20px;
  width: max-content;
  margin: 0;
}

.cohort-cards-group {
  display: flex;
  gap: 20px;
  animation: cohortScrollMarquee 30s linear infinite;
}

.cohort-cards-container:hover .cohort-cards-group {
  animation-play-state: paused;
}

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

  100% {
    transform: translateX(calc(-100% - 20px));
  }
}

.cohort-media-card {
  flex-shrink: 0;
  width: 320px;
  position: relative;
  height: 200px;
  background: var(--glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(212, 255, 43, 0.1) inset;
}

.cohort-media-card:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-5deg) translateY(-8px);
  border-color: rgba(212, 255, 43, 0.3);
  box-shadow: 0 20px 60px rgba(212, 255, 43, 0.15),
    0 0 0 1px rgba(212, 255, 43, 0.2) inset;
  background: rgba(255, 255, 255, 0.12);
}

@keyframes cohortFloat {

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

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

.cohort-media-card:nth-child(1) {
  animation: cohortFloat 4s ease-in-out infinite;
}

.cohort-media-card:nth-child(2) {
  animation: cohortFloat 4.5s ease-in-out infinite 0.2s;
}

.cohort-media-card:nth-child(3) {
  animation: cohortFloat 5s ease-in-out infinite 0.4s;
}

.cohort-media-card:nth-child(4) {
  animation: cohortFloat 4.2s ease-in-out infinite 0.1s;
}

.cohort-media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  z-index: 1;
  transition: left 0.5s ease;
}

.cohort-media-card:hover::before {
  left: 100%;
}

.cohort-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cohort-media-card:hover .cohort-card-video {
  opacity: 1;
}

.cohort-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
}

.cohort-video-text {
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.4s ease;
}

.cohort-media-card:hover .cohort-video-text {
  color: #ffffff;
}

.cohort-description {
  text-align: center;
  max-width: 600px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: 0.5px;
  animation: cohortFadeInUp 0.8s ease-out 0.6s backwards;
}

@keyframes cohortFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes cohortFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 768px) {
  #cohort .cohort-content {
    padding: 40px 20px;
  }

  .cohort-headline {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .cohort-subtitle {
    font-size: 14px;
  }

  .cohort-description {
    font-size: 14px;
    margin-top: 20px;
  }
}
/* ═══════════════════════════════════════════════════════
   TIMELINE PROJECTS SECTION (OVERRIDE)
   ═══════════════════════════════════════════════════════ */
        .timeline-section {
            padding: 80px 20px 150px;
            overflow: hidden;
            position: relative;
        }
        
        .timeline-container {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 0;
            display: flex;
            flex-direction: column;
        }

        .timeline-center-line {
            position: absolute;
            left: 50%;
            top: 20px;
            bottom: 20px;
            width: 4px;
            background: var(--border);
            transform: translateX(-50%);
            z-index: 0;
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;
            z-index: 1;
            opacity: 0;
            animation: fadeInScale 0.8s ease-out forwards;
        }

        .timeline-item.left {
            justify-content: flex-end;
            padding-right: 50%;
        }

        .timeline-item.right {
            justify-content: flex-start;
            padding-left: 50%;
        }

        .timeline-pill {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 110px;
            height: 65px;
            border-radius: 32.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1px;
            color: #0c0c0c;
            text-align: center;
            padding: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            transition: all 0.4s ease;
            line-height: 1.2;
            z-index: 10;
            cursor: pointer;
            background: linear-gradient(135deg, #d4ff2b, #a8e600);
        }
        
        .timeline-pill:hover {
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 8px 30px rgba(212, 255, 43, 0.2);
        }

        .content-wrapper {
            position: relative;
            z-index: 2;
        }

        .timeline-item.left .content-wrapper { display: flex; justify-content: flex-end; }
        .timeline-item.right .content-wrapper { display: flex; justify-content: flex-start; }

        .curve-connector {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            height: 100px;
            z-index: 1;
            opacity: 0.6;
            pointer-events: none;
            color: var(--text-muted);
        }
        
        .curve-connector path {
            vector-effect: non-scaling-stroke;
            stroke-dasharray: 8, 8;
            animation: dashMove 3s linear infinite reverse;
        }
        
        @keyframes dashMove {
            to { stroke-dashoffset: 48; }
        }

        .timeline-item.left .curve-connector { right: 50%; }
        .timeline-item.right .curve-connector { left: 50%; }

        .item-1 { margin-bottom: 20px; margin-top: 40px; }
        .item-1 .curve-connector { width: 140px; }
        .item-1 .content-wrapper { padding-right: 140px; }

        .item-2 { margin-bottom: 60px; }
        .item-2 .curve-connector { width: 220px; }
        .item-2 .content-wrapper { padding-left: 220px; }

        .item-3 { margin-bottom: 30px; }
        .item-3 .curve-connector { width: 100px; }
        .item-3 .content-wrapper { padding-right: 100px; }

        .item-4 { margin-bottom: 80px; }
        .item-4 .curve-connector { width: 180px; }
        .item-4 .content-wrapper { padding-left: 180px; }

        .item-5 { margin-bottom: 40px; }
        .item-5 .curve-connector { width: 150px; }
        .item-5 .content-wrapper { padding-right: 150px; }

        .item-6 { margin-bottom: 100px; }
        .item-6 .curve-connector { width: 120px; }
        .item-6 .content-wrapper { padding-left: 120px; }

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

        .cloud-frame {
            position: relative;
            width: 200px;
            height: 180px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.4));
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .project-item.visible .cloud-frame {
            filter: drop-shadow(0 18px 45px rgba(212, 255, 43, 0.15));
            transform: translateY(-8px);
        }

        .cloud-frame:hover {
            filter: drop-shadow(0 20px 50px rgba(212, 255, 43, 0.25));
            transform: translateY(-12px);
        }

        .cloud-shape {
            position: absolute;
            width: 100%;
            height: 100%;
            background: var(--bg-card);
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            border: 2.5px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .cloud-content {
            width: 92%;
            height: 92%;
            background: var(--bg-elevated);
            border-radius: 48% 48% 48% 48% / 58% 58% 38% 38%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 60px;
            transition: all 0.3s ease;
        }

        .cloud-frame:hover .cloud-content {
            transform: scale(1.1);
            font-size: 65px;
        }

        .project-info {
            text-align: center;
            max-width: 280px;
            width: 100%;
        }

        .project-number {
            font-size: 12px;
            font-weight: 700;
            color: #d4ff2b;
            letter-spacing: 2px;
            margin-bottom: 8px;
        }

        .project-title {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.3px;
            margin-bottom: 10px;
            color: var(--text-primary);
            line-height: 1.4;
        }

        .project-description {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 14px;
        }

        .tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
            margin-bottom: 16px;
        }

        .tech-tag {
            display: inline-block;
            background: var(--bg-elevated);
            color: #d4ff2b;
            padding: 6px 13px;
            border-radius: 16px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.4px;
            border: 1px solid var(--border);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tech-tag:hover {
            background: #d4ff2b;
            color: #0c0c0c;
            border-color: #d4ff2b;
            transform: translateY(-2px);
        }

        .github-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.5px;
            padding: 10px 18px;
            border: 1.5px solid var(--border);
            border-radius: 6px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--bg-card);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .github-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: #d4ff2b;
            z-index: -1;
            transition: left 0.3s ease;
        }

        .github-link:hover {
            color: #0c0c0c;
            gap: 8px;
            border-color: #d4ff2b;
        }

        .github-link:hover::before {
            left: 0;
        }

        .timeline-end {
            display: flex;
            justify-content: center;
            margin-top: 50px;
            position: relative;
            z-index: 5;
        }

        .btn-more {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #d4ff2b, #a8e600);
            color: #0c0c0c;
            padding: 16px 36px;
            border-radius: 40px;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            letter-spacing: 0.5px;
            box-shadow: 0 10px 30px rgba(212, 255, 43, 0.15);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            border: 2px solid transparent;
            overflow: hidden;
        }

        .btn-more:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 15px 40px rgba(212, 255, 43, 0.3);
            border-color: rgba(255,255,255,0.5);
        }

        .btn-more span, .btn-more svg {
            z-index: 1;
            position: relative;
        }

        @keyframes fadeInScale {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        
        .project-item.visible {
            opacity: 1;
            animation: none;
        }
        .project-item.visible .cloud-frame {
            animation: pulseScale 0.6s ease-out;
        }
        @keyframes pulseScale {
            0% { transform: scale(0.95); opacity: 0; }
            50% { transform: scale(1.02); }
            100% { transform: scale(1); opacity: 1; }
        }

        @media (max-width: 1024px) {
            .timeline-item.left, .timeline-item.right { padding: 0; justify-content: center; }
            .content-wrapper { padding: 0 !important; margin-top: 50px; display: flex; justify-content: center !important; }
            .timeline-pill { top: 0; transform: translate(-50%, -50%); }
            .curve-connector, .timeline-center-line { display: none; }
            .item-1, .item-2, .item-3, .item-4, .item-5, .item-6 { margin-bottom: 80px; margin-top: 40px; }
        }
