/* =============================================
   MOHUYA SOM BANERJEE — PORTFOLIO CSS
   Dark Tech / Cyberpunk-Clean Aesthetic
   ============================================= */

:root {
  --bg-primary: #050508;
  --bg-secondary: #0a0a10;
  --bg-card: #0e0e18;
  --bg-card-hover: #12121f;
  --accent: #00f5d4;
  --accent-2: #0077ff;
  --accent-3: #ff6b35;
  --text-primary: #f0f0fa;
  --text-secondary: #8888aa;
  --text-muted: #444466;
  --border: #1a1a2e;
  --border-glow: rgba(0, 245, 212, 0.3);
  --nav-width: 240px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(0, 245, 212, 0.15);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  padding-right: var(--nav-width);
}

::selection { background: var(--accent); color: #000; }

/* NOISE OVERLAY */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

/* ===== SIDE NAVIGATION ===== */
.side-nav {
  position: fixed;
  top: 0; right: 0;
  width: var(--nav-width);
  height: 100vh;
  background: rgba(8, 8, 14, 0.95);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
}

.side-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

/* NAV PROFILE */
.nav-profile {
  padding: 24px 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(0,245,212,0.05) 0%, transparent 100%);
}

.nav-photo-wrap {
  width: 72px;
  height: 72px;
  perspective: 300px;
  cursor: pointer;
}

.nav-photo-wrap:hover .nav-photo.front { transform: rotateY(180deg); }
.nav-photo-wrap:hover .nav-photo.back { transform: rotateY(0deg); }

.nav-photo {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--accent);
}

.nav-photo.front { transform: rotateY(0deg); }
.nav-photo.back {
  transform: rotateY(-180deg);
  border-color: var(--accent-3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.nav-photo img { width: 100%; height: 100%; object-fit: cover; }

.ai-tag {
  position: absolute;
  bottom: 4px;
  font-size: 8px;
  color: var(--accent-3);
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.8);
  padding: 1px 4px;
  border-radius: 4px;
}

.nav-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.nav-full-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
}

.nav-role {
  font-size: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  text-align: center;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  padding: 16px 0;
  flex: 1;
}

.nav-links li { margin: 2px 0; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
  border-radius: 0 8px 8px 0;
  margin-right: 12px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 245, 212, 0.08);
}

.nav-link.active { color: var(--accent); }

.nav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  transition: height 0.2s;
}

.nav-link.active::before, .nav-link:hover::before { height: 70%; }

.nav-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.nav-link.active .nav-icon, .nav-link:hover .nav-icon {
  background: rgba(0, 245, 212, 0.15);
  color: var(--accent);
}

.nav-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: transparent;
  margin-left: auto;
  transition: background 0.2s;
}

.nav-link.active .nav-dot { background: var(--accent); }

.nav-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.status-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  position: fixed;
  top: 20px; right: 20px;
  z-index: 1100;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== MAIN CONTENT ===== */
.main-content { min-height: 100vh; }

/* ===== SECTIONS ===== */
.section {
  min-height: 100vh;
  padding: 80px 60px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
}

.hero-text-col { flex: 1; }
.hero-photo-col { flex-shrink: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

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

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.name-line { display: block; }
.name-line.accent {
  color: var(--accent);
  -webkit-text-stroke: 0px;
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 18px;
}

.role-prefix { color: var(--text-secondary); }

.role-cycler {
  position: relative;
  height: 28px;
  overflow: hidden;
  flex: 1;
}

.role-item {
  display: block;
  position: absolute;
  color: var(--accent-2);
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
  font-family: var(--font-display);
  white-space: nowrap;
}

.role-item.active {
  opacity: 1;
  transform: translateY(0);
}

.role-item.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-bio strong { color: var(--text-primary); }
.hero-bio em { color: var(--accent); font-style: normal; }

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.hero-location i { color: var(--accent); }

.hero-langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.lang-tag {
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.lang-tag i { color: var(--accent); font-size: 10px; }

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  font-family: var(--font-display);
}

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

.hero-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid;
}

.social-pill.linkedin { border-color: #0a66c2; color: #0a66c2; }
.social-pill.github { border-color: #6e40c9; color: #6e40c9; }
.social-pill.facebook { border-color: #1877f2; color: #1877f2; }
.social-pill.instagram { border-color: #e1306c; color: #e1306c; }

.social-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.3);
}

.social-pill.linkedin:hover { background: rgba(10, 102, 194, 0.15); }
.social-pill.github:hover { background: rgba(110, 64, 201, 0.15); }
.social-pill.facebook:hover { background: rgba(24, 119, 242, 0.15); }
.social-pill.instagram:hover { background: rgba(225, 48, 108, 0.15); }

/* HERO PHOTO */
.photo-frame {
  position: relative;
  width: 380px;
  height: 380px;
}

.photo-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: spin-ring 20s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.08);
}

.ring-1 {
  inset: -22px;
  border-color: rgba(0, 245, 212, 0.55);
  animation-duration: 18s;
}

.ring-2 {
  inset: -48px;
  border-color: rgba(0, 119, 255, 0.4);
  animation-direction: reverse;
  animation-duration: 26s;
  border-style: dashed;
  border-width: 1.5px;
}

.ring-3 {
  inset: -74px;
  border-color: rgba(255, 107, 53, 0.35);
  animation-duration: 34s;
}

.ring-4 {
  inset: -100px;
  border-color: rgba(0, 245, 212, 0.25);
  animation-direction: reverse;
  animation-duration: 42s;
  border-style: dotted;
  border-width: 1.5px;
}

.ring-5 {
  inset: -126px;
  border-color: rgba(147, 51, 234, 0.2);
  animation-duration: 50s;
  border-width: 1px;
}

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

.photo-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 245, 212, 0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.exp-badge { bottom: -10px; left: -20px; }
.tech-badge { top: 20px; right: -20px; }

.badge-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.badge-txt {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== EXPERIENCE SECTION ===== */
.exp-section { background: var(--bg-secondary); }

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-canvas {
  position: absolute;
  left: 0; top: 0;
  pointer-events: none;
  width: 60px;
  height: 100%;
  z-index: 0;
}

.timeline-items {
  padding-left: 80px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.tl-connector {
  position: absolute;
  left: -60px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.tl-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.6);
  animation: dot-pulse 2s infinite;
}

.timeline-item.visible .tl-dot {
  background: var(--accent);
  border-color: var(--accent);
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0, 245, 212, 0); }
}

.tl-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
  min-height: 40px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.8s ease 0.3s;
}

.timeline-item.visible .tl-line {
  transform: scaleY(1);
  background: linear-gradient(180deg, var(--accent), var(--border));
}

.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.tl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.5s ease;
}

.timeline-item.visible .tl-card::before { width: 100%; }
.tl-card:hover { border-color: rgba(0, 245, 212, 0.3); transform: translateX(6px); }

.current-card {
  border-color: rgba(0, 245, 212, 0.3);
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.05), var(--bg-card));
}

.tl-role-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.tl-role-row .tl-role { margin-bottom: 0; }

.tl-current-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tl-current-badge i {
  font-size: 6px;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.tl-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.tl-company-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.tl-meta { flex: 1; }

.tl-role {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tl-company {
  display: block;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
}

.tl-period {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tl-duration {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  margin-left: auto;
}

.tl-duration.active-dur {
  background: rgba(0, 245, 212, 0.15);
  color: var(--accent);
}

.tl-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.tl-tags span {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 119, 255, 0.12);
  border: 1px solid rgba(0, 119, 255, 0.25);
  color: #70a8ff;
}

/* INTERNSHIP ROW */
.internship-row {
  padding-left: 0;
  margin-top: 20px;
}

.internship-title {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.internship-title i { color: var(--accent-3); }

.internship-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.intern-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  flex: 1;
  min-width: 200px;
}

.intern-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}

.intern-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intern-card strong {
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 700;
}

.intern-card span {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ===== SKILLS SECTION ===== */
.skills-section { background: var(--bg-primary); }

.skills-orbit-container {
  position: relative;
  height: 480px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  position: absolute;
  z-index: 10;
}

.orbit-core {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.2), rgba(0, 119, 255, 0.1));
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  gap: 4px;
  box-shadow: 0 0 40px rgba(0, 245, 212, 0.3);
  animation: core-pulse 3s ease-in-out infinite;
}

.orbit-core span {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 245, 212, 0.2); }
  50% { box-shadow: 0 0 60px rgba(0, 245, 212, 0.5); }
}

.orbits-wrap {
  position: absolute;
  inset: 0;
}

.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  transform: translate(-50%, -50%);
  animation: orbit-spin linear infinite;
}

.orbit-item {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  counter-animation: orbit-spin linear infinite;
  animation: counter-spin linear infinite;
  cursor: default;
  transition: all 0.2s;
}

.orbit-item:hover {
  background: rgba(0, 245, 212, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-50%) scale(1.2);
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(-360deg); }
}

/* SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-category-centered {
  grid-column: 1 / -1;
  max-width: 360px;
  justify-self: center;
  width: 100%;
}

@media (max-width: 900px) {
  .skills-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .skill-category-centered { grid-column: auto; max-width: none; }
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
}

.skill-category:hover { border-color: rgba(0, 245, 212, 0.2); }

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-cat-title i { color: var(--accent); }

.skill-pills { display: flex; flex-direction: column; gap: 10px; }

.skill-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: default;
  transition: all 0.3s;
}

.skill-pill::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 1.5s ease 0.3s;
  width: 0;
}

.skill-pill.animated::after { width: var(--w, 0%); }

.skill-pill:hover {
  border-color: rgba(0, 245, 212, 0.2);
  color: var(--text-primary);
  background: rgba(0, 245, 212, 0.04);
}

.sp-bar { display: none; }

.sp-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  width: 26px;
  height: 26px;
  background: rgba(0, 245, 212, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

/* ===== PROJECTS SECTION ===== */
.projects-section { background: var(--bg-secondary); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.proj-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

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

.proj-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-screen {
  width: 90%;
  height: 85%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-browser {
  height: 24px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
}

.mock-browser span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-line {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  animation: shimmer 2s infinite;
}

.mock-line.wide { width: 80%; }
.mock-line.med { width: 60%; }
.mock-line.short { width: 40%; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  flex: 1;
}

.mock-block {
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  animation: shimmer 2s infinite;
}

.mock-hero {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  animation: shimmer 2s infinite;
}

.mock-phone-sim {
  width: 50px;
  height: 80px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  margin: auto;
  animation: shimmer 2s infinite;
}

.mock-blog { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mock-post { flex: 1; background: rgba(255,255,255,0.06); border-radius: 6px; animation: shimmer 2s infinite; }

.mock-dashboard { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mock-stat { height: 40px; background: rgba(255,255,255,0.06); border-radius: 6px; animation: shimmer 2s infinite; }
.mock-chart { flex: 1; background: rgba(255,255,255,0.04); border-radius: 6px; animation: shimmer 2s infinite; height: 60px; }

.mock-nuxt { flex: 1; background: rgba(255,255,255,0.04); border-radius: 6px; animation: shimmer 2s infinite; }

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

.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.proj-live-btn, .proj-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.proj-live-btn {
  background: var(--accent);
  color: #000;
}

.proj-live-btn:hover { background: #fff; }

.proj-code-btn {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
}

.proj-code-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.proj-info { padding: 24px; }

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

.proj-tags span {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 119, 255, 0.12);
  border: 1px solid rgba(0, 119, 255, 0.2);
  color: #70a8ff;
}

.proj-info h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.proj-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.proj-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 212, 0.3);
  padding-bottom: 1px;
}

.proj-link:hover { border-color: var(--accent); }

.projects-more {
  text-align: center;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-see-more:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== EDUCATION SECTION ===== */
.edu-section { background: var(--bg-primary); }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edu-blurb:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 340px);
  }
}

.edu-blurb {
  position: relative;
  height: 320px;
  cursor: pointer;
}

.edu-blurb-front,
.edu-blurb-back {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backface-visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-blurb-front { transform: rotateY(0deg); z-index: 2; }
.edu-blurb-back {
  transform: rotateY(-90deg) scale(0.95);
  opacity: 0;
  z-index: 1;
  gap: 10px;
  overflow: hidden;
}

.edu-blurb:hover .edu-blurb-front {
  transform: rotateY(90deg) scale(0.95);
  opacity: 0;
}

.edu-blurb:hover .edu-blurb-back {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
  border-color: rgba(0, 245, 212, 0.3);
}

.edu-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.edu-brief { flex: 1; }

.edu-level {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.edu-brief h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.edu-brief p {
  font-size: 13px;
  color: var(--text-secondary);
}

.edu-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  margin-top: 8px;
}

.edu-hover-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.edu-college-photo {
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.edu-back-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.edu-blurb-back h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.edu-blurb-back p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.edu-blurb-back ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  overflow: hidden;
  margin-top: auto;
}

.edu-blurb-back ul li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}

.edu-blurb-back ul li i { color: var(--accent); font-size: 10px; }
.edu-blurb-back ul li strong { color: var(--text-primary); }

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 245, 212, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.svc-icon-wrap {
  width: 60px;
  height: 60px;
  position: relative;
  margin-bottom: 20px;
}

.svc-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(0, 119, 255, 0.1));
  transition: all 0.3s;
}

.service-card:hover .svc-icon-bg {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.3), rgba(0, 119, 255, 0.2));
}

.svc-icon-wrap i {
  position: relative;
  z-index: 1;
  font-size: 24px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.svc-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .svc-glow { opacity: 1; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.svc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-features i { color: var(--accent); font-size: 11px; }

.svc-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(0, 245, 212, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 100px;
  letter-spacing: 1px;
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--bg-primary); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 1;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px 12px 40px;
  outline: none;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.input-wrap select { padding-right: 36px; cursor: pointer; }

.input-wrap textarea {
  resize: vertical;
  line-height: 1.6;
  padding-top: 14px;
}

.textarea-wrap {
  align-items: flex-start;
}

.textarea-wrap i {
  top: 14px;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: rgba(0, 245, 212, 0.5);
  background: rgba(0, 245, 212, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.08);
}

.input-wrap input:focus + i,
.input-wrap:focus-within i { color: var(--accent); }

.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: var(--text-muted); }

.input-wrap select option { background: #0e0e18; color: var(--text-primary); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.4);
  filter: brightness(1.1);
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 14px 20px;
  color: #22c55e;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 14px 20px;
  color: #ef4444;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* CONTACT INFO */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-icon {
  width: 36px; height: 36px;
  background: rgba(0, 245, 212, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.contact-item div { display: flex; flex-direction: column; gap: 2px; }

.ci-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ci-val {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-socials {
  display: flex;
  gap: 10px;
}

.contact-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.contact-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 245, 212, 0.1);
}

.map-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 245, 212, 0.04);
}

.map-header i { color: var(--accent); }

.map-embed { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 20px 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.footer-stack { color: var(--accent); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  body { padding-right: 0; }
  .side-nav {
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .side-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-full-name { font-size: 12px; }
  .section { padding: 60px 30px; }
  .hero-section { padding: 90px 30px 80px; }
  .hero-inner {
    flex-direction: column-reverse;
    gap: 52px;
    align-items: center;
    text-align: center;
  }
  .hero-text-col,
  .hero-photo-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge,
  .hero-location,
  .hero-langs,
  .hero-roles,
  .hero-cta,
  .hero-socials {
    justify-content: center;
  }
  .hero-name { align-items: center; }
  .hero-bio { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-roles {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .role-cycler {
    flex: none;
    width: min(100%, 340px);
    height: 32px;
  }
  .role-item {
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    width: min(100%, 280px);
    justify-content: center;
  }
  .hero-socials {
    width: 100%;
    gap: 10px;
  }
  .photo-frame { width: 260px; height: 260px; }
  .photo-frame { margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }

  .tl-card-header {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "logo meta"
      "duration duration";
    gap: 10px 14px;
    align-items: start;
  }
  .tl-company-logo { grid-area: logo; }
  .tl-meta { grid-area: meta; min-width: 0; }
  .tl-duration {
    grid-area: duration;
    margin-left: 0;
    justify-self: start;
  }
  .tl-company { white-space: normal; word-break: normal; }
  .tl-role-row { flex-wrap: wrap; }

  .internship-row {
    text-align: center;
    margin-left: -80px;
    width: calc(100% + 80px);
    padding: 0;
    box-sizing: border-box;
  }
  .internship-title { justify-content: center; }
  .internship-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }
  .intern-card {
    flex: none;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .internship-row {
    margin-left: -80px;
    width: calc(100% + 80px);
  }
  .internship-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .skills-orbit-container { height: 360px; }
  .section { padding: 50px 20px; }
  .hero-section { padding: 85px 20px 90px; }
  .hero-inner { gap: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-socials { gap: 8px; }
  .social-pill span { display: none; }
  .social-pill { padding: 8px 12px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .site-footer { padding: 20px; }
  .scroll-hint { bottom: 18px; }
  .timeline-items { padding-left: 50px; }
  .tl-connector { left: -40px; }
  .internship-row {
    margin-left: -50px;
    width: calc(100% + 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .internship-title {
    width: 100%;
    justify-content: center;
  }
  .internship-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
    gap: 14px;
  }
  .intern-card {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .photo-frame { width: 210px; height: 210px; }
  .hero-inner { gap: 36px; }
  .hero-name { font-size: clamp(34px, 10vw, 48px); margin-bottom: 16px; }
  .photo-badge { transform: scale(0.9); }
  .nav-full-name { font-size: 11px; }
}
