/* CSS Design Tokens */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Space Grotesk', monospace, sans-serif;

  color-scheme: dark;
  
  /* Primary HSL Colors */
  --hue-primary: 250;
  --hue-secondary: 190;
  --hue-accent: 280;
  
  --primary: hsl(var(--hue-primary), 85%, 66%);
  --secondary: hsl(var(--hue-secondary), 100%, 50%);
  --accent: hsl(var(--hue-accent), 85%, 60%);
  
  --primary-glow: hsla(var(--hue-primary), 85%, 66%, 0.15);
  --secondary-glow: hsla(var(--hue-secondary), 100%, 50%, 0.15);
  
  /* Neutral HSL Colors */
  --bg: hsl(230, 40%, 6%);
  --bg-alt: hsl(230, 35%, 10%);
  --surface: hsla(230, 30%, 15%, 0.35);
  --surface-strong: hsla(230, 30%, 20%, 0.55);
  --text: hsl(220, 40%, 96%);
  --text-muted: hsl(220, 20%, 70%);
  --border: hsla(220, 40%, 96%, 0.08);
  --border-hover: hsla(var(--hue-primary), 85%, 66%, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --border-radius-full: 9999px;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

:root[data-theme="light"] {
  color-scheme: light;
  
  --bg: hsl(220, 50%, 98%);
  --bg-alt: hsl(220, 30%, 94%);
  --surface: hsla(220, 30%, 15%, 0.04);
  --surface-strong: hsla(220, 30%, 15%, 0.08);
  --text: hsl(224, 60%, 12%);
  --text-muted: hsl(220, 20%, 40%);
  --border: hsla(224, 60%, 12%, 0.08);
  --border-hover: hsla(var(--hue-primary), 85%, 66%, 0.5);
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  
  --primary-glow: hsla(var(--hue-primary), 85%, 66%, 0.1);
  --secondary-glow: hsla(var(--hue-secondary), 100%, 50%, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, hsla(var(--hue-primary), 85%, 66%, 0.05), transparent 40%),
    radial-gradient(circle at 90% 80%, hsla(var(--hue-secondary), 100%, 50%, 0.04), transparent 40%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Modern Tech Grid Pattern Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}

/* Helper Typographies */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 1000;
  box-shadow: 0 0 10px var(--primary);
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
}

/* Custom Interactive Elements */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  mix-blend-mode: screen;
}

canvas#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Glassmorphism Generic Class */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 25px var(--primary-glow);
  transform: translateY(-5px);
}

/* Header & Floating Navbar */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 980px;
  padding: 0.8rem 1.8rem;
  background: rgba(var(--hue-primary), 12%, 10%, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

body.scrolled .navbar {
  background: rgba(var(--hue-primary), 15%, 8%, 0.7);
  border-color: var(--primary-glow);
  padding: 0.65rem 1.6rem;
  box-shadow: var(--shadow-lg), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-fast);
  border-radius: var(--border-radius-full);
}

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

.nav-links a:hover::after {
  width: 80%;
}

.theme-toggle {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.08);
}

.theme-toggle .sun-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.theme-toggle .moon-icon {
  display: block;
  width: 18px;
  height: 18px;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

/* Sections Base Styling */
.section {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}

.section-title {
  margin-bottom: 3.5rem;
  text-align: left;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--text);
}

/* Hero Section Styles */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
  padding-top: 10rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typed-line {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  height: 35px;
}

.typed-text {
  color: var(--secondary);
  font-weight: 600;
  border-right: 2px solid var(--secondary);
  padding-right: 3px;
  animation: cursor-blink 0.8s step-end infinite;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--border-radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--primary-glow), 0 0 15px var(--secondary);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-strong);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.hero-quick-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.stat-unit {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Showcase Window Card (Hero Visual) */
.hero-visual {
  display: grid;
  place-items: center;
}

.showcase-card {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  position: relative;
}

.card-glow-element {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  z-index: 1;
}

.showcase-header {
  background: rgba(0, 0, 0, 0.15);
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-controls {
  display: flex;
  gap: 0.45rem;
}

.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.w-dot.red { background-color: #ef4444; }
.w-dot.yellow { background-color: #f59e0b; }
.w-dot.green { background-color: #10b981; }

.showcase-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.showcase-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
  position: relative;
}

.metric-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tech-radar {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--border-radius-sm);
  padding: 1.1rem;
  border-left: 3px solid var(--primary);
  font-size: 0.82rem;
  color: #c9d1d9;
}

.code-line {
  margin-bottom: 0.3rem;
}

.code-line.indent {
  padding-left: 1.25rem;
}

.c-keyword { color: #ff7b72; }
.c-prop { color: #79c0ff; }
.c-str { color: #a5d6ff; }

.showcase-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  background: rgba(var(--hue-primary), 85%, 66%, 0.08);
  border: 1px solid rgba(var(--hue-primary), 85%, 66%, 0.15);
  border-radius: var(--border-radius-full);
  color: var(--text);
}

/* About Section Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.about-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-card p strong {
  color: var(--text);
}

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary-glow);
}

.highlight-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

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

.highlight-text h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.highlight-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.info-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Skills Section Styles */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.skill-category-card {
  padding: 1.8rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.cat-icon {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}

.category-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-pill {
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.skill-category-card:hover .skill-pill {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(var(--hue-primary), 85%, 66%, 0.04);
}

.skill-pill:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Timeline/Experience Section Styles */
.timeline-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.timeline-col-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text);
  position: relative;
  padding-left: 0.75rem;
}

.timeline-col-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 4px;
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
}

.timeline-card {
  position: relative;
  margin-bottom: 2.2rem;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-md);
}

.timeline-bullet {
  position: absolute;
  top: 2rem;
  left: -2.05rem;
  width: 14px;
  height: 14px;
  background-color: var(--bg);
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-card:hover .timeline-bullet {
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transform: scale(1.15);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.timeline-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 500;
  background: var(--secondary-glow);
  padding: 0.25rem 0.65rem;
  border-radius: var(--border-radius-full);
}

.timeline-meta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.timeline-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.timeline-details li {
  position: relative;
  padding-left: 1.1rem;
}

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

.timeline-details li strong {
  color: var(--text);
}

.timeline-details-edu {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.education-badge {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--primary-glow);
  color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  width: fit-content;
}

.timeline-details-edu p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Projects Section Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

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

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

.project-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary-glow);
  color: var(--secondary);
  border-radius: var(--border-radius-sm);
  display: grid;
  place-items: center;
}

.project-icon svg {
  width: 22px;
  height: 22px;
}

.project-links a {
  width: 36px;
  height: 36px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.project-links a:hover {
  color: var(--text);
  border-color: var(--secondary);
  background: var(--secondary-glow);
}

.project-links svg {
  width: 18px;
  height: 18px;
}

.project-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.project-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.project-bullet-points {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.project-bullet-points li {
  position: relative;
  padding-left: 1rem;
}

.project-bullet-points li::before {
  content: '•';
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-size: 1.1rem;
  top: -1px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.project-tags span {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
  color: var(--text-muted);
}

/* Leadership & Hackathons Section Styles */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.achievement-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.achievement-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: var(--border-radius-sm);
  display: grid;
  place-items: center;
}

.achievement-icon svg {
  width: 22px;
  height: 22px;
}

.achievement-card h3 {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.achievement-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.achievement-bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.achievement-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.achievement-bullets li strong {
  color: var(--text);
}

/* Contact Section Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
}

.contact-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-glow);
  background: rgba(0, 0, 0, 0.25);
}

.btn-send {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-send {
  transform: translate(3px, -3px);
}

.form-status {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--secondary);
  opacity: 0;
  transition: var(--transition-fast);
}

.aside-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aside-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.aside-description {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-meta-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.meta-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.meta-item a:hover {
  color: var(--primary);
}

.aside-card .social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.social-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-full);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.social-btn:hover {
  background: var(--primary-glow);
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.copy-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.copy-chip:hover {
  background: var(--surface-strong);
  color: var(--text);
}

.copy-chip.copied {
  background: var(--secondary-glow);
  border-color: var(--secondary);
  color: var(--secondary);
}

.copy-icon {
  width: 14px;
  height: 14px;
}

/* Footer Section */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

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

/* Scroll To Top Button */
.scroll-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
}

/* Intersection Observer Animations reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Animations Keyframes */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes cursor-blink {
  50% { border-color: transparent; }
}

/* Responsiveness Media Queries */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 8rem;
    text-align: center;
  }
  
  .hero-badge {
    align-self: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-quick-stats {
    justify-content: center;
  }
  
  .about-grid, .timeline-container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  
  .about-info-grid {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 1.5rem);
    padding: 0.6rem 1.2rem;
  }
  
  .nav-links {
    display: none; /* Mobile menu can be simplified for static view */
  }
  
  .projects-grid, .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section {
    padding: 6rem 1.25rem 3rem;
  }
  
  .cursor-glow {
    display: none; /* Disable cursor glow on mobile/touch screens for performance */
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
