/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080810;
  --bg2: #0f0f1a;
  --bg3: #15152a;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --teal: #06d6a0;
  --blue: #4361ee;
  --purple: #7c3aed;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --gradient: linear-gradient(135deg, #06d6a0, #4361ee);
  --gradient2: linear-gradient(135deg, #4361ee, #7c3aed);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --nav-h: 70px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== SELECTION ===== */
::selection { background: rgba(6,214,160,0.25); color: var(--teal); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: #08f7bc; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
}

.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

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

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  background: var(--gradient) !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  color: white !important;
  padding: 7px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--gradient) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(67,97,238,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 80% 80%, rgba(6,214,160,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,214,160,0.1);
  border: 1px solid rgba(6,214,160,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-name {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title strong { color: var(--text); font-weight: 600; }

.hero-bio {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(67,97,238,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(67,97,238,0.45); color: white; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: rgba(6,214,160,0.06); transform: translateY(-2px); }

.hero-socials {
  display: flex;
  gap: 12px;
}
.hero-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.2s;
}
.hero-socials a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.hero-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.photo-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(6,214,160,0.2);
  animation: spin-slow 20s linear infinite;
}

.photo-ring::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  transform: translateX(-50%);
}

@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.photo-container {
  width: 280px; height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
              var(--gradient) border-box;
  box-shadow: 0 0 60px rgba(67,97,238,0.25);
  position: relative;
  z-index: 1;
}

.photo-container img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}

.stat-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  flex: 1;
}
.stat-chip .num {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-chip .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== ABOUT ===== */
#about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.85;
}

.about-text p strong { color: var(--text); }

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

.highlight-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.highlight-card:hover { border-color: rgba(6,214,160,0.3); transform: translateY(-4px); }

.highlight-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 12px;
}

.highlight-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.highlight-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ===== EXPERIENCE ===== */
#experience { background: var(--bg); }

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--blue), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(6,214,160,0.5);
}

.exp-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.exp-card:hover { border-color: rgba(67,97,238,0.4); box-shadow: var(--shadow); }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.exp-title { font-size: 1.1rem; color: var(--text); }

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,214,160,0.1);
  border: 1px solid rgba(6,214,160,0.2);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.exp-badge.past {
  background: rgba(67,97,238,0.1);
  border-color: rgba(67,97,238,0.2);
  color: #7899f8;
}

.exp-company {
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 4px;
  font-weight: 500;
}

.exp-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}

.exp-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
  top: 4px;
}

.exp-bullets li strong { color: var(--text); font-weight: 600; }

/* ===== EDUCATION ===== */
#education { background: var(--bg2); }

.edu-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
  transition: border-color 0.2s, transform 0.2s;
}
.edu-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-4px); }

.edu-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--gradient2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.edu-degree { font-size: 1.15rem; margin-bottom: 4px; }
.edu-field { font-size: 0.9rem; color: var(--teal); margin-bottom: 8px; }
.edu-meta { font-size: 0.85rem; color: var(--text-muted); }
.edu-gpa {
  display: inline-block;
  background: rgba(6,214,160,0.1);
  border: 1px solid rgba(6,214,160,0.2);
  color: var(--teal);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

/* ===== PROJECTS ===== */
#projects { background: var(--bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.project-card:hover { border-color: rgba(67,97,238,0.5); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }

.project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.project-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.project-links { display: flex; gap: 8px; }
.project-links a {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.project-links a:hover { background: var(--teal); border-color: transparent; color: white; }

.project-name { font-size: 1.05rem; margin-bottom: 6px; }
.project-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(67,97,238,0.12);
  border: 1px solid rgba(67,97,238,0.2);
  color: #7899f8;
}
.tag.teal { background: rgba(6,214,160,0.1); border-color: rgba(6,214,160,0.2); color: var(--teal); }
.tag.purple { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.2); color: #a78bfa; }

/* ===== SKILLS ===== */
#skills { background: var(--bg2); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.skill-group {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.skill-group:hover { border-color: rgba(6,214,160,0.25); }

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.skill-group-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: white;
}

.skill-group h4 { font-size: 0.9rem; color: var(--text); }

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

.skill-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-muted);
  transition: all 0.2s;
}
.skill-pill:hover { background: rgba(6,214,160,0.1); border-color: rgba(6,214,160,0.3); color: var(--teal); }

/* ===== CERTIFICATIONS ===== */
#certifications { background: var(--bg); }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.cert-card:hover { border-color: rgba(124,58,237,0.35); transform: translateY(-4px); }

.cert-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cert-icon.google { background: rgba(66,133,244,0.15); }
.cert-icon.azure { background: rgba(0,120,212,0.15); }
.cert-icon.cisco { background: rgba(1,156,209,0.12); }
.cert-icon.ai { background: rgba(124,58,237,0.15); }

.cert-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.cert-issuer { font-size: 0.78rem; color: var(--teal); }

/* ===== PUBLICATIONS ===== */
#publications { background: var(--bg2); }

.pub-list { display: flex; flex-direction: column; gap: 20px; }

.pub-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.pub-card:hover { border-color: rgba(6,214,160,0.3); }

.pub-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  margin-top: 4px;
}

.pub-title { font-size: 1.05rem; margin-bottom: 6px; }

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.pub-venue {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(6,214,160,0.1);
  border: 1px solid rgba(6,214,160,0.2);
  padding: 2px 10px;
  border-radius: 100px;
}

.pub-date { font-size: 0.8rem; color: var(--text-muted); }

.pub-abstract { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 12px;
  transition: gap 0.2s;
}
.pub-link:hover { color: var(--teal); gap: 10px; }

/* ===== VOLUNTEERING ===== */
#volunteering { background: var(--bg); }

.vol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.vol-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.vol-card:hover { border-color: rgba(6,214,160,0.3); transform: translateY(-4px); }

.vol-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.vol-role { font-size: 1rem; margin-bottom: 4px; }
.vol-org { font-size: 0.85rem; color: var(--teal); margin-bottom: 6px; font-weight: 500; }
.vol-duration { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.vol-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ===== CONTACT ===== */
#contact { background: var(--bg2); }

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

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-item a, .contact-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--teal); }

.social-row { display: flex; gap: 10px; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--teal); color: var(--teal); background: rgba(6,214,160,0.06); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(6,214,160,0.1);
}

.form-group textarea { min-height: 120px; }

.form-submit {
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: inherit;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(67,97,238,0.4); }
.form-submit:active { transform: translateY(0); }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--teal);
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 24px;
  text-align: center;
}

footer p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

footer .heart { color: #ef4444; }
footer span { color: var(--teal); }

/* ===== BACK TO TOP ===== */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(67,97,238,0.4);
}
#back-top.show { opacity: 1; transform: translateY(0); }
#back-top:hover { box-shadow: 0 8px 24px rgba(67,97,238,0.5); }

/* ===== MOBILE NAV OVERLAY ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,8,16,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 11px 16px; font-size: 1rem; border-radius: 10px; }
  .nav-cta { text-align: center; }
  .hamburger { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px 0;
    gap: 48px;
  }
  .hero-bio { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .photo-container { width: 220px; height: 220px; }
  .photo-ring { width: 256px; height: 256px; }
  .hero-stats { flex-wrap: wrap; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-highlights { grid-template-columns: 1fr 1fr; }

  .timeline { padding-left: 20px; }
  .timeline-item { padding-left: 20px; }
  .exp-card { padding: 20px; }
  .exp-header { flex-direction: column; }

  .edu-card { flex-direction: column; text-align: center; padding: 28px 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .pub-card { flex-direction: column; gap: 12px; }
  .pub-num { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  section { padding: 72px 0; }
  .about-highlights { grid-template-columns: 1fr; }
  .stat-chip .num { font-size: 1.1rem; }
}
