/* ===========================
   DEEPAM JHA PORTFOLIO – CSS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --border: rgba(255,255,255,0.08);
  --border-dashed: rgba(255,255,255,0.1);
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent: #ffffff;
  --accent-glow: rgba(255,255,255,0.08);
  --nav-bg: rgba(18,18,18,0.85);
  --nav-border: rgba(255,255,255,0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

[data-theme="light"] {
  --bg: #f5f5f0;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --border: rgba(0,0,0,0.08);
  --border-dashed: rgba(0,0,0,0.1);
  --text: #0a0a0a;
  --text-muted: #666666;
  --text-dim: #999999;
  --nav-bg: rgba(255,255,255,0.85);
  --nav-border: rgba(0,0,0,0.1);
  --accent-glow: rgba(0,0,0,0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ── Background Grid ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
  transition: background-image 0.3s ease;
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* ── Layout Container ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px dashed var(--border-dashed);
  border-radius: var(--radius);
  padding: 28px;
  transition: background var(--transition), border-color var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
}

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ─────────────────────────────
   HERO SECTION
───────────────────────────── */
.hero-section {}

.hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 1px dashed var(--border-dashed);
  pointer-events: none;
  animation: spin-slow 20s linear infinite;
}

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

.hero-info {}

.hero-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-role {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.hero-bio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-bio p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.badge-inline {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
  font-weight: 500;
}

.badge-purple {
  background: rgba(162,89,255,0.12);
  border-color: rgba(162,89,255,0.25);
  color: #c084fc;
}

/* ─────────────────────────────
   SKILLS
───────────────────────────── */
.skills-section {}

.skills-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.skills-drag-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-style: italic;
  opacity: 0.7;
  animation: hint-pulse 2.5s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  min-height: 32px;
}

/* ── Drag-and-drop ── */
.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: grab;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  user-select: none;
  touch-action: none;
  position: relative;
}

.skill-tag:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  color: var(--text);
}

.skill-tag:active,
.skill-tag.dragging {
  cursor: grabbing;
  opacity: 0.35;
  transform: scale(0.95);
  border-style: dashed;
  box-shadow: none;
}

/* Drop placeholder slot */
.skill-tag.drag-over-before::before,
.skill-tag.drag-over-after::after {
  content: '';
  display: block;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  position: absolute;
  top: 0;
  animation: slot-flash 0.3s ease;
}

.skill-tag.drag-over-before::before { left: -6px; }
.skill-tag.drag-over-after::after  { right: -6px; }

@keyframes slot-flash {
  from { opacity: 0; transform: scaleY(0.4); }
  to   { opacity: 1; transform: scaleY(1); }
}

/* Floating drag ghost */
.skill-drag-ghost {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(30,30,30,0.96);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(-3deg) scale(1.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: transform 0.05s ease;
}

/* ── Skill Icons ── */
.skill-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.skill-icon-invert {
  filter: invert(1) brightness(1.2);
}

.skill-icon-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  line-height: 1;
}

/* ─────────────────────────────
   PROJECTS
───────────────────────────── */
.exp-section {}

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

.exp-item {
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  animation: fade-in-up 0.5s ease both;
}

.exp-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.exp-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exp-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.exp-details {
  flex: 1;
  min-width: 0;
}

.exp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.exp-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.exp-type {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
}

.exp-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.exp-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 6px;
}

.exp-date {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* ── Project tech tags ── */
.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 8px;
}

.exp-tag {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  transition: background 0.15s ease, color 0.15s ease;
}

.exp-tag:hover {
  background: rgba(255,255,255,0.09);
  color: var(--text-muted);
}

/* ── Bullet list ── */
.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-bullets li {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.exp-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  line-height: 1.4;
}

/* ── Live badge ── */
.exp-type-live {
  color: #34d399 !important;
  background: rgba(52,211,153,0.1) !important;
  border-color: rgba(52,211,153,0.3) !important;
}

/* ─────────────────────────────
   PROOF OF WORK
───────────────────────────── */
.proof-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proof-header {
  text-align: center;
  padding: 8px 0;
}

.proof-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.proof-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.proof-sub em {
  font-style: normal;
}

.proof-sub strong {
  color: var(--text);
}

.proof-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proof-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 180px;
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.2);
}

.proof-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.4;
  transition: opacity 0.25s ease;
}

.proof-card:hover .proof-img {
  opacity: 0.5;
}

.proof-card-content {
  position: relative;
  z-index: 1;
  padding: 24px 28px;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 50%, transparent);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.proof-card-content-right {
  background: linear-gradient(to left, rgba(0,0,0,0.9) 50%, transparent);
  align-items: flex-end;
  text-align: right;
}

.proof-card-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.proof-card-content-right .proof-card-title {
  flex-direction: row-reverse;
}

.proof-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  max-width: 260px;
}

/* ─────────────────────────────
   HIRE ME
───────────────────────────── */
.hire-section {}

.hire-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

/* ── Flowchart ── */
.flowchart-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-dashed);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.flowchart-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
}

.flowchart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Flow arrow ── */
.flow-arrow {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1;
  margin: 4px 0;
  opacity: 0.6;
}

/* ── Single step ── */
.flow-step {
  animation: fade-in-up 0.4s ease calc(var(--delay, 0s)) both;
}

/* ── Node box ── */
.flow-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.flow-node:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.flow-node-sm {
  font-size: 12px;
  padding: 7px 14px;
}

/* Highlighted node (Deployment) */
.flow-node-highlight {
  border-color: rgba(99,252,173,0.45);
  background: rgba(99,252,173,0.06);
  color: #6fffad;
  box-shadow: 0 0 18px rgba(99,252,173,0.1);
}

.flow-node-highlight:hover {
  border-color: rgba(99,252,173,0.7);
  background: rgba(99,252,173,0.12);
  box-shadow: 0 0 28px rgba(99,252,173,0.2);
}

.flow-icon {
  font-size: 15px;
  line-height: 1;
}

.flow-label {}

/* ── Horizontal row of nodes ── */
.flow-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-row-connector {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.flow-row .flow-step {
  /* no extra margins needed */
}



/* ─────────────────────────────
   EDUCATION
───────────────────────────── */
.edu-section {}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.edu-item:last-child {
  border-bottom: none;
}

.edu-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.edu-logo-plain {
  background: linear-gradient(135deg, #2a2a4a, #1a1a3a);
}

.edu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-fallback {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.edu-details {
  flex: 1;
  min-width: 0;
}

.edu-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.edu-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.edu-date {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

/* ─────────────────────────────
   CONTACT
───────────────────────────── */
.contact-section {
  text-align: center;
}

.contact-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

.contact-btn:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ─────────────────────────────
   BOTTOM NAV
───────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.nav-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 0;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  position: relative;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.nav-item.active {
  color: var(--text);
  background: rgba(255,255,255,0.1);
}

.nav-item svg {
  display: block;
}

/* Tooltip */
.nav-item::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,30,30,0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translateX(-50%) translateY(4px);
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─────────────────────────────
   FOOTER SPACER
───────────────────────────── */
.footer-spacer {
  height: 20px;
}

/* ─────────────────────────────
   ANIMATIONS
───────────────────────────── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card {
  animation: fade-in-up 0.5s ease both;
}
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.18s; }
.card:nth-child(4) { animation-delay: 0.24s; }
.card:nth-child(5) { animation-delay: 0.3s; }

/* ─────────────────────────────
   RESPONSIVE – 768px (Tablet)
───────────────────────────── */
@media (max-width: 768px) {
  /* Container */
  .container {
    padding: 28px 16px 130px;
    gap: 14px;
  }

  /* Hero */
  .hero-top {
    gap: 14px;
  }

  .hero-name {
    font-size: 20px;
  }

  .hero-bio p {
    font-size: 13px;
  }

  /* Skills */
  .skills-grid {
    gap: 7px;
  }

  .skill-tag {
    font-size: 11.5px;
    padding: 5px 10px;
  }

  /* Proof of Work */
  .proof-title {
    font-size: 24px;
  }

  .proof-card {
    min-height: 160px;
  }

  .proof-card-title {
    font-size: 22px;
  }

  .proof-card-desc {
    font-size: 11.5px;
  }

  /* Flowchart */
  .flowchart-wrap {
    padding: 18px 14px;
  }

  .flow-node {
    font-size: 12px;
    padding: 8px 14px;
  }

  .flow-node-sm {
    font-size: 11px;
    padding: 6px 11px;
  }

  .flow-row-connector {
    width: 16px;
  }

  /* Education */
  .edu-name {
    font-size: 12px;
  }

  /* Contact */
  .contact-methods {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-btn {
    justify-content: center;
  }

  /* Bottom nav */
  .bottom-nav {
    gap: 2px;
    padding: 7px 10px;
  }

  .nav-item {
    width: 34px;
    height: 34px;
  }
}

/* ─────────────────────────────
   RESPONSIVE – 480px (Mobile)
───────────────────────────── */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 16px 12px 120px;
    gap: 12px;
  }

  /* Card */
  .card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  /* Hero */
  .hero-top {
    gap: 12px;
    flex-wrap: wrap;
  }

  .avatar {
    width: 60px;
    height: 60px;
  }

  .hero-name {
    font-size: 18px;
  }

  .hero-role {
    font-size: 12px;
  }

  .hero-bio p {
    font-size: 13px;
  }

  .badge-inline {
    font-size: 11px;
    padding: 2px 6px;
  }

  /* Divider */
  .divider {
    margin: 18px 0;
  }

  /* Skills */
  .skills-grid {
    gap: 6px;
  }

  .skill-tag {
    font-size: 11px;
    padding: 4px 9px;
    gap: 5px;
  }

  .skill-icon {
    width: 12px;
    height: 12px;
  }

  .skill-icon-text {
    width: 12px;
    height: 12px;
    font-size: 9px !important;
  }

  /* Experience */
  .exp-item {
    gap: 10px;
  }

  .exp-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .exp-company {
    font-size: 13px;
  }

  .exp-desc {
    font-size: 12px;
  }

  /* Proof of Work */
  .proof-title {
    font-size: 22px;
  }

  .proof-sub {
    font-size: 12px;
  }

  .proof-card {
    min-height: 140px;
  }

  .proof-card-content {
    padding: 16px 18px;
    min-height: 140px;
  }

  .proof-card-title {
    font-size: 18px;
    gap: 6px;
  }

  .proof-card-title svg {
    width: 16px;
    height: 16px;
  }

  .proof-card-desc {
    font-size: 11px;
    max-width: 100%;
  }

  /* Hire Me / Flowchart */
  .hire-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .flowchart-wrap {
    padding: 16px 10px;
  }

  .flowchart-title {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .flow-node {
    font-size: 11.5px;
    padding: 7px 12px;
    gap: 6px;
  }

  .flow-node-sm {
    font-size: 10.5px;
    padding: 6px 10px;
    gap: 5px;
  }

  .flow-icon {
    font-size: 13px;
  }

  .flow-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .flow-row-connector {
    display: none;
  }

  .flow-row .flow-step {
    flex: 0 0 auto;
  }

  .flow-arrow {
    font-size: 13px;
    margin: 2px 0;
  }

  /* Education */
  .edu-item {
    gap: 10px;
  }

  .edu-logo {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .edu-name {
    font-size: 12px;
    line-height: 1.4;
  }

  .edu-desc {
    font-size: 11px;
  }

  .edu-date {
    font-size: 10px;
    white-space: nowrap;
  }

  /* Section labels */
  .section-label {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* Contact */
  .contact-section {
    text-align: left;
  }

  .contact-sub {
    font-size: 13px;
  }

  .contact-methods {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .contact-btn {
    padding: 10px 16px;
    font-size: 13px;
    justify-content: flex-start;
  }

  /* Bottom nav — compact */
  .bottom-nav {
    bottom: 10px;
    gap: 1px;
    padding: 5px 7px;
    border-radius: 40px;
  }

  .nav-item {
    width: 30px;
    height: 30px;
  }

  .nav-item svg {
    width: 17px;
    height: 17px;
  }

  /* Hide tooltips on mobile */
  .nav-item::after {
    display: none;
  }
}

/* ─────────────────────────────
   RESPONSIVE – 360px (Small phones)
───────────────────────────── */
@media (max-width: 360px) {
  .container {
    padding: 12px 10px 110px;
  }

  .card {
    padding: 14px 12px;
  }

  .hero-name {
    font-size: 16px;
  }

  .proof-card-title {
    font-size: 16px;
  }

  .flow-node {
    font-size: 10.5px;
    padding: 6px 10px;
  }

  .bottom-nav {
    gap: 0;
    padding: 4px 5px;
  }

  .nav-item {
    width: 27px;
    height: 27px;
  }

  .nav-item svg {
    width: 15px;
    height: 15px;
  }
}

/* ─────────────────────────────
   SCROLLBAR
───────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}
