/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(93, 220, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(168, 85, 247, 0.06) 0%,
      transparent 50%
    );
  animation: loaderBackground 4s ease-in-out infinite;
}

@keyframes loaderBackground {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Floating particles */
.loader-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: loaderFloat 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.loader-particle:nth-child(1) {
  top: 20%;
  left: 10%;
}
.loader-particle:nth-child(2) {
  top: 60%;
  left: 80%;
}
.loader-particle:nth-child(3) {
  top: 80%;
  left: 20%;
}
.loader-particle:nth-child(4) {
  top: 30%;
  left: 70%;
}
.loader-particle:nth-child(5) {
  top: 70%;
  left: 30%;
}

@keyframes loaderFloat {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) translateX(-15px);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-30px) translateX(5px);
    opacity: 0.9;
  }
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.loader-logo {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(93, 220, 255, 0.2);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: loaderSpin 1.5s linear infinite;
}

.loader-text {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: rgba(93, 220, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-full);
  width: 0%;
  animation: loaderProgress 2s ease-in-out infinite;
}

.loader-status {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
  animation: loaderFade 2s ease-in-out infinite;
  position: relative;
}

.loader-status::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 4px;
  animation: loaderBlink 1s infinite;
}

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

@keyframes loaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes loaderProgress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

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

/* ---------- CSS Base & Theme ---------- */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hide main content until loaded */
body:not(.loaded) main {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded main {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth transition for header when loaded */
body:not(.loaded) .site-header {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded .site-header {
  opacity: 1;
  transform: translateY(0);
}

:root {
  --bg: #090b10;
  --text: #e6f1ff;
  --muted: #a8b3cf;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-stronger: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #5ddcff; /* cyan */
  --accent-2: #3b82f6; /* blue */

  /* Design System - Consistent Spacing & Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Consistent Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography Scale */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */

  /* Responsive Typography */
  --text-hero: clamp(2rem, 6vw, 3.5rem);
  --text-heading: clamp(1.75rem, 4vw, 2.5rem);
  --text-subheading: clamp(1.25rem, 3vw, 1.875rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-md);
  background: #000;
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

/* ---------- Background: Blurred Blue Noise over Black ---------- */
body::before {
  /* Soft blue/purple/pink blobs */
  content: "";
  position: fixed;
  inset: -20% -20% -20% -20%;
  background: radial-gradient(
      1000px 800px at 20% 10%,
      rgba(0, 122, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      800px 600px at 80% 30%,
      rgba(0, 200, 255, 0.14),
      transparent 55%
    ),
    radial-gradient(
      700px 600px at 30% 80%,
      rgba(0, 150, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 90% 80%,
      rgba(0, 100, 255, 0.1),
      transparent 65%
    ),
    /* purple + pink accents */
      radial-gradient(
        900px 700px at 70% 60%,
        rgba(168, 85, 247, 0.12),
        transparent 60%
      ),
    radial-gradient(
      1000px 800px at 15% 75%,
      rgba(236, 72, 153, 0.1),
      transparent 65%
    );
  filter: blur(60px) saturate(120%);
  z-index: -2;
}

body::after {
  /* Grainy mixed noise: blue + purple + pink */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0.55  0 0 0 0 1  0 0 0 0.28 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.7  0 0 0 0 0.2  0 0 0 0 1  0 0 0 0.22 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.35' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 0.3  0 0 0 0 0.7  0 0 0 0.20 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  background-size: 220px 220px, 260px 260px, 300px 300px;
  background-position: 0 0, 25% 15%, 60% 40%;
  mix-blend-mode: screen;
  opacity: 0.16;
  animation: noiseShift 10s linear infinite;
  z-index: -1;
}

@keyframes noiseShift {
  0% {
    background-position: 0 0, 25% 15%, 60% 40%;
  }
  100% {
    background-position: 20px 15px, calc(25% + 20px) calc(15% + 15px),
      calc(60% + 20px) calc(40% + 15px);
  }
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 16px 12px;
  z-index: 50;
}
.navbar {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-md);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.navlist {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.navlist a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 44px;
  min-height: 44px;
}

.navlist a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navlist a svg {
  transition: transform var(--transition-fast);
}

.navlist a:hover,
.navlist a:focus {
  color: var(--text);
  background: rgba(93, 220, 255, 0.1);
  transform: translateY(-1px);
}

.navlist a:hover svg,
.navlist a:focus svg {
  transform: scale(1.1);
}

.navlist a.active {
  color: var(--accent);
  background: rgba(93, 220, 255, 0.15);
  box-shadow: 0 0 0 1px rgba(93, 220, 255, 0.3);
  outline: none;
}

.navlist a.active svg {
  transform: scale(1.05);
}

.nav-text {
  display: none;
}

/* ---------- Layout ---------- */
.main {
  padding-top: 96px;
}
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

/* ---------- About Section ---------- */
.about-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.02) 0%,
    rgba(59, 130, 246, 0.01) 50%,
    rgba(168, 85, 247, 0.01) 100%
  );
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(93, 220, 255, 0.2) 50%,
    transparent 100%
  );
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.about-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.about-header h2 {
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md) 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  margin: 0;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text {
  margin-bottom: 0;
}

.about-description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 var(--space-lg) 0;
}

.about-description:last-of-type {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.stat-item:hover,
.stat-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(93, 220, 255, 0.1);
  border-color: rgba(93, 220, 255, 0.3);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Key Skills Section ---------- */
.skills-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.03) 0%,
    rgba(59, 130, 246, 0.02) 50%,
    rgba(168, 85, 247, 0.02) 100%
  );
  border-top: 1px solid rgba(93, 220, 255, 0.15);
  border-bottom: 1px solid rgba(93, 220, 255, 0.15);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(93, 220, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.skills-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.skills-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.skills-header h2 {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skills-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.skill-category {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  height: fit-content;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.skill-category:hover,
.skill-category:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(93, 220, 255, 0.15);
  border-color: rgba(93, 220, 255, 0.3);
}

.skill-category.backend:hover {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.05),
    rgba(59, 130, 246, 0.03)
  );
}

.skill-category.frontend:hover {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(168, 85, 247, 0.03)
  );
}

.skill-category.architecture:hover {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.05),
    rgba(93, 220, 255, 0.03)
  );
}

.skill-category.devops:hover {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.05),
    rgba(59, 130, 246, 0.03)
  );
}

.skill-category.ai:hover {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.05),
    rgba(93, 220, 255, 0.03)
  );
}

.skill-header {
  margin-bottom: 0;
  flex: 1;
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  color: var(--accent);
  transition: all var(--transition-normal);
}

.skill-category:hover .skill-icon,
.skill-category:focus-within .skill-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.25),
    rgba(59, 130, 246, 0.25)
  );
}

.skill-header h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
}

.skill-header p {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.skill-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: auto;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(93, 220, 255, 0.08);
  border: 1px solid rgba(93, 220, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--accent);
  transition: all var(--transition-normal);
  cursor: default;
  min-height: 32px;
  min-width: 44px;
}

.tech-badge:hover,
.tech-badge:focus {
  background: rgba(93, 220, 255, 0.15);
  border-color: rgba(93, 220, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(93, 220, 255, 0.2);
}

.tech-badge svg {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.tech-badge:hover svg,
.tech-badge:focus svg {
  transform: scale(1.1);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  position: relative;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.accent::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  opacity: 0.6;
}

.tagline {
  color: var(--muted);
  margin: 0 0 var(--space-lg) 0;
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.subtle {
  color: #90a3c1;
  margin: 0 0 var(--space-xl) 0;
  font-size: var(--text-lg);
  line-height: 1.6;
  max-width: 480px;
  align-self: center;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: var(--text-base);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  color: var(--text);
  border-color: rgba(93, 220, 255, 0.3);
  box-shadow: 0 4px 20px rgba(93, 220, 255, 0.15),
    0 0 0 1px rgba(93, 220, 255, 0.1) inset;
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(93, 220, 255, 0.25),
    0 0 0 1px rgba(93, 220, 255, 0.2) inset;
  border-color: rgba(93, 220, 255, 0.5);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.ghost:hover,
.btn.ghost:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-background {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(93, 220, 255, 0.08) 0%,
    rgba(59, 130, 246, 0.04) 40%,
    transparent 70%
  );
  filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

#profile-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(93, 220, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(93, 220, 255, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.profile-card:hover #profile-photo {
  transform: scale(1.02);
  border-color: rgba(93, 220, 255, 0.4);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(93, 220, 255, 0.2) inset;
}

.profile-decoration {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.decoration-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(93, 220, 255, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.decoration-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 1px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ---------- Cards / Blocks ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chip-grid {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.chip-grid li {
  background: var(--panel-stronger);
  border: 1px solid var(--border);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--text);
}

/* ---------- Journey Section ---------- */
.journey-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.journey-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
}

.journey-node {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-slow);
  overflow: hidden;
}

.journey-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: all var(--transition-normal);
}

.journey-node.freelancer::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.journey-node.zeikh::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.journey-node:hover,
.journey-node:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(93, 220, 255, 0.15);
  border-color: rgba(93, 220, 255, 0.3);
}

.journey-node.freelancer:hover {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.05),
    rgba(59, 130, 246, 0.03)
  );
}

.journey-node.zeikh:hover {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.05),
    rgba(59, 130, 246, 0.03)
  );
}

.node-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--accent);
  transition: all var(--transition-normal);
}

.journey-node.freelancer .node-icon {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  color: var(--accent);
}

.journey-node:hover .node-icon,
.journey-node:focus-within .node-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.25),
    rgba(59, 130, 246, 0.25)
  );
}

.journey-node.freelancer:hover .node-icon {
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.25),
    rgba(59, 130, 246, 0.25)
  );
}

.node-header {
  margin-bottom: 16px;
}

.node-header h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.node-period {
  display: inline-block;
  background: rgba(93, 220, 255, 0.1);
  border: 1px solid rgba(93, 220, 255, 0.2);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-node.freelancer .node-period {
  background: rgba(93, 220, 255, 0.1);
  border-color: rgba(93, 220, 255, 0.2);
  color: var(--accent);
}

.node-description {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0 0 var(--space-lg) 0;
}

.career-progression {
  background: rgba(93, 220, 255, 0.05);
  border: 1px solid rgba(93, 220, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.progression-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(93, 220, 255, 0.1);
}

.progression-step:last-child {
  border-bottom: none;
}

.step-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.step-period {
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 500;
}

.node-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.highlight {
  background: rgba(93, 220, 255, 0.1);
  border: 1px solid rgba(93, 220, 255, 0.2);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.journey-node.freelancer .highlight {
  background: rgba(93, 220, 255, 0.1);
  border-color: rgba(93, 220, 255, 0.2);
  color: var(--accent);
}

.journey-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: var(--accent);
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Legacy timeline styles for fallback */
.timeline {
  display: grid;
  gap: 14px;
}
.timeline .item {
  border-left: 2px solid rgba(93, 220, 255, 0.25);
  padding-left: 16px;
}
.timeline .item header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.timeline .item h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
}
.timeline .item .meta {
  color: var(--muted);
  font-size: 14px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: var(--text-heading);
  font-weight: 700;
  margin: 0 0 var(--space-sm) 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(93, 220, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-card:hover,
.project-card:focus {
  transform: translateY(-8px);
  border-color: rgba(93, 220, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(93, 220, 255, 0.15);
}

.project-image-container {
  position: relative;
  overflow: hidden;
}

.project-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(
    135deg,
    rgba(93, 220, 255, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.view-project {
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: rgba(93, 220, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-card .card-body {
  padding: var(--space-lg);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.project-header h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.project-badge {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #000;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-xs) var(--space-xs);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.project-description {
  margin: 0 0 var(--space-md) 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

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

.tech-tag {
  background: rgba(93, 220, 255, 0.1);
  border: 1px solid rgba(93, 220, 255, 0.2);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-xs) var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.tech-tag:hover,
.tech-tag:focus {
  background: rgba(93, 220, 255, 0.2);
  border-color: rgba(93, 220, 255, 0.4);
}

.contact-card {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: start;
}
.contact-link {
  font-size: var(--text-lg);
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(93, 220, 255, 0.35);
  padding-bottom: 2px;
}
.contact-link:hover {
  border-bottom-style: solid;
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.social a:hover {
  color: var(--text);
  border-color: rgba(93, 220, 255, 0.35);
}

/* Approach sequence */
.sequence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.sequence .step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.sequence .step h3 {
  margin: 6px 0 var(--space-xs) 0;
  font-size: var(--text-lg);
}
.pill {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.2px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(93, 220, 255, 0.35);
  background: rgba(93, 220, 255, 0.08);
  color: var(--text);
}
.sequence ul {
  margin: 8px 0 0 18px;
  color: var(--muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.testimonial-card .quote {
  margin: 0 0 10px 0;
  color: var(--text);
}
.testimonial-card .byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.testimonial-card .linkedin {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(93, 220, 255, 0.35);
}
.testimonial-card .linkedin:hover {
  color: var(--text);
  border-bottom-style: solid;
}

/* Contact CTA */
.contact-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-items: center;
  padding: var(--space-xl);
}
.contact-cta .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  color: var(--muted);
  padding: var(--space-2xl) var(--space-md) var(--space-3xl);
}

/* ---------- Responsive ---------- */

/* Mobile-first improvements for skills section */
@media (max-width: 768px) {
  .skills-section {
    padding: 48px 0;
  }

  .skills-container {
    padding: 0 20px;
  }

  .skill-category {
    min-height: auto;
  }

  .skill-category:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .skill-category {
    min-height: auto;
  }

  .skill-category:hover {
    transform: translateY(-2px);
  }

  .tech-badge {
    min-height: 28px;
    min-width: 40px;
  }

  /* Small mobile journey section */
  .journey-container {
    padding: 20px 0;
  }

  .journey-path {
    gap: 16px;
  }

  .journey-node {
    padding: 20px;
  }

  .node-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .node-header h3 {
    font-size: 18px;
  }

  .node-description {
    font-size: 14px;
  }

  .journey-arrow {
    width: 50px;
    height: 50px;
  }

  .highlight {
    font-size: 10px;
    padding: 3px 8px;
  }
}
@media (max-width: 900px) {
  .site-header {
    padding: 12px 8px;
  }

  .navbar {
    padding: 8px 12px;
  }

  .navlist {
    gap: 2px;
  }

  .navlist a {
    padding: 10px;
    min-width: 40px;
    min-height: 40px;
  }

  .navlist a svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 80vh;
    padding: 40px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-text h1 {
    font-size: var(--text-hero);
  }

  .tagline {
    font-size: var(--text-lg);
  }

  .subtle {
    font-size: var(--text-base);
    margin: 0 0 var(--space-lg) 0;
  }

  .cta-row {
    justify-content: center;
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
  }

  #profile-photo {
    width: 240px;
    height: 240px;
  }

  .profile-background {
    width: 240px;
    height: 240px;
  }

  .profile-decoration {
    right: -20px;
  }

  .decoration-line {
    height: 40px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-header {
    margin-bottom: 40px;
  }

  .about-header h2 {
    font-size: var(--text-heading);
    margin-bottom: var(--space-sm);
  }

  .about-subtitle {
    font-size: var(--text-base);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-description {
    font-size: var(--text-base);
    line-height: 1.6;
  }

  .about-stats {
    gap: 20px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .skills-section {
    padding: 60px 0 40px;
  }

  .skills-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 12px;
  }

  .skills-subtitle {
    font-size: 16px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .skill-category {
    padding: 28px 24px;
  }

  .skill-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .skill-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .skill-header p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .skill-tech {
    gap: 8px;
    margin-top: 16px;
  }

  .tech-badge {
    padding: 10px 14px;
    font-size: 13px;
    gap: 8px;
  }

  .tech-badge img {
    width: 18px;
    height: 18px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: var(--text-heading);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card .card-body {
    padding: 20px;
  }

  .project-header h3 {
    font-size: var(--text-lg);
  }

  .project-description {
    font-size: var(--text-sm);
  }

  /* Mobile journey section */
  .journey-path {
    flex-direction: column;
    gap: 24px;
  }

  .journey-node {
    padding: 24px;
  }

  .node-header h3 {
    font-size: var(--text-xl);
  }

  .journey-arrow {
    width: 60px;
    height: 60px;
    transform: rotate(90deg);
  }

  .career-progression {
    padding: 12px;
  }

  .progression-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .step-period {
    font-size: var(--text-xs);
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 60px 0;
  }

  .about-header {
    margin-bottom: 32px;
  }

  .about-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .about-subtitle {
    font-size: 0.95rem;
  }

  .about-content {
    gap: 32px;
  }

  .about-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

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

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .stat-label {
    font-size: var(--text-xs);
  }

  /* Enhanced mobile skills section */
  .skills-section {
    padding: 40px 0;
  }

  .skills-container {
    padding: 0 16px;
  }

  .skills-header {
    margin-bottom: 32px;
  }

  .skills-header h2 {
    font-size: var(--text-heading);
    margin-bottom: var(--space-sm);
  }

  .skills-subtitle {
    font-size: var(--text-sm);
  }

  .skills-grid {
    gap: 16px;
  }

  .skill-category {
    padding: 24px 20px;
  }

  .skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .skill-header h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
  }

  .skill-header p {
    font-size: var(--text-sm);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
  }

  .skill-tech {
    gap: 6px;
    margin-top: 14px;
  }

  .tech-badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    gap: 6px;
  }

  .tech-badge img {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 4px;
  }

  .navbar {
    padding: 6px 8px;
  }

  .navlist {
    gap: 1px;
  }

  .navlist a {
    padding: 8px;
    min-width: 36px;
    min-height: 36px;
  }

  .navlist a svg {
    width: 16px;
    height: 16px;
  }

  /* Ultra mobile skills section */
  .skills-section {
    padding: 32px 0;
  }

  .skills-container {
    padding: 0 12px;
  }

  .skills-header {
    margin-bottom: 24px;
  }

  .skills-header h2 {
    font-size: var(--text-heading);
    margin-bottom: var(--space-xs);
  }

  .skills-subtitle {
    font-size: var(--text-sm);
  }

  .skills-grid {
    gap: 12px;
  }

  .skill-category {
    padding: 20px 16px;
  }

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

  .skill-header h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
  }

  .skill-header p {
    font-size: var(--text-xs);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
  }

  .skill-tech {
    gap: 4px;
    margin-top: 12px;
  }

  .tech-badge {
    padding: 6px 10px;
    font-size: var(--text-xs);
    gap: 4px;
  }

  .tech-badge img {
    width: 14px;
    height: 14px;
  }
}

/* ---------- Scroll Reveal Animations ---------- */
.hero-content,
.about-content,
.skills-grid,
.projects-grid,
.journey-path,
.section-header,
.skill-category,
.project-card,
.journey-node,
.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.hero-content.revealed,
.about-content.revealed,
.skills-grid.revealed,
.projects-grid.revealed,
.journey-path.revealed,
.section-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

.skill-category.revealed,
.project-card.revealed,
.journey-node.revealed,
.stat-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for grid items */
.skills-grid .skill-category:nth-child(1) {
  transition-delay: 0.1s;
}
.skills-grid .skill-category:nth-child(2) {
  transition-delay: 0.2s;
}
.skills-grid .skill-category:nth-child(3) {
  transition-delay: 0.3s;
}
.skills-grid .skill-category:nth-child(4) {
  transition-delay: 0.4s;
}
.skills-grid .skill-category:nth-child(5) {
  transition-delay: 0.5s;
}
.skills-grid .skill-category:nth-child(6) {
  transition-delay: 0.6s;
}

.projects-grid .project-card:nth-child(1) {
  transition-delay: 0.1s;
}
.projects-grid .project-card:nth-child(2) {
  transition-delay: 0.2s;
}
.projects-grid .project-card:nth-child(3) {
  transition-delay: 0.3s;
}

.about-stats .stat-item:nth-child(1) {
  transition-delay: 0.1s;
}
.about-stats .stat-item:nth-child(2) {
  transition-delay: 0.2s;
}
.about-stats .stat-item:nth-child(3) {
  transition-delay: 0.3s;
}

/* Hero section immediate reveal */
.hero-content {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body::after {
    animation: none;
  }

  .navlist a,
  .navlist a svg {
    transition: none;
  }

  .navlist a:hover {
    transform: none;
  }

  .navlist a:hover svg {
    transform: none;
  }

  /* Disable scroll reveal animations for users who prefer reduced motion */
  .hero-content,
  .about-content,
  .skills-grid,
  .projects-grid,
  .journey-path,
  .section-header,
  .skill-category,
  .project-card,
  .journey-node,
  .stat-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
