/* -------------------------------------------------------------
 * Custom Stylesheet - Mary Kinyanjui Portfolio
 * Aesthetics: Sleek dark-first mode, Glassmorphism, smooth animations,
 * fluid responsiveness, and premium developer-focused gradients.
 * ------------------------------------------------------------- */

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

:root {
  /* HSL Color Palette - Dark Theme Tokens */
  --bg-primary: hsl(222, 47%, 11%);
  --bg-secondary: hsl(223, 47%, 7%);
  --bg-alt: hsl(222, 47%, 14%);
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 75%);
  --text-muted: hsl(215, 16%, 57%);
  
  --accent-primary: hsl(171, 77%, 40%); /* Teal */
  --accent-primary-hover: hsl(171, 77%, 34%);
  --accent-secondary: hsl(250, 95%, 70%); /* Purple */
  
  --card-bg: rgba(30, 41, 59, 0.4);
  --card-border: rgba(255, 255, 255, 0.06);
  --nav-bg: rgba(15, 23, 42, 0.8);
  --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 16px 40px rgba(0, 0, 0, 0.5);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

[data-theme="light"] {
  /* HSL Color Palette - Light Theme Tokens */
  --bg-primary: hsl(210, 40%, 98%);
  --bg-secondary: hsl(0, 0%, 100%);
  --bg-alt: hsl(210, 40%, 95%);
  --text-primary: hsl(222, 47%, 11%);
  --text-secondary: hsl(215, 25%, 27%);
  --text-muted: hsl(215, 16%, 45%);
  
  --accent-primary: hsl(171, 77%, 34%); /* Teal */
  --accent-primary-hover: hsl(171, 77%, 28%);
  --accent-secondary: hsl(250, 75%, 55%); /* Purple */
  
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 8rem 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 5px;
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.logo-m {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.btn-contact {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(171, 77, 40, 0.1), rgba(250, 95, 70, 0.1));
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary) !important;
}

.btn-contact:hover {
  background: var(--accent-primary);
  color: white !important;
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-btn {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.theme-btn .icon {
  width: 20px;
  height: 20px;
}

/* Hide light/dark mode icon statefully */
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }

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

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s infinite alternate;
}

[data-theme="light"] .blob {
  opacity: 0.08;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: var(--accent-primary);
  top: -10%;
  right: 10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: var(--accent-secondary);
  bottom: -10%;
  left: -5%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -50px) scale(0.9); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
  70% { transform: scale(1); opacity: 0.5; box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-muted);
}

.btn-cv-hero {
  gap: 0.5rem;
}

.btn-cv-hero svg {
  transition: var(--transition);
}

.btn-cv-hero:hover svg {
  transform: translateY(2px);
}

.cv-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-left: 0.4rem;
  text-decoration: none;
  transition: var(--transition);
}

.cv-link-inline:hover {
  text-decoration: underline;
  color: var(--accent-primary-hover);
}

.btn-block {
  width: 100%;
}

/* Visual Card Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 450px;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--card-border);
}

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

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

.card-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.card-body {
  padding: 1.5rem;
  font-family: monospace;
  font-size: 0.9rem;
}

.code-line {
  margin-bottom: 0.5rem;
  color: #94a3b8;
}

.code-keyword { color: #f43f5e; }
.code-prop { color: #38bdf8; }
.code-val { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }
.indent { padding-left: 1.5rem; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 1;
}

.mouse {
  width: 26px;
  height: 44px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 2px;
  animation: scrollMouse 1.8s infinite;
}

@keyframes scrollMouse {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Section Header */
.section-header {
  margin-bottom: 4rem;
}

.section-header.align-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.section-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  margin: 0 auto;
  border-radius: 2px;
}

.section-description {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-column h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-text-column p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-primary);
}

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

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

.feature-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.feature-icon {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--accent-primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Experience Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0.45rem;
  width: 2px;
  height: 100%;
  background-color: var(--card-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

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

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

.timeline-item:hover .timeline-marker {
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-content {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.15);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-role {
  font-size: 1.5rem;
  margin: 0.5rem 0 0.2rem 0;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.timeline-details {
  list-style-type: disc;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.timeline-details li {
  margin-bottom: 0.6rem;
}

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

/* Projects Filter & Grid */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

.project-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  background-color: rgba(20, 184, 166, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.project-link {
  color: var(--text-secondary);
  transition: var(--transition);
}

.project-link:hover {
  color: var(--accent-primary);
}

.project-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.project-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tech span {
  font-family: monospace;
  font-size: 0.8rem;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--card-border);
}

/* Skills Cards */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.skills-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.skills-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.skills-card h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.skills-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-primary);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills-list li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-bar {
  background-color: var(--bg-primary);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.skill-progress {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.info-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.info-item svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

a.info-item:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

/* Form Styles */
.contact-form {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.15);
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--card-border);
  background-color: var(--bg-secondary);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 2rem;
}

.footer-socials a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--accent-primary);
}

/* Entrance Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2rem;
    transition: var(--transition);
    border-top: 1px solid var(--card-border);
  }
  .nav-menu.active {
    left: 0;
  }
  .btn-contact {
    width: 100%;
    text-align: center;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
