@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');
 
:root {
  --bg:       #0d1117;
  --bg2:      #161b22;
  --bg3:      #1c2330;
  --border:   #21262d;
  --border2:  #30363d;
  --accent:   #3fb950;
  --accent2:  #58a6ff;
  --amber:    #e3b341;
  --text:     #e6edf3;
  --muted:    #7d8590;
  --muted2:   #484f58;
  --tag-bg:   #161b22;
  --radius:   8px;
  --radius-lg:12px;
  --nav-h:    64px;
}
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
html { scroll-behavior: smooth; }
 
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
 
a { color: inherit; text-decoration: none; }
 
/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 40px;
  gap: 0;
}
 
.nav-logo {
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-right: auto;
}
.nav-logo span { color: var(--muted); }
 
.nav-links {
  display: flex; gap: 4px; list-style: none;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg3);
}
.nav-links a.active { color: var(--accent); }
 
/* ── PAGE WRAPPER ── */
.page {
  min-height: 100vh;
  padding-top: var(--nav-h);
}
 
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
 
/* ── SECTION LABEL ── */
.section-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-label::before { content: '// '; color: var(--muted2); }
 
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
 
/* ── CARDS ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.25s;
}
.card:hover { border-color: var(--border2); }
 
/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-family: 'Fira Code', monospace;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--muted);
  font-weight: 400;
}
.tag-green { color: var(--accent); border-color: rgba(63,185,80,0.25); background: rgba(63,185,80,0.06); }
.tag-blue  { color: var(--accent2); border-color: rgba(88,166,255,0.25); background: rgba(88,166,255,0.06); }
.tag-amber { color: var(--amber); border-color: rgba(227,179,65,0.25); background: rgba(227,179,65,0.06); }
 
/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #0d1117;
}
.btn-primary:hover { background: #4ac959; transform: translateY(-1px); }
 
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: var(--bg3); border-color: var(--muted2); }
 
/* ── SKILL BAR ── */
.skill-bar-wrap { margin-bottom: 14px; }
.skill-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; margin-bottom: 6px;
  color: var(--text);
}
.skill-bar-label span { color: var(--muted); font-size: 0.72rem; }
.skill-bar {
  height: 4px; background: var(--bg3); border-radius: 4px; overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 4px;
  animation: grow 1.2s ease forwards;
}
@keyframes grow { from { width: 0 !important; } }
 
/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: var(--border2);
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -25px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(63,185,80,0.15);
}
.tl-period {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem; color: var(--muted); margin-bottom: 4px;
}
.tl-inst { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.tl-degree { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.tl-grade {
  display: inline-block; margin-top: 8px;
  font-size: 0.7rem; font-family: 'Fira Code', monospace;
  color: var(--accent); border: 1px solid rgba(63,185,80,0.3);
  background: rgba(63,185,80,0.06);
  padding: 2px 8px; border-radius: 4px;
}
 
/* ── DIVIDER ── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 40px 0;
}
 
/* ── FADE IN ── */
.fade-in {
  opacity: 0; transform: translateY(18px);
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.20s; }
.d4 { animation-delay: 0.28s; }
.d5 { animation-delay: 0.36s; }
 
/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--muted);
}
.footer a { color: var(--accent); }
 
/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav { padding: 0 16px; }
  .container { padding: 0 16px; }
  .nav-links a { padding: 6px 10px; font-size: 0.78rem; }
}