/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --bg: #060608;
  --bg-2: #0c0c10;
  --bg-card: #111116;
  --surface: #16161c;
  --border: rgba(255,255,255,0.07);
  --accent: #63b3ed;
  --accent-warm: #f6ad55;
  --accent-green: #22c55e;
  --accent-glow: rgba(99,179,237,0.12);
  --text: #f0f0f5;
  --text-muted: #7c7c8f;
  --text-dim: #3a3a4a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.2s ease;
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); }

/* ===========================
   CURSOR — DESKTOP ONLY
=========================== */
@media (pointer: fine) {
  body.cursor-active { cursor: none; }
  body.cursor-active .cursor,
  body.cursor-active .cursor-dot { display: block; }
}

.cursor, .cursor-dot { display: none; }

.cursor {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(99,179,237,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, border-color 0.2s ease;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

/* ===========================
   CURSOR TOGGLE (PRO MOVE)
=========================== */
.cursor-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--fast);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cursor-toggle:hover {
  border-color: rgba(99,179,237,0.4);
  color: var(--accent);
}

.cursor-toggle.active {
  border-color: rgba(99,179,237,0.4);
  color: var(--accent);
  background: rgba(99,179,237,0.06);
}

@media (pointer: coarse) {
  .cursor-toggle { display: none; }
}

/* ===========================
   NOISE
=========================== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  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-size: 200px 200px;
}

/* ===========================
   HEADER
=========================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(6,6,8,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.logo-bracket { color: var(--accent); }

nav {
  display: flex;
  gap: 4px;
}

nav a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: 6px;
  transition: color var(--fast), background var(--fast);
}

nav a:hover, nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
  transition: all var(--fast);
  font-family: var(--font-body);
}

.btn-resume:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: #06060a;
  padding: 8px 20px;
  border-radius: 100px;
  transition: all var(--fast);
  font-family: var(--font-display);
}

.nav-cta:hover {
  background: #93c5fd;
  transform: translateY(-1px);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
}

.orb-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  top: -220px; right: -80px;
  animation: float1 9s ease-in-out infinite;
}

.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: 80px; left: -60px;
  animation: float2 11s ease-in-out infinite;
  opacity: 0.1;
}

.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  top: 45%; left: 42%;
  animation: float3 14s ease-in-out infinite;
  opacity: 0.07;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 68%);
}

@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(28px,-28px) scale(1.04)} 66%{transform:translate(-18px,18px) scale(0.98)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(38px,-18px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-28px,28px) scale(1.08)} }

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.025);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.2s;
}

.dot-pulse {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #22c55e;
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(2.2);opacity:0} }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(68px, 10.5vw, 124px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -3px;
  margin-bottom: 22px;
  overflow: hidden;
}

.line-reveal {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: lineUp 0.9s var(--ease) forwards;
}
.line-reveal.delay-1 { animation-delay: 0.14s; }

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

.hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.38s;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
}

.hero-divider { color: var(--text-dim); font-size: 18px; }

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.5s;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.62s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #06060a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}

.btn-primary:hover {
  background: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(99,179,237,0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 13px 26px;
  border-radius: 100px;
  transition: all var(--fast);
}

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

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.76s;
}

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

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.stat-unit {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.stat-sep {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.3s;
}

.scroll-hint span {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { to { opacity:0.5; } }

/* ===========================
   SECTIONS
=========================== */
.section { padding: 120px 48px; }
.section-dark {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container { max-width: 1200px; margin: 0 auto; }

.section-tag {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before { content:''; width:22px; height:1px; background:var(--accent); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 56px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ===========================
   ABOUT
=========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-links { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--fast);
}

.about-link:hover { color: var(--accent); }

/* ===========================
   SKILLS
=========================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 6px;
  transition: all var(--fast);
  cursor: default;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* ===========================
   PROJECTS
=========================== */
.projects-list { display: flex; flex-direction: column; }

.project-item {
  display: grid;
  grid-template-columns: 160px 1fr 36px;
  gap: 36px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: pointer;
}

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

.project-item::before {
  content: '';
  position: absolute;
  inset: 0 -28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  opacity: 0;
  transition: opacity var(--fast);
  z-index: -1;
}

.project-item:hover::before { opacity: 1; }

/* FEATURED PROJECT */
.project-featured {
  border: 1px solid rgba(99,179,237,0.18) !important;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(99,179,237,0.03) 0%, transparent 60%);
  padding: 40px 32px !important;
  margin-bottom: 0;
  position: relative;
}

.project-featured::before {
  inset: 0 !important;
  border-radius: var(--radius) !important;
}

.project-featured-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-warm);
  background: rgba(246,173,85,0.1);
  border: 1px solid rgba(246,173,85,0.25);
  border-top: none;
  padding: 5px 12px 7px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.project-meta { display: flex; flex-direction: column; gap: 12px; }

.project-num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 1px;
}

.project-tags { display: flex; flex-direction: column; gap: 4px; }

.project-tags span {
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.project-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  transition: color var(--fast);
}

.project-item:hover .project-title { color: var(--accent); }

/* ===========================
   STORY NARRATIVE (NEW)
=========================== */
.project-story {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.story-step {
  flex: 1;
  min-width: 140px;
}

.story-label {
  display: inline-block;
  font-size: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 7px;
}

.story-label.problem {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248,113,113,0.2);
}
.story-label.solution {
  color: var(--accent);
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.2);
}
.story-label.impact {
  color: var(--accent-green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
}

.story-step p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.story-arrow {
  font-size: 16px;
  color: var(--text-dim);
  padding-top: 22px;
  flex-shrink: 0;
}

/* Project Metrics */
.project-metrics {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: rgba(99,179,237,0.06);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: 8px;
  min-width: 80px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.metric-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* PROJECT LINKS (NEW: side-by-side live + github) */
.project-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  transition: gap var(--fast);
}

.project-link:hover { gap: 10px; }

/* LIVE DEMO LINK */
.project-link-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #06060a;
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}

.project-link-live:hover {
  background: #93c5fd;
  gap: 10px;
  transform: translateY(-1px);
}

/* COMING SOON BADGE */
.live-badge {
  font-size: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-warm);
  background: rgba(246,173,85,0.15);
  border: 1px solid rgba(246,173,85,0.3);
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Show "coming soon" link differently */
.project-link-live:has(.live-badge) {
  background: rgba(99,179,237,0.08);
  color: var(--accent);
  border: 1px solid rgba(99,179,237,0.2);
}

.project-link-live:has(.live-badge):hover {
  background: rgba(99,179,237,0.14);
  color: var(--accent);
}

.project-arrow {
  font-size: 22px;
  color: var(--text-dim);
  transition: all var(--fast);
  align-self: flex-start;
  margin-top: 4px;
}

.project-item:hover .project-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

/* ===========================
   EXPERIENCE
=========================== */
.experience-list { display: flex; flex-direction: column; }

.exp-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

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

.exp-left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.exp-icon {
  width: 50px; height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.exp-duration {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.exp-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }

.exp-company {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.exp-badge {
  font-size: 10px;
  color: var(--accent);
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.exp-role {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.exp-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.exp-points li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.exp-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 1px;
}

.exp-points strong { color: var(--text); font-weight: 500; }

/* Exp metrics */
.exp-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.exp-metric {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 1.3;
}

.exp-metric span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  display: block;
}

/* ===========================
   EDUCATION
=========================== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.edu-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--fast);
}

.edu-card:hover {
  border-color: rgba(99,179,237,0.3);
  transform: translateY(-3px);
}

.edu-icon {
  width: 48px; height: 48px;
  background: rgba(99,179,237,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.edu-icon.cert { background: rgba(246,173,85,0.08); color: var(--accent-warm); }

.edu-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.edu-inst {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.edu-cgpa {
  font-size: 13px;
  color: var(--text-dim);
}

.edu-cgpa strong { color: var(--accent); }

/* ===========================
   CONTACT
=========================== */
.contact-section { position: relative; overflow: hidden; }

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,179,237,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner { text-align: center; max-width: 680px; margin: 0 auto; }

.contact-eyebrow {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-display);
  margin-bottom: 18px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* Resume CTA button */
.resume-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #06060a;
  background: linear-gradient(135deg, #63b3ed, #93c5fd);
  padding: 15px 32px;
  border-radius: 100px;
  margin-bottom: 40px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 32px rgba(99,179,237,0.25);
}

.resume-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(99,179,237,0.35);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

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

.contact-card:hover {
  border-color: rgba(99,179,237,0.35);
  background: rgba(99,179,237,0.04);
  transform: translateX(6px);
}

.contact-card-icon {
  width: 42px; height: 42px;
  background: rgba(99,179,237,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-card-val { font-size: 14px; color: var(--text); }

.contact-arrow {
  margin-left: auto;
  color: var(--text-dim);
  transition: all var(--fast);
  flex-shrink: 0;
}

.contact-card:hover .contact-arrow {
  color: var(--accent);
  transform: translate(3px,-3px);
}

/* ===========================
   FOOTER
=========================== */
footer {
  padding: 26px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p { font-size: 13px; color: var(--text-dim); }

.back-top {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--fast);
}

.back-top:hover { color: var(--accent); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  #header { padding: 0 24px; }
  nav { display: none; }
  .hero { padding: 90px 24px 60px; }
  .section { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .project-item { grid-template-columns: 1fr; gap: 14px; }
  .project-item:not(.project-featured) { grid-template-columns: 1fr; }
  .project-meta { flex-direction: row; align-items: center; gap: 16px; }
  .project-arrow { display: none; }
  .exp-item { grid-template-columns: 1fr; gap: 16px; }
  .exp-left { flex-direction: row; align-items: center; }
  .edu-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
  .project-story { flex-direction: column; gap: 12px; }
  .story-arrow { padding-top: 0; transform: rotate(90deg); }
  .cursor-toggle { bottom: 16px; right: 16px; }
}

@media (max-width: 600px) {
  .hero-name { letter-spacing: -2px; }
  .hero-title-wrap { flex-direction: column; gap: 4px; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 18px; }
  .stat-sep { display: none; }
  .skills-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-resume { display: none; }
  .project-links { flex-direction: column; align-items: flex-start; }
  .project-featured { padding: 24px 16px !important; }
}