/* ========================================
   PORTFOLIO — DVIJ JOSHI
   Design: Playful pastel, illustration-rich
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Pastel palette matching reference */
  --lavender: #e8dff5;
  --lavender-deep: #c9b8e8;
  --yellow: #fce588;
  --yellow-deep: #f5d251;
  --mint: #b8f0d8;
  --mint-deep: #7edcab;
  --pink: #fcd5ce;
  --pink-deep: #f5a898;
  --purple: #7c5cbf;
  --purple-light: #9b7fd4;
  --text-dark: #2d2640;
  --text-mid: #5a5072;
  --text-light: #8a80a0;
  --white: #fefcff;
  --off-white: #f9f6ff;
  --card-shadow: 0 4px 24px rgba(45, 38, 64, 0.08);
  --card-shadow-hover: 0 8px 40px rgba(45, 38, 64, 0.14);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --container-width: 1140px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 60px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.3);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(124, 92, 191, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--lavender-deep);
}

.btn-secondary:hover {
  background: var(--lavender);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(254, 252, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(45, 38, 64, 0.06);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.nav-logo span {
  color: var(--purple);
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-dark);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-dark);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--lavender);
  padding: 10px 24px !important;
  border-radius: 50px;
  color: var(--purple) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--purple) !important;
  color: #fff !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  background: var(--lavender);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 160px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.highlight-text {
  color: var(--purple);
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.7;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-mid);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  text-align: center;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-indicator span {
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: bounceDown 1.5s ease infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }

  50% {
    transform: rotate(45deg) translateY(6px);
    opacity: 0.5;
  }
}

/* ========================================
   HERO ILLUSTRATION (CSS drawn)
   ======================================== */
.illustration-scene {
  position: relative;
  width: 100%;
  height: 400px;
}

/* Desk setup */
.desk {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 20px;
  background: var(--purple-light);
  border-radius: 4px;
}

.desk::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 30px;
  width: 260px;
  height: 60px;
  border-left: 8px solid var(--purple-light);
  border-right: 8px solid var(--purple-light);
}

.monitor {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 130px;
  background: var(--text-dark);
  border-radius: 10px;
  padding: 10px;
}

.screen {
  width: 100%;
  height: 100%;
  background: #1e1a2e;
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.code-line {
  height: 4px;
  border-radius: 2px;
  animation: codePulse 2s ease infinite;
}

.cl1 {
  width: 60%;
  background: var(--mint);
  animation-delay: 0s;
}

.cl2 {
  width: 80%;
  background: var(--yellow);
  animation-delay: 0.2s;
}

.cl3 {
  width: 45%;
  background: var(--pink);
  animation-delay: 0.4s;
}

.cl4 {
  width: 70%;
  background: var(--lavender);
  animation-delay: 0.6s;
}

.cl5 {
  width: 55%;
  background: var(--mint);
  animation-delay: 0.8s;
}

.cl6 {
  width: 40%;
  background: var(--yellow);
  animation-delay: 1s;
}

@keyframes codePulse {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.monitor-stand {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 18px;
  background: var(--text-mid);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.keyboard {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 14px;
  background: var(--text-mid);
  border-radius: 3px;
}

/* Coffee cup */
.coffee-cup {
  position: absolute;
  bottom: 6px;
  right: 30px;
  width: 24px;
  height: 22px;
  background: var(--yellow-deep);
  border-radius: 0 0 8px 8px;
}

.coffee-cup::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 4px;
  width: 10px;
  height: 12px;
  border: 3px solid var(--yellow-deep);
  border-left: none;
  border-radius: 0 6px 6px 0;
}

.steam {
  position: absolute;
  top: -14px;
  width: 3px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  animation: steamFloat 1.8s ease infinite;
}

.s1 {
  left: 5px;
  animation-delay: 0s;
}

.s2 {
  left: 11px;
  animation-delay: 0.3s;
}

.s3 {
  left: 17px;
  animation-delay: 0.6s;
}

@keyframes steamFloat {
  0% {
    transform: translateY(0) scaleY(1);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-12px) scaleY(1.5);
    opacity: 0;
  }
}

/* Plant */
.plant {
  position: absolute;
  bottom: 6px;
  left: 20px;
}

.pot {
  width: 26px;
  height: 20px;
  background: var(--pink-deep);
  border-radius: 0 0 6px 6px;
  position: relative;
}

.pot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -3px;
  width: 32px;
  height: 6px;
  background: var(--pink-deep);
  border-radius: 3px;
}

.stem {
  position: absolute;
  bottom: 20px;
  left: 12px;
  width: 3px;
  height: 30px;
  background: var(--mint-deep);
}

.leaf {
  position: absolute;
  width: 16px;
  height: 10px;
  background: var(--mint-deep);
  border-radius: 50% 0;
}

.l1 {
  bottom: 42px;
  left: 14px;
  transform: rotate(-20deg);
}

.l2 {
  bottom: 34px;
  left: -2px;
  transform: rotate(160deg);
}

.l3 {
  bottom: 50px;
  left: 6px;
  transform: rotate(-40deg);
  background: var(--mint);
}

/* Floating shapes */
.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  animation: shapeFloat 4s ease-in-out infinite;
}

.shape-circle {
  width: 30px;
  height: 30px;
  background: var(--yellow);
  border-radius: 50%;
  top: 20px;
  right: 40px;
  animation-delay: 0s;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 24px solid var(--mint);
  top: 60px;
  left: 20px;
  animation-delay: 0.6s;
}

.shape-square {
  width: 22px;
  height: 22px;
  background: var(--pink);
  border-radius: 4px;
  top: 30px;
  left: 50%;
  transform: rotate(45deg);
  animation-delay: 1.2s;
}

.shape-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotFloat 3s ease-in-out infinite;
}

.d1 {
  background: var(--purple-light);
  top: 80px;
  right: 80px;
  animation-delay: 0.2s;
}

.d2 {
  background: var(--yellow-deep);
  top: 120px;
  left: 60px;
  animation-delay: 0.8s;
}

.d3 {
  background: var(--pink-deep);
  bottom: 100px;
  right: 60px;
  animation-delay: 1.4s;
}

@keyframes shapeFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(5deg);
  }

  66% {
    transform: translateY(6px) rotate(-3deg);
  }
}

@keyframes dotFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Character */
.character {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(80px);
}

.char-head {
  position: relative;
  width: 36px;
  height: 40px;
}

.face {
  width: 36px;
  height: 36px;
  background: #f5d0b0;
  border-radius: 50%;
  position: relative;
}

.hair {
  position: absolute;
  top: -4px;
  left: -2px;
  width: 40px;
  height: 22px;
  background: var(--text-dark);
  border-radius: 20px 20px 0 0;
  z-index: 1;
}

.eye {
  position: absolute;
  width: 4px;
  height: 5px;
  background: var(--text-dark);
  border-radius: 50%;
  top: 16px;
  animation: blink 3s ease infinite;
}

.left-eye {
  left: 10px;
}

.right-eye {
  right: 10px;
}

.mouth {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--text-dark);
  border-radius: 0 0 8px 8px;
}

@keyframes blink {

  0%,
  45%,
  55%,
  100% {
    scaleY: 1;
  }

  50% {
    transform: scaleY(0.1);
  }
}

.char-body {
  width: 44px;
  height: 50px;
  background: var(--purple);
  border-radius: 10px 10px 0 0;
  margin-left: -4px;
  margin-top: -2px;
}

.char-arm {
  position: absolute;
  width: 12px;
  height: 36px;
  background: var(--purple);
  border-radius: 6px;
  top: 42px;
}

.left-arm {
  left: -10px;
  transform: rotate(15deg);
}

.right-arm {
  right: -10px;
  transform: rotate(-30deg);
  transform-origin: top;
  animation: type 0.8s ease infinite alternate;
}

@keyframes type {
  0% {
    transform: rotate(-30deg);
  }

  100% {
    transform: rotate(-20deg);
  }
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 16px;
}

.label-dot {
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.text-highlight {
  color: var(--purple);
  position: relative;
  display: inline-block;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--yellow);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  min-height: 100vh;
  padding: var(--section-pad) 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  padding: 36px 28px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.card-lavender {
  background: var(--lavender);
}

.card-lavender:hover {
  border-color: var(--lavender-deep);
}

.card-yellow {
  background: var(--yellow);
}

.card-yellow:hover {
  border-color: var(--yellow-deep);
}

.card-mint {
  background: var(--mint);
}

.card-mint:hover {
  border-color: var(--mint-deep);
}

.card-pink {
  background: var(--pink);
}

.card-pink:hover {
  border-color: var(--pink-deep);
}

.card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ========================================
   WORK / PROJECTS SECTION
   ======================================== */
.work-section {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.work-section .container {
  position: relative;
}

/* Stacking cards wrapper */
.projects-stack {
  position: relative;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: sticky;
  top: 100px;
  margin-bottom: 30px;
  box-shadow: 0 -4px 30px rgba(45, 38, 64, 0.08);
}

.project-showcase:last-child {
  margin-bottom: 0;
}

.project-showcase:hover {
  box-shadow: var(--card-shadow-hover);
}

.showcase-yellow {
  background: var(--yellow);
}

.showcase-mint {
  background: var(--mint);
}

.showcase-lavender {
  background: var(--lavender);
}

.showcase-pink {
  background: var(--pink);
}

.project-info {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: var(--text-mid);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 700;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.15;
}

.project-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 95%;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.project-tech span {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.project-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--purple);
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.project-link:hover {
  transform: translateX(4px);
  color: var(--text-dark);
}

/* Project Preview Windows */
.project-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.preview-window {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(45, 38, 64, 0.12);
  transition: transform 0.4s ease;
}

.project-showcase:hover .preview-window {
  transform: scale(1.03) rotate(-1deg);
}

.window-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #f3f0f8;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: #ff6b6b;
}

.window-dots span:nth-child(2) {
  background: #ffd93d;
}

.window-dots span:nth-child(3) {
  background: #6bcb77;
}

.preview-content {
  padding: 20px;
  min-height: 220px;
  position: relative;
}

/* Gesture preview */
.gesture-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1a2e;
}

.face-outline {
  width: 100px;
  height: 120px;
  border: 3px solid var(--mint);
  border-radius: 50% 50% 45% 45%;
  position: relative;
  animation: faceScan 2s ease infinite;
}

@keyframes faceScan {

  0%,
  100% {
    border-color: var(--mint);
  }

  50% {
    border-color: var(--yellow);
  }
}

.eye-track {
  width: 14px;
  height: 8px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  position: absolute;
  top: 40px;
}

.eye-track.left {
  left: 22px;
}

.eye-track.right {
  right: 22px;
}

.nose-dot {
  width: 4px;
  height: 4px;
  background: var(--pink);
  border-radius: 50%;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
}

.lip-line {
  width: 20px;
  height: 2px;
  background: var(--pink);
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.tracking-grid {
  position: absolute;
  inset: 20px;
}

.grid-dot {
  width: 5px;
  height: 5px;
  background: var(--yellow);
  border-radius: 50%;
  position: absolute;
  animation: gridPulse 1.5s ease infinite;
}

.gd1 {
  top: 10px;
  right: 20px;
  animation-delay: 0s;
}

.gd2 {
  bottom: 30px;
  left: 15px;
  animation-delay: 0.3s;
}

.gd3 {
  top: 50px;
  right: 40px;
  animation-delay: 0.6s;
}

.gd4 {
  bottom: 60px;
  right: 10px;
  animation-delay: 0.9s;
}

@keyframes gridPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.gesture-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Dashboard preview */
.dashboard-preview {
  display: flex;
  gap: 0;
  padding: 0;
  background: #f8f7fc;
}

.dash-sidebar {
  width: 50px;
  background: var(--text-dark);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 0;
}

.sb-item {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.sb-item.active {
  background: var(--purple-light);
}

.dash-main {
  flex: 1;
  padding: 12px;
}

.dash-header {
  height: 10px;
  background: var(--lavender);
  border-radius: 4px;
  margin-bottom: 12px;
  width: 60%;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mini-card {
  height: 40px;
  border-radius: 6px;
}

.mc1 {
  background: var(--lavender);
}

.mc2 {
  background: var(--yellow);
}

.mc3 {
  background: var(--mint);
}

.dash-chart {
  height: 70px;
  background: linear-gradient(180deg, var(--lavender) 0%, transparent 100%);
  border-radius: 6px;
  position: relative;
}

.dash-chart::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

/* Hockey preview */
.hockey-preview {
  background: #1a3a2a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rink {
  width: 90%;
  height: 170px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 80px;
  position: relative;
}

.center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.center-circle {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.puck {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: puckMove 3s ease-in-out infinite;
}

@keyframes puckMove {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  25% {
    transform: translate(-120%, -100%);
  }

  50% {
    transform: translate(60%, 80%);
  }

  75% {
    transform: translate(-80%, 40%);
  }
}

.paddle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.p1 {
  background: #ff6b6b;
  left: 30px;
}

.p2 {
  background: #4ecdc4;
  right: 30px;
}

.goal {
  width: 4px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.g1 {
  background: rgba(255, 107, 107, 0.5);
  left: -2px;
  border-radius: 4px;
}

.g2 {
  background: rgba(78, 205, 196, 0.5);
  right: -2px;
  border-radius: 4px;
}

/* Tree preview */
.tree-preview {
  background: #f8f7fc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;
}

.tree-node {
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
  position: absolute;
  z-index: 2;
}

.tree-node.root {
  background: var(--purple);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.tree-node.child {
  background: var(--purple-light);
  top: 80px;
}

.c1 {
  left: 18%;
}

.c2 {
  left: 50%;
  transform: translateX(-50%);
}

.c3 {
  right: 18%;
}

.tree-node.leaf {
  background: var(--lavender-deep);
  top: 140px;
  font-size: 0.68rem;
}

.tree-node.leaf.l1 {
  left: 8%;
}

.tree-node.leaf.l2 {
  left: 28%;
}

.tree-branch {
  position: absolute;
  width: 2px;
  background: var(--lavender-deep);
  z-index: 1;
}

.tb1 {
  top: 40px;
  left: 30%;
  height: 40px;
  transform: rotate(-20deg);
}

.tb2 {
  top: 40px;
  right: 30%;
  height: 40px;
  transform: rotate(20deg);
}

.tb3 {
  top: 100px;
  left: 22%;
  height: 40px;
  transform: rotate(-10deg);
}

/* ========================================
   MARQUEE STATS
   ======================================== */
.stats-section {
  background: var(--yellow);
  padding: 24px 0;
  overflow: hidden;
}

.marquee-track {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marqueeScroll 20s linear infinite;
}

.stat-item {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.stat-divider {
  color: var(--purple);
  font-size: 1rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-section {
  min-height: 100vh;
  padding: var(--section-pad) 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skill-category {
  background: var(--off-white);
  border-radius: 20px;
  padding: 32px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.skill-category:hover {
  border-color: var(--lavender);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.skill-cat-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  border: 1.5px solid #eee8f5;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 92, 191, 0.1);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tag-dot.lang {
  background: var(--purple);
}

.tag-dot.frontend {
  background: var(--yellow-deep);
}

.tag-dot.backend {
  background: var(--mint-deep);
}

.tag-dot.tools {
  background: var(--pink-deep);
}

/* ========================================
   EXPERIENCE / TIMELINE
   ======================================== */
.experience-section {
  min-height: 100vh;
  padding: var(--section-pad) 0;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lavender-deep);
  border-radius: 3px;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--purple);
  border-radius: 50%;
  border: 3px solid var(--off-white);
  z-index: 1;
}

.timeline-card {
  padding: 28px 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(6px);
  box-shadow: var(--card-shadow);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.timeline-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
  min-height: 60vh;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--mint) 50%, var(--yellow) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  display: flex;
  align-items: center;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.big-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  color: var(--text-dark);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  color: var(--purple);
  font-size: 1.4em;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  min-height: 100vh;
  padding: var(--section-pad) 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-link-item {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 16px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: 14px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-link-item:hover {
  background: var(--lavender);
  border-color: var(--lavender-deep);
  transform: translateX(6px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--purple);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.link-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-value {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Contact Form — Improved */
.contact-form-wrapper {
  background: linear-gradient(145deg, var(--mint) 0%, #a0e8c8 100%);
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(126, 220, 171, 0.2);
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.contact-form-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid rgba(45, 38, 64, 0.08);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(124, 92, 191, 0.15);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

/* ========================================
   FOOTER — NIGHT SKYLINE
   ======================================== */
.footer {
  background: linear-gradient(180deg, #1a1530 0%, var(--text-dark) 40%);
  position: relative;
  overflow: hidden;
}

/* Night sky */
.night-sky {
  position: relative;
  height: 200px;
  width: 100%;
}

.moon {
  position: absolute;
  top: 30px;
  right: 15%;
  width: 50px;
  height: 50px;
  background: #fce588;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(252, 229, 136, 0.4), 0 0 80px rgba(252, 229, 136, 0.15);
}

.moon::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 8px;
  width: 40px;
  height: 40px;
  background: #1a1530;
  border-radius: 50%;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: starTwinkle 2s ease-in-out infinite;
}

.st1 {
  top: 20px;
  left: 8%;
  animation-delay: 0s;
}

.st2 {
  top: 50px;
  left: 22%;
  animation-delay: 0.4s;
}

.st3 {
  top: 15px;
  left: 38%;
  animation-delay: 0.8s;
}

.st4 {
  top: 60px;
  left: 52%;
  animation-delay: 1.2s;
}

.st5 {
  top: 30px;
  left: 70%;
  animation-delay: 0.2s;
}

.st6 {
  top: 80px;
  left: 12%;
  animation-delay: 0.6s;
}

.st7 {
  top: 40px;
  left: 45%;
  animation-delay: 1s;
}

.st8 {
  top: 10px;
  left: 60%;
  animation-delay: 1.4s;
}

.st9 {
  top: 70px;
  left: 30%;
  animation-delay: 0.3s;
  width: 2px;
  height: 2px;
}

.st10 {
  top: 90px;
  left: 75%;
  animation-delay: 0.7s;
  width: 2px;
  height: 2px;
}

.st11 {
  top: 25px;
  left: 85%;
  animation-delay: 1.1s;
  width: 2px;
  height: 2px;
}

.st12 {
  top: 55px;
  left: 5%;
  animation-delay: 1.5s;
}

@keyframes starTwinkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

.cloud {
  position: absolute;
  background: rgba(155, 127, 212, 0.08);
  border-radius: 50px;
  height: 20px;
}

.cl1 {
  width: 120px;
  top: 100px;
  left: 10%;
  animation: cloudDrift 25s linear infinite;
}

.cl2 {
  width: 80px;
  top: 130px;
  left: 60%;
  animation: cloudDrift 35s linear infinite reverse;
}

@keyframes cloudDrift {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100px);
  }
}

/* SVG Skyline */
.skyline-svg {
  width: 100%;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.skyline-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Animated elements in SVG */
.win-glow {
  animation: windowBlink 3s ease infinite;
}

.antenna-light {
  animation: antennaFlash 1.5s ease infinite;
}

@keyframes windowBlink {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes antennaFlash {

  0%,
  100% {
    opacity: 1;
    fill: #ff6b6b;
  }

  50% {
    opacity: 0.3;
    fill: #ff4444;
  }
}

/* Footer Main Content */
.footer-main {
  background: var(--text-dark);
  position: relative;
  z-index: 2;
  padding: 48px 0 0;
  margin-top: -4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--yellow);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-icon:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(124, 92, 191, 0.4);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav a,
.footer-nav span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: block;
}

.footer-nav a:hover {
  color: var(--yellow);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom strong {
  color: var(--yellow);
}

.footer-heart {
  margin-top: 4px;
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.25) !important;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--purple);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(124, 92, 191, 0.5);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   RESPONSIVE — COMPREHENSIVE
   ======================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-illustration {
    max-width: 400px;
    margin: 0 auto;
  }

  .illustration-scene {
    height: 320px;
  }

  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-preview {
    padding: 20px 32px 32px;
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  /* Navbar mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(254, 252, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(45, 38, 64, 0.1);
    border-radius: 0 0 20px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  /* Hero */
  .hero-container {
    padding: 120px 24px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-greeting {
    font-size: 1rem;
  }

  /* Sections */
  .about-cards {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* Projects */
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-info {
    padding: 32px 24px;
  }

  .project-name {
    font-size: 1.4rem;
  }

  .project-preview {
    padding: 16px 24px 24px;
  }

  .preview-window {
    max-width: 100%;
  }

  /* Contact */
  .contact-form-wrapper {
    padding: 28px 24px;
  }

  .contact-link-item {
    padding: 14px 16px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  /* Timeline */
  .timeline {
    padding-left: 32px;
  }

  .timeline-card {
    padding: 22px 24px;
  }

  .timeline-item::before {
    left: -25px;
    width: 12px;
    height: 12px;
  }

  /* Quote */
  .quote-section {
    padding: 70px 0;
  }

  .big-quote {
    font-size: 1.3rem;
  }

  .quote-mark {
    font-size: 1.2em;
  }

  /* Stats marquee */
  .stat-item {
    font-size: 1rem;
  }

  /* Footer */
  .night-sky {
    height: 140px;
  }

  .moon {
    width: 36px;
    height: 36px;
    top: 20px;
  }

  .moon::after {
    width: 28px;
    height: 28px;
    top: 4px;
    left: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-main {
    padding: 36px 0 0;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-pad: 60px;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-container {
    padding: 100px 16px 40px;
    gap: 28px;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-indicator span {
    font-size: 0.72rem;
  }

  /* Illustration scale */
  .illustration-scene {
    height: 240px;
  }

  .monitor {
    width: 150px;
    height: 95px;
  }

  .desk {
    width: 240px;
  }

  .character {
    display: none;
  }

  /* About cards */
  .about-card {
    padding: 28px 22px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .about-card h3 {
    font-size: 1.12rem;
  }

  .about-card p {
    font-size: 0.88rem;
  }

  /* Projects */
  .project-showcase {
    border-radius: 18px;
    margin-bottom: 28px;
    min-height: auto;
    position: static;
  }

  .about-section,
  .skills-section,
  .experience-section,
  .contact-section {
    min-height: auto;
  }

  .project-info {
    padding: 24px 20px;
  }

  .project-name {
    font-size: 1.25rem;
  }

  .project-desc {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }

  .project-tech span {
    padding: 4px 11px;
    font-size: 0.72rem;
  }

  .project-preview {
    padding: 12px 20px 20px;
  }

  .preview-content {
    min-height: 180px;
  }

  .gesture-label {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .face-outline {
    width: 70px;
    height: 85px;
  }

  /* Skills */
  .skill-category {
    padding: 24px;
    border-radius: 16px;
  }

  .skill-tag {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  /* Timeline */
  .timeline {
    padding-left: 28px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item::before {
    left: -23px;
    width: 10px;
    height: 10px;
  }

  .timeline-card {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .timeline-card h3 {
    font-size: 1.05rem;
  }

  /* Contact */
  .section-title {
    font-size: 1.5rem;
  }

  .contact-text {
    font-size: 0.95rem;
  }

  .contact-form-wrapper {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .contact-link-item {
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .link-value {
    font-size: 0.88rem;
  }

  /* Footer */
  .night-sky {
    height: 100px;
  }

  .moon {
    width: 28px;
    height: 28px;
    right: 10%;
  }

  .moon::after {
    width: 22px;
    height: 22px;
    top: 3px;
    left: 5px;
  }

  .star {
    width: 2px;
    height: 2px;
  }

  .footer-main {
    padding: 28px 0 0;
  }

  .footer-grid {
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .footer-tagline {
    font-size: 0.82rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .footer-nav h4 {
    font-size: 0.82rem;
  }

  .footer-nav a,
  .footer-nav span {
    font-size: 0.82rem;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom p {
    font-size: 0.78rem;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .hero-greeting {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .big-quote {
    font-size: 1.1rem;
  }

  .project-name {
    font-size: 1.15rem;
  }

  .illustration-scene {
    height: 200px;
  }

  .monitor {
    width: 130px;
    height: 80px;
  }

  .desk {
    width: 210px;
  }

  .floating-shapes {
    display: none;
  }
}