/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  --color-bg: #fafafa;
  --color-bg-alt: #f3f4f6;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-accent: #2563eb;
  --color-accent-light: #dbeafe;
  --color-accent-dark: #1e40af;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-dark: #0f172a;
  --color-dark-surface: #1e293b;
  --color-dark-text: #e2e8f0;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

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

ul {
  list-style: none;
}

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

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #f0f4ff 50%, var(--color-bg-alt) 100%);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--color-text);
  transition: var(--transition);
}

.nav-logo:hover {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--color-text) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-md) !important;
}

.nav-cta:hover {
  background: var(--color-accent) !important;
  color: white !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 40%, #e8f0fe 70%, #fafafa 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating hero elements */
.hero-floating-elements {
  position: absolute;
  inset: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.floating-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  animation: floatSlow 20s ease-in-out infinite;
}

.floating-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -80px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  animation: floatSlow 25s ease-in-out infinite reverse;
}

.floating-shape-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 20%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  animation: floatSlow 18s ease-in-out infinite;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.floating-orb-1 {
  width: 6px;
  height: 6px;
  top: 25%;
  right: 30%;
  background: var(--color-accent);
  opacity: 0.3;
  animation: floatOrb 8s ease-in-out infinite;
}

.floating-orb-2 {
  width: 4px;
  height: 4px;
  top: 60%;
  right: 15%;
  background: #818cf8;
  opacity: 0.25;
  animation: floatOrb 12s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.02); }
  66% { transform: translate(-10px, 15px) scale(0.98); }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  50% { transform: translate(-15px, 20px); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

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

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

.hero-greeting {
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hero-title {
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-name {
  display: block;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  min-width: 140px;
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--color-text);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: var(--color-accent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-tag-light {
  color: var(--color-accent-light);
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text);
}

.section-title-light {
  color: white;
}

.section-description {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: var(--transition);
}

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

.highlight-card:hover::before {
  opacity: 1;
}

/* Color-coded highlight cards */
.highlight-card[data-color="blue"] { --card-color: #2563eb; --card-bg: #dbeafe; }
.highlight-card[data-color="amber"] { --card-color: #d97706; --card-bg: #fef3c7; }
.highlight-card[data-color="emerald"] { --card-color: #059669; --card-bg: #d1fae5; }
.highlight-card[data-color="violet"] { --card-color: #7c3aed; --card-bg: #ede9fe; }

.highlight-card[data-color]::before {
  background: var(--card-color);
}

.highlight-card[data-color]:hover {
  border-color: var(--card-color);
}

.highlight-icon-large {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  color: var(--card-color, var(--color-accent));
}

.highlight-icon-large svg {
  width: 100%;
  height: 100%;
}

.highlight-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.highlight-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========================================
   Timeline / Experience
   ======================================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

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

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 8px;
}

.timeline-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  position: relative;
  z-index: 1;
}

.timeline-item:first-child .timeline-dot {
  background: var(--color-accent);
}

.timeline-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.timeline-date {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.timeline-role {
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.timeline-company {
  display: block;
  font-size: 15px;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.timeline-meta {
  display: inline-block;
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  font-weight: 500;
}

.timeline-details {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-details li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.timeline-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.timeline-tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Color-coded skill categories */
.skill-category[data-color="blue"] { --skill-color: #2563eb; --skill-bg: #dbeafe; --skill-gradient: linear-gradient(135deg, #eff6ff, #dbeafe); }
.skill-category[data-color="purple"] { --skill-color: #7c3aed; --skill-bg: #ede9fe; --skill-gradient: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.skill-category[data-color="emerald"] { --skill-color: #059669; --skill-bg: #d1fae5; --skill-gradient: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.skill-category[data-color="orange"] { --skill-color: #ea580c; --skill-bg: #ffedd5; --skill-gradient: linear-gradient(135deg, #fff7ed, #ffedd5); }
.skill-category[data-color="cyan"] { --skill-color: #0891b2; --skill-bg: #cffafe; --skill-gradient: linear-gradient(135deg, #ecfeff, #cffafe); }
.skill-category[data-color="red"] { --skill-color: #dc2626; --skill-bg: #fee2e2; --skill-gradient: linear-gradient(135deg, #fef2f2, #fee2e2); }

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

/* Skill illustration area */
.skill-illustration {
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--skill-gradient, var(--color-bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--skill-color, var(--color-accent));
  position: relative;
  overflow: hidden;
}

.skill-illustration svg {
  width: 100%;
  height: 100%;
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.skill-category-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg-alt);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.skill-category:hover .skill-pill {
  border-color: transparent;
}

.skill-pill:hover {
  color: var(--skill-color, var(--color-accent));
  background: var(--skill-bg, var(--color-accent-light));
  border-color: transparent;
}

/* ========================================
   Projects Section
   ======================================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.project-card-featured {
  border-color: var(--color-accent);
}

/* Project banners */
.project-banner {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-banner svg {
  width: 100%;
  height: 100%;
}

.project-banner-payments {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #3b82f6 100%);
}

.project-banner-recon {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.project-banner-cicd {
  background: linear-gradient(135deg, #065f46 0%, #059669 40%, #10b981 100%);
}

.project-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.project-card h3,
.project-card > p,
.project-card ul,
.project-card .project-subtitle,
.project-card .project-label,
.project-card .project-tech {
  padding-left: 36px;
  padding-right: 36px;
}

.project-card .project-label {
  margin-top: 28px;
}

.project-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

/* For cards without banners, add top padding to h3 */
.project-card > h3:first-child {
  padding-top: 28px;
}

.project-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.project-card > p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.project-card ul {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.project-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 32px !important;
}

.project-tech span {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ========================================
   Education Section
   ======================================== */
.education-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 560px;
}

.education-icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.education-details h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.education-school {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

.education-year {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--color-accent);
  margin-top: 8px;
}

/* ========================================
   Contact Section
   ======================================== */
.section-dark {
  background: var(--color-dark);
  padding: 100px 0;
}

.section-dark .section-description {
  color: var(--color-dark-text);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.contact-value {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

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

.footer-logo {
  font-weight: 600;
  font-size: 15px;
  color: white;
}

.footer-text {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

  .section-dark {
    padding: 72px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat {
    min-width: 120px;
    padding: 12px 16px;
  }

  .stat-number {
    font-size: 26px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-marker {
    left: -28px;
  }

  .timeline-content {
    padding: 24px;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .project-card h3,
  .project-card > p,
  .project-card ul,
  .project-card .project-subtitle,
  .project-card .project-label,
  .project-card .project-tech {
    padding-left: 24px;
    padding-right: 24px;
  }

  .project-banner {
    height: 100px;
  }

  .skill-illustration {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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