/* ===================================
   THEME SYSTEM
   =================================== */

/* Default: Light theme */
:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* System dark theme - only when no manual override */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #111111;
    --text: #ffffff;
    --muted: #9ca3af;
    --card: #1a1a1a;
    --border: #2a2a2a;
    --brand: #3b82f6;
    --brand-600: #2563eb;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
}

/* Manual light theme override */
html[data-theme="light"] {
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Manual dark theme override */
html[data-theme="dark"] {
  --bg: #111111;
  --text: #ffffff;
  --muted: #9ca3af;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --brand: #3b82f6;
  --brand-600: #2563eb;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Color scheme declarations */
html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}



/* Improved focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}


* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 100vh;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 25s infinite linear;
  z-index: -1;
}

.floating-shape:nth-child(2) {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, rgba(91, 156, 255, 0.1), rgba(139, 92, 246, 0.1));
  top: 20%;
  left: 10%;
  animation-duration: 25s;
}

.floating-shape:nth-child(3) {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, rgba(34, 197, 94, 0.08), rgba(91, 156, 255, 0.08));
  top: 60%;
  left: 80%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.floating-shape:nth-child(4) {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(34, 197, 94, 0.1));
  top: 80%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 22s;
  animation: float 20s infinite linear, pulse 4s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
  }

  50% {
    transform: translateY(-10px) translateX(-15px) rotate(180deg);
  }

  75% {
    transform: translateY(-30px) translateX(5px) rotate(270deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.floating-shape:nth-child(2) {
  animation: float 20s infinite linear, pulse 4s infinite ease-in-out;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Header theme styles */
.site-header {
  background: transparent;
  border-bottom: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Dark header (system dark or manual dark) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .site-header {
    background: transparent;
    border-bottom: none;
  }
}

html[data-theme="dark"] .site-header {
  background: transparent;
  border-bottom: none;
}

/* Ensure light header for manual light theme */
html[data-theme="light"] .site-header {
  background: transparent;
  border-bottom: none;
}

.theme-toggle,
.nav-toggle {
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.theme-toggle {
  color: #d1d5db;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(59, 130, 246, 0.1);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 60px;
  min-height: 70vh;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  color: var(--muted);
  margin-top: -8px;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.hero-aside img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.section {
  padding: 80px 0;
}

.section h2 {
  margin: 0 0 48px;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin-top: 48px;
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}


/* Ensure nav-toggle (hamburger menu) is always visible */
.nav-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
}

/* Theme toggle button styling */
.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--border);
  transform: scale(1.05);
}

.card h3 {
  margin-top: 0;
}

.card-actions {
  display: flex;
  gap: 10px;
}


.experience-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.experience-points li {
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.experience-points li::before {
  content: "•";
  color: var(--brand);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}



.contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-list a {
  color: var(--brand);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.contact-list a:hover {
  color: var(--brand-600);
  text-decoration: underline;
}

/* Contact icons using CSS pseudo-elements */
.contact-list a[href^="mailto:"]:before {
  content: "📧";
}

.contact-list a[href^="tel:"]:before {
  content: "📞";
}

.contact-list a[href*="linkedin"]:before {
  content: "💼";
}

.contact-list a[href*="github"]:before {
  content: "🔗";
}

.contact-list a[href*="leetcode"]:before {
  content: "💻";
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn.small {
  padding: 6px 10px;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--card);
  /* Fallback for older browsers */
  background: color-mix(in srgb, var(--card) 90%, var(--brand) 10%);
  border-color: var(--brand);
}

.btn.primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.5);
}

/* Resume link in navigation - specific targeting */
a.resume-link {
  background: linear-gradient(45deg, var(--brand), #6366f1);
  color: white;
  border: 1px solid var(--brand);
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
  font-size: 0.9em;
  box-shadow: 0 2px 4px rgba(91, 156, 255, 0.3);
  overflow: hidden;
}

a.resume-link:hover {
  background: linear-gradient(45deg, var(--brand-600), #5855eb);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(91, 156, 255, 0.4);
  border-color: var(--brand-600);
}

a.resume-link::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: calc(100% + 4px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  border-radius: 12px;
}

a.resume-link:hover::before {
  left: 100%;
}

/* Card fade-in animation */
.card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

/* Enhanced Skills Section */
.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.skill-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.category-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  border-radius: 2px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--secondary-bg, var(--card)) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.6s ease;
}

.skill-item:hover::before {
  left: 100%;
}

.skill-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: white;
  transition: all 0.4s ease;
  animation: pulse 2s ease-in-out infinite;
}

.skill-icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skill-item:hover .skill-icon {
  transform: scale(1.15) rotate(5deg);
  animation-play-state: paused;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.skill-level {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.level-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 3px;
  width: 0%;
  transition: width 1s ease-out 0.3s;
  position: relative;
}

.level-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* Skill-specific colors */
.skill-item[data-skill="java"] .skill-icon {
  background: linear-gradient(135deg, #f89820, #ed8b00);
}

.skill-item[data-skill="python"] .skill-icon {
  background: linear-gradient(135deg, #3776ab, #ffd43b);
}

.skill-item[data-skill="javascript"] .skill-icon {
  background: linear-gradient(135deg, #f7df1e, #f0db4f);
  color: #323330;
}

.skill-item[data-skill="c"] .skill-icon {
  background: linear-gradient(135deg, #00599c, #004482);
}

.skill-item[data-skill="cpp"] .skill-icon {
  background: linear-gradient(135deg, #00599c, #004482);
}

.skill-item[data-skill="react"] .skill-icon {
  background: linear-gradient(135deg, #61dafb, #21a6c8);
  color: #20232a;
}

.skill-item[data-skill="angular"] .skill-icon {
  background: linear-gradient(135deg, #dd0031, #c3002f);
}

.skill-item[data-skill="docker"] .skill-icon {
  background: linear-gradient(135deg, #2496ed, #0db7ed);
}

/* AI & ML specific colors */
.skill-item[data-skill="tensorflow"] .skill-icon {
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
}

.skill-item[data-skill="pytorch"] .skill-icon {
  background: linear-gradient(135deg, #ee4c2c, #ff6f47);
}

.skill-item[data-skill="sklearn"] .skill-icon {
  background: linear-gradient(135deg, #f7931e, #ffb347);
}

.skill-item[data-skill="openai"] .skill-icon {
  background: linear-gradient(135deg, #412991, #7c3aed);
}

.skill-item[data-skill="pandas"] .skill-icon {
  background: linear-gradient(135deg, #150458, #263238);
}

.skill-item[data-skill="jupyter"] .skill-icon {
  background: linear-gradient(135deg, #f37626, #f99b3a);
}

/* LLM & Advanced AI specific colors */
.skill-item[data-skill="langchain"] .skill-icon {
  background: linear-gradient(135deg, #1c3aa9, #4f46e5);
}

.skill-item[data-skill="huggingface"] .skill-icon {
  background: linear-gradient(135deg, #ff9d00, #ffb627);
}

.skill-item[data-skill="llamaindex"] .skill-icon {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.skill-item[data-skill="vectordb"] .skill-icon {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.skill-item[data-skill="rag"] .skill-icon {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.skill-item[data-skill="finetuning"] .skill-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

/* Animations */
@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Intersection Observer Animation */
.skill-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.skill-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.skill-item.animate .level-bar {
  width: var(--level, 0%);
}

/* Tablet styles */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-aside img {
    max-width: 280px;
    margin: 0 auto;
    transform: none;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Skills section tablet */
  .skills-wrapper {
    gap: 24px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .skill-category {
    padding: 20px;
  }

  main {
    padding: 20px 16px 40px;
  }

  .section {
    margin: 12px 0;
  }

  .card {
    padding: 20px;
  }
}

/* Mobile styles */
@media (max-width: 640px) {

  /* Ensure full width on mobile */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
    max-width: 100%;
  }

  .container {
    max-width: 100%;
    padding: 0 16px;
    margin: 0;
  }

  /* Ensure all sections are full width */
  section,
  .hero,
  .skills-wrapper,
  .projects-grid {
    width: 100%;
    max-width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    right: 20px;
    top: 56px;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 12px;
    min-width: 150px;
  }

  .nav-menu[aria-expanded="true"] {
    display: flex;
  }


  .site-header {
    padding: 8px 16px;
    position: sticky;
    width: 100%;
    max-width: 100%;
  }

  .logo {
    font-size: 18px;
  }


  main {
    padding: 16px 12px 32px;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }


  .hero {
    padding: 20px 0;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero .subtitle {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-cta .btn {
    width: 200px;
    justify-content: center;
  }

  .hero-aside img {
    max-width: 220px;
    border-radius: 12px;
  }


  .card {
    padding: 16px;
    margin: 8px 0;
  }

  .card h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .card .meta {
    font-size: 13px;
    margin: 8px 0;
  }

  /* Projects grid */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Skills section mobile */
  .skills-wrapper {
    gap: 20px;
  }

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

  .skill-category {
    padding: 16px;
  }

  .skill-item {
    padding: 16px 12px;
  }

  .skill-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .skill-icon svg {
    width: 24px;
    height: 24px;
  }

  .skill-name {
    font-size: 0.85rem;
  }

  /* Skills pills */
  .pill-list {
    gap: 8px;
  }

  .pill-list li {
    padding: 4px 8px;
    font-size: 13px;
  }

  /* Experience points */
  .experience-points li {
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  /* Contact list */
  .contact-list {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .contact-list a {
    padding: 12px 16px;
    justify-content: center;
    width: 100%;
  }

  /* Section headings */
  .section h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  /* Button improvements */
  .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .btn.small {
    padding: 6px 10px;
    font-size: 12px;
  }
}