/* ===== Design tokens ===== */
:root{
  --bg: #06070d;
  --bg-alt: #0a0c16;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.09);
  --text: #eef0f7;
  --text-dim: #9aa0b4;
  --text-faint: #666d85;
  --accent-1: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff5cad;
  --gradient: linear-gradient(120deg, var(--accent-2), var(--accent-1) 55%, var(--accent-3));
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  --radius: 20px;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; }

/* subtle grain */
.noise-overlay{
  position: fixed; inset:0; pointer-events:none; z-index: 2;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow{
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.14), transparent 70%);
  pointer-events:none; z-index:1; transform: translate(-50%,-50%);
  transition: opacity .3s ease;
  left: -500px; top: -500px;
}

.progress-bar{
  position: fixed; top:0; left:0; height:3px; width:0%;
  background: var(--gradient); z-index: 1000;
  box-shadow: 0 0 12px rgba(124,92,255,0.7);
}

/* ===== Utility ===== */
.container{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gradient-text{
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift{
  0%,100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}

.section{ position: relative; padding: 130px 0; }
.section-alt{ background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%); }
.section-tag{
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 3px;
  font-size: 13px; color: var(--accent-2); font-weight: 600; margin: 0 0 14px;
}
.section-tag.center{ text-align: center; }
.section-title{
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; margin: 0 0 22px; letter-spacing: -0.5px;
}
.section-title.center{ text-align: center; margin-left:auto; margin-right:auto; max-width: 720px; }

.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .3s ease;
  font-family: var(--font-body);
}
.btn span{ transition: transform .3s ease; }
.btn:hover span{ transform: translateX(4px); }
.btn-primary{ background: var(--gradient); color: #05060b; box-shadow: 0 10px 30px -8px rgba(124,92,255,0.55); }
.btn-primary:hover{ filter: brightness(1.08); transform: translateY(-2px); }
.btn-outline{ border-color: var(--border); color: var(--text); background: var(--surface); backdrop-filter: blur(10px); }
.btn-outline:hover{ border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }
.btn-small{ padding: 9px 18px; font-size: 13px; }
.full-width{ width: 100%; justify-content: center; }

/* ===== Navbar ===== */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 18px 0; transition: all .35s ease;
}
.navbar.scrolled{
  padding: 12px 0; background: rgba(6,7,13,0.7); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.logo-text .accent{
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%; animation: gradientShift 6s ease infinite;
}

/* 3D cube logo mark */
.logo-3d{ width: 28px; height: 28px; display:inline-block; perspective: 140px; flex-shrink:0; }
.logo-3d-inner{
  display:block; position: relative; width:100%; height:100%; transform-style: preserve-3d;
  animation: logoSpin 7s linear infinite;
}
.logo-3d-inner .face{
  position:absolute; inset:0; border-radius: 8px; background: var(--gradient); opacity:.92;
  box-shadow: 0 0 14px rgba(124,92,255,0.5);
}
.logo-3d-inner .front{ transform: translateZ(14px); }
.logo-3d-inner .back{ transform: translateZ(-14px) rotateY(180deg); }
.logo-3d-inner .right{ transform: rotateY(90deg) translateZ(14px); }
.logo-3d-inner .left{ transform: rotateY(-90deg) translateZ(14px); }
.logo-3d-inner .top{ transform: rotateX(90deg) translateZ(14px); }
.logo-3d-inner .bottom{ transform: rotateX(-90deg) translateZ(14px); }
@keyframes logoSpin{
  from{ transform: rotateY(0deg) rotateX(-16deg); }
  to{ transform: rotateY(360deg) rotateX(-16deg); }
}
.nav-links{ display:flex; gap: 30px; flex:1; justify-content: center; }
.nav-link{
  font-size: 14px; font-weight: 500; color: var(--text-dim); position: relative; padding: 6px 0;
  transition: color .25s ease;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--gradient); transition: width .3s ease;
}
.nav-link:hover, .nav-link.active{ color: var(--text); }
.nav-link:hover::after, .nav-link.active::after{ width: 100%; }
.nav-cta{ flex-shrink:0; }
.hamburger{
  display:none; flex-direction: column; gap: 5px; background:none; border:none; cursor:pointer; padding: 8px;
}
.hamburger span{ width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s ease; }

/* ===== Hero ===== */
.hero{
  position: relative; min-height: 100vh; display:flex; flex-direction: column;
  align-items: center; justify-content: center; text-align:center; overflow:hidden;
  padding: 140px 24px 80px;
}
#heroCanvas{ position:absolute; inset:0; z-index:0; }
.hero-glow{
  position:absolute; border-radius: 50%; filter: blur(90px); z-index:0; opacity:.5; pointer-events:none;
}
.glow-1{ width:520px; height:520px; background: var(--accent-1); top:-120px; left:-160px; }
.glow-2{ width:420px; height:420px; background: var(--accent-2); bottom:-100px; right:-120px; opacity:.35; }
.hero-content{ position:relative; z-index:2; max-width: 780px; }
.hero-title{
  font-family: var(--font-display); font-size: clamp(36px, 6.5vw, 68px); font-weight: 700;
  line-height: 1.08; margin: 0 0 18px; letter-spacing: -1px;
}
.hero-role{
  font-family: var(--font-display); font-size: clamp(18px, 2.6vw, 26px); font-weight: 500;
  color: var(--accent-2); margin: 0 0 22px; min-height: 34px;
}
.cursor-blink{ animation: blink 1s step-start infinite; color: var(--accent-2); }
@keyframes blink{ 50%{ opacity:0; } }
.hero-desc{ color: var(--text-dim); font-size: 17px; max-width: 620px; margin: 0 auto 36px; }
.hero-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom: 34px; }
.hero-socials{ display:flex; gap: 14px; justify-content:center; }
.hero-socials a{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); background: var(--surface); font-size: 16px; font-weight:700;
  transition: all .3s ease; backdrop-filter: blur(10px);
}
.hero-socials a:hover{ transform: translateY(-4px); border-color: var(--accent-2); color: var(--accent-2); box-shadow: 0 8px 24px -8px rgba(34,211,238,0.5); }

.scroll-indicator{
  position:absolute; bottom: 36px; left:50%; transform: translateX(-50%); z-index:2;
  display:flex; flex-direction: column; align-items:center; gap:8px; color: var(--text-faint); font-size:11px;
  text-transform: uppercase; letter-spacing: 2px;
}
.scroll-indicator span{
  width: 22px; height: 36px; border: 2px solid var(--border); border-radius: 14px; position:relative;
}
.scroll-indicator span::before{
  content:''; position:absolute; top:6px; left:50%; transform: translateX(-50%);
  width:4px; height:8px; background: var(--accent-2); border-radius: 2px; animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot{ 0%{ opacity:1; top:6px; } 100%{ opacity:0; top:20px; } }

/* ===== Reveal animations ===== */
.reveal, .reveal-left, .reveal-right, .reveal-up{
  opacity:0; transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
}
.reveal{ transform: translateY(24px); }
.reveal-left{ transform: translateX(-50px); }
.reveal-right{ transform: translateX(50px); }
.reveal-up{ transform: translateY(40px); }
.in-view{ opacity:1 !important; transform: translate(0,0) !important; }
.hero-content .reveal:nth-child(1){ transition-delay: .05s; }
.hero-content .reveal:nth-child(2){ transition-delay: .15s; }
.hero-content .reveal:nth-child(3){ transition-delay: .25s; }
.hero-content .reveal:nth-child(4){ transition-delay: .35s; }
.hero-content .reveal:nth-child(5){ transition-delay: .45s; }
.hero-content .reveal:nth-child(6){ transition-delay: .55s; }

/* ===== About ===== */
.about-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items:center; }
.about-visual{ display:flex; justify-content:center; perspective: 1200px; }
.photo-float{
  width: 320px; max-width:100%; animation: photoFloat 5s ease-in-out infinite;
}
@keyframes photoFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-16px); }
}
.photo-card{
  position:relative; width: 100%; border-radius: 28px; overflow:visible;
  transform-style: preserve-3d; transition: transform .2s ease;
}
.profile-photo{
  position:relative; z-index:2; width:100%; display:block;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55));
  animation: photoPulse 5s ease-in-out infinite;
}
@keyframes photoPulse{
  0%,100%{ filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55)) drop-shadow(0 0 0 rgba(124,92,255,0)); }
  50%{ filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55)) drop-shadow(0 0 32px rgba(124,92,255,0.35)); }
}
.photo-glow{
  position:absolute; left:50%; top:52%; transform: translate(-50%,-50%);
  width: 78%; height: 78%; border-radius: 50%; z-index:0;
  background: radial-gradient(circle, rgba(124,92,255,0.45), rgba(34,211,238,0.25) 45%, transparent 72%);
  filter: blur(30px); animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse{
  0%,100%{ opacity:.7; transform: translate(-50%,-50%) scale(1); }
  50%{ opacity:1; transform: translate(-50%,-50%) scale(1.12); }
}
.floating-badge{
  position:absolute; background: rgba(10,12,22,0.9); border:1px solid var(--border);
  backdrop-filter: blur(12px); padding: 9px 16px; border-radius: 100px; font-size: 13px; font-weight:600;
  box-shadow: var(--shadow); animation: floatY 4.5s ease-in-out infinite; white-space:nowrap; z-index:3;
}
.badge-1{ top: 4%; right: -2%; animation-delay: 0s; }
.badge-2{ bottom: 34%; left: -4%; animation-delay: 1.2s; }
.badge-3{ bottom: 6%; right: -2%; animation-delay: 2.4s; }
@keyframes floatY{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.about-text{ color: var(--text-dim); margin-bottom: 18px; font-size: 16px; }
.about-text strong{ color: var(--text); }
.stats-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top: 34px; }
.stat-card{
  background: var(--surface); border:1px solid var(--border); border-radius: 16px; padding: 20px 12px;
  text-align:center; backdrop-filter: blur(10px);
}
.stat-num{ display:block; font-family: var(--font-display); font-size: 30px; font-weight:700; color: var(--accent-2); }
.stat-label{ font-size: 12px; color: var(--text-faint); }

/* ===== Tilt cards ===== */
.tilt-card{ transform-style: preserve-3d; transition: transform .15s ease, box-shadow .3s ease; will-change: transform; }

/* ===== Timeline ===== */
.timeline{ position:relative; max-width: 880px; margin: 60px auto 0; }
.timeline::before{
  content:''; position:absolute; left:50%; top:0; bottom:0; width:2px;
  background: linear-gradient(180deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-item{ position:relative; width:50%; padding: 0 46px 60px; }
.timeline-item:nth-child(odd){ left:0; text-align:right; }
.timeline-item:nth-child(even){ left:50%; text-align:left; }
.timeline-dot{
  position:absolute; top: 4px; width:14px; height:14px; border-radius:50%;
  background: var(--gradient); box-shadow: 0 0 0 5px rgba(124,92,255,0.15);
}
.timeline-item:nth-child(odd) .timeline-dot{ right: -7px; }
.timeline-item:nth-child(even) .timeline-dot{ left: -7px; }
.timeline-card{
  background: var(--surface); border:1px solid var(--border); border-radius: 18px; padding: 24px 26px;
  backdrop-filter: blur(10px); display:inline-block; text-align:left; width:100%;
}
.timeline-date{
  font-size: 12px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color: var(--accent-2);
}
.timeline-card h3{ margin: 8px 0 4px; font-family: var(--font-display); font-size: 19px; }
.timeline-org{ color: var(--text-faint); font-size: 13px; margin: 0 0 10px; font-style: italic; }
.timeline-card p:last-child{ color: var(--text-dim); font-size: 14px; margin:0; }

/* ===== Projects ===== */
.projects-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.projects-grid .project-card:last-child:nth-child(odd){ grid-column: 1 / -1; }
.project-card{
  position:relative; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; backdrop-filter: blur(10px); display:flex; flex-direction:column;
}
.project-photo{
  position:relative; width:100%; aspect-ratio: 5 / 4; overflow:hidden;
}
.project-photo img{
  width:100%; height:100%; object-fit:cover; object-position: center 22%;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  filter: saturate(1.05);
}
.project-card:hover .project-photo img{ transform: scale(1.06); }
.project-photo-overlay{
  position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,7,13,0) 40%, rgba(6,7,13,0.92) 100%);
  pointer-events:none;
}
.project-icon-chip{
  position:absolute; bottom:14px; left:16px; font-size: 22px; width:46px; height:46px; border-radius:14px;
  background: rgba(10,12,22,0.75); border:1px solid var(--border); backdrop-filter: blur(10px);
  display:flex; align-items:center; justify-content:center;
}
.project-body{ padding: 26px 32px 34px; }
.project-body.no-photo{ padding: 34px 32px; }
.project-body.no-photo .project-icon{ font-size: 40px; margin-bottom: 16px; }
.project-link{
  display:inline-flex; align-items:center; gap:8px; margin-top: 18px; font-size: 14px; font-weight:600;
  color: var(--accent-2); transition: gap .25s ease, color .25s ease;
}
.project-link span{ transition: transform .25s ease; }
.project-link:hover{ color: var(--accent-3); }
.project-link:hover span{ transform: translateX(4px); }
.project-award{
  display:inline-block; font-size:12px; font-weight:700; color: var(--accent-2); background: rgba(34,211,238,0.1);
  border:1px solid rgba(34,211,238,0.3); padding: 6px 14px; border-radius:100px; margin-bottom: 16px;
}
.project-card h3{ font-family: var(--font-display); font-size: 26px; margin: 0 0 4px; }
.project-sub{ color: var(--text-dim); font-weight:600; margin: 0 0 14px; }
.project-desc{ color: var(--text-dim); font-size: 14.5px; margin-bottom: 20px; }
.project-tags{ display:flex; gap:10px; flex-wrap:wrap; }
.project-tags span{
  font-size:12px; padding: 6px 13px; border-radius:100px; border:1px solid var(--border); color: var(--text-dim);
}

/* ===== Achievements ===== */
.achievements-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.achieve-card{
  background: var(--surface); border:1px solid var(--border); border-radius: 18px; padding: 26px 20px;
  text-align:center; backdrop-filter: blur(10px);
}
.achieve-card h3{ font-family: var(--font-display); font-size: 16px; margin: 0 0 8px; }
.achieve-card p{ color: var(--text-faint); font-size: 13px; margin:0; }

.certs-wrap{ margin-top: 70px; text-align:center; }
.certs-title{ font-family: var(--font-display); font-size: 20px; margin-bottom: 24px; }
.certs-grid{ display:flex; flex-wrap:wrap; gap: 14px; justify-content:center; }
.cert-chip{
  background: var(--surface); border:1px solid var(--border); border-radius: 100px; padding: 12px 20px;
  font-size: 13.5px; color: var(--text-dim); backdrop-filter: blur(10px);
}
.cert-chip span{ color: var(--accent-2); font-weight:700; margin-left: 6px; }


/* ===== Speaking ===== */
.speaking-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.speaking-grid .speak-card:last-child:nth-child(odd){ grid-column: 1 / -1; }
.speak-card{
  background: var(--surface); border:1px solid var(--border); border-radius: 18px; padding: 28px;
  backdrop-filter: blur(10px); position:relative;
}
.speak-card::before{ content:'"'; position:absolute; top:6px; right:20px; font-family: var(--font-display); font-size:56px; color: var(--border); }
.speak-tag{ font-size: 12px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color: var(--accent-3); }
.speak-card h3{ font-family: var(--font-display); font-size: 18px; margin: 10px 0 0; font-weight:600; }

/* ===== Skills ===== */
.skills-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 56px; }
.skill-col h3{ font-family: var(--font-display); font-size: 20px; margin: 0 0 24px; }
.skill-col h3.mt{ margin-top: 34px; }
.skill-bar{ margin-bottom: 20px; }
.skill-name{ font-size: 14px; color: var(--text-dim); display:block; margin-bottom: 8px; }
.bar-track{ height: 8px; border-radius: 100px; background: var(--surface); border:1px solid var(--border); overflow:hidden; }
.bar-fill{
  height:100%; width:0%; border-radius:100px; background: var(--gradient);
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.tag-cloud{ display:flex; flex-wrap:wrap; gap:10px; }
.tag-cloud span{
  font-size:13px; padding: 9px 16px; border-radius:100px; border:1px solid var(--border);
  color: var(--text-dim); background: var(--surface); transition: all .25s ease;
}
.tag-cloud span:hover{ border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

/* ===== Contact ===== */
.contact-section{ position:relative; overflow:hidden; }
#contactCanvas{ position:absolute; inset:0; z-index:0; opacity:.6; }
.contact-grid{ position:relative; z-index:1; display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.contact-list{ margin-top: 34px; display:flex; flex-direction:column; gap: 16px; }
.contact-item{
  display:flex; align-items:center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border:1px solid var(--border); backdrop-filter: blur(10px); transition: all .25s ease;
}
a.contact-item:hover{ border-color: var(--accent-2); transform: translateX(4px); box-shadow: 0 10px 30px -14px rgba(34,211,238,0.4); }
.contact-icon{
  width:42px; height:42px; border-radius:50%; background: var(--surface-strong); display:flex; align-items:center;
  justify-content:center; font-weight:700; flex-shrink:0; color: var(--accent-2);
}
.contact-label{ font-size: 15px; font-weight:600; flex:1; }
.contact-arrow{ color: var(--text-faint); transition: transform .25s ease, color .25s ease; }
a.contact-item:hover .contact-arrow{ transform: translateX(5px); color: var(--accent-2); }
.contact-static{ cursor: default; }
.contact-static:hover{ transform:none; box-shadow:none; }
.contact-static .contact-label{ font-weight:500; color: var(--text-dim); }

.contact-form{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 34px;
  backdrop-filter: blur(10px); display:flex; flex-direction:column; gap: 16px;
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea{
  width:100%; background: rgba(255,255,255,0.03); border:1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; color: var(--text); font-family: var(--font-body); font-size:14px; resize: vertical;
  transition: border-color .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color: var(--accent-2); }
.form-note{ font-size: 12px; color: var(--text-faint); text-align:center; margin:0; }

/* ===== Footer ===== */
.footer{ padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap:wrap; }
.footer-inner p{ color: var(--text-faint); font-size: 13px; margin:0; text-align:center; flex:1; }
.to-top{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background: var(--surface);
  color: var(--text); cursor:pointer; transition: all .25s ease; font-size:16px;
}
.to-top:hover{ border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .about-grid, .contact-grid{ grid-template-columns: 1fr; gap: 50px; }
  .about-visual{ order: -1; }
  .projects-grid, .speaking-grid{ grid-template-columns: 1fr; }
  .achievements-grid{ grid-template-columns: repeat(2, 1fr); }
  .skills-wrap{ grid-template-columns: 1fr; gap: 40px; }
  .timeline::before{ left: 18px; }
  .timeline-item, .timeline-item:nth-child(even){ width:100%; left:0 !important; text-align:left !important; padding: 0 0 40px 50px; }
  .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot{ left: 11px; right:auto; }
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .nav-cta{ display:none; }
}
@media (max-width: 900px){
  .navbar.menu-open .nav-links{
    display:flex; position: fixed; top: 66px; left:16px; right:16px; flex-direction:column;
    background: rgba(10,12,22,0.97); border:1px solid var(--border); border-radius: 18px; padding: 22px;
    gap: 6px; backdrop-filter: blur(20px); box-shadow: var(--shadow);
  }
  .navbar.menu-open .nav-link{ padding: 12px 6px; }
}
@media (max-width: 560px){
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .achievements-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .section{ padding: 90px 0; }
}
