
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Modern Academic Theme - Light */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --primary-600: #1e40af;
  --primary-700: #1e3a8a;
  --secondary-500: #8b5cf6;
  --secondary-600: #7c3aed;
  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --accent-600: #0891b2;
  --success-500: #10b981;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --shadow-sm: rgba(15, 23, 42, 0.05);
  --shadow-md: rgba(15, 23, 42, 0.1);
  --shadow-lg: rgba(15, 23, 42, 0.15);
  --shadow-xl: rgba(15, 23, 42, 0.2);
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
}

[data-theme='dark'] {
  /* Modern Academic Theme - Dark */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --primary-600: #3b82f6;
  --primary-700: #2563eb;
  --secondary-500: #a78bfa;
  --secondary-600: #8b5cf6;
  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --accent-600: #0284c7;
  --success-500: #34d399;
  --border-light: #334155;
  --border-medium: #475569;
  --shadow-sm: rgba(0, 0, 0, 0.2);
  --shadow-md: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.4);
  --shadow-xl: rgba(0, 0, 0, 0.5);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
}

[data-theme='sunny'] {
  /* Sunny Theme — Natural Light Through Tree Branches */
  --bg-primary: #faf5e9;
  --bg-secondary: #f0e6cc;
  --bg-tertiary: #e3d2ae;
  --bg-card: rgba(255, 252, 238, 0.92);
  --text-primary: #1c1006;
  --text-secondary: #3b2a14;
  --text-tertiary: #6a5030;
  --primary-600: #496640;
  --primary-700: #344f2e;
  --secondary-500: #b5660c;
  --secondary-600: #995508;
  --accent-400: #e6b43c;
  --accent-500: #d09618;
  --accent-600: #b47c0a;
  --success-500: #3a8838;
  --border-light: #cebb96;
  --border-medium: #b09e74;
  --shadow-sm: rgba(38, 22, 4, 0.07);
  --shadow-md: rgba(38, 22, 4, 0.13);
  --shadow-lg: rgba(38, 22, 4, 0.20);
  --shadow-xl: rgba(38, 22, 4, 0.28);
  --gradient-primary: linear-gradient(135deg, #496640 0%, #b5660c 100%);
  --gradient-accent: linear-gradient(135deg, #e6b43c 0%, #496640 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  margin: 0;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

/* Subtle gradient overlay for depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, var(--bg-secondary) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Sunny mode: warm ambient light — soft glow from upper area as if sun is just out of frame */
[data-theme='sunny'] body::before {
  background:
    radial-gradient(ellipse 120% 60% at 38% -5%, rgba(255, 243, 195, 0.90) 0%, rgba(250, 232, 160, 0.55) 35%, transparent 70%),
    radial-gradient(ellipse at top, var(--bg-secondary) 0%, transparent 75%);
  opacity: 1;
}

/* body::after is unused now that the SVG is injected as real DOM by tree-sway.js */
body::after { content: none; }

/* ── Per-weight-class sway animations ─────────────────────────────────────────
   tree-sway.js splits every <path> into .ts-heavy / .ts-medium / .ts-light
   groups based on stroke-width, so each class moves with its own timing and
   amplitude — thick trunks barely shift, thin twigs swing freely.

   transform-box: fill-box makes transform-origin relative to each group's own
   bounding box so they all pivot from their own top-edge (branch attachment point).
   ─────────────────────────────────────────────────────────────────────────── */

@keyframes ts-sway-heavy {
  0%,  100% { transform: rotate(0deg)      translate(0px,  0px);   }
  30%        { transform: rotate(0.22deg)   translate(2px,  0.8px); }
  65%        { transform: rotate(-0.15deg)  translate(-1px, 0.4px); }
}

@keyframes ts-sway-medium {
  0%,  100% { transform: rotate(0deg)     translate(0px,  0px);  }
  22%        { transform: rotate(0.65deg)  translate(6px,  2px);  }
  50%        { transform: rotate(-0.48deg) translate(-4px, 1px);  }
  78%        { transform: rotate(0.35deg)  translate(3px, -0.8px);}
}

@keyframes ts-sway-light {
  0%,  100% { transform: rotate(0deg)     translate(0px,   0px);  }
  18%        { transform: rotate(1.3deg)   translate(12px,  4px);  }
  42%        { transform: rotate(-0.95deg) translate(-8px,  2px);  }
  67%        { transform: rotate(1.1deg)   translate(10px, -2.5px);}
  87%        { transform: rotate(-0.55deg) translate(-4px,  1px);  }
}

/* Applied to SVG <g> elements injected by tree-sway.js */
.ts-heavy {
  transform-box: fill-box;
  transform-origin: 12% 0%;
  animation: ts-sway-heavy 22s ease-in-out infinite;
  will-change: transform;
}

.ts-medium {
  transform-box: fill-box;
  transform-origin: 15% 0%;
  animation: ts-sway-medium 15s ease-in-out infinite;
  animation-delay: -5.3s;
  will-change: transform;
}

.ts-light {
  transform-box: fill-box;
  transform-origin: 20% 0%;
  animation: ts-sway-light 10s ease-in-out infinite;
  animation-delay: -8.7s;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .ts-heavy, .ts-medium, .ts-light { animation: none; }
}

/* Theme toggle positioned in top right */
#theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-md);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

#theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px var(--shadow-lg);
  border-color: var(--accent-500);
  background: var(--bg-secondary);
}

header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

[data-theme='dark'] header {
  background: rgba(30, 41, 59, 0.8);
}

[data-theme='sunny'] header {
  background: rgba(250, 242, 212, 0.88);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}

header h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

nav a:hover {
  color: var(--primary-600);
  background: var(--bg-secondary);
}

nav a:hover::after,
nav a.active::after {
  width: 80%;
}

nav a.active {
  color: var(--primary-600);
  background: var(--bg-secondary);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 5;
}

.section {
  margin-bottom: 4rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.card h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.card p {
  color: var(--text-secondary);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.section-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 6px 12px var(--shadow-soft);
}

.section-card h2 {
  font-family: 'Georgia', serif, 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  text-align: center;
}

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

.contact-form label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.contact-form textarea {
  min-height: 120px;
}

.btn {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px var(--shadow-md);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-xl);
  opacity: 0.95;
}

/* Responsive design */
@media (max-width: 768px) {
  #theme-toggle {
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  main {
    padding: 2rem 1rem;
  }
  
  .card,
  .section-card {
    padding: 1.5rem;
  }
}

/* Writing-specific styles */
.writing-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.writing-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.writing-item h4 {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.writing-meta {
  font-size: 0.9rem;
  color: var(--text-accent);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.writings-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.writings-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.writings-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.writings-list .writings-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.writings-list .writings-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}

.writings-list .writings-abstract {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Experience page improvements */
.experience-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.experience-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.experience-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.experience-period {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.experience-details {
  color: var(--text-secondary);
  line-height: 1.6;
}

.experience-details ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.experience-details li {
  margin-bottom: 0.5rem;
}

/* Project improvements */
.project-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.project-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  color: var(--primary-600);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}

.project-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-md);
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
}

/* Skills improvements */
.skills-category {
  margin-bottom: 2rem;
}

.skills-category strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-600);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Smooth transitions */
.loaded * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Social links styling */
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  color: var(--primary-600);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px var(--shadow-sm);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-md);
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
}

.social-icon {
  font-size: 1.2rem;
}

.social-text {
  font-size: 1rem;
  font-weight: 600;
}
/* Hero Section */
.hero-section {
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px var(--shadow-md);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-xl);
  opacity: 0.95;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--primary-600);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--border-medium);
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--bg-secondary);
  border-color: var(--primary-600);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-lg);
  transition: transform 0.3s ease;
}

.hero-image-placeholder:hover {
  transform: scale(1.05);
}

.hero-profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px var(--shadow-lg);
  border: 4px solid var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px var(--shadow-xl);
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.section-link {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.section-link:hover {
  color: var(--secondary-600);
  transform: translateX(4px);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-lg);
  border-color: var(--primary-600);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.project-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-accent);
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}