/* ==========================================================================
   Shikhar Shrestha | Portfolio — Netflix-inspired Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --netflix-red: #E50914;
  --netflix-red-dark: #B0060F;
  --netflix-red-light: #F40612;
  --bg-black: #0a0a0a;
  --bg-dark: #141414;
  --bg-card: #1f1f1f;
  --bg-card-hover: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #8c8c8c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gradient-overlay: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.6) 60%, var(--bg-black) 100%);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-red: 0 10px 40px rgba(229, 9, 20, 0.25);

  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--netflix-red); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 4%;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 80%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--netflix-red);
  letter-spacing: 2px;
  font-weight: 400;
}
.nav-logo span { color: var(--text-primary); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--netflix-red);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text-primary); }

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  z-index: 101;
}

/* ==========================================================================
   Home / Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 6% 80px;
  position: relative;
  background: radial-gradient(ellipse at top right, rgba(229,9,20,0.15) 0%, transparent 55%),
              radial-gradient(ellipse at bottom left, rgba(229,9,20,0.08) 0%, transparent 50%),
              var(--bg-black);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.profile-frame {
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  border: 3px solid var(--netflix-red);
  box-shadow: var(--shadow-red), 0 0 0 8px rgba(229,9,20,0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(229,9,20,0.2) 100%);
  z-index: 2;
  pointer-events: none;
}
.profile-frame:hover { transform: scale(1.02); }
.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.profile-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--netflix-red);
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-content { min-width: 0; }
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--netflix-red);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--netflix-red);
  border-radius: 2px;
  background: rgba(229, 9, 20, 0.08);
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #bfbfbf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-role {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-role span { color: var(--netflix-red); font-weight: 600; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(31, 31, 31, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  word-break: break-word;
}
.contact-item:hover {
  background: rgba(229, 9, 20, 0.1);
  border-color: var(--netflix-red);
  transform: translateX(4px);
}
.contact-icon {
  width: 18px; height: 18px;
  color: var(--netflix-red);
  flex-shrink: 0;
}

/* ==========================================================================
   Section Shared
   ========================================================================== */
.section {
  padding: clamp(60px, 9vw, 110px) 6%;
  max-width: 1400px;
  margin: 0 auto;
}
.section-alt { background: linear-gradient(180deg, var(--bg-black) 0%, #0f0f0f 100%); }

.section-header { margin-bottom: 48px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 4px;
  color: var(--netflix-red);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--netflix-red);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.7;
}

/* ==========================================================================
   Summary / Impact cards
   ========================================================================== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.summary-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.summary-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--netflix-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.summary-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.summary-card:hover::before { transform: scaleY(1); }
.summary-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--netflix-red);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 12px;
}
.summary-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.summary-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.summary-text {
  background: var(--bg-card);
  border-left: 4px solid var(--netflix-red);
  padding: 30px 34px;
  border-radius: 2px;
  margin-bottom: 50px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   Impact highlights row
   ========================================================================== */
.impact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.impact-stat {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, rgba(229,9,20,0.08) 0%, transparent 100%);
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.impact-stat:hover { transform: translateY(-4px); }
.impact-stat .big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--netflix-red);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.impact-stat .label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Experience Timeline
   ========================================================================== */
.experience-list { display: flex; flex-direction: column; gap: 28px; }
.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.exp-card:hover {
  border-color: var(--netflix-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.exp-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.company-logo {
  width: 130px; height: 78px;
  border-radius: 6px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.company-logo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-logo-fallback {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bg-black);
  letter-spacing: 2px;
}
.exp-head-text { min-width: 0; }
.exp-company {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.exp-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.exp-duration {
  text-align: right;
  flex-shrink: 0;
}
.exp-duration .years {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--netflix-red);
  letter-spacing: 1px;
  line-height: 1;
}
.exp-duration .dates {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
}
.exp-body { padding: 8px 32px 28px; }
.role-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.role-block:last-child { border-bottom: none; }
.role-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.role-dates {
  font-size: 0.8rem;
  color: var(--netflix-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.role-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--netflix-red);
}

/* ==========================================================================
   Education Page
   ========================================================================== */
.edu-grid {
  display: grid;
  gap: 28px;
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 8px 1fr;
  transition: all 0.4s ease;
}
.edu-card:hover {
  border-color: var(--netflix-red);
  transform: translateX(6px);
}
.edu-accent {
  background: linear-gradient(180deg, var(--netflix-red) 0%, var(--netflix-red-dark) 100%);
}
.edu-body { padding: 32px 34px; }
.edu-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}
.edu-logo {
  width: 130px; height: 78px;
  background: #fafafa;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  overflow: hidden;
}
.edu-logo img { width: 100%; height: 100%; object-fit: contain; }
.edu-school {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1;
}
.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--netflix-red);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 500;
}
.edu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.edu-track {
  padding: 14px 18px;
  background: rgba(229, 9, 20, 0.06);
  border-left: 3px solid var(--netflix-red);
  border-radius: 2px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.edu-track strong { color: var(--text-primary); }

.coursework-list, .cert-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.coursework-list li, .cert-list li {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.coursework-list li::before, .cert-list li::before {
  content: '▸';
  color: var(--netflix-red);
  font-weight: bold;
}
.coursework-list li:hover, .cert-list li:hover {
  background: rgba(229, 9, 20, 0.08);
  border-color: var(--netflix-red);
  transform: translateY(-2px);
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 24px 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.subsection-title::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--netflix-red);
}

/* ==========================================================================
   Projects Page
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--netflix-red);
  box-shadow: var(--shadow-lg), var(--shadow-red);
}
.project-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.9) 100%);
  z-index: 1;
}
.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 20px;
  z-index: 2;
}
.project-placeholder-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--netflix-red);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.project-content { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--netflix-red);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.project-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.project-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tech-pill {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.project-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--netflix-red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--netflix-red-light);
  transform: scale(1.04);
  box-shadow: var(--shadow-red);
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.template-note {
  background: rgba(229, 9, 20, 0.08);
  border: 1px dashed var(--netflix-red);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 40px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.template-note strong { color: var(--netflix-red); letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; }

/* ==========================================================================
   Skills sidebar / pills
   ========================================================================== */
.skills-section { margin-top: 60px; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 26px;
}
.skill-group h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--netflix-red);
  margin-bottom: 16px;
  font-weight: 600;
}
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-pill {
  font-size: 0.82rem;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.skill-pill:hover {
  background: var(--netflix-red);
  color: #fff;
  border-color: var(--netflix-red);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 40px 6%;
  background: #050505;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }

  .hero { padding: 100px 6% 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .profile-frame {
    margin: 0 auto;
    width: min(240px, 55vw);
    aspect-ratio: 3 / 4;
  }
  .hero-tag { margin: 0 auto 18px; display: inline-block; }
  .contact-grid { text-align: left; }

  .exp-header {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 16px;
  }
  .exp-duration { text-align: left; }
  .company-logo { width: 110px; height: 66px; }
  .edu-head { grid-template-columns: 1fr; }
  .edu-logo { width: 140px; height: 80px; }

  .section { padding: 70px 6%; }
}

@media (max-width: 520px) {
  .nav { padding: 14px 5%; }
  .hero { padding: 90px 5% 50px; }
  .section { padding: 60px 5%; }
  .exp-body, .exp-header { padding-left: 20px; padding-right: 20px; }
  .edu-body { padding: 24px 22px; }
  .summary-card { padding: 26px 22px; }
  .contact-item { font-size: 0.85rem; padding: 10px 14px; }
  .impact-stat { padding: 22px 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
