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

:root {
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --accent3: #06b6d4;
  --bg: #050810;
  --bg2: #0a0f1e;
  --bg3: #0d1428;
  --card: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.07);
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection {
  background: rgba(0,212,255,0.25);
  color: #fff;
}

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

/* ============================================
   NAV
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}

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

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

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  background: #00bfe6 !important;
  color: var(--bg) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

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

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: glow-pulse 8s ease-in-out infinite;
}

.glow-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; left: -200px;
}

.glow-2 {
  width: 500px; height: 500px;
  background: var(--accent2);
  bottom: -100px; right: -100px;
  animation-delay: 4s;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.1); }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px 60px;
  gap: 56px;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  animation: fade-up 1s ease 0.6s both;
  filter: drop-shadow(0 0 40px rgba(0,212,255,0.12));
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50% { box-shadow: 0 0 20px var(--accent); }
}

.hero-name {
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 20px;
  animation: fade-up 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(18px, 3vw, 24px);
  font-family: var(--mono);
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 36px;
  animation: fade-up 0.6s ease 0.2s both;
}

.cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 0 36px;
  animation: fade-up 0.6s ease 0.3s both;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  animation: fade-up 0.6s ease 0.4s both;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--card-border);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fade-up 0.6s ease 0.5s both;
}

.btn {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}

.btn-ghost {
  border: 1px solid var(--card-border);
  color: var(--text);
  background: var(--card);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  animation: fade-up 0.6s ease 0.6s both;
}

.hero-socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.hero-socials a svg {
  width: 18px; height: 18px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.hero-socials a:hover {
  border-color: var(--accent);
  background: rgba(0,212,255,0.1);
}

.hero-socials a:hover svg { color: var(--accent); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fade-up 0.6s ease 0.8s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ============================================
   AWARD BANNER
   ============================================ */
#award-banner {
  background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(245,158,11,0.05));
  border-top: 1px solid rgba(251,191,36,0.2);
  border-bottom: 1px solid rgba(251,191,36,0.2);
  padding: 20px 24px;
}

.award-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.award-icon { font-size: 32px; flex-shrink: 0; }

.award-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.award-text strong {
  color: #fbbf24;
  font-size: 16px;
}

.award-text span {
  color: var(--text-dim);
  font-size: 14px;
}

/* ============================================
   CONTAINER / SECTIONS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 100px 0; }

#about { background: var(--bg2); }
#experience { background: var(--bg); }
#skills { background: var(--bg2); }
#certifications { background: var(--bg); }
#recommendations { background: var(--bg2); }
#education { background: var(--bg); }
#contact { background: var(--bg2); }

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 4px 14px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 999px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.about-text p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-text p strong { color: var(--text); }
.about-text p .highlight {
  color: var(--accent);
  font-weight: 600;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: #a78bfa;
  border-radius: 999px;
}

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

.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}

.info-card:hover { border-color: rgba(0,212,255,0.3); }

.info-card-icon { font-size: 22px; flex-shrink: 0; }

.info-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-card strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card span {
  font-size: 14px;
  color: var(--text);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: -39px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--text-muted);
}

.timeline-marker.current {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0,212,255,0.5);
  background: var(--accent);
}

.timeline-marker.award-marker {
  border-color: #fbbf24;
  box-shadow: 0 0 16px rgba(251,191,36,0.5);
  background: #fbbf24;
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.timeline-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateX(4px);
}

.award-card {
  border-color: rgba(251,191,36,0.2);
  background: rgba(251,191,36,0.04);
}

.award-card:hover {
  border-color: rgba(251,191,36,0.4) !important;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.company-logo {
  width: 116px;
  height: 56px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* Transparent logo containers */
.logo-img {
  width: 116px;
  height: 56px;
  box-sizing: border-box;
  padding: 6px 10px;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-meta {
  flex: 1;
  min-width: 0;
}

.card-meta h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.company {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 3px;
}

.period {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--mono);
}

.badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-current {
  background: rgba(0,212,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.3);
}

.badge-award {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3);
}

.card-desc {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

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

.card-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-chips span {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--accent3);
  border-radius: 6px;
  font-family: var(--mono);
}

/* ============================================
   SKILLS
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.skill-group {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.skill-group:hover { border-color: rgba(124,58,237,0.3); }

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

.skill-icon { font-size: 22px; }

.skill-group-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

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

.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim);
  transition: all 0.2s;
}

.pill:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.4);
  color: #a78bfa;
}

.pill-primary {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.2);
  color: var(--accent);
}

.pill-primary:hover {
  background: rgba(0,212,255,0.15);
  border-color: var(--accent);
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.cert-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-3px);
}

.cert-card.featured {
  border-color: rgba(251,191,36,0.3);
  background: rgba(251,191,36,0.05);
  grid-column: span 2;
}

.cert-issuer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.cert-card.featured .cert-issuer { color: #fbbf24; }

.cert-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}

.cert-date {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-muted);
}

/* ============================================
   RECOMMENDATIONS
   ============================================ */
.recs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.rec-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s;
}

.rec-card:hover { border-color: rgba(0,212,255,0.2); }

.featured-rec {
  grid-column: span 2;
  border-color: rgba(0,212,255,0.2);
  background: rgba(0,212,255,0.03);
}

.rec-quote {
  font-size: 60px;
  font-family: Georgia, serif;
  color: rgba(0,212,255,0.15);
  line-height: 1;
  margin-bottom: -10px;
  display: block;
}

.rec-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.rec-card p strong { color: var(--text); font-style: normal; }

.rec-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rec-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.rec-author div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rec-author strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.rec-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   EDUCATION
   ============================================ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.edu-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  transition: border-color 0.2s;
}

.edu-card:hover { border-color: rgba(124,58,237,0.3); }

.edu-year {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  padding-top: 4px;
}

.edu-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.edu-school {
  display: block;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.edu-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 8px;
}

.edu-content p:last-child { margin-bottom: 0; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.2s;
}

.contact-card:not(.no-link):hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.15);
}

.contact-icon { font-size: 32px; }

.contact-card strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card span {
  font-size: 14px;
  color: var(--text-dim);
  word-break: break-all;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  padding: 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .cert-card.featured { grid-column: span 1; }
  .featured-rec { grid-column: span 1; }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 32px 60px;
    gap: 40px;
  }
  .hero-content { text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-art { order: -1; }
  .hero-svg { max-width: 360px; }
}

@media (max-width: 720px) {
  section { padding: 70px 0; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(5,8,16,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--card-border);
    z-index: 99;
  }
  .hamburger { display: flex; }

  .hero-layout { padding: 90px 20px 50px; }
  .hero-svg { max-width: 300px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 28px; }

  .about-card-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 20px; }
  .timeline-marker { left: -27px; }

  .card-header { flex-direction: column; gap: 12px; }

  .recs-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }

  .edu-card { grid-template-columns: 1fr; gap: 8px; }
  .edu-year { font-size: 12px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }

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

@media (max-width: 480px) {
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .hero-content { padding: 90px 20px 50px; }
  .award-inner { flex-direction: column; text-align: center; gap: 12px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}
