/* ═══════════════════════════════════════════════════════════════════════════
   Subhasish Jena Portfolio — style.css
   Aesthetic: Dark-first, editorial, geometric accents, neon-amber highlights
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  /* Dark theme (default) */
  --bg:           #0a0a0f;
  --bg-2:         #111118;
  --bg-3:         #1a1a24;
  --surface:      #16161f;
  --surface-2:    #1e1e2a;
  --border:       rgba(255,255,255,0.07);
  --text:         #e8e8f0;
  --text-muted:   #7a7a96;
  --text-dim:     #4a4a60;
  --accent:       #f0a500;
  --accent-2:     #e07800;
  --accent-glow:  rgba(240,165,0,0.15);
  --accent-glow2: rgba(240,165,0,0.06);
  --green:        #22c55e;
  --blue:         #3b82f6;
  --purple:       #a855f7;
  --red:          #ef4444;

  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.6);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

[data-theme="light"] {
  --bg:           #f5f5f0;
  --bg-2:         #ebebе4;
  --bg-2:         #eeeee8;
  --bg-3:         #e4e4dc;
  --surface:      #fafafa;
  --surface-2:    #f0f0e8;
  --border:       rgba(0,0,0,0.08);
  --text:         #1a1a24;
  --text-muted:   #5a5a70;
  --text-dim:     #9a9ab0;
  --accent-glow:  rgba(240,165,0,0.12);
  --accent-glow2: rgba(240,165,0,0.05);
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.15);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.accent { color: var(--accent); }
.mt-1 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* ── CURSOR GLOW ─────────────────────────────────────────────────────────── */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s;
}

/* ── NAVBAR ──────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(245,245,240,0.85);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}
.dot { color: var(--accent); }

.nav-links {
  display: flex; gap: 0.25rem;
}
.nav-item {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-item:hover { color: var(--text); background: var(--border); }
.nav-item.active { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.theme-toggle:hover { color: var(--accent); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s 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; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── SECTION LABELS ──────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
  max-width: 1140px; margin: 0 auto;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,165,0,0.12) 0%, transparent 70%);
  top: 10%; right: 5%;
}
.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  bottom: 20%; left: 0%;
}

.hero-content { flex: 1; max-width: 600px; position: relative; z-index: 1; }
.hero-visual   { flex: 0 0 auto; position: relative; z-index: 1; display: flex; justify-content: center; padding-left: 4rem; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.hero-role {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  min-height: 2rem;
  font-weight: 400;
}
.cursor-blink { animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-bio {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-socials { display: flex; gap: 1rem; }
.hero-socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.hero-socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* Avatar */
.avatar-ring {
  position: relative;
  width: 220px; height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.avatar-inner {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.avatar-initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.05em;
}
.ring-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.ring-track { fill: none; stroke: var(--border); stroke-width: 2; }
.ring-progress {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 565; stroke-dashoffset: 100;
  stroke-linecap: round;
  animation: ring-spin 8s linear infinite;
  filter: drop-shadow(0 0 6px var(--accent));
}
@keyframes ring-spin { to { stroke-dashoffset: -565; } }

.floating-badge {
  position: absolute;
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.floating-badge i { color: var(--accent); }
.badge-1 { top: 0; right: -20px; animation: float 3s ease-in-out infinite; }
.badge-2 { bottom: 30px; right: -30px; animation: float 3s ease-in-out 1s infinite; }
.badge-3 { bottom: 0; left: -10px; animation: float 3s ease-in-out 0.5s infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── STATS BAR ───────────────────────────────────────────────────────────── */
.stats-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  padding: 2rem;
  margin: 0 2rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 800px; margin: 0 auto 0;
}
.stat {
  flex: 1; min-width: 120px;
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px; height: 50px;
  background: var(--border);
}

/* ── SKILLS STRIP ────────────────────────────────────────────────────────── */
.skills-strip {
  overflow: hidden;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-track {
  display: flex; gap: 2rem;
  width: max-content;
  animation: strip-scroll 25s linear infinite;
}
.strip-track span {
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition);
}
.strip-track span:hover { color: var(--accent); border-color: var(--accent); }
@keyframes strip-scroll { to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════════════════════
   PAGE HERO (shared by about/projects/contact)
   ══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 9rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--accent-glow2), transparent);
  pointer-events: none;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  position: relative;
}
.page-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  position: relative;
}

/* ══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
  align-items: start;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }
.about-text strong { color: var(--text); font-weight: 500; }
.about-text em { color: var(--accent); font-style: normal; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.info-row {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.9rem;
}
.info-row i { color: var(--accent); width: 18px; text-align: center; flex-shrink: 0; }
.info-row a { color: var(--text-muted); transition: color var(--transition); }
.info-row a:hover { color: var(--accent); }

/* Skills section */
.skills-section { padding-bottom: 5rem; }
.skills-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.skill-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.skill-group:hover { border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow2); }
.skill-group h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.skill-group h3 i { color: var(--accent); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tags span {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.skill-tags span:hover { color: var(--accent); border-color: var(--accent); }

/* Timeline */
.timeline-section {
  padding-bottom: 6rem;
}
.timeline-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}
.tl-item {
  position: relative;
  margin-bottom: 2rem;
}
.tl-dot {
  position: absolute;
  left: -2.375rem;
  top: 0.5rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.exp-dot  { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.edu-dot  { background: var(--blue); }
.cert-dot { background: var(--purple); }

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.tl-card:hover { border-color: var(--accent); }
.tl-type {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tl-type.edu  { background: rgba(59,130,246,0.12); color: var(--blue); }
.tl-type.cert { background: rgba(168,85,247,0.12); color: var(--purple); }
.tl-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.tl-org { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.3rem; }
.tl-org span { color: var(--text-dim); }
.tl-date { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.tl-card ul { padding-left: 1.2rem; list-style: disc; color: var(--text-muted); font-size: 0.9rem; }
.tl-card ul li { margin-bottom: 0.3rem; }
.tl-card ul li::marker { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════
   PROJECTS PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.featured-projects {
  padding-bottom: 4rem;
}
.featured-projects h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--accent-glow2), var(--shadow);
  transform: translateY(-4px);
}
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
}
.feat-stack {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.feat-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  margin: 0.25rem 0 0.5rem;
}
.feat-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.feat-metrics {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 0.5rem;
}
.feat-metrics span {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--green);
}
.feat-links { display: flex; gap: 0.5rem; margin-top: auto; }

/* GitHub section */
.github-section { padding-bottom: 6rem; }
.github-section h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.filter-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #0a0a0f;
  border-color: var(--accent);
}
.sort-bar {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.sort-bar select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.repo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.repo-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.repo-name {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--accent);
  display: flex; align-items: center; gap: 0.4rem;
}
.repo-desc { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.repo-meta {
  display: flex; gap: 1rem; font-size: 0.78rem;
  color: var(--text-dim);
}
.repo-meta span { display: flex; align-items: center; gap: 0.3rem; }
.lang-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.repo-link {
  font-size: 0.8rem;
  color: var(--accent);
  display: flex; align-items: center; gap: 0.3rem;
  align-self: flex-start;
}
.repo-link:hover { text-decoration: underline; }

.repo-skeleton {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 150px;
  animation: shimmer 1.5s infinite;
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
}
@keyframes shimmer { to { background-position: -200% 0; } }

.repos-footer { text-align: center; }

/* ══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.contact-section { padding-bottom: 6rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-card:hover { border-color: var(--accent); }
.contact-card > i {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-glow);
  color: var(--accent);
  flex-shrink: 0;
}
.cc-label { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card a, .contact-card span { font-size: 0.9rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--accent); }

.social-links { display: flex; flex-direction: column; gap: 0.75rem; }
.social-link {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.social-link i { color: var(--accent); width: 20px; }
.social-link:hover { color: var(--accent); }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.req { color: var(--accent); }

.form-group input,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow2);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--red); }

.field-error {
  font-size: 0.75rem;
  color: var(--red);
  min-height: 1rem;
}

.form-success, .form-error-msg {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.form-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.form-error-msg { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--red); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-visual { padding-left: 0; margin-top: 3rem; }
  .hero-cta { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-bio { margin-left: auto; margin-right: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .navbar { padding: 1rem 1.25rem; }
  .nav-links {
    display: none;
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-item { font-size: 1.5rem; }
  .hamburger { display: flex; z-index: 1000; }

  .hero { padding: 6rem 1.25rem 3rem; }
  .stats-bar { gap: 0.5rem; }
  .stat-divider { display: none; }
  .feat-card { padding: 1.25rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}



.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-inner {
  overflow: hidden;
}