:root {
  /* Colors */
  --bg: #050816;
  --bg-card: rgba(10, 14, 30, 0.62);
  --bg-elevated: rgba(17, 22, 42, 0.76);
  
  --accent: #5eead4;
  --accent-hover: #9bf6ea;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #f97316;
  
  --text: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(94, 234, 212, 0.28);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  --gradient-aurora: linear-gradient(135deg, #5eead4 0%, #8b5cf6 50%, #f97316 100%);
  --shadow-glow: 0 0 28px rgba(94, 234, 212, 0.18);
  
  /* System */
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --perspective: 1200px;
  --z-near: 50px;
  --z-mid: 20px;
  --z-far: -50px;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  background: transparent !important;
}

body { 
  font-family: 'Inter', sans-serif; 
  color: var(--text); 
  line-height: 1.6; 
  overflow-x: hidden; 
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(94, 234, 212, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 32%),
    radial-gradient(circle at bottom center, rgba(249, 115, 22, 0.08), transparent 30%),
    linear-gradient(180deg, #050816 0%, #090b19 42%, #050816 100%);
}

#smooth-wrapper {
  width: 100%;
  position: relative;
  z-index: 10;
  perspective: var(--perspective);
  transform-style: preserve-3d;
}

.bg-base {
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(circle at 50% 20%, rgba(94, 234, 212, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.14), transparent 25%),
    #050816;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.1;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.05) 0%, rgba(5, 8, 22, 0.42) 100%);
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Typography Utilities */
.gradient-text {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.text-glow {
  text-shadow: 0 0 10px rgba(108, 138, 255, 0.3);
  color: var(--text);
}

/* Background Elements */
#particle-canvas {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: -5;
  background: radial-gradient(circle at 50% 50%, #11182f 0%, #050816 100%);
  opacity: 1;
  pointer-events: none;
}

main, .navbar, .footer, .hero, .section {
  position: relative;
  z-index: 10;
  background: transparent !important;
}

/* 3D Mouse Glow (Spotlight) */
.mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  opacity: 0;
}

body:hover .mouse-glow {
  opacity: 1;
}

.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  animation: float 25s infinite alternate ease-in-out;
}

.orb--1 { width: 500px; height: 500px; background: rgba(94, 234, 212, 0.15); left: -10%; top: -10%; }
.orb--2 { width: 600px; height: 600px; background: rgba(139, 92, 246, 0.12); right: -15%; top: 20%; animation-delay: -5s; }
.orb--3 { width: 400px; height: 400px; background: rgba(249, 115, 22, 0.08); left: 20%; bottom: -10%; animation-delay: -10s; }
.orb--4 { width: 450px; height: 450px; background: rgba(56, 189, 248, 0.1); right: 10%; bottom: 20%; animation-delay: -15s; }

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(5% , 5%) rotate(180deg) scale(1.1); }
  100% { transform: translate(-5%, -5%) rotate(360deg) scale(1.2); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0.15rem 0.75rem 0;
  transition: all var(--transition);
}

.navbar--scrolled {
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(18px);
  padding: 0.5rem 0.75rem 0;
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(10, 14, 30, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.navbar__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.4), rgba(139, 92, 246, 0.24), transparent 75%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.navbar__logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar__logo-bracket { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.menu-toggle--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle--open span:nth-child(2) { opacity: 0; }
.menu-toggle--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-bounce);
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: #04111b; }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); background: linear-gradient(135deg, var(--accent-hover), #b48cff); box-shadow: 0 18px 30px rgba(94, 234, 212, 0.18); }

.btn-secondary { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-secondary:hover { transform: translateY(-2px) scale(1.02); background: rgba(255, 255, 255, 0.08); border-color: rgba(94, 234, 212, 0.24); }

/* Hero */
.hero {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-top: 0;
  padding-bottom: 7rem;
  min-height: calc(100vh - 5.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 3rem auto auto 50%;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero__badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero__title { 
  font-size: clamp(2rem, 6vw, 3.25rem); 
  font-weight: 800; 
  margin-bottom: 0.75rem; 
  line-height: 1.15; 
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: text-shadow 0.1s ease-out;
}
.hero__subtitle { font-family: 'JetBrains Mono', monospace; font-size: clamp(0.9rem, 3vw, 1.25rem); color: var(--text-muted); margin-bottom: 1.5rem; }
.hero__description { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sections */
.section { 
  padding: 6rem 0; 
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: 0 auto;
  width: min(100%, 1180px);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%);
  pointer-events: none;
  z-index: -1;
}
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.section-line { width: 80px; height: 4px; background: var(--gradient-primary); border-radius: 2px; margin-bottom: 3rem; box-shadow: var(--shadow-glow); }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  transition: transform 0.1s ease-out, box-shadow var(--transition), border-color var(--transition), background var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  border-color: var(--border-glow);
  background: rgba(14, 20, 40, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42), var(--shadow-glow);
}

/* About */
.about__content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.about__img-wrapper { position: relative; width: 100%; aspect-ratio: 1; max-width: 360px; margin: 0 auto; }
.about__img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 2; object-fit: cover; }
.about__img-ring { position: absolute; inset: -10px; border-radius: 50%; background: var(--gradient-aurora); z-index: 1; animation: rotate 10s linear infinite; box-shadow: 0 0 40px rgba(94, 234, 212, 0.2); }
.about__img-glow { position: absolute; inset: -30px; border-radius: 50%; background: var(--accent); filter: blur(40px); opacity: 0.22; z-index: 0; }

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

/* Skills */
.skills__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.skills__card { padding: 2rem; border-top: 3px solid var(--accent-color); position: relative; overflow: hidden; }
.skills__card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.skills__category { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--accent-color); }
.skills__tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tag { font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.8rem; background: rgba(255,255,255,0.05); border-radius: 100px; border: 1px solid var(--border); transition: all var(--transition); }
.tag:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-3px); }

/* Experience */
.exp__timeline { border-left: 2px solid var(--border); padding-left: 2.5rem; position: relative; }
.exp__item { position: relative; margin-bottom: 3rem; }
.exp__dot-wrap { position: absolute; left: calc(-2.5rem - 6px); top: 1.5rem; width: 12px; height: 12px; }
.exp__dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.exp__dot-ring { position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0.4; animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.exp__card { padding: 2rem; }
.exp__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.exp__role { font-size: 1.15rem; font-weight: 700; }
.exp__company { color: var(--accent); font-weight: 600; }
.exp__period { font-size: 0.8rem; font-family: 'JetBrains Mono', monospace; color: var(--text-dim); }
.exp__bullets { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.exp__bullets li { display: flex; gap: 0.75rem; font-size: 0.95rem; color: var(--text-muted); }
.exp__bullet-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }

/* Education */
.edu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 1.5rem; }
.edu__card { padding: 2.5rem; }
.edu__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.edu__degree { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.edu__institution { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.edu__period { font-size: 0.8rem; font-family: 'JetBrains Mono', monospace; color: var(--text-dim); }
.edu__notes { font-size: 0.95rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .edu__grid { grid-template-columns: 1fr; }
  .edu__header { flex-direction: column; gap: 0.5rem; }
}

/* Contact */
.contact__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.contact__item { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; text-decoration: none; border-bottom: 2px solid transparent; }
.contact__item:hover { border-bottom-color: var(--accent); transform: translateY(-5px); }
.contact__icon { font-size: 2rem; }
.contact__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--accent); }
.contact__display { font-size: 1rem; font-weight: 500; font-family: 'JetBrains Mono', monospace; }

/* Projects */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.project-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-card__icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.project-card__stars {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.project-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.project-card__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

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

.project-card__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.project-card__link:hover {
  color: var(--accent-hover);
}

/* Skeletons */
.projects__skeleton {
  height: 280px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 2s infinite linear;
}

@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Resume Section */
.resume__card {
  padding: 3rem;
}

.resume__content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.resume__icon {
  font-size: 4rem;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.resume__text {
  flex: 1;
  min-width: 280px;
}

.resume__text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.resume__text p {
  color: var(--text-muted);
}

.resume__btn {
  margin-left: auto;
}

@media (max-width: 768px) {
  .resume__content {
    flex-direction: column;
    text-align: center;
  }
  .resume__btn {
    margin: 0 auto;
  }
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 4rem 0; text-align: center; position: relative; }
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.03));
  pointer-events: none;
}
.footer__logo { font-size: 1.5rem; font-weight: 800; display: block; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer__copy { color: var(--text-dim); font-size: 0.9rem; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1s ease-out; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Media Queries */
@media (max-width: 768px) {
  .navbar {
    padding: 0.35rem 0.5rem 0;
  }

  .navbar__inner {
    border-radius: 20px;
    padding: 0.65rem 0.8rem;
    gap: 0.75rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0.5rem;
    right: 0.5rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(10, 14, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav-links--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links .nav-link {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  .menu-toggle { display: inline-flex; }

  .hero {
    padding-top: 0.25rem;
    padding-bottom: 4.5rem;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .hero__description {
    font-size: 0.98rem;
    max-width: 100%;
  }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .section {
    padding: 4.25rem 0;
  }

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

  .about__content,
  .skills__grid,
  .projects__grid,
  .contact__grid,
  .edu__grid {
    grid-template-columns: 1fr;
  }

  .about__content {
    gap: 1.75rem;
    text-align: center;
  }

  .about__img-wrapper {
    max-width: 260px;
    margin: 0 auto;
  }

  .exp__timeline {
    padding-left: 1.25rem;
  }

  .exp__dot-wrap {
    left: calc(-1.25rem - 6px);
  }

  .exp__header,
  .edu__header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .resume__content {
    gap: 1.25rem;
  }

  .resume__icon {
    font-size: 3rem;
  }

  .contact__item {
    padding: 1.25rem;
  }

  .project-card,
  .exp__card,
  .edu__card,
  .resume__card {
    padding: 1.25rem;
  }

  .footer {
    padding: 3rem 0 2.5rem;
  }

  .orbs,
  .mouse-glow {
    display: none;
  }

  .projects__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: 92%; }
  .navbar__logo { font-size: 1.05rem; }
  .nav-links .nav-link { font-size: 0.95rem; }
  .hero__badge { font-size: 0.72rem; }
  .hero__title { font-size: clamp(1.95rem, 12vw, 2.5rem); }
  .hero__subtitle { font-size: 0.88rem; }
  .hero__description { font-size: 0.92rem; }
  .section-title { font-size: 1.5rem; }
  .project-card,
  .exp__card,
  .edu__card,
  .resume__card,
  .contact__item,
  .skills__card {
    padding: 1rem;
  }

  .skills__grid {
    gap: 1rem;
  }

  .tag {
    font-size: 0.75rem;
  }
}

@media (max-width: 420px) {
  .navbar__inner {
    padding: 0.55rem 0.7rem;
  }

  .nav-links {
    left: 0.35rem;
    right: 0.35rem;
  }

  .hero {
    padding-top: 0.1rem;
    padding-bottom: 4rem;
  }

  .hero__title {
    font-size: clamp(1.8rem, 11vw, 2.2rem);
  }

  .hero__actions .btn {
    width: 100%;
  }
}
