@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* =========================================
   CSS Variables & Themes
   ========================================= */
:root {
  /* Cosmic Dark (Default) */
  --bg-primary: #030712;
  --bg-secondary: #0a0e17;
  --bg-card: rgba(15, 23, 42, 0.4);
  --bg-card-hover: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(3, 7, 18, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.2);
  
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --gradient-neon: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
  --gradient-blue-purple: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  
  --shadow-neon: 0 0 15px rgba(6, 182, 212, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
  --shadow-blue: 0 4px 20px rgba(59, 130, 246, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  --nav-bg: rgba(3, 7, 18, 0.7);
  --modal-bg: rgba(15, 23, 42, 0.85);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

[data-theme="light"] {
  /* Cyber Light */
  --bg-primary: #f0f4f9;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.6);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(0, 0, 0, 0.05);
  --border-glass-hover: rgba(0, 0, 0, 0.15);
  
  --accent-blue: #2563eb;
  --accent-cyan: #0891b2;
  --accent-purple: #7c3aed;
  --accent-pink: #db2777;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --gradient-neon: linear-gradient(135deg, #0891b2, #7c3aed, #db2777);
  --gradient-blue-purple: linear-gradient(135deg, #2563eb, #7c3aed);
  --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  
  --shadow-neon: 0 0 15px rgba(8, 145, 178, 0.3), 0 0 30px rgba(124, 58, 237, 0.2);
  --shadow-blue: 0 4px 20px rgba(37, 99, 235, 0.25);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
  
  --nav-bg: rgba(255, 255, 255, 0.7);
  --modal-bg: rgba(255, 255, 255, 0.85);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* =========================================
   Scrollbar & Utilities
   ========================================= */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-neon);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-blue-purple);
}

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Background Rings */
.cosmic-ring {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: floatRing 20s infinite alternate ease-in-out;
  pointer-events: none;
}
.ring-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  top: -10%;
  left: -10%;
}
.ring-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  bottom: -15%;
  right: -5%;
  animation-delay: -5s;
}
.ring-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-pink);
  top: 40%;
  left: 50%;
  animation-delay: -10s;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-neon);
  border-radius: 2px;
}

/* =========================================
   Glassmorphism Basics
   ========================================= */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: var(--gradient-shine);
  transform: skewX(-20deg);
  transition: 0.6s ease;
  z-index: 1;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-neon);
}
.glass-card:hover::before {
  animation: shine 1.5s ease;
}

/* =========================================
   Header & Nav
   ========================================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  transition: padding 0.3s ease;
}
.header.scrolled {
  padding: 0.5rem 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-neon);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  animation: pulseGlow 2s infinite alternate;
}
.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-neon);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  animation: expandLine 0.4s ease forwards;
}
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}
.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: rotate(15deg);
}
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
}
.hero-content {
  max-width: 800px;
}
.hero-greeting {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShift 5s ease infinite;
}
.hero-roles {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--accent-purple);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
.hero-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary {
  background: var(--gradient-blue-purple);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-glass-hover);
}
.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.about-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.info-label {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
.info-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
}

/* =========================================
   Skills Section
   ========================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.skill-category {
  padding: 2rem;
}
.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.skill-tag:hover {
  background: var(--gradient-neon);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.skill-bar-item {
  margin-bottom: 1.25rem;
}
.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.skill-progress-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
}
.skill-progress-fill {
  height: 100%;
  background: var(--gradient-blue-purple);
  border-radius: 4px;
  width: 0;
  /* width will be set via inline style or JS, animation fillBar applied on reveal */
}
.reveal.active .skill-progress-fill {
  animation: fillBar 1.5s ease-out forwards;
}

/* =========================================
   Projects Section
   ========================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 1.5rem;
}
.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-glass);
  transition: transform 0.5s ease;
}
.project-card:hover .project-image {
  transform: scale(1.05);
}
.project-image-wrapper {
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  position: relative;
}
.project-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tech-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.project-actions {
  display: flex;
  gap: 1rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* =========================================
   Education & Experience (Timeline)
   ========================================= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--border-glass-hover);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 10px var(--accent-blue);
}
.timeline-content {
  padding: 2rem;
}
.timeline-date {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.timeline-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* =========================================
   Published Apps
   ========================================= */
.apps-container {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
}
.apps-container::-webkit-scrollbar {
  height: 8px;
}
.app-card {
  min-width: 300px;
  scroll-snap-align: start;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--bg-primary);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  color: var(--accent-pink);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.app-card:hover .app-icon {
  transform: rotateY(180deg);
}
.app-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.app-store-link {
  margin-top: 1rem;
  color: var(--accent-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  color: var(--accent-purple);
  border: 1px solid var(--border-glass);
}
.contact-item-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.contact-item-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.3s ease;
}
[data-theme="light"] .form-control {
  background: rgba(255, 255, 255, 0.5);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-name {
  margin-bottom: 1rem;
  display: block;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}
.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: var(--accent-cyan);
}
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* =========================================
   Modal & Toast
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--modal-bg);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  transform: translateY(50px);
  transition: all 0.4s ease;
  position: relative;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.blog-callout {
  background: rgba(59, 130, 246, 0.12);
  border-left: 4px solid var(--accent-blue);
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-main);
}

.blog-takeaway {
  background: rgba(168, 85, 247, 0.12);
  border-left: 4px solid var(--accent-purple);
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-main);
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-neon);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 30px;
  box-shadow: var(--shadow-neon);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 2000;
}
.toast.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* =========================================
   Animations & Keyframes
   ========================================= */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); }
  100% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.8); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes fillBar {
  from { width: 0; }
}
@keyframes floatRing {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.05); }
}
@keyframes expandLine {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes shine {
  100% { left: 200%; }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.tech-badge:hover {
  animation: badgeBounce 0.5s ease;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-info-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1rem 0;
    backdrop-filter: blur(16px);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .theme-toggle {
    margin-right: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-desc {
    margin: 0 auto;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .timeline::before {
    left: 10px;
  }
  .timeline-dot {
    left: 1px;
  }
  .timeline-item {
    padding-left: 40px;
  }
  .timeline-content {
    padding: 1.5rem;
  }
}
