/* ═══════════════════════════════════════════════════════
   RAJ SINGH PORTFOLIO — DESIGN SYSTEM
   iPhone-quality glassmorphism + animations
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ──────────────────────────────────── */
:root {
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --purple-xlight: #EDE9FE;
  --blue: #3B82F6;
  --blue-light: #DBEAFE;
  --pink: #EC4899;
  --pink-light: #FCE7F3;
  --green: #10B981;
  --green-light: #D1FAE5;
  --yellow: #EAB308;
  --yellow-light: #FEF9C3;
  --orange: #F97316;
  --orange-light: #FFEDD5;
  --text: #111827;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;
  --border: rgba(255,255,255,0.45);
  --border-dim: rgba(255,255,255,0.15);
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 100px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.loaded {
  opacity: 1;
}

/* ── Preloader ──────────────────────────────────────── */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #fdfdfd;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.preloader-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(124, 58, 237, 0.1);
  border-top-color: #7C3AED;
  border-radius: 50%;
  animation: preloaderSpin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul, ol { list-style: none; }

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

button:active {
  transform: translateY(0) scale(0.97);
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Backgrounds ────────────────────────────── */
.section-hero {
  background: linear-gradient(145deg, #f8f4ff 0%, #ede9fe 50%, #f3f0ff 100%);
}
.section-projects {
  background: linear-gradient(145deg, #f0f7ff 0%, #dbeafe 50%, #eff6ff 100%);
}
.section-blog {
  background: linear-gradient(145deg, #fff0f7 0%, #fce7f3 50%, #fdf2f8 100%);
}
.section-skills {
  background: linear-gradient(145deg, #f0fdf8 0%, #d1fae5 50%, #ecfdf5 100%);
}
.section-about {
  background: linear-gradient(145deg, #fffef0 0%, #fef9c3 50%, #fefce8 100%);
}
.section-contact {
  background: linear-gradient(145deg, #fff7f0 0%, #ffedd5 50%, #fff7ed 100%);
}

section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* ── SVG Wave Dividers ──────────────────────────────── */
.section-wave {
  position: relative;
  margin-top: -1px;
  z-index: 2;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ═══════════════════════════════════════════════════════
   GLASSMORPHISM — CORE DESIGN LANGUAGE
   ═══════════════════════════════════════════════════════ */

.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.04),
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 -1px 0 rgba(0,0,0,0.02) inset;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass:hover {
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 32px 84px rgba(0,0,0,0.06),
    0 1px 0 rgba(255,255,255,0.95) inset;
}

/* Tinted glass variants */
.glass-blue { background: rgba(219,234,254, 0.20); }
.glass-pink { background: rgba(252,231,243, 0.20); }
.glass-green { background: rgba(209,250,229, 0.20); }
.glass-yellow { background: rgba(254,249,195, 0.20); }
.glass-orange { background: rgba(255,237,213, 0.20); }

/* ═══════════════════════════════════════════════════════
   NAVBAR — FLOATING PILL
   ═══════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: calc(100% - 40px);
  max-width: 1100px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.65);
  border-right: 1px solid rgba(255,255,255,0.30);
  border-bottom: 1px solid rgba(255,255,255,0.20);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.06),
    0 1px 0 rgba(255,255,255,0.90) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

body.loaded .navbar {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.1s, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.1s, background 0.5s ease, box-shadow 0.5s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.82);
  box-shadow:
    0 16px 64px rgba(0,0,0,0.08),
    0 1px 0 rgba(255,255,255,0.95) inset;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1033 0%, #2d1b69 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(124,58,237,0.35);
  transition: transform 0.65s ease;
  flex-shrink: 0;
  padding: 5px;
}

.nav-logo svg {
  width: 100%;
  height: 100%;
}

.nav-logo:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(124,58,237,0.50);
}

.nav-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-links a.active::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
}

.nav-hire {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  color: white !important;
  border-radius: var(--radius-pill);
  padding: 9px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 14px rgba(124,58,237,0.30);
  border: 1px solid rgba(255,255,255,0.30);
  display: inline-block;
}

.nav-hire::after { display: none !important; }
.nav-hire::before { display: none !important; }

.nav-hire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124,58,237,0.42);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #374151;
  display: block;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0ms; }
.mobile-menu.open a:nth-child(2) { transition-delay: 70ms; }
.mobile-menu.open a:nth-child(3) { transition-delay: 140ms; }
.mobile-menu.open a:nth-child(4) { transition-delay: 210ms; }
.mobile-menu.open a:nth-child(5) { transition-delay: 280ms; }
.mobile-menu.open a:nth-child(6) { transition-delay: 350ms; }

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px;
}

/* Morphing blob */
.hero-blob {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle at 40% 40%,
    rgba(167,139,250,0.22), rgba(124,58,237,0.08), transparent 70%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 1;
  animation: blobMorph 10s ease-in-out infinite;
}

@keyframes blobMorph {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%  { border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%; }
  75%  { border-radius: 70% 30% 50% 40% / 60% 50% 40% 30%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Hero content card */
.hero-card {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  border-radius: 32px;
  padding: 52px 48px;
  background: rgba(255,255,255,0.26);
  backdrop-filter: blur(28px) saturate(200%) brightness(105%);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(105%);
  border-top: 1px solid rgba(255,255,255,0.70);
  border-left: 1px solid rgba(255,255,255,0.50);
  border-right: 1px solid rgba(255,255,255,0.20);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 20px 60px rgba(124,58,237,0.12),
    0 1px 0 rgba(255,255,255,0.80) inset,
    0 -1px 0 rgba(0,0,0,0.03) inset;
  text-align: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}

body.loaded .hero-card {
  opacity: 1;
  transform: scale(1);
}

/* CSS Avatar */
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #A78BFA, #C4B5FD);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.5),
    0 0 0 8px rgba(124,58,237,0.18),
    0 8px 24px rgba(124,58,237,0.30);
  margin: 0 auto 20px;
}

/* 3D CSS Cube Avatar */
.cube-wrapper {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube {
  width: 50px;
  height: 50px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 12s infinite linear;
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(124, 58, 237, 0.15);
  border: 2px solid rgba(124, 58, 237, 0.6);
  box-shadow: inset 0 0 20px rgba(124, 58, 237, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cube-face-front  { transform: rotateY(  0deg) translateZ(25px); }
.cube-face-right  { transform: rotateY( 90deg) translateZ(25px); }
.cube-face-back   { transform: rotateY(180deg) translateZ(25px); }
.cube-face-left   { transform: rotateY(-90deg) translateZ(25px); }
.cube-face-top    { transform: rotateX( 90deg) translateZ(25px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(25px); }

@keyframes rotateCube {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Available badge */
.badge-available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.28);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  color: #059669;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: dotPulse 2s ease-in-out infinite;
}

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

/* Hero heading */
.hero-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.gradient-text {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-pink {
  background: linear-gradient(135deg, #EC4899, #F9A8D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, #10B981, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-yellow {
  background: linear-gradient(135deg, #EAB308, #FDE047);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-orange {
  background: linear-gradient(135deg, #F97316, #FB923C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typewriter */
.typewriter {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  min-height: 32px;
  margin-bottom: 12px;
}

.typewriter-cursor::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--text-subtle);
  animation: blink 0.75s steps(1) infinite;
}

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

/* Hero description */
.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* CTA Buttons */
.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  color: white;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(124,58,237,0.32);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124,58,237,0.42);
}

.btn-primary .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.70);
  border-left: 1px solid rgba(255,255,255,0.50);
  border-right: 1px solid rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: var(--purple);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.70);
  transform: translateY(-2px);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.04), 0 1px 0 rgba(255,255,255,0.80) inset;
  padding: 14px 12px;
  text-align: center;
}

.stat-number {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════════════ */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.section-link:hover .arrow {
  transform: translateX(4px);
}

/* word animation wrappers */
.word-wrap {
  overflow: hidden;
  display: inline-block;
}

.word-wrap .word {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-wrap .word.visible {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   PROJECT CARDS
   ═══════════════════════════════════════════════════════ */

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

.project-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 48px rgba(59,130,246,0.04),
    0 1px 0 rgba(255,255,255,0.92) inset;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.10), transparent);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 48px rgba(59,130,246,0.18),
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(59,130,246,0.12);
  border-top: 1px solid rgba(255,255,255,0.82);
}

.project-card:hover::after {
  transform: scale(1.6);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.category-pill {
  background: rgba(59,130,246,0.10);
  color: #3B82F6;
  border: 1px solid rgba(59,130,246,0.20);
  border-radius: var(--radius-pill);
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-pill.pink {
  background: rgba(236,72,153,0.10);
  color: #EC4899;
  border-color: rgba(236,72,153,0.20);
}

.category-pill.green {
  background: rgba(16,185,129,0.10);
  color: #10B981;
  border-color: rgba(16,185,129,0.20);
}

.category-pill.yellow {
  background: rgba(234,179,8,0.10);
  color: #92400E;
  border-color: rgba(234,179,8,0.25);
}

.category-pill.orange {
  background: rgba(249,115,22,0.10);
  color: #F97316;
  border-color: rgba(249,115,22,0.20);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.tag:hover {
  transform: scale(1.05);
}

.card-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 16px 0;
}

.card-link {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link.blue { color: #3B82F6; }
.card-link.pink { color: #EC4899; }
.card-link.green { color: #10B981; }

.card-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════════════ */

.blog-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 48px rgba(236,72,153,0.04),
    0 1px 0 rgba(255,255,255,0.92) inset;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EC4899, #F9A8D4);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 48px rgba(236,72,153,0.16),
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(236,72,153,0.12);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.blog-date {
  font-size: 13px;
  color: var(--text-subtle);
}

.blog-title {
  font-size: 17px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.blog-preview {
  font-size: 14px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.blog-read-time {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 10px;
}

.read-more-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.read-more-row .line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.10);
}

/* ═══════════════════════════════════════════════════════
   SKILLS BENTO GRID
   ═══════════════════════════════════════════════════════ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-grid .skill-card:nth-child(1),
.bento-grid .skill-card:nth-child(4) {
  grid-column: span 2;
}

.skill-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 48px rgba(16,185,129,0.04),
    0 1px 0 rgba(255,255,255,0.92) inset;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #34D399);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(16,185,129,0.16),
    0 1px 0 rgba(255,255,255,0.90) inset;
}

.skill-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.20);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}

.skill-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.skill-category-label {
  font-size: 12px;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.progress-track {
  width: 100%;
  height: 5px;
  background: rgba(16,185,129,0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399);
  box-shadow: 0 0 6px rgba(16,185,129,0.35);
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-level-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-align: right;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION CARD
   ═══════════════════════════════════════════════════════ */

.about-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EAB308, #FDE047);
}

.about-card:hover {
  box-shadow:
    0 20px 48px rgba(234,179,8,0.14),
    0 1px 0 rgba(255,255,255,0.90) inset;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.about-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EAB308, #FDE047, #FBBF24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.5),
    0 0 0 8px rgba(234,179,8,0.18),
    0 8px 24px rgba(234,179,8,0.30);
  margin-bottom: 16px;
}

.about-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-designation {
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.20);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 13px;
  color: #92400E;
}

.about-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.about-info-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
}

.interest-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.interest-chip {
  background: rgba(234,179,8,0.10);
  border: 1px solid rgba(234,179,8,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 13px;
  color: #92400E;
  font-weight: 500;
}

.about-more-link {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #92400E;
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════ */

.contact-card {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.55);
  border-left: 1px solid rgba(255,255,255,0.40);
  border-right: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F97316, #FB923C);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-heading {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.70);
  border-left: 1px solid rgba(255,255,255,0.50);
  border-right: 1px solid rgba(255,255,255,0.20);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: #374151;
  transition: fill 0.3s ease;
}

.social-icon:hover {
  background: #7C3AED;
  transform: scale(1.1);
}

.social-icon:hover svg {
  fill: white;
}

/* Form fields */
.glass-input {
  width: 100%;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.70);
  border-left: 1px solid rgba(255,255,255,0.50);
  border-right: 1px solid rgba(255,255,255,0.20);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s ease;
  margin-bottom: 14px;
}

.glass-input::placeholder {
  color: var(--text-subtle);
}

.glass-input:focus {
  border-top-color: rgba(249,115,22,0.70);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}

.glass-input.error {
  border-color: #EF4444;
  animation: shake 0.5s ease;
}

textarea.glass-input {
  resize: vertical;
  min-height: 100px;
}

.btn-send {
  width: 100%;
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: white;
  border-radius: var(--radius-md);
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  box-shadow: 0 4px 16px rgba(249,115,22,0.28);
  transition: all 0.3s ease;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.38);
}

.btn-send.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-send.success {
  background: #10B981;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(8px); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
  background: #F3F4F6;
  padding: 60px 24px 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a1033, #2d1b69);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-logo svg {
  width: 100%;
  height: 100%;
}

.footer-name {
  font-size: 16px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--purple);
}

.footer-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 28px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-subtle);
}

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

.footer-socials a {
  color: var(--text-subtle);
  transition: color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--purple);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════ */

[data-anim] {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim].anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════ */

/* Page hero banner */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.50);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.filter-tab:hover {
  background: rgba(255,255,255,0.60);
}

.filter-tab.active {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(59,130,246,0.30);
}

.filter-tab.active.pink-tab {
  background: linear-gradient(135deg, #EC4899, #F9A8D4);
  box-shadow: 0 4px 14px rgba(236,72,153,0.30);
}

/* Search bar */
.search-bar {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 9999;
  background: linear-gradient(90deg, #EC4899, #F9A8D4);
  width: 0%;
  transition: width 0.1s linear;
}

/* Project detail */
.detail-hero {
  padding: 140px 0 40px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-muted);
  transition: color 0.25s;
}

.detail-back:hover {
  color: var(--purple);
}

.detail-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.detail-content h1, .detail-content h2, .detail-content h3 {
  color: var(--text);
  margin: 24px 0 12px;
}

.detail-content p {
  margin-bottom: 16px;
}

.detail-content code {
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.detail-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59,130,246,0.30);
  color: #3B82F6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #3B82F6;
  color: white;
  border-color: #3B82F6;
}

/* About page timeline */
.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(234,179,8,0.30);
}

.timeline.blue-line {
  border-left-color: rgba(59,130,246,0.30);
}

.timeline-entry {
  position: relative;
  margin-bottom: 24px;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EAB308;
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(234,179,8,0.20);
}

.timeline.blue-line .timeline-entry::before {
  background: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.20);
}

.timeline-card {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.50);
}

.timeline-role {
  font-size: 16px;
  font-weight: 700;
}

.timeline-company {
  font-size: 14px;
  color: var(--text-muted);
}

.timeline-duration {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* Download CV button */
.btn-amber {
  background: linear-gradient(135deg, #EAB308, #FDE047);
  color: #78350F;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 4px 16px rgba(234,179,8,0.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234,179,8,0.38);
}

/* Contact page validation */
.form-success {
  text-align: center;
  padding: 48px;
}

.form-success .checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16,185,129,0.10);
  border: 2px solid #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.checkmark svg {
  width: 28px;
  height: 28px;
  stroke: #10B981;
  stroke-width: 3;
  fill: none;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  position: relative;
}

.empty-state .empty-icon div {
  position: absolute;
  border: 2px solid var(--text-subtle);
  border-radius: 8px;
}

.empty-state .empty-icon div:first-child {
  width: 50px;
  height: 60px;
  top: 10px;
  left: 8px;
}

.empty-state .empty-icon div:last-child {
  width: 50px;
  height: 60px;
  top: 0;
  left: 22px;
  background: rgba(255,255,255,0.5);
}

/* Page transition */
.page-leaving {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid .skill-card:nth-child(1),
  .bento-grid .skill-card:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hire { display: none; }
  .hamburger { display: flex; }

  section { padding: 80px 0; }

  .hero-card { padding: 36px 24px; }
  .hero-heading { font-size: 32px; }
  .typewriter { font-size: 18px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .cards-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid .skill-card:nth-child(1),
  .bento-grid .skill-card:nth-child(4) {
    grid-column: span 1;
  }

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

  .section-title { font-size: 28px; }
  .about-card, .contact-card { padding: 28px; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar { width: calc(100% - 24px); padding: 8px 12px; }
  .stat-number { font-size: 20px; }
  .hero-blob { width: 280px; height: 280px; }
}
