/* =============================================
   ANJAN SIMKHADA — Portfolio Stylesheet v2
   ============================================= */

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

:root {
  --bg:        #07040f;
  --bg-2:      #0a0618;
  --bg-card:   rgba(255,255,255,0.04);
  --border:    rgba(100,255,218,0.12);
  --accent:    #64ffda;
  --accent-2:  #7b61ff;
  --accent-3:  #ff6b6b;
  --gold:      #f4b942;
  --gold-dim:  #a07820;
  --text:      #ccd6f6;
  --text-dim:  #8892b0;
  --white:     #e6f1ff;
  --radius:    16px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── Space canvas ─────────────────────────── */
#spaceCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Nebula blobs ─────────────────────────── */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: nebula-drift 20s ease-in-out infinite alternate;
}
.neb-1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(123,97,255,0.12), transparent 70%);
  top: -100px; left: -100px;
  animation-duration: 22s;
}
.neb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(100,255,218,0.07), transparent 70%);
  top: 30%; right: -120px;
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}
.neb-3 {
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(244,185,66,0.06), transparent 70%);
  bottom: 20%; left: 10%;
  animation-duration: 18s;
}
.neb-4 {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,107,0.06), transparent 70%);
  bottom: -50px; right: 20%;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}
@keyframes nebula-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(30px, 20px) scale(1.08); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}

/* ── Custom cursor ────────────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(255,255,255,0.65);
}
.cursor-ring {
  width: 32px; height: 32px;
  background: rgba(100,255,218,0.16);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  filter: blur(5px);
  transition:
    width  0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.38s,
    filter 0.38s;
  animation: aura-breathe 4s ease-in-out infinite;
}
@keyframes aura-breathe {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.5; }
  50%       { transform: translate(-50%,-50%) scale(1.2);  opacity: 0.78; }
}
.cursor-ring.hover {
  width: 50px; height: 50px;
  background: rgba(244,185,66,0.22);
  filter: blur(7px);
}

/* ── Astronaut ────────────────────────────── */
.astronaut-wrap {
  position: fixed;
  right: 4vw;
  top: 20vh;
  width: 120px;
  z-index: 50;
  pointer-events: none;
  animation: astro-float 7s ease-in-out infinite;
  transform-origin: center center;
  transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 0 20px rgba(100,255,218,0.15));
}
.astro-svg { width: 100%; height: auto; }

.tether-line {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 1px;
  height: 120px;
  background: linear-gradient(to top, rgba(100,255,218,0.4), rgba(100,255,218,0.05));
  transform-origin: bottom center;
}

@keyframes astro-float {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-14px) rotate(1.5deg); }
  50%  { transform: translateY(-6px) rotate(-1deg); }
  75%  { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ── Nav ──────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(7,4,15,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--accent); letter-spacing: -0.5px;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.55rem;
  transition: opacity 0.25s, transform 0.25s;
}
.nav-logo:hover { opacity: 0.75; transform: scale(1.05); }
.nav-logo svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; border-radius: 2px; }

/* ── Container ────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

/* ── Section shared ───────────────────────── */
section { min-height: 100vh; padding: 8rem 0; position: relative; }
.section-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white);
  margin-bottom: 3rem; line-height: 1.2;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-gold {
  background: linear-gradient(135deg, var(--gold), #ff9f43);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Glass ────────────────────────────────── */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.glass:hover {
  border-color: rgba(100,255,218,0.3);
  box-shadow: 0 0 40px rgba(100,255,218,0.06), 0 20px 60px rgba(0,0,0,0.3);
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: all 0.3s var(--transition); letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #3de8c4);
  color: #07040f;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(100,255,218,0.45);
}
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent); transform: translateY(-3px);
}

/* ── Reveal animations ────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 0 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ── Birds ────────────────────────────────── */
.bird-flock {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}
.bird {
  position: absolute;
  left: -80px;
  animation: bird-soar linear infinite;
}
@keyframes bird-soar {
  0%   { left: -80px;               opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: calc(100% + 80px);   opacity: 0; }
}

/* Golden Elysium atmosphere */
.hero-atmosphere {
  position: absolute;
  bottom: -20px; left: 0; right: 0;
  height: 60%;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(210,130,15,0.38), transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 100%, rgba(255,200,80,0.18), transparent 60%),
    radial-gradient(ellipse 50% 30% at 70% 100%, rgba(255,150,50,0.15), transparent 60%),
    radial-gradient(ellipse 40% 20% at 50% 96%, rgba(255,220,120,0.10), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Wheat canvas */
#wheatCanvas {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%; height: 300px;
  z-index: 2;
  pointer-events: none;
}

/* Golden dust particles container */
.golden-dust-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.dust-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  animation: dust-rise linear infinite;
  opacity: 0;
}
@keyframes dust-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-180px) translateX(var(--dx, 30px)); opacity: 0; }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 3;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(244,185,66,0.1);
  border: 1px solid rgba(244,185,66,0.3);
  color: var(--gold);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800; line-height: 1; letter-spacing: -2px;
  color: var(--white); margin-bottom: 1rem;
}
.hero-name .line { display: block; }
.hero-sub {
  font-size: 1.15rem; color: var(--text-dim); margin-bottom: 1.2rem; font-weight: 500;
  min-height: 1.6rem;
}
.hero-desc {
  font-size: 1rem; color: var(--text-dim); line-height: 1.8;
  margin-bottom: 2.5rem; max-width: 480px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-dim); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both; z-index: 3;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; height: 40px; }
  50%       { opacity: 1;   height: 65px; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.about-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--white); margin-bottom: 1.5rem; line-height: 1.2;
}
.about-text p { color: var(--text-dim); line-height: 1.8; margin-bottom: 1.2rem; font-size: 0.97rem; }
.about-stats { display: flex; gap: 1.5rem; margin-top: 2.5rem; }
.stat-card {
  background: rgba(100,255,218,0.05);
  border: 1px solid rgba(100,255,218,0.15);
  border-radius: 12px; padding: 1.2rem 1.4rem;
  text-align: center; flex: 1;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--accent);
}
.stat-num::after { content: '+'; }
.stat-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }
.info-card { padding: 2rem; }
.info-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 0.2rem; }
.info-val { font-size: 0.92rem; color: var(--white); font-weight: 500; }

/* ═══════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════ */
#skills { background: var(--bg); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skills-grid .skill-card:last-child:nth-child(3n+1) { grid-column: 2; }
.skill-card {
  padding: 1.8rem;
  transition: transform 0.3s var(--transition), border-color 0.3s;
  position: relative; overflow: hidden;
}
.skill-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(100,255,218,0.04), transparent 60%);
  pointer-events: none;
}
.skill-card:hover { transform: translateY(-6px) scale(1.01); }
.skill-icon { font-size: 2rem; margin-bottom: 1rem; }
.skill-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 0.7rem;
}
.skill-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.2rem; }
.skill-bar-wrap {
  height: 3px; background: rgba(255,255,255,0.07);
  border-radius: 100px; overflow: hidden; margin-bottom: 1.2rem;
}
.skill-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 100px; width: 0%;
  transition: width 1.4s var(--transition);
  box-shadow: 0 0 10px rgba(100,255,218,0.4);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tags span {
  background: rgba(100,255,218,0.08); border: 1px solid rgba(100,255,218,0.2);
  color: var(--accent); font-size: 0.7rem; font-weight: 600;
  padding: 0.25rem 0.65rem; border-radius: 100px; letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════ */
#experience { background: var(--bg-2); }
.timeline { position: relative; padding-left: 3rem; margin-top: 1rem; }
.timeline-line {
  position: absolute; left: 0.65rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(100,255,218,0.1));
}
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-dot {
  position: absolute; left: -2.68rem; top: 1.5rem;
  width: 14px; height: 14px;
  background: var(--accent); border: 3px solid var(--bg-2); border-radius: 50%;
}
.timeline-dot.pulse::after {
  content: '';
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.timeline-card { padding: 1.8rem 2rem; }
.timeline-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.8rem; }
.timeline-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.timeline-company { color: var(--accent); font-size: 0.88rem; font-weight: 500; }
.timeline-badge {
  background: rgba(100,255,218,0.1); border: 1px solid rgba(100,255,218,0.3);
  color: var(--accent); font-size: 0.72rem; font-weight: 700;
  padding: 0.3rem 0.8rem; border-radius: 100px; letter-spacing: 0.08em; text-transform: uppercase;
}
.timeline-badge.active { animation: glow-badge 3s ease-in-out infinite; }
@keyframes glow-badge {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 18px rgba(100,255,218,0.35); }
}
.timeline-date { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 1rem; }
.timeline-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 1.2rem; }
.timeline-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.timeline-skills span {
  background: rgba(123,97,255,0.1); border: 1px solid rgba(123,97,255,0.25);
  color: #a78bfa; font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.7rem; border-radius: 100px;
}

/* ═══════════════════════════════════════════
   CERTIFICATIONS
═══════════════════════════════════════════ */
#certifications { background: var(--bg); }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.cert-card {
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
  transition: transform 0.3s var(--transition);
}
.cert-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.cert-card:hover::before { transform: scaleX(1); }
.cert-card:hover { transform: translateY(-5px); }
.cert-icon { font-size: 2rem; margin-bottom: 1rem; }
.cert-badge {
  display: inline-flex;
  background: rgba(244,185,66,0.1); border: 1px solid rgba(244,185,66,0.25);
  color: var(--gold); font-size: 0.65rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 100px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.cert-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.7rem; line-height: 1.4; }
.cert-card p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.2rem; }
.cert-field {
  background: rgba(123,97,255,0.1); border: 1px solid rgba(123,97,255,0.25);
  color: #a78bfa; font-size: 0.7rem; font-weight: 600;
  padding: 0.2rem 0.65rem; border-radius: 100px;
}
.edu-section { margin-top: 1rem; }
.edu-card { padding: 2.5rem; display: flex; gap: 2rem; align-items: center; }
.edu-icon { font-size: 3rem; flex-shrink: 0; }
.edu-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.edu-degree { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.edu-year { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.8rem; }
.edu-content p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact { background: var(--bg-2); text-align: center; }
.contact-desc { color: var(--text-dim); font-size: 1rem; margin-bottom: 3rem; margin-top: -1.5rem; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left;
}
.contact-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px; margin: 0 auto;
}
.contact-card {
  padding: 2rem; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 0.4rem;
  position: relative; transition: transform 0.3s var(--transition);
}
.contact-card:hover { transform: translateY(-6px); }
.contact-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; }
.contact-val { font-size: 0.88rem; color: var(--white); word-break: break-all; }
.contact-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.2rem; color: var(--text-dim);
  transition: transform 0.3s, color 0.3s;
}
.contact-card:hover .contact-arrow { transform: translate(3px, -3px); color: var(--accent); }

/* ── Footer ───────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--accent); font-size: 1rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }

/* ── Responsive ───────────────────────────── */
@media (max-width: 900px) {
  #hero { flex-direction: column; text-align: center; padding: 8rem 2rem 4rem; min-height: 100vh; justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  #navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .about-stats { flex-wrap: wrap; }
  .edu-card { flex-direction: column; text-align: center; }
  .astronaut-wrap { width: 80px; right: 2vw; }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  footer { padding: 1.5rem 1rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .astronaut-wrap { display: none; }
}

/* ═══════════════════════════════════════════
   VIBRANCY — Section color system
   Each section gets a unique personality
═══════════════════════════════════════════ */

/* ── Section title gradient per section ── */
#about        .section-title .gradient-text { background: linear-gradient(135deg, #64ffda, #06d6a0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#skills       .section-title .gradient-text { background: linear-gradient(135deg, #c084fc, #7b61ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#experience   .section-title .gradient-text { background: linear-gradient(135deg, #ff9f43, #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#certifications .section-title .gradient-text { background: linear-gradient(135deg, #fbbf24, #f4b942); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#contact      .section-title .gradient-text { background: linear-gradient(135deg, #64ffda, #7b61ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Section label color per section ───── */
#about        .section-label { color: #64ffda; }
#skills       .section-label { color: #c084fc; }
#experience   .section-label { color: #ff9f43; }
#certifications .section-label { color: #fbbf24; }
#contact      .section-label { color: #64ffda; }

/* ══════════════════════════════════════════
   01 / ABOUT — Teal-cyan personality
══════════════════════════════════════════ */
#about {
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(100,255,218,0.07), transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(123,97,255,0.05), transparent 65%),
    linear-gradient(155deg, #07040f 0%, #09101c 55%, #0a0d17 100%);
}

/* Colorful stat cards */
.about-stats .stat-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(100,255,218,0.10), rgba(100,255,218,0.02));
  border-color: rgba(100,255,218,0.28);
}
.about-stats .stat-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(192,132,252,0.10), rgba(192,132,252,0.02));
  border-color: rgba(192,132,252,0.28);
}
.about-stats .stat-card:nth-child(2) .stat-num { color: #c084fc; }
.about-stats .stat-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(244,185,66,0.10), rgba(244,185,66,0.02));
  border-color: rgba(244,185,66,0.28);
}
.about-stats .stat-card:nth-child(3) .stat-num { color: #f4b942; }

/* Info card row accent lines */
.info-card .info-row:nth-child(1) { border-bottom-color: rgba(100,255,218,0.18); }
.info-card .info-row:nth-child(2) { border-bottom-color: rgba(244,185,66,0.18); }
.info-card .info-row:nth-child(3) { border-bottom-color: rgba(255,159,67,0.18); }
.info-card .info-row:nth-child(4) { border-bottom-color: rgba(192,132,252,0.18); }
.info-card .info-row:nth-child(1) .info-title { color: #64ffda; }
.info-card .info-row:nth-child(2) .info-title { color: #f4b942; }
.info-card .info-row:nth-child(3) .info-title { color: #ff9f43; }
.info-card .info-row:nth-child(4) .info-title { color: #c084fc; }

/* ══════════════════════════════════════════
   02 / SKILLS — Multi-color card system
══════════════════════════════════════════ */
#skills {
  background:
    radial-gradient(circle 1px at center, rgba(192,132,252,0.12) 1px, transparent 1px),
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(123,97,255,0.07), transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(100,255,218,0.05), transparent 65%),
    linear-gradient(135deg, #0c0920 0%, #07040f 50%, #0c0920 100%);
  background-size: 32px 32px, 100% 100%, 100% 100%, 100% 100%;
}

/* Per-card accent variable */
.skills-grid .skill-card:nth-child(1) { --ca: #64ffda; }
.skills-grid .skill-card:nth-child(2) { --ca: #7b61ff; }
.skills-grid .skill-card:nth-child(3) { --ca: #ff9f43; }
.skills-grid .skill-card:nth-child(4) { --ca: #f4b942; }
.skills-grid .skill-card:nth-child(5) { --ca: #06d6a0; }
.skills-grid .skill-card:nth-child(6) { --ca: #ef476f; }
.skills-grid .skill-card:nth-child(7) { --ca: #c084fc; }

.skill-card {
  --ca: #64ffda;
  border-top: 2.5px solid var(--ca);
}
.skill-card h3 { color: var(--ca); }
.skill-card:hover {
  border-color: var(--ca);
  box-shadow: 0 0 38px color-mix(in srgb, var(--ca) 20%, transparent), 0 20px 60px rgba(0,0,0,0.3);
}
.skill-card .skill-bar {
  background: linear-gradient(90deg, var(--ca), color-mix(in srgb, var(--ca) 55%, #7b61ff));
  box-shadow: 0 0 14px color-mix(in srgb, var(--ca) 55%, transparent);
}
.skill-card .skill-tags span {
  border-color: color-mix(in srgb, var(--ca) 35%, transparent);
  color: var(--ca);
  background: color-mix(in srgb, var(--ca) 10%, transparent);
}

/* ══════════════════════════════════════════
   03 / EXPERIENCE — Warm amber-coral glow
══════════════════════════════════════════ */
#experience {
  background:
    radial-gradient(ellipse 55% 50% at 90% 20%, rgba(244,185,66,0.07), transparent 65%),
    radial-gradient(ellipse 45% 40% at 5% 75%, rgba(255,107,107,0.06), transparent 65%),
    linear-gradient(150deg, #0c0910 0%, #100a08 55%, #0a0c0a 100%);
}

/* Rainbow timeline spine */
.timeline-line {
  background: linear-gradient(to bottom,
    #64ffda 0%,
    #7b61ff 30%,
    #ff6b6b 65%,
    #f4b942 100%
  );
}

/* Warm timeline dot */
.timeline-dot         { background: #ff9f43; border-color: #100a08; }
.timeline-dot.pulse::after { border-color: #ff9f43; }
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Active badge — amber */
.timeline-badge.active {
  background: rgba(255,159,67,0.15);
  border-color: rgba(255,159,67,0.42);
  color: #ff9f43;
}
@keyframes glow-badge {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 20px rgba(255,159,67,0.42); }
}

/* Colorful skill tags in timeline */
.timeline-skills span:nth-child(1) { background: rgba(100,255,218,0.09); border-color: rgba(100,255,218,0.32); color: #64ffda; }
.timeline-skills span:nth-child(2) { background: rgba(244,185,66,0.09); border-color: rgba(244,185,66,0.32); color: #f4b942; }
.timeline-skills span:nth-child(3) { background: rgba(255,107,107,0.09); border-color: rgba(255,107,107,0.32); color: #ff6b6b; }
.timeline-skills span:nth-child(4) { background: rgba(192,132,252,0.09); border-color: rgba(192,132,252,0.32); color: #c084fc; }

/* ══════════════════════════════════════════
   04 / CERTIFICATIONS — Bold gold & color
══════════════════════════════════════════ */
#certifications {
  background:
    radial-gradient(ellipse 55% 45% at 80% 15%, rgba(244,185,66,0.07), transparent 65%),
    radial-gradient(ellipse 45% 40% at 15% 80%, rgba(6,214,160,0.05), transparent 65%),
    linear-gradient(135deg, #07040f 0%, #0b0c14 100%);
}

/* Per-cert accent variable — always-visible top bar */
.certs-grid .cert-card:nth-child(1) { --cc: #06d6a0; }
.certs-grid .cert-card:nth-child(2) { --cc: #ef476f; }
.certs-grid .cert-card:nth-child(3) { --cc: #f4b942; }

.cert-card { --cc: var(--gold); }

.cert-card::before {
  background: linear-gradient(90deg, var(--cc), color-mix(in srgb, var(--cc) 25%, transparent));
  transform: scaleX(1);    /* always visible, not just on hover */
  height: 3px;
}
.cert-card:hover::before  { transform: scaleX(1); }
.cert-card:hover {
  border-color: color-mix(in srgb, var(--cc) 38%, transparent);
  box-shadow: 0 0 32px color-mix(in srgb, var(--cc) 13%, transparent);
}
.cert-badge {
  background: color-mix(in srgb, var(--cc) 12%, transparent);
  border-color: color-mix(in srgb, var(--cc) 30%, transparent);
  color: var(--cc);
}
.cert-icon { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--cc) 50%, transparent)); }

/* Education card — warm gold tint */
.edu-card {
  background: linear-gradient(135deg, rgba(244,185,66,0.08), rgba(244,185,66,0.02));
  border-color: rgba(244,185,66,0.22);
}
.edu-card:hover {
  border-color: rgba(244,185,66,0.4);
  box-shadow: 0 0 40px rgba(244,185,66,0.09);
}

/* ══════════════════════════════════════════
   05 / CONTACT — Purple-to-teal fusion
══════════════════════════════════════════ */
#contact {
  background:
    radial-gradient(ellipse 55% 60% at 15% 50%, rgba(123,97,255,0.08), transparent 70%),
    radial-gradient(ellipse 50% 55% at 85% 50%, rgba(100,255,218,0.06), transparent 70%),
    linear-gradient(135deg, #0c0920 0%, #07040f 45%, #070e15 100%);
}
.contact-grid-2 .contact-card:nth-child(1) {
  border-color: rgba(100,255,218,0.22);
  background: linear-gradient(135deg, rgba(100,255,218,0.07), transparent);
}
.contact-grid-2 .contact-card:nth-child(2) {
  border-color: rgba(123,97,255,0.22);
  background: linear-gradient(135deg, rgba(123,97,255,0.07), transparent);
}
.contact-grid-2 .contact-card:nth-child(1):hover {
  border-color: rgba(100,255,218,0.45);
  box-shadow: 0 0 35px rgba(100,255,218,0.09);
}
.contact-grid-2 .contact-card:nth-child(2):hover {
  border-color: rgba(123,97,255,0.45);
  box-shadow: 0 0 35px rgba(123,97,255,0.09);
}
.contact-grid-2 .contact-card:nth-child(2) .contact-label { color: #a78bfa; }

/* ── Footer gradient ─────────────────────── */
footer {
  background: linear-gradient(135deg, #07040f, #0c0920);
  border-top: 1px solid rgba(123,97,255,0.15);
}
.footer-logo {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
