/* =============================================
   HARMANJEET SINGH — PORTFOLIO
   Theme: Dark Industrial + Electric Accent
   ============================================= */

:root {
  --bg: #08090c;
  --bg-2: #0e1016;
  --bg-3: #13161d;
  --surface: #181c26;
  --surface-2: #1e2330;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.13);

  --text: #e8eaf0;
  --text-muted: #7b829a;
  --text-faint: #3d4255;

  --accent: #00e5ff;
  --accent-dim: rgba(0,229,255,0.12);
  --accent-glow: rgba(0,229,255,0.28);
  --accent-2: #7c3aed;
  --accent-2-dim: rgba(124,58,237,0.12);
  --gold: #f5a623;

  --font-display: 'Syne', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.36s; }
.reveal--delay-4 { transition-delay: 0.52s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- SHARED ---- */
.section { padding: 7rem 0; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3rem;
  color: var(--text);
}

.stroke-text {
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}

.dot { color: var(--accent); }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8,9,12,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav__links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
  transform-origin: left;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }
.nav__links a.active::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

/* Burger → X animation */
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8,9,12,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.2s;
  display: block;
}
.mobile-menu a:hover { color: var(--accent); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--nav-h) 1.5rem 6rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  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;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
  animation: drift 14s ease-in-out infinite;
  will-change: transform;
}
.orb--1 { width: 700px; height: 700px; background: var(--accent); top: -200px; left: -200px; animation-delay: 0s; }
.orb--2 { width: 500px; height: 500px; background: var(--accent-2); bottom: -150px; right: -100px; animation-delay: -5s; }
.orb--3 { width: 350px; height: 350px; background: var(--gold); top: 40%; right: 25%; animation-delay: -9s; opacity: 0.07; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -40px) scale(1.06); }
  66%  { transform: translate(-25px, 25px) scale(0.94); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,255,0.22);
  padding: 0.42rem 1.3rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.22s var(--ease-out);
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 40px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: rgba(0,229,255,0.35);
  color: var(--accent);
}

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.8rem 3rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: fit-content;
  margin: 0 auto;
}

.stat { text-align: center; line-height: 1; }

.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  display: inline-block;
}
.stat__plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.stat__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.07em;
  display: block;
  margin-top: 0.4rem;
}
.stat__divider {
  width: 1px;
  height: 48px;
  background: var(--border-bright);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--bg-2);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.about__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: center;
}

.about__text {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about__links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: all 0.22s;
}
.social-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.social-link:hover {
  color: var(--accent);
  border-color: rgba(0,229,255,0.35);
  background: var(--accent-dim);
}

.about__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.about__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0,229,255,0.06), transparent 65%);
  pointer-events: none;
}
.about__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.about__avatar {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--accent), var(--accent-2), var(--accent));
  animation: spin 5s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-initials {
  position: absolute;
  inset: 3px;
  background: var(--bg-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.about__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.about__location svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.about__languages {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.about__languages span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

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

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.8rem;
  padding-bottom: 2.8rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child .timeline__line { display: none; }

.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.6rem;
}
.timeline__dot {
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px var(--accent-glow);
  flex-shrink: 0;
}
.timeline__line {
  width: 1px;
  flex: 1;
  min-height: 20px;
  margin-top: 5px;
  background: linear-gradient(to bottom, var(--border-bright), transparent);
}

.timeline__content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem 2.2rem;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.timeline__content::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}
.timeline__item:hover .timeline__content {
  border-color: var(--border-bright);
  transform: translateX(5px);
}
.timeline__item:hover .timeline__content::before { opacity: 1; }

.timeline__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.timeline__period {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}
.timeline__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,229,255,0.28);
  padding: 0.15rem 0.65rem;
  border-radius: 100px;
}
.timeline__role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.timeline__company {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.timeline__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.timeline__bullets li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.timeline__bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.72rem;
  top: 0.15em;
}

/* =============================================
   SKILLS
   ============================================= */
.skills { background: var(--bg-2); }

.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.skill-card:hover { border-color: rgba(0,229,255,0.28); transform: translateY(-4px); }
.skill-card:hover::after { opacity: 1; }

.skill-card__icon {
  width: 40px; height: 40px;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.skill-card__icon svg { width: 100%; height: 100%; }

.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}
.skill-tags span {
  font-size: 0.73rem;
  font-weight: 500;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.skill-card:hover .skill-tags span {
  border-color: rgba(0,229,255,0.18);
  color: var(--text);
}

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

.certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
  transition: all 0.25s;
}
.cert-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  background: var(--surface-2);
}
.cert-card__logo {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.cert-card__logo.microsoft {
  background: rgba(0,120,212,0.14);
  color: #0078d4;
  border: 1px solid rgba(0,120,212,0.28);
}
.cert-card__logo.google {
  background: rgba(66,133,244,0.11);
  color: #4285f4;
  border: 1px solid rgba(66,133,244,0.25);
}
.cert-card__info h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.cert-card__info span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* =============================================
   EDUCATION
   ============================================= */
.education { background: var(--bg-2); }

.edu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.edu-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.edu-card:hover { border-color: rgba(0,229,255,0.22); transform: translateY(-3px); }
.edu-card:hover::after { opacity: 1; }

.edu-card__year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: block;
}
.edu-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}
.edu-card h3 span {
  color: var(--text-muted);
  font-weight: 400;
}
.edu-card__school {
  font-size: 0.86rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(0,229,255,0.04) 0%, transparent 55%),
    radial-gradient(circle at 85% 50%, rgba(124,58,237,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.contact__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2.8rem;
  margin-top: -1.5rem;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 480px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: all 0.22s var(--ease-out);
  word-break: break-all;
}
.contact-btn svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact-btn:hover {
  border-color: rgba(0,229,255,0.35);
  color: var(--text);
  background: var(--surface-2);
  transform: translateX(7px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* =============================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================= */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 0 1.5rem; }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__right { order: -1; }
  .about__card { max-width: 380px; margin: 0 auto; }

  .skills__grid { grid-template-columns: repeat(2, 1fr); }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .edu__grid { grid-template-columns: 1fr; }

  .section { padding: 5.5rem 0; }
  .hero { padding-bottom: 5rem; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================= */
@media (max-width: 600px) {
  :root { --nav-h: 64px; }

  .container { padding: 0 1.2rem; }

  .hero__name { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero__tagline { font-size: 0.97rem; }

  .hero__stats {
    flex-direction: column;
    gap: 1.4rem;
    padding: 1.6rem 2.2rem;
    width: 100%;
    max-width: 300px;
  }
  .stat__divider { width: 60px; height: 1px; }

  .hero__cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }

  .section { padding: 4rem 0; }
  .section-title { margin-bottom: 2rem; }

  .timeline__item { grid-template-columns: 18px 1fr; gap: 1rem; }
  .timeline__content { padding: 1.4rem 1.5rem; }
  .timeline__role { font-size: 1.08rem; }

  .skills__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr; }

  .cert-card { padding: 1.1rem 1.2rem; }

  .footer__inner { flex-direction: column; text-align: center; }

  .hero__scroll { display: none; }

  .mobile-menu a { font-size: 1.8rem; }
}

/* =============================================
   RESPONSIVE — VERY SMALL (≤ 380px)
   ============================================= */
@media (max-width: 380px) {
  .hero__name { font-size: clamp(2.6rem, 16vw, 3.5rem); }
  .hero__stats { padding: 1.4rem 1.6rem; }
  .stat__num { font-size: 2rem; }
}

/* ---- STAT ROW (num + plus inline) ---- */
.stat__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0.4rem;
}
