/* ============================================
   PORTFOLIO — Design System & Styles
   Aditya Mogha · 2026
   ============================================ */

/* --- Google Fonts are loaded in HTML --- */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  /* Colors */
  --primary: #7C3AED;
  --primary-light: #8B5CF6;
  --primary-dark: #6D28D9;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;
  --bg: #0a0a0f;
  --bg-surface: #0f0f1a;
  --bg-card: rgba(15, 15, 26, 0.8);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(124, 58, 237, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow-purple: 0 0 24px rgba(124, 58, 237, 0.4);
  --glow-cyan: 0 0 24px rgba(6, 182, 212, 0.3);
  --amber: #F59E0B;
  --amber-text: #1C1400;
  --green: #22C55E;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1100px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Navbar */
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========== UTILITIES ========== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subheading {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
  border-color: var(--border-hover);
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: filter var(--transition-base);
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.open-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-subtle);
  z-index: 999;
  padding: 100px 32px 32px;
  transition: right var(--transition-base);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.open {
  opacity: 1;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#tsparticles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-greeting {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-greeting .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--cyan);
  min-height: 2.5rem;
  margin-bottom: 1.25rem;
}

.hero-typewriter .typed-cursor {
  color: var(--primary);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 2rem;
}

.hero-status .dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-bg);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}

@keyframes bounce {

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

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

/* ========== ABOUT SECTION ========== */
.about {
  padding: var(--section-padding);
}

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

.about-avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.about-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  padding: 4px;
  animation: ring-glow 3s ease-in-out infinite alternate;
}

@keyframes ring-glow {
  0% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  }

  100% {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), 0 0 20px rgba(6, 182, 212, 0.3);
  }
}

.about-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  border: 4px solid var(--bg);
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
}

.about-learning {
  padding: 20px 24px;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-learning strong {
  color: var(--cyan);
}

/* ========== TECH STACK SECTION ========== */
.tech-stack {
  padding: var(--section-padding);
  background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 26, 0.5) 50%, transparent 100%);
}

.tech-group {
  margin-bottom: 3rem;
}

.tech-group:last-child {
  margin-bottom: 0;
}

.tech-group-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-left: 4px;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  width: 100px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-purple);
  border-color: var(--border-hover);
}

.tech-item img,
.tech-item i {
  width: 36px;
  height: 36px;
  font-size: 36px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.tech-item:hover i {
  color: var(--primary-light);
}

.tech-item span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

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

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.projects-row {
  display: grid;
  gap: 24px;
}

.projects-row.two-col {
  grid-template-columns: 1fr 1fr;
}

.projects-row.full-width {
  grid-template-columns: 1fr;
}

/* Featured Card */
.project-card-featured {
  position: relative;
  padding: 36px;
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--primary), var(--cyan)) 1;
  transition: box-shadow var(--transition-base);
}

.project-card-featured:hover {
  box-shadow: var(--glow-purple);
}

.badge-featured {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary);
  color: var(--text-primary);
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-wip {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--amber);
  color: var(--amber-text);
  border-radius: 100px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.project-card-featured .project-title {
  font-size: 1.6rem;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Metric Badges */
.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
}

/* Tech Stack Pills */
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.stack-pill {
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.project-link:hover {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
}

.project-link svg {
  width: 16px;
  height: 16px;
}

/* Standard Project Card */
.project-card {
  position: relative;
  padding: 28px;
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.project-card .project-link {
  margin-top: auto;
}

/* ========== EXPERIENCE SECTION ========== */
.experience {
  padding: var(--section-padding);
  background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 26, 0.5) 50%, transparent 100%);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--cyan), var(--primary));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 60px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 60px;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 60px;
  padding-right: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

.timeline-content {
  padding: 24px;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  text-align: left;
  transition: box-shadow var(--transition-base);
}

.timeline-content:hover {
  box-shadow: var(--glow-purple);
}

.timeline-company {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-role {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.timeline-bullets {
  list-style: none;
}

.timeline-bullets li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ========== CERTIFICATIONS SECTION ========== */
.certifications {
  padding: var(--section-padding);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cert-card {
  padding: 24px;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
  border-color: var(--border-hover);
}

.cert-issuer {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.cert-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== GITHUB STATS SECTION ========== */
.github-stats {
  padding: var(--section-padding);
  background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 26, 0.5) 50%, transparent 100%);
}

.github-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.github-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: box-shadow var(--transition-base);
}

.github-grid img:hover {
  box-shadow: var(--glow-purple);
}

/* ========== CONTACT / FOOTER ========== */
.contact {
  padding: var(--section-padding);
  text-align: center;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: all var(--transition-base);
}

.contact-btn:hover {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

.contact-btn svg {
  width: 20px;
  height: 20px;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-avatar-wrapper {
    width: 180px;
    height: 180px;
  }

  .about-pills {
    justify-content: center;
  }

  .projects-row.two-col {
    grid-template-columns: 1fr;
  }

  /* Timeline to single column */
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 52px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 13px;
    right: auto;
  }

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

  .section-heading {
    font-size: 2rem;
  }

  .contact-heading {
    font-size: 2rem;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 56px 0;
    --container-padding: 0 16px;
  }

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

  .project-card-featured {
    padding: 24px;
  }

  .project-card-featured .project-title {
    font-size: 1.25rem;
  }

  .tech-item {
    width: 80px;
    padding: 14px 10px;
  }

  .tech-item i {
    font-size: 28px;
    width: 28px;
    height: 28px;
  }
}
