:root {
  --bg: #080808;
  --bg-card: #111010;
  --bg-card2: #171313;
  --orange: #FF4E1A;
  --orange-glow: rgba(255,78,26,0.15);
  --lime: #C8F135;
  --lime-glow: rgba(200,241,53,0.12);
  --white: #FFFFFF;
  --muted: #888888;
  --light: #b0b0b0;
  --ghost: #3d3d3d;
  --border: #1e1816;
  --border-hover: #3a2a22;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,78,26,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(255,78,26,0.025) 0%, transparent 50%);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Loading Screen ── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 6px;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.loader-bar-track {
  width: 180px; height: 2px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
  animation: loaderFill 1.6s 0.4s var(--ease-out) forwards;
  width: 0;
}
@keyframes loaderFill { to { width: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), #ff7e57);
  z-index: 10001;
  transition: width 0.05s linear;
}

/* ── Custom Cursor (desktop only) ── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, .clickable { cursor: none; }
}
#cursor {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
#cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,78,26,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring),
              border-color 0.3s;
}
#cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: var(--orange);
}

/* ── Nav ── */
.nav-wrapper {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 24px;
  display: flex; justify-content: center;
}
.nav-wrapper.scrolled { }
nav {
  background: rgba(14,10,8,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,78,26,0.08);
  border-radius: 50px;
  padding: 8px 8px;
  display: flex; gap: 4px; align-items: center;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 0 60px rgba(255,78,26,0.03);
}
.nav-item {
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav-item:hover { color: var(--white); background: rgba(255,78,26,0.06); }
.nav-item.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 20px rgba(255,78,26,0.3);
}
.nav-item svg { width: 14px; height: 14px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: rgba(14,10,8,0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,78,26,0.08);
  border-radius: 12px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  position: fixed; top: 16px; right: 20px;
  z-index: 1001;
  transition: background 0.2s;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── Page Layout: Sticky Sidebar + Scrollable Content ── */
.page-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  overflow: visible;
}
.sidebar {
  padding-top: 100px;
  overflow: visible;
}
.sidebar .profile-card {
  position: sticky;
  top: 100px;
}
.sidebar .profile-card:hover {
  transform: none;
}
.main-content {
  min-width: 0;
  overflow: visible;
}
.main-content .container {
  padding: 0;
  max-width: 100%;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── Shared Section Styles ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--orange);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 72px);
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 20px;
}
.section-title .ghost {
  color: #2a1f1a;
  display: block;
}
.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#home {
  min-height: 100vh;
  padding: 100px 0 60px;
  display: flex; align-items: flex-start;
  position: relative;
  overflow: visible;
}
#home::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,78,26,0.08) 0%, transparent 70%);
  top: 10%; right: -10%;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}
#home::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,241,53,0.05) 0%, transparent 70%);
  bottom: 10%; left: -5%;
  pointer-events: none;
  animation: pulseGlow 10s 2s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(1.15); opacity: 1; }
}

.hero-grid {
  position: relative;
  z-index: 1;
}

/* Profile Card */
.profile-card {
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
  border-radius: 24px;
  padding: 24px 24px 28px;
  color: #111;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(255,78,26,0.06), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.5s var(--ease-out);
}
.profile-card:hover { transform: translateY(-6px); }

.profile-card::before {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px;
  border: 2px dashed var(--orange);
  border-radius: 50%;
  pointer-events: none;
  animation: spin 15s linear infinite;
  z-index: -1;
}
.profile-card::after {
  content: '';
  position: absolute; bottom: -12px; left: -12px;
  width: 50px; height: 50px;
  border: 2px dashed var(--lime);
  border-radius: 8px;
  pointer-events: none;
  animation: spin 20s linear infinite reverse;
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.profile-photo-wrap {
  background: linear-gradient(135deg, var(--orange), #ff7e57);
  border-radius: 16px;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.profile-photo-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
  border-radius: 16px;
}
.profile-avatar {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.profile-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  text-align: center;
  color: #111;
  margin-bottom: 2px;
}
.profile-role-badge {
  text-align: center;
  margin: 6px 0 14px;
}
.profile-role-badge span {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
}
.profile-bio {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 18px;
  padding: 0 4px;
}
.profile-links {
  display: flex; gap: 8px; justify-content: center;
}
.resume-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.resume-view {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.resume-view:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,78,26,0.3);
}
.resume-download {
  background: var(--orange);
  color: #fff;
  border: 1.5px solid var(--orange);
}
.resume-download:hover {
  background: #e0601a;
  border-color: #e0601a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,78,26,0.3);
}
.profile-link {
  width: 36px; height: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #444; font-size: 15px;
  transition: all 0.3s var(--ease-out);
}
.profile-link:hover {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,78,26,0.3);
}

.status-dot {
  position: absolute; top: 16px; right: 16px;
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: #777;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.status-dot::before {
  content: '';
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Hero Right Content */
.hero-content { position: relative; }
.hero-greeting {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--lime);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.hero-greeting::after {
  content: '';
  display: inline-block;
  width: 2px; height: 18px;
  background: var(--lime);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-title-row { line-height: 0.92; margin-bottom: 20px; }
.hero-title-white {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 88px);
  color: var(--white);
  display: block;
  letter-spacing: 3px;
}
.hero-title-stroke {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 88px);
  display: block;
  letter-spacing: 3px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.hero-title-ghost {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 88px);
  color: #1a1a1a;
  display: block;
  letter-spacing: 3px;
}
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 450px;
  margin-bottom: 32px;
}
.hero-sub strong { color: var(--white); font-weight: 600; }

/* Stats */
.stats-row {
  display: flex; gap: 40px;
  margin-bottom: 36px;
}
.stat-item { position: relative; }
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}
.stat-num .accent { color: var(--orange); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero CTA Buttons */
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-primary {
  padding: 14px 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(255,78,26,0.25);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,78,26,0.35);
}
.btn-outline {
  padding: 14px 32px;
  border: 1.5px solid var(--border);
  color: var(--white);
  background: transparent;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* Hero skill cards */
.skill-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.skill-card {
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
  min-height: 110px;
}
.skill-card:hover { transform: scale(1.03); }
.skill-card.orange { background: linear-gradient(135deg, var(--orange), #e8420f); }
.skill-card.lime { background: linear-gradient(135deg, var(--lime), #a8cc1a); }
.skill-icon { font-size: 22px; margin-bottom: 10px; }
.skill-card-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; line-height: 1.5;
}
.skill-card.orange .skill-card-title { color: #fff; }
.skill-card.lime .skill-card-title { color: #111; }
.skill-arrow {
  position: absolute; bottom: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.skill-card.orange .skill-arrow { background: rgba(255,255,255,0.25); color: #fff; }
.skill-card.lime .skill-arrow { background: rgba(0,0,0,0.12); color: #111; }
.skill-deco {
  position: absolute; top: 0; right: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: 0.12;
}

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
#about {
  padding: 100px 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 15px;
  color: var(--light);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-text strong { color: var(--white); }
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px;
}
.highlight-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255,78,26,0.03) 100%);
  border: 1px solid rgba(255,78,26,0.06);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s var(--ease-out);
}
.highlight-card:hover {
  border-color: rgba(255,78,26,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,78,26,0.1);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255,78,26,0.06) 100%);
}
.highlight-card .icon { font-size: 24px; margin-bottom: 10px; }
.highlight-card .label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.highlight-card .value {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 1px;
  color: var(--white);
}

/* ══════════════════════════════
   EXPERIENCE — Timeline
══════════════════════════════ */
#experience {
  padding: 100px 0;
  position: relative;
}
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 10px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--border), transparent);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 48px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--orange);
  z-index: 2;
  transition: all 0.3s var(--ease-out);
}
.timeline-item:hover .timeline-dot {
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255,78,26,0.4);
}
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: all 0.3s var(--ease-out);
}
.timeline-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline-title {
  font-size: 18px; font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}
.timeline-role {
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: 10px;
}
.timeline-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.timeline-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 10px;
}
.timeline-badge.internship { background: rgba(255,78,26,0.15); color: var(--orange); }
.timeline-badge.education { background: rgba(200,241,53,0.12); color: var(--lime); }
.timeline-badge.achievement { background: rgba(255,200,0,0.12); color: #ffc800; }

/* ══════════════════════════════
   PROJECTS
══════════════════════════════ */
#projects { padding: 100px 0; }
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}
.project-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,78,26,0.06);
  text-decoration: none;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.project-row:first-child {
  border-top: 1px solid rgba(255,78,26,0.06);
}
.project-row:hover {
  padding-left: 8px;
}
.project-thumb {
  width: 140px;
  height: 95px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border);
  transition: border-color 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-row:hover .project-thumb {
  border-color: var(--orange);
}
.project-row:nth-child(even):hover .project-thumb {
  border-color: var(--lime);
}
.project-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-size: 28px;
}
.project-thumb-inner .thumb-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.thumb-orange { background: linear-gradient(135deg, var(--orange), #e8420f); color: #fff; }
.thumb-lime { background: linear-gradient(135deg, var(--lime), #a8cc1a); color: #111; }
.thumb-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.project-info { min-width: 0; }
.project-name {
  font-size: 20px; font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}
.project-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.project-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--light);
  background: var(--bg);
  transition: all 0.2s;
}
.project-row:hover .tag { border-color: var(--border-hover); }
.project-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}
.project-arrow svg {
  width: 18px; height: 18px;
  stroke: var(--muted);
  transition: all 0.3s var(--ease-out);
}
.project-row:hover .project-arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}
.project-row:hover .project-arrow svg { stroke: #fff; }
.project-row:nth-child(even):hover .project-arrow {
  background: var(--lime);
  border-color: var(--lime);
}
.project-row:nth-child(even):hover .project-arrow svg { stroke: #111; }

/* View All Button */
.view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-view-all {
  padding: 14px 36px;
  border: 1.5px solid var(--border);
  color: var(--white);
  background: transparent;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-view-all:hover {
  border-color: var(--orange);
  background: rgba(255,78,26,0.08);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,78,26,0.15);
}
.btn-view-all svg { transition: transform 0.3s var(--ease-out); }
.btn-view-all:hover svg { transform: translateX(4px); }

/* ══════════════════════════════
   SKILLS
══════════════════════════════ */
#skills { padding: 100px 0; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.skill-group {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(255,78,26,0.02) 100%);
  border: 1px solid rgba(255,78,26,0.06);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.skill-group::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--orange);
  transition: height 0.5s var(--ease-out);
  border-radius: 0 0 3px 0;
}
.skill-group:nth-child(even)::before { background: var(--lime); }
.skill-group:hover::before { height: 100%; }
.skill-group:hover {
  border-color: rgba(255,78,26,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,78,26,0.06);
}
.skill-group-icon { font-size: 28px; margin-bottom: 14px; }
.skill-group-label {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.skill-group:nth-child(even) .skill-group-label { color: var(--lime); }
.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--border);
  color: var(--white);
  background: var(--bg);
  transition: all 0.3s var(--ease-out);
}
.skill-group:hover .skill-pill { border-color: var(--border-hover); }
.skill-group:hover .skill-pill:nth-child(odd) {
  border-color: var(--orange); color: var(--orange);
}
.skill-group:nth-child(even):hover .skill-pill:nth-child(odd) {
  border-color: var(--lime); color: var(--lime);
}

/* ══════════════════════════════
   ACHIEVEMENTS
══════════════════════════════ */
#achievements { padding: 100px 0; }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.achievement-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(255,78,26,0.03) 100%);
  border: 1px solid rgba(255,78,26,0.06);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}
.achievement-card:hover {
  border-color: rgba(255,78,26,0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255,78,26,0.12);
}
.achievement-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.achievement-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.achievement-card:hover .achievement-thumb img {
  transform: scale(1.08);
}
.achievement-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.achievement-card:hover .achievement-overlay { opacity: 1; }
.photo-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
  letter-spacing: 0.5px;
}
.photo-count svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.achievement-view {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,78,26,0.8);
  padding: 8px 20px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.achievement-info {
  padding: 18px 20px 20px;
}
.achievement-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}
.achievement-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Gallery Modal ── */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(20px);
}
.gallery-modal-content {
  position: relative;
  width: 90vw;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}
.gallery-modal.active .gallery-modal-content {
  transform: scale(1) translateY(0);
}
.gallery-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s var(--ease-out);
}
.gallery-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(90deg);
}
.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 3px;
  color: var(--white);
  text-align: center;
}
.gallery-viewer {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.gallery-nav {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.gallery-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}
.gallery-img-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s var(--ease-out);
}
.gallery-main-img.fade { opacity: 0; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  opacity: 0.5;
}
.gallery-thumb:hover { opacity: 0.8; }
.gallery-thumb.active {
  border-color: var(--orange);
  opacity: 1;
  box-shadow: 0 0 16px rgba(255,78,26,0.3);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .achievements-grid { grid-template-columns: 1fr; }
  .gallery-nav { width: 36px; height: 36px; }
  .gallery-nav svg { width: 18px; height: 18px; }
  .gallery-viewer { gap: 8px; }
  .gallery-thumb { width: 56px; height: 40px; }
  .gallery-close { top: -6px; right: -6px; width: 36px; height: 36px; font-size: 20px; }
}
@media (max-width: 480px) {
  .gallery-modal-content { width: 95vw; gap: 14px; }
  .gallery-thumb { width: 48px; height: 36px; border-radius: 6px; }
}

/* ══════════════════════════════
   EDUCATION
══════════════════════════════ */
#education { padding: 100px 0; }
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.edu-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(255,78,26,0.025) 100%);
  border: 1px solid rgba(255,78,26,0.06);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.edu-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.edu-card:hover::after { transform: scaleX(1); }
.edu-card:hover {
  border-color: rgba(255,78,26,0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,78,26,0.06);
}
.edu-icon { font-size: 32px; margin-bottom: 16px; }
.edu-degree {
  font-size: 16px; font-weight: 700;
  color: var(--white);
  margin-bottom: 6px; line-height: 1.4;
}
.edu-school {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.edu-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 1px;
}

/* ══════════════════════════════
   EXTRAS
══════════════════════════════ */
#extras { padding: 60px 0 100px; }
.extras-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 10px;
}
.extra-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255,78,26,0.02) 100%);
  border: 1px solid rgba(255,78,26,0.06);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--light);
  transition: all 0.3s var(--ease-out);
}
.extra-chip:hover {
  border-color: rgba(255,78,26,0.2);
  color: var(--white);
  transform: translateY(-2px);
}
.extra-chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.extra-chip:nth-child(even) .dot { background: var(--lime); }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
#contact {
  padding: 100px 0 80px;
  position: relative;
}
.contact-wrapper {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(255,78,26,0.03) 100%);
  border: 1px solid rgba(255,78,26,0.08);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(255,78,26,0.03);
}
.contact-wrapper::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,78,26,0.06) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}
.contact-wrapper::after {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,241,53,0.04) 0%, transparent 70%);
  bottom: -60px; left: -60px;
  pointer-events: none;
}
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 8px;
  line-height: 1;
  position: relative;
}
.contact-heading .stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.contact-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.contact-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  border-top: 1px solid rgba(255,78,26,0.08);
  padding: 32px 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
footer a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--white); }

/* ── Back to Top ── */
#back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--orange);
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  z-index: 100;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,78,26,0.3);
}
#back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-top:hover { background: #e8420f; transform: translateY(-2px); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .sidebar { padding: 80px 20px 0; }
  .sidebar .profile-card { position: relative; top: auto; max-width: 340px; margin: 0 auto; }
  .main-content .container { padding: 0 20px; }
  #home { align-items: center; min-height: auto; padding: 60px 0 40px; }
  #home::before { width: 300px; height: 300px; }
  #home::after { width: 200px; height: 200px; }
  .education-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Nav hamburger from 900px */
  .nav-wrapper nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrapper.nav-open nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; right: 20px;
    border-radius: 16px;
    padding: 12px;
    gap: 4px;
    min-width: 180px;
    animation: slideDown 0.3s var(--ease-out);
  }
  /* Section padding reduction */
  #about { padding: 60px 0; }
  #projects { padding: 60px 0; }
  #skills { padding: 60px 0; }
  #achievements { padding: 60px 0; }
  #certifications { padding: 60px 0 40px; }
  #education { padding: 60px 0; }
  #extras { padding: 40px 0 60px; }
  #contact { padding: 60px 0 50px; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero-title-row { text-align: center; }
  .hero-greeting { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-btns { justify-content: center; }
  .stats-row { justify-content: center; gap: 28px; }
  .hero-content { text-align: center; }
  .hero-content .skill-cards { max-width: 360px; margin: 0 auto; }
  .project-row { grid-template-columns: 100px 1fr auto; gap: 18px; padding: 22px 0; }
  .project-thumb { width: 100px; height: 70px; }
  .project-name { font-size: 17px; }
  .project-arrow { width: 38px; height: 38px; }
  .skills-grid { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr 1fr; }

  .contact-wrapper { padding: 60px 24px; border-radius: 24px; }
  .contact-heading { font-size: clamp(28px, 5vw, 48px); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .main-content .container { padding: 0 16px; }
  .sidebar { padding: 70px 16px 0; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stat-num { font-size: 36px; }
  .skill-cards { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .project-row { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .project-thumb { width: 100%; height: 140px; }
  .project-arrow { justify-self: end; }
  #home { padding: 40px 0 30px; }
  #home::before, #home::after { display: none; }
  .profile-card::before { width: 50px; height: 50px; top: -10px; right: -10px; }
  .profile-card::after { width: 30px; height: 30px; bottom: -8px; left: -8px; }
  .section-desc { font-size: 14px; margin-bottom: 28px; }
  .hero-sub { font-size: 14px; }
  .btn-primary, .btn-outline { padding: 12px 24px; font-size: 12px; }
  .contact-wrapper { padding: 40px 18px; border-radius: 20px; }
  .contact-sub { font-size: 14px; margin-bottom: 24px; }
  .edu-card { padding: 20px; }
  .skill-group { padding: 20px; }
  .cert-track-wrapper { margin-top: 24px; }
  footer { padding: 24px 16px; flex-direction: column; text-align: center; }
}

/* ── Certifications ── */
#certifications { padding: 100px 0 60px; }
.cert-track-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.cert-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 10px;
  scrollbar-width: none;
  cursor: grab;
}
.cert-track::-webkit-scrollbar { display: none; }
.cert-track.grabbing { cursor: grabbing; }
.cert-card {
  flex: 0 0 300px;
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(255,78,26,0.03) 100%);
  border: 1px solid rgba(255,78,26,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255,78,26,0.15);
  border-color: rgba(255,78,26,0.25);
}
.cert-img {
  height: 200px;
  overflow: hidden;
  background: #111;
}
.cert-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.cert-card:hover .cert-img img { transform: scale(1.05); }
.cert-name {
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .cert-card { flex: 0 0 260px; }
  .cert-img { height: 170px; }
}
@media (max-width: 480px) {
  .cert-card { flex: 0 0 230px; }
  .cert-img { height: 150px; }
}

/* ── Accessibility reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none;
  }
}

/* ── Selection ── */
::selection { background: rgba(255,78,26,0.35); color: #fff; }
