/* ═══════════════════════════════════════════════════════════
   PREMIUM PORTFOLIO — STYLE SYSTEM
   Color Palette: Soft Slate · Electric Indigo · Misty Grey
   Typography: Space Grotesk (Headings) + DM Sans (Body)
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Colors */
  --white:       #FFFFFF;
  --off-white:   #FAFAFA;
  --snow:        #F5F5F7;
  --mist:        #EEEEF0;
  --misty-grey:  #D8D8DC;
  --soft-slate:  #374151;
  --slate:       #1F2937;
  --dark-slate:  #111827;
  --charcoal:    #030712;

  --gold:        #6366F1;
  --gold-light:  #818CF8;
  --gold-muted:  #6366F133;
  --gold-glow:   #6366F118;

  /* Glass */
  --glass-bg:    rgba(255, 255, 255, 0.55);
  --glass-border:rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-serif:  'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --nav-width:   72px;
  --section-pad: clamp(80px, 12vh, 140px);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-xl:   0 24px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-gold: 0 4px 20px rgba(99, 102, 241, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 450;
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--gold-muted);
  color: var(--charcoal);
}

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

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

/* ═══════════════════════════════════════════════════════════
   FLOATING NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.floating-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--nav-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  z-index: 1000;
  background: var(--white);
  border-right: 1px solid var(--mist);
}

/* ─── PDS Monogram Brand ─── */
.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 6px;
  border-radius: 12px;
  background: var(--charcoal);
  transition: all 0.35s var(--ease-spring);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 12px;
}

.nav-brand:hover {
  transform: scale(1.08);
}

.nav-brand:hover::before {
  opacity: 1;
}

.brand-letter {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.5px;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.brand-accent {
  color: var(--white);
  font-size: 15px;
}

.nav-brand:hover .brand-letter {
  color: rgba(255, 255, 255, 0.7);
}

.nav-brand:hover .brand-accent {
  color: var(--white);
}

/* ─── Nav Links with Icons ─── */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
  color: #9CA3AF;
}

.nav-link:hover {
  color: var(--soft-slate);
  background: var(--snow);
}

.nav-link.active {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Active indicator bar on left edge */
.nav-link.active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover .nav-icon {
  transform: scale(1.1);
}

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

.nav-label {
  position: absolute;
  left: calc(100% + 14px);
  background: var(--charcoal);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s var(--ease-out);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.nav-label::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--charcoal);
  border-radius: 1px;
}

.nav-link:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Social Icons ─── */
.nav-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  transition: all 0.3s var(--ease-out);
}

.social-icon:hover {
  color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* ─── MOBILE MENU ─── */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

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

/* Mobile overlay backdrop */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
  }
  .mobile-nav-overlay.active {
    pointer-events: auto;
  }
  .cursor-glow {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════ */
.main-content {
  margin-left: var(--nav-width);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-pad) clamp(40px, 8vw, 120px);
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── SECTION HEADERS ─── */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-number {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--mist);
  max-width: 200px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--soft-slate);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.75;
}

/* ─── UTILITY ─── */
.gold-italic {
  font-family: var(--font-serif);
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

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

.hero-greeting {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--charcoal);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.name-line {
  display: block;
}

.name-line.accent {
  color: var(--gold);
  font-style: italic;
}

.hero-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--soft-slate);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  color: var(--soft-slate);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 36px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--dark-slate);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--mist);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Hero Social Links */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--soft-slate);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--mist);
  transition: all 0.3s var(--ease-out);
}

.hero-social-link:hover {
  color: var(--gold);
  border-color: var(--gold-muted);
  background: var(--gold-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.hero-social-link svg {
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Hero Photo */
.hero-photo-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-muted);
  animation: ringPulse 6s ease-in-out infinite;
}

.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid var(--mist);
  opacity: 0.5;
}

/* Orbiting Icons */
.orbit-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.orbit-icon i {
  font-size: 20px;
}

.hero-photo {
  width: 310px;
  height: 310px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-xl), 0 0 40px var(--gold-glow);
  background: linear-gradient(145deg, var(--snow), var(--mist));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.hero-photo:hover img {
  transform: scale(1.05);
}

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

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

.hero-shape-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  right: 20%;
  top: 10%;
  background-image: radial-gradient(var(--misty-grey) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.4;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--slate);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--misty-grey);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  max-width: 800px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -1px;
}

.stat-number::after {
  content: '+';
  font-size: 18px;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--soft-slate);
  margin-top: 4px;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.about-text {
  font-size: 16.5px;
  color: var(--soft-slate);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
}

.highlight-item:hover {
  background: var(--snow);
  border-color: var(--mist);
}

.highlight-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.highlight-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 13px;
  color: var(--soft-slate);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   EXPERIENCE SECTION
   ═══════════════════════════════════════════════════════════ */
.experience-timeline {
  position: relative;
  padding-left: 32px;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--mist), var(--gold));
}

.exp-card {
  position: relative;
  margin-bottom: 24px;
}

.exp-card:last-child {
  margin-bottom: 0;
}

.exp-timeline-dot {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  z-index: 2;
  transition: all 0.3s var(--ease-spring);
}

.exp-card:hover .exp-timeline-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-muted);
  transform: scale(1.2);
}

.exp-content {
  padding: 24px 28px;
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
}

.exp-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
  border-color: var(--gold-muted);
}

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

.exp-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.exp-org {
  font-size: 14.5px;
  color: var(--soft-slate);
  font-weight: 400;
}

.exp-badge {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid var(--gold-muted);
  white-space: nowrap;
}

.exp-desc {
  font-size: 16.5px;
  color: var(--soft-slate);
  line-height: 1.75;
  margin-bottom: 14px;
}

.exp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   ACHIEVEMENTS SECTION (Timeline Style)
   ═══════════════════════════════════════════════════════════ */
.achievements-timeline {
  position: relative;
  padding-left: 32px;
}

.achievements-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--mist), var(--gold));
}

.ach-card {
  position: relative;
  margin-bottom: 24px;
}

.ach-card:last-child {
  margin-bottom: 0;
}

.ach-timeline-dot {
  position: absolute;
  left: -32px;
  top: 28px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  z-index: 2;
  transition: all 0.3s var(--ease-spring);
}

.ach-timeline-dot.trophy   { border-color: #D97706; }
.ach-timeline-dot.finalist  { border-color: #2563EB; }
.ach-timeline-dot.semifinalist { border-color: #059669; }
.ach-timeline-dot.mentor    { border-color: #7C3AED; }

.ach-card:hover .ach-timeline-dot {
  box-shadow: 0 0 0 4px var(--gold-muted);
  transform: scale(1.2);
}

.ach-card:hover .ach-timeline-dot.trophy   { background: #FEF3C7; box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15); }
.ach-card:hover .ach-timeline-dot.finalist  { background: #DBEAFE; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
.ach-card:hover .ach-timeline-dot.semifinalist { background: #D1FAE5; box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15); }
.ach-card:hover .ach-timeline-dot.mentor    { background: #EDE9FE; box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }

.ach-content {
  padding: 24px 28px;
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
}

.ach-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
  border-color: var(--gold-muted);
}

.ach-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ach-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}

.ach-card:hover .ach-icon-wrap {
  transform: scale(1.1) rotate(-3deg);
}

.ach-icon-wrap.trophy      { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #B45309; }
.ach-icon-wrap.finalist     { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); color: #1D4ED8; }
.ach-icon-wrap.semifinalist  { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #047857; }
.ach-icon-wrap.mentor       { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #6D28D9; }

.ach-info {
  flex: 1;
  min-width: 0;
}

.ach-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

.ach-org {
  font-size: 14px;
  color: var(--soft-slate);
  font-weight: 400;
}

.ach-rank-badge {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.ach-rank-badge.gold   { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E; border: 1px solid rgba(217, 119, 6, 0.2); }
.ach-rank-badge.blue   { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); color: #1E40AF; border: 1px solid rgba(37, 99, 235, 0.2); }
.ach-rank-badge.green  { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #065F46; border: 1px solid rgba(5, 150, 105, 0.2); }
.ach-rank-badge.purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #5B21B6; border: 1px solid rgba(124, 58, 237, 0.2); }

.ach-desc {
  font-size: 16.5px;
  color: var(--soft-slate);
  line-height: 1.75;
  margin-bottom: 16px;
}

.ach-desc strong {
  color: var(--charcoal);
  font-weight: 600;
}

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

.ach-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ach-meta {
  font-size: 11px;
  font-weight: 500;
  color: var(--misty-grey);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   TECH STACK SECTION
   ═══════════════════════════════════════════════════════════ */
.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.tech-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--soft-slate);
  margin-bottom: 20px;
}

.tg-accent {
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.tech-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 14px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, var(--icon-color, var(--gold)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-card:hover::before {
  opacity: 0.08;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.9);
}

.tech-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color, var(--soft-slate));
  transition: transform 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.tech-icon i {
  font-size: 32px;
  color: var(--icon-color, var(--soft-slate));
}

.tech-card:hover .tech-icon {
  transform: scale(1.15);
}

.tech-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
}

/* Concept pills for domains */
.concept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.concept-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease-out);
  cursor: default;
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--misty-grey);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 
              inset 0 -2px 1px rgba(0,0,0,0.06),
              0 1px 3px rgba(0,0,0,0.05);
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.concept-pill:nth-child(1) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(2) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(3) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(4) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(5) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(6) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(7) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }
.concept-pill:nth-child(8) { --pill-bg: #EEF2FF; --pill-color: #4338CA; --pill-border: #C7D2FE; }

.concept-pill:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 
              inset 0 -2px 1px rgba(0,0,0,0.06),
              0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--soft-slate);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--mist);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--misty-grey);
}

/* Preview Window */
.project-preview {
  position: relative;
  overflow: hidden;
}

.preview-window {
  border-radius: 10px;
  margin: 16px 16px 0;
  overflow: hidden;
  border: 1px solid var(--mist);
  background: var(--snow);
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}

.window-dots {
  display: flex;
  gap: 5px;
}

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

.window-dots span:nth-child(1) { background: #FF605C; }
.window-dots span:nth-child(2) { background: #FFBD44; }
.window-dots span:nth-child(3) { background: #00CA4E; }

.window-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--snow);
  border-radius: 6px;
  font-size: 10px;
  color: var(--soft-slate);
}

.window-content {
  height: 200px;
  overflow: hidden;
  position: relative;
}

/* Screenshot Preview (for UI projects) */
.preview-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 6s ease;
}

.project-card:hover .preview-screenshot {
  transform: translateY(-20%);
}

/* Empty screenshot placeholder */
.preview-screenshot[src=""],
.preview-screenshot:not([src]) {
  background: linear-gradient(135deg, var(--snow) 0%, var(--mist) 100%);
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease-out);
  transform: translateY(8px);
  opacity: 0;
}

.project-card:hover .overlay-btn {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .overlay-btn:nth-child(2) {
  transition-delay: 0.05s;
}

.live-demo {
  background: var(--gold);
  color: var(--charcoal);
}

.live-demo:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.github-link {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.github-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Project Info */
.project-info {
  padding: 20px 20px 24px;
}

.project-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--snow);
  color: var(--soft-slate);
  border: 1px solid var(--mist);
}

.project-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.project-desc {
  font-size: 13px;
  color: var(--soft-slate);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════════════════════════ */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--mist);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.blog-row:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--misty-grey);
}

.blog-row-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--snow);
  border: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: all 0.4s var(--ease-out);
}

.blog-row:hover .blog-row-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.blog-row-body {
  flex: 1;
  min-width: 0;
}

.blog-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.blog-row-date {
  font-size: 12px;
  color: var(--soft-slate);
  font-weight: 450;
}

.blog-available {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #16a34a;
  font-weight: 550;
}

.green-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}

.blog-row-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.blog-row:hover .blog-row-title {
  color: var(--gold);
}

.blog-row-desc {
  font-size: 13px;
  color: var(--soft-slate);
  line-height: 1.7;
}

.blog-row-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--snow);
  border: 1px solid var(--mist);
  color: var(--soft-slate);
  transition: all 0.35s var(--ease-out);
}

.blog-row:hover .blog-row-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translate(2px, -2px);
}

.blog-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.contact-section {
  min-height: 70vh;
}

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

.contact-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.contact-text p {
  font-size: 15px;
  color: var(--soft-slate);
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-muted);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--soft-slate);
}

.contact-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 2px;
}

.contact-arrow {
  margin-left: auto;
  color: var(--misty-grey);
  transition: all 0.3s var(--ease-out);
}

.contact-card:hover .contact-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--mist);
  padding: 40px clamp(40px, 8vw, 120px);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-year {
  font-size: 12px;
  color: var(--misty-grey);
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text:nth-child(1) { transition-delay: 0.0s; }
.reveal-text:nth-child(2) { transition-delay: 0.1s; }
.reveal-text:nth-child(3) { transition-delay: 0.2s; }
.reveal-text:nth-child(4) { transition-delay: 0.3s; }
.reveal-text:nth-child(5) { transition-delay: 0.4s; }

/* Section reveal */
.section-header,
.section-subtitle,
.about-content,
.about-stats,
.tech-group,
.project-card,
.blog-row,
.contact-text,
.contact-methods,
.exp-card,
.ach-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.section-header.visible,
.section-subtitle.visible,
.about-content.visible,
.about-stats.visible,
.tech-group.visible,
.project-card.visible,
.blog-row.visible,
.contact-text.visible,
.contact-methods.visible,
.exp-card.visible,
.ach-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger tech groups */
.tech-group:nth-child(1) { transition-delay: 0.00s; }
.tech-group:nth-child(2) { transition-delay: 0.08s; }
.tech-group:nth-child(3) { transition-delay: 0.16s; }
.tech-group:nth-child(4) { transition-delay: 0.24s; }
.tech-group:nth-child(5) { transition-delay: 0.32s; }
.tech-group:nth-child(6) { transition-delay: 0.40s; }
.tech-group:nth-child(7) { transition-delay: 0.48s; }

/* Stagger project cards */
.project-card:nth-child(1) { transition-delay: 0.00s; }
.project-card:nth-child(2) { transition-delay: 0.10s; }
.project-card:nth-child(3) { transition-delay: 0.20s; }
.project-card:nth-child(4) { transition-delay: 0.30s; }

/* Stagger blog rows */
.blog-row:nth-child(1) { transition-delay: 0.00s; }
.blog-row:nth-child(2) { transition-delay: 0.10s; }
.blog-row:nth-child(3) { transition-delay: 0.20s; }

/* Stagger experience cards */
.exp-card:nth-child(1) { transition-delay: 0.00s; }
.exp-card:nth-child(2) { transition-delay: 0.08s; }
.exp-card:nth-child(3) { transition-delay: 0.16s; }
.exp-card:nth-child(4) { transition-delay: 0.24s; }

/* Stagger achievement cards */
.ach-card:nth-child(1) { transition-delay: 0.00s; }
.ach-card:nth-child(2) { transition-delay: 0.08s; }
.ach-card:nth-child(3) { transition-delay: 0.16s; }
.ach-card:nth-child(4) { transition-delay: 0.24s; }

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

/* ─── TABLET (1024px) ─── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 560px;
  }

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

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

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .hero-photo-wrapper {
    width: 300px;
    height: 300px;
  }

  .hero-photo {
    width: 250px;
    height: 250px;
  }

  .hero-shape-dots {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
  }

  .blog-row-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}

/* ─── MOBILE (768px) ─── */
@media (max-width: 768px) {
  /* Navigation */
  .floating-nav {
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out);
    width: 260px;
    padding: 80px 30px 40px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .floating-nav.mobile-open {
    transform: translateX(0);
  }

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

  .main-content {
    margin-left: 0;
  }

  /* Sections */
  .section {
    padding: var(--section-pad) 20px;
  }

  /* Nav for mobile drawer */
  .nav-links {
    gap: 4px;
    width: 100%;
  }

  .nav-link {
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .nav-link.active::before {
    left: 0;
    width: 3px;
    height: 24px;
    border-radius: 0 3px 3px 0;
  }

  .nav-label {
    position: static;
    opacity: 1;
    transform: none;
    background: transparent;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    pointer-events: auto;
    box-shadow: none;
  }

  .nav-label::before {
    display: none;
  }

  .nav-link.active .nav-label {
    color: var(--gold);
    font-weight: 600;
  }

  .nav-brand {
    margin-bottom: 20px;
    padding: 10px 12px;
    gap: 1px;
  }

  .brand-letter {
    font-size: 16px;
  }

  .brand-accent {
    font-size: 18px;
  }

  .nav-socials {
    flex-direction: row;
    gap: 12px;
    margin-top: 16px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  /* Hero */
  .hero-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-name {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero-title {
    font-size: 15px;
  }

  .hero-description {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-photo-wrapper {
    width: 240px;
    height: 240px;
  }

  .hero-photo {
    width: 200px;
    height: 200px;
  }

  .orbit-icon {
    width: 32px;
    height: 32px;
  }

  .orbit-icon i {
    font-size: 16px;
  }

  .hero-social-link {
    padding: 6px 12px;
    font-size: 11px;
  }

  .scroll-indicator {
    display: none;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .section-line {
    display: none;
  }

  /* Experience & Achievements */
  .exp-content {
    padding: 18px 20px;
  }

  .exp-header {
    flex-direction: column;
    gap: 8px;
  }

  .exp-title {
    font-size: 17px;
  }

  .exp-desc {
    font-size: 14.5px;
  }

  .ach-content {
    padding: 18px 20px;
  }

  .ach-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ach-title {
    font-size: 17px;
  }

  .ach-desc {
    font-size: 14.5px;
  }

  .ach-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Tech stack */
  .tech-group-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tech-card {
    padding: 18px 10px;
  }

  .tech-categories {
    gap: 36px;
  }

  .concept-pills {
    gap: 8px;
  }

  .concept-pill {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Project cards */
  .project-card {
    border-radius: 16px;
  }

  .project-info {
    padding: 20px;
  }

  .project-title {
    font-size: 18px;
  }

  .project-desc {
    font-size: 14px;
  }

  /* Blog */
  .blog-row-title {
    font-size: 16px;
  }

  .blog-row-desc {
    font-size: 13px;
  }

  /* Contact */
  .contact-text h3 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .contact-text p {
    font-size: 14px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-value {
    font-size: 13px;
  }

  /* Footer */
  .footer {
    padding: 30px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── SMALL MOBILE (480px) ─── */
@media (max-width: 480px) {
  .section {
    padding: 60px 16px;
  }

  /* Hero */
  .hero-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-name {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-greeting {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: 14px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-visual {
    min-height: 220px;
  }

  .hero-photo-wrapper {
    width: 200px;
    height: 200px;
  }

  .hero-photo {
    width: 170px;
    height: 170px;
  }

  .orbit-icon {
    width: 28px;
    height: 28px;
  }

  .orbit-icon i {
    font-size: 14px;
  }

  .hero-social-link {
    padding: 5px 10px;
    font-size: 10px;
    gap: 4px;
  }

  .hero-social-link svg {
    width: 12px;
    height: 12px;
  }

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

  .btn {
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    font-size: 12px;
  }

  .hero-status-badge {
    font-size: 11px;
    padding: 8px 14px;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat {
    padding: 14px 6px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 8px;
  }

  /* Experience & Achievements timeline */
  .experience-timeline,
  .achievements-timeline {
    padding-left: 24px;
  }

  .exp-timeline-dot,
  .ach-timeline-dot {
    left: -24px;
    width: 12px;
    height: 12px;
  }

  .exp-content,
  .ach-content {
    padding: 16px;
  }

  .exp-title,
  .ach-title {
    font-size: 16px;
  }

  .exp-desc,
  .ach-desc {
    font-size: 14px;
  }

  .ach-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .ach-rank-badge {
    font-size: 13px;
    padding: 4px 12px;
  }

  /* Tech stack */
  .tech-group-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tech-card {
    padding: 16px 8px;
    gap: 6px;
  }

  .tech-icon i {
    font-size: 26px;
  }

  .tech-name {
    font-size: 11px;
  }

  .tech-categories {
    gap: 28px;
  }

  .concept-pill {
    padding: 6px 14px;
    font-size: 11px;
  }

  /* Projects */
  .preview-window {
    margin: 10px;
    border-radius: 8px;
  }

  .window-content {
    height: 160px;
  }

  .project-info {
    padding: 16px;
  }

  .project-title {
    font-size: 16px;
  }

  .project-desc {
    font-size: 13px;
  }

  .tag {
    font-size: 9px;
    padding: 3px 8px;
  }

  /* Blog */
  .blog-row {
    padding: 16px;
  }

  .blog-row-icon {
    width: 36px;
    height: 36px;
  }

  .blog-row-title {
    font-size: 15px;
  }

  .blog-row-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  /* Contact */
  .contact-text h3 {
    font-size: 20px;
  }

  .contact-card {
    padding: 14px;
    gap: 12px;
  }

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

  .contact-value {
    font-size: 12px;
    word-break: break-all;
  }

  /* Section header */
  .section-header {
    margin-bottom: 24px;
    gap: 10px;
  }

  .section-number {
    font-size: 14px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
}
