/* Global Design System & Variables */
:root {
  --bg-main: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1f293d;
  --bg-card-glass: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(56, 189, 248, 0.2);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --secondary: #818cf8;
  --accent: #f43f5e;
  --success: #10b981;
  --warning: #f59e0b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(2, 132, 199, 0.2);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --primary: #0284c7;
  --secondary: #4f46e5;
  --shadow-glow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

code, pre {
  font-family: 'Fira Code', monospace;
}

/* Container & Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-card-glass);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.lang-switch-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 64px 0 48px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-glow);
}

.profile-img-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.badge-status {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: var(--success);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.profile-name {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.profile-title {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.location-tag {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Hero Bio & Stats */
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.hero-headline {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Component */
section.section-block {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.section-title i {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* Gantt Chart Styled & Modern */
.gantt-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  overflow-x: auto;
}

.gantt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.gantt-filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gantt-container {
  min-width: 800px;
  position: relative;
}

/* Gantt Years Header */
.gantt-timeline-header {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
  padding-left: 200px;
  position: relative;
}

.year-tick {
  flex: 1;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
}

.year-tick::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 1px;
  height: 8px;
  background: var(--border-color);
}

/* Gantt Body Rows */
.gantt-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gantt-row {
  display: flex;
  align-items: center;
  height: 38px;
  position: relative;
}

.gantt-label {
  width: 200px;
  min-width: 200px;
  padding-right: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gantt-label i {
  width: 18px;
  color: var(--primary);
  text-align: center;
}

.gantt-track {
  flex: 1;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.05);
}

.gantt-bar {
  position: absolute;
  height: 28px;
  top: 5px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bar-color), var(--bar-color-light, var(--bar-color)));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gantt-bar:hover {
  transform: scaleY(1.1) translateY(-1px);
  filter: brightness(1.25);
  z-index: 10;
}

/* Gantt Tooltip */
.gantt-tooltip {
  position: absolute;
  z-index: 1000;
  background: #0f172a;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  max-width: 320px;
}

.gantt-tooltip.visible {
  opacity: 1;
}

.gantt-tooltip-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.gantt-tooltip-date {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

/* Experience Concurrent Banner & Multi-Track Swimlanes */
.concurrent-info-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.concurrent-info-banner .banner-icon {
  background: var(--primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.concurrent-info-banner .banner-text strong {
  color: var(--text-main);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
}

.concurrent-info-banner .banner-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.concurrent-matrix-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-glow);
}

.matrix-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.matrix-header-title span:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-header-title span:first-child i {
  color: var(--primary);
}

.matrix-badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.matrix-container {
  overflow-x: auto;
  min-width: 650px;
}

.matrix-years {
  display: flex;
  justify-content: space-between;
  padding-left: 170px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.matrix-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  height: 36px;
}

.matrix-label {
  width: 170px;
  min-width: 170px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  white-space: nowrap;
}

.matrix-label i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.matrix-track {
  flex: 1;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.05);
}

.matrix-bar {
  position: absolute;
  height: 26px;
  top: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.matrix-bar:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
  z-index: 5;
}

.bar-poliedro { background: linear-gradient(90deg, #64748b, #475569); border: 1px solid #94a3b8; }
.bar-agenciaclick { background: linear-gradient(90deg, #0284c7, #0369a1); border: 1px solid #38bdf8; }
.bar-fnde { background: linear-gradient(90deg, #d97706, #b45309); border: 1px solid #fbbf24; }
.bar-optimedia { background: linear-gradient(90deg, #ea580c, #c2410c); border: 1px solid #fb923c; }
.bar-tse { background: linear-gradient(90deg, #2563eb, #1d4ed8); border: 1px solid #60a5fa; }
.bar-voxti { background: linear-gradient(90deg, #7c3aed, #6d28d9); border: 1px solid #a78bfa; }
.bar-ifrn { background: linear-gradient(90deg, #10b981, #059669); border: 1px solid #34d399; }
.bar-lais { background: linear-gradient(90deg, #38bdf8, #0284c7); border: 1px solid #7dd3fc; }
.bar-navi { background: linear-gradient(90deg, #f59e0b, #d97706); border: 1px solid #fbbf24; }
.bar-laica { background: linear-gradient(90deg, #8b5cf6, #7c3aed); border: 1px solid #a78bfa; }
.bar-nees { background: linear-gradient(90deg, #ec4899, #db2777); border: 1px solid #f472b6; }

/* Highlight Group for 2014 - Present Concurrent Roles */
.matrix-concurrent-group {
  background: rgba(56, 189, 248, 0.04);
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  margin-top: 10px;
  position: relative;
}

.matrix-concurrent-group .group-label-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.role-badge.efective-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.role-badge.concurrent-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, rgba(255, 255, 255, 0.05) 100%);
}

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

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background: var(--primary);
  transform: scale(1.2);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

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

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.role-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.company-name {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.date-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.timeline-bullets {
  margin-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.timeline-bullets li {
  margin-bottom: 6px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
}

/* PyPI & GitHub Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

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

.project-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-badges {
  display: flex;
  gap: 6px;
}

.badge-pypi {
  background: #3776AB;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.badge-cov {
  background: #10b981;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 16px;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 0.8rem;
}

.project-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-link:hover {
  text-decoration: underline;
}

/* Organization Group Styling */
.org-group {
  margin-bottom: 48px;
}

.org-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.org-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.org-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.org-title a:hover {
  color: var(--primary-hover);
}

.org-badge-count {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.badge-fork {
  background: rgba(156, 163, 175, 0.15);
  border: 1px solid rgba(156, 163, 175, 0.3);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Skills Grid */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.skill-cat-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.skill-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Academic & Certifications */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.edu-degree {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.edu-institution {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.edu-period {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer */
footer.footer-block {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: relative;
    top: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
}

.org-desc {
  display: block;
  width: 100%;
}