/* ═══════════════════════════════════════════════════════════
   PORTFOLIO DESIGN SYSTEM — Parth Badiger
   Dark mode, data-viz inspired, recruiter-optimized
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (Design Tokens) ──────────────── */
:root {
  /* Colors — Deep navy with electric accents */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a1f35;
  --bg-card-hover: #222845;
  --bg-glass: rgba(26, 31, 53, 0.7);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #60a5fa;

  --accent-blue: #3b82f6;
  --accent-cyan: #22d3ee;
  --accent-teal: #14b8a6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-green: #10b981;

  --gradient-primary: linear-gradient(135deg, #3b82f6, #22d3ee);
  --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #22d3ee 100%);
  --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.05));
  --gradient-text: linear-gradient(135deg, #60a5fa, #22d3ee);

  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-accent: rgba(59, 130, 246, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(59, 130, 246, 0.3);

  /* Typography */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1200px;
  --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);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}


/* ── Utility / Layout ────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ── Scroll Reveal Animation ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
}

.nav-menu a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
  position: relative;
}

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

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

.nav-menu a:hover::after {
  width: 60%;
  left: 20%;
}

.nav-menu a.active {
  color: var(--text-accent);
}

.nav-menu a.active::after {
  width: 60%;
  left: 20%;
}

.nav-cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
}

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

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}

.hamburger::before { top: 8px; }
.hamburger::after { bottom: 8px; }

.nav-toggle.active .hamburger {
  background: transparent;
}
.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 15px;
}
.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 15px;
}


/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

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

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  bottom: 10%;
  left: -10%;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent);
  top: 40%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4xl);
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent-green);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-name .highlight {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-wrapper {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.4s both;
  flex-wrap: wrap;
}

.hero-title-typed {
  color: var(--accent-cyan);
  font-weight: 600;
  min-width: 1px;
}

.typed-cursor {
  color: var(--accent-cyan);
  font-weight: 300;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.55s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.6s both;
  flex-wrap: wrap;
}

.hero-socials {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.6s ease 0.7s both;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  color: var(--text-accent);
  border-color: var(--border-accent);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

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


/* Hero Image */
.hero-image-wrapper {
  position: relative;
  animation: fadeInRight 0.8s ease 0.5s both;
}

.hero-image-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  filter: blur(30px);
  animation: float 6s ease-in-out infinite;
}

.hero-image-border {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-hero);
  box-shadow: var(--shadow-glow-strong);
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--bg-primary);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease 1s both;
}

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

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
}

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

.btn-secondary:hover {
  border-color: var(--border-accent);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 36px;
  font-size: var(--fs-base);
}


/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-text p:last-child {
  color: var(--text-accent);
  font-weight: 500;
  font-style: italic;
}

.education-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.edu-card:hover::before {
  transform: scaleX(1);
}

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

.edu-card-degree {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.edu-card-field {
  font-size: var(--fs-sm);
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.edu-card-institution {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.edu-card-duration {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.edu-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.edu-card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.edu-card-scholarship {
  margin-top: var(--space-sm);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: var(--fs-xs);
  color: var(--accent-green);
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════
   EXPERIENCE TIMELINE
   ═══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-cyan), var(--accent-teal), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 68px;
  margin-bottom: var(--space-3xl);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 15px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-blue);
  z-index: 2;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  transform: scale(1.2);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  transition: all var(--transition-base);
}

.timeline-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateX(6px);
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.timeline-company {
  font-size: var(--fs-md);
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

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

.timeline-bullets li {
  position: relative;
  padding-left: var(--space-xl);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.timeline-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Metric highlight in timeline bullets */
.metric {
  color: var(--accent-cyan);
  font-weight: 700;
}


/* ═══════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════ */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

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

.project-card.featured {
  grid-column: span 1;
  border-color: rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(34, 211, 238, 0.02));
}

.project-card.featured::before {
  height: 4px;
  background: var(--gradient-hero);
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.project-icon {
  font-size: var(--fs-2xl);
  line-height: 1;
}

.project-featured-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.project-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.project-subtitle {
  font-size: var(--fs-sm);
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.project-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex: 1;
}

.project-highlights {
  margin-bottom: var(--space-lg);
}

.project-highlights li {
  position: relative;
  padding-left: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.6;
  margin-bottom: 4px;
}

.project-highlights li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 10px;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tech-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-blue);
  transition: all var(--transition-base);
  margin-top: auto;
}

.project-link:hover {
  color: var(--accent-cyan);
  gap: var(--space-md);
}

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


/* ═══════════════════════════════════════════════════════════
   WHY ME SECTION
   ═══════════════════════════════════════════════════════════ */
.why-me-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.why-me-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.why-me-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.why-me-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.why-me-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.why-me-title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.why-me-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   OTHER EXPERIENCE (de-emphasised)
   ═══════════════════════════════════════════════════════════ */
.other-experience {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.other-exp-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.other-exp-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.other-exp-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(148, 163, 184, 0.03);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.other-exp-role {
  font-weight: 500;
  color: var(--text-secondary);
}

.other-exp-company {
  color: var(--text-muted);
}

.other-exp-duration {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   BUSINESS INSIGHT callout in project cards
   ═══════════════════════════════════════════════════════════ */
.project-insight {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid var(--accent-green);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-insight-label {
  font-weight: 700;
  color: var(--accent-green);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════
   EDUCATION RANKING badge
   ═══════════════════════════════════════════════════════════ */
.edu-card-ranking {
  margin-top: var(--space-xs);
  font-size: var(--fs-xs);
  color: var(--accent-blue);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SKILLS (Tag-based — no percentage bars)
   ═══════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.skill-category:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.skill-category-icon {
  font-size: var(--fs-xl);
}

.skill-category-name {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.skill-tag {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(59, 130, 246, 0.12);
  transition: all var(--transition-base);
}

.skill-tag:hover {
  background: rgba(59, 130, 246, 0.15);
  color: var(--text-accent);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   CURRENTLY BUILDING
   ═══════════════════════════════════════════════════════════ */
.building-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.building-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.building-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
}

.building-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.1);
  transform: translateY(-4px);
}

.building-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.building-title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
}

.building-status {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.building-status.in-progress {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.building-status.planning {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.building-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.building-eta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT AVAILABILITY NOTE
   ═══════════════════════════════════════════════════════════ */
.contact-availability {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: var(--fs-sm);
  color: var(--accent-green);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}


/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

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

.cert-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cert-issuer {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact {
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-headline {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtext {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.contact-link:hover {
  border-color: var(--border-accent);
  color: var(--text-accent);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-3px);
}

.contact-link svg {
  width: 18px;
  height: 18px;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

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

.footer-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-social-link {
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-social-link:hover {
  color: var(--text-accent);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}


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

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3.5rem;
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
  }

  .hero-container {
    gap: var(--space-2xl);
  }

  .hero-image-border {
    width: 280px;
    height: 280px;
  }

  .about-grid {
    gap: var(--space-2xl);
  }

  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .why-me-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.8rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --space-5xl: 5rem;
    --space-4xl: 3rem;
    --nav-height: 64px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

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

  .nav-menu a {
    font-size: var(--fs-base);
    padding: var(--space-md);
  }

  .nav-cta {
    display: none;
  }

  /* Mobile hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
    display: flex;
    justify-content: center;
  }

  .hero-image-border {
    width: 200px;
    height: 200px;
  }

  .hero-title-wrapper {
    justify-content: center;
  }

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

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

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

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile about */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile timeline */
  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .timeline-dot {
    left: 6px;
    width: 18px;
    height: 18px;
  }

  .timeline-card {
    padding: var(--space-lg);
  }

  /* Mobile projects */
  .project-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile skills */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile certs */
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile why-me */
  .why-me-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile building */
  .building-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile footer */
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 2.2rem;
  }

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

  .hero-stats {
    gap: var(--space-lg);
  }
}
