/* CSS Variables for Design System */
:root {
  /* Colors - Modern Color Palette */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(240, 10%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 10%, 10%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(240, 10%, 10%);
  --primary: hsl(240, 5%, 10%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 5%, 96%);
  --secondary-foreground: hsl(240, 10%, 10%);
  --muted: hsl(240, 5%, 96%);
  --muted-foreground: hsl(240, 4%, 46%);
  --accent: hsl(240, 5%, 96%);
  --accent-foreground: hsl(240, 10%, 10%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(240, 5%, 90%);
  --input: hsl(240, 5%, 90%);
  --ring: hsl(240, 10%, 10%);
  --radius: 0.75rem;
  
  /* Brand & gradient tokens - Enhanced Colors */
  --brand: hsl(262, 83%, 58%);
  --brand-foreground: hsl(0, 0%, 100%);
  --sidebar-ring: hsl(240, 5%, 96%);
  --accent-blue: hsl(217, 91%, 60%);
  --accent-green: hsl(142, 76%, 36%);
  --accent-orange: hsl(25, 95%, 53%);
  --accent-purple: hsl(262, 83%, 58%);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Gradients - Enhanced Gradients */
  --gradient-hero: radial-gradient(800px 400px at 10% 10%, hsla(262, 83%, 58%, 0.1) 0%, transparent 55%),
    radial-gradient(800px 400px at 90% 20%, hsla(217, 91%, 60%, 0.1) 0%, transparent 55%),
    radial-gradient(600px 300px at 50% 50%, hsla(262, 83%, 58%, 0.1) 0%, transparent 60%);
  --gradient-surface: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 98%) 100%);
  --gradient-text: linear-gradient(135deg, var(--brand) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  --gradient-cta: linear-gradient(135deg, var(--brand) 0%, var(--accent-blue) 100%);
  --gradient-card: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Motion */
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(240, 10%, 4%);
    --foreground: hsl(0, 0%, 95%);
    --card: hsl(240, 10%, 6%);
    --card-foreground: hsl(0, 0%, 98%);
    --popover: hsl(240, 10%, 6%);
    --popover-foreground: hsl(0, 0%, 98%);
    --primary: hsl(0, 0%, 98%);
    --primary-foreground: hsl(240, 10%, 10%);
    --secondary: hsl(240, 4%, 16%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(240, 4%, 16%);
    --muted-foreground: hsl(240, 5%, 65%);
    --accent: hsl(240, 4%, 16%);
    --accent-foreground: hsl(0, 0%, 98%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(240, 4%, 20%);
    --input: hsl(240, 4%, 20%);
    --ring: hsl(240, 5%, 84%);
    
    --brand: hsl(262, 83%, 70%);
    --accent-blue: hsl(217, 91%, 70%);
    --accent-green: hsl(142, 76%, 56%);
    --accent-orange: hsl(25, 95%, 63%);
    --accent-purple: hsl(262, 83%, 70%);
    
    --gradient-hero: radial-gradient(900px 500px at 20% 10%, hsla(262, 83%, 70%, 0.1) 0%, transparent 60%),
      radial-gradient(900px 500px at 80% 25%, hsla(217, 91%, 70%, 0.1) 0%, transparent 60%),
      radial-gradient(700px 400px at 50% 50%, hsla(262, 83%, 70%, 0.1) 0%, transparent 60%);
    --gradient-surface: linear-gradient(180deg, hsl(240, 10%, 6%) 0%, hsl(240, 10%, 4%) 100%);
    --gradient-card: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
  }
}

/* Centered Content Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Main content area */
#main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  transition: all 0.3s ease;
  color: var(--foreground);
  background-color: var(--background);
}

/* Ensure sections have consistent spacing */
#main > section {
  padding: 5rem 0;
  position: relative;
  background-color: transparent;
}



/* Container for content */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Section headers consistency */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  #main > section {
    padding: 3.5rem 0;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .section-title {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* Hero section specific adjustments */
.hero {
  /* padding: 7rem 0 5rem; */
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  color: var(--foreground);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fade-in 0.6s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 0.5rem 0 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-content {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    /* padding: 5rem 0 4rem; */
    text-align: center;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 3rem 0;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .stat-item {
    align-items: center;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}
 

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  max-width: 100%;
  text-align: center;
}

.profile-name {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
  width: 100%;
  text-align: center;
  border-radius: 0.5rem;
  background: var(--gradient-cta);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-md);
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer Styles */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);  
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
}

.footer-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--foreground);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-credit .icon {
  width: 1rem;
  height: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-name {
    font-size: 2rem;
  }
  
  .contact-links {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }
  
  .contact-link {
    width: 100%;
    justify-content: center;
  }
}

/* Base styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--foreground);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
}

a:hover {
  color: var(--accent-blue);
  opacity: 0.9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

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

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* 3 */
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* 2 */
  border-bottom: 1px solid hsl(var(--border) / 0.1);
  padding: 0.5rem 0;
}

.header.scrolled {
  background-color: hsl(var(--background) / 0.95);
  box-shadow: 0 2px 16px hsl(var(--foreground) / 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.25rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.5rem;
  position: relative;
}

/* Logo Styles */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 1002;
}

.nav-logo:hover {
  color: hsl(var(--brand));
  transform: translateY(-1px);
}

.logo-dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-alt)));
  border-radius: 50%;
  position: relative;
  top: -0.25rem;
  box-shadow: 0 0 12px hsl(var(--brand) / 0.5);
  transition: all 0.3s ease;
}

.nav-logo:hover .logo-dot {
  transform: scale(1.2);
  box-shadow: 0 0 20px hsl(var(--brand) / 0.8);
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
  margin-right: auto;
  margin-left: 3rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.75rem 0.5rem;
  display: inline-block;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--brand)), hsl(var(--accent-blue)));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: hsl(var(--foreground));
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: auto;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: space-between;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 1002;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background-color: hsl(var(--muted) / 0.2);
}

.menu-toggle:focus-visible {
  outline: 2px solid hsl(var(--brand));
  outline-offset: 2px;
}

.menu-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: hsl(var(--foreground));
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:first-child {
  transform: translateY(9px) rotate(45deg);
}

.menu-line:last-child {
  transform: translateY(0) rotate(0);
}

.menu-toggle[aria-expanded="true"] .menu-line:first-child {
  transform: translateY(0.5rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
  opacity: 0;
  transform: translateX(1rem);
}

.menu-toggle[aria-expanded="true"] .menu-line:last-child {
  transform: translateY(-0.5rem) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 22rem;
  height: 100vh;
  background: var(--background);
  padding: 5.5rem 1.5rem 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  z-index: 50;
  overflow-y: auto;
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  will-change: transform;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  transform: translateX(0);
  box-shadow: -12px 0 50px rgba(0, 0, 0, 0.15);
}

/* Smooth scroll behavior for iOS */
.mobile-nav {
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mobile-nav.open {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--accent);
  padding-left: 1.5rem;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  opacity: 1;
}

.mobile-nav-actions {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

@media (min-width: 992px) {
  .mobile-nav {
    display: none;
  }
}

/* Backdrop for mobile menu */
.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
  pointer-events: none;
}

.mobile-backdrop.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Smooth transitions for mobile menu items */
.mobile-nav-link {
  opacity: 0;
  transform: translateX(1rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--delay, 0) * 50ms);
}

.mobile-nav.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

/* Add staggered delay for menu items */
.mobile-nav-link:nth-child(1) { --delay: 1; }
.mobile-nav-link:nth-child(2) { --delay: 2; }
.mobile-nav-link:nth-child(3) { --delay: 3; }
.mobile-nav-link:nth-child(4) { --delay: 4; }
.mobile-nav-link:nth-child(5) { --delay: 5; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.5rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
  transition: all 0.2s ease;
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: calc(var(--radius) + 2px);
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.card-description {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradient-x 12s ease infinite;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 90vh;
  align-items: center;
  gap: 3rem;
  /* padding: 6rem 0; */
  z-index: 1;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1.2fr 1fr;
    /* padding: 8rem 0; */
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-text {
    text-align: left;
    margin: 0;
    padding-right: 2rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  animation: fade-in 0.6s ease-out, slide-up 0.4s ease-out;
  animation-fill-mode: both;
}

@media (min-width: 992px) {
  .hero-badge {
    margin: 0;
    align-self: flex-start;
  }
}

.hero-title {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: inherit;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--brand); /* Fallback for older browsers */
  display: inline-block;
  margin: 0.5rem 0;
  animation: fade-in 0.6s ease-out, slide-up 0.6s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4rem;
    line-height: 1.05;
  }
}

.hero-description {
  max-width: 42rem;
  text-align: inherit;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0.5rem 0 1.5rem;
  animation: fade-in 0.6s ease-out, slide-up 0.6s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem 0;
  animation: fade-in 0.6s ease-out, slide-up 0.6s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-feature-settings: 'tnum' on, 'lnum' on;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.25rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand); /* Fallback for older browsers */
  display: inline-block;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  animation: fade-in 0.6s ease-out, slide-up 0.6s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 4rem;
  animation: fade-in 0.6s ease-out, slide-up 0.6s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

@media (min-width: 992px) {
  .hero-visual {
    margin-top: 0;
  }
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

.floating-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  animation: float 8s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  z-index: 2;
}

.floating-card-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  transform: rotate(-5deg);
}

.floating-card-2 {
  top: 50%;
  right: 10%;
  animation-delay: 1s;
  transform: rotate(3deg);
}

.floating-card-3 {
  bottom: 10%;
  left: 15%;
  animation-delay: 2s;
  transform: rotate(-2deg);
}

.card-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.card-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}

.floating-card:hover {
  transform: translateY(-8px) scale(1.05) rotate(0);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.hero-accent {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.hero-accent-left {
  top: 20%;
  left: -10%;
  width: 30rem;
  height: 30rem;
  background: var(--brand);
  animation: pulse 12s ease-in-out infinite;
}

.hero-accent-right {
  bottom: 10%;
  right: -10%;
  width: 25rem;
  height: 25rem;
  background: var(--accent-blue);
  animation: pulse 10s ease-in-out infinite reverse;
  animation-delay: 1s;
}

.hero-accent-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40rem;
  height: 40rem;
  background: var(--accent-purple);
  opacity: 0.05;
  animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1) translate(-50%, -50%);
  }
  50% {
    transform: scale(1.1) translate(-45%, -45%);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }
  50% {
    transform: translateY(-15px) rotate(var(--rotation, 0deg));
  }
}

/* Add rotation variables for floating cards */
.floating-card-1 { --rotation: -5deg; }
.floating-card-2 { --rotation: 3deg; }
.floating-card-3 { --rotation: -2deg; }

@media (min-width: 768px) {
  .hero-accent-left {
    width: 18rem;
    height: 18rem;
  }
  
  .hero-accent-right {
    width: 16rem;
    height: 16rem;
  }
}

/* Section titles */
.section-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  animation: fade-in 0.3s ease-out;
}

.section-subtitle {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* About Section */
.about {
  border-top: 1px solid hsl(var(--border));
  background: var(--gradient-surface);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
  }
}

.about-content {
  grid-column: span 7;
}

.about-text {
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: hsl(var(--secondary));
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  transform: translateX(5px);
  background: hsl(var(--accent));
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.highlight-content p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.about-sidebar {
  grid-column: span 5;
}

.core-focus-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transition: transform 200ms, box-shadow 200ms;
}

.core-focus-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px -10px hsl(var(--brand) / 0.35);
}

.achievement-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transition: transform 200ms, box-shadow 200ms;
  margin-top: 1rem;
}

.achievement-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px -10px hsl(var(--brand) / 0.25);
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.achievement-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.achievement-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.achievement-content p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.core-focus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.core-focus-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
}

/* Projects Section */
.projects {
  border-top: 1px solid hsl(var(--border));
  background: var(--gradient-surface);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .projects {
    padding: 5rem 0;
  }
}

/* Experience Section */
.experience {
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .experience {
    padding: 5rem 0;
  }
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: hsl(var(--border));
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

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

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(var(--brand));
  border: 3px solid hsl(var(--background));
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-content {
  margin-left: 50px;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transition: transform 200ms, box-shadow 200ms;
}

@media (min-width: 768px) {
  .timeline-content {
    margin-left: 0;
    margin-top: -6px;
    width: calc(50% - 30px);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    margin-left: 0;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
  }
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px hsl(var(--brand) / 0.25);
}

.timeline-header {
  margin-bottom: 1rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.timeline-company {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--brand));
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-period {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.timeline-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.timeline-tech .tech-tag {
  padding: 0.25rem 0.75rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.projects-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

.project-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px hsl(var(--brand) / 0.25);
}

.project-card.featured {
  grid-column: span 2;
}

@media (max-width: 767px) {
  .project-card.featured {
    grid-column: span 1;
  }
}

.project-image {
  position: relative;
  height: 200px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.project-icon {
  font-size: 3rem;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsl(var(--foreground) / 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  padding: 0.5rem 1rem;
  background: hsl(var(--brand));
  color: hsl(var(--brand-foreground));
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.project-link:hover {
  background: hsl(var(--accent-blue));
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.project-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.projects-cta {
  text-align: center;
  margin-top: 2rem;
}

.projects-cta .btn {
  margin: 0 auto;
}

/* Experience Section */
.experience {
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .experience {
    padding: 5rem 0;
  }
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: hsl(var(--border));
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

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

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(var(--brand));
  border: 3px solid hsl(var(--background));
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-content {
  margin-left: 50px;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transition: transform 200ms, box-shadow 200ms;
}

@media (min-width: 768px) {
  .timeline-content {
    margin-left: 0;
    margin-top: -6px;
    width: calc(50% - 30px);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    margin-left: 0;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
  }
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px hsl(var(--brand) / 0.25);
}

.timeline-header {
  margin-bottom: 1rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.timeline-company {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--brand));
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-period {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.timeline-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

/* Testimonials Section */
.testimonials {
  border-top: 1px solid hsl(var(--border));
  background: var(--gradient-surface);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 5rem 0;
  }
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.testimonial-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transition: transform 200ms, box-shadow 200ms;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px hsl(var(--brand) / 0.25);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 0.875rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.author-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Skills Section */
.skills {
  border-top: 1px solid hsl(var(--border));
  background: var(--gradient-surface);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .skills {
    padding: 5rem 0;
  }
}

.skills-overview {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .skills-overview {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-category {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transition: transform 200ms, box-shadow 200ms;
}

.skill-category:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px -10px hsl(var(--brand) / 0.35);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.skill-category-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.skill-category-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.skill-level {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-bar {
  flex: 1;
  height: 6px;
  background: hsl(var(--secondary));
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-cta);
  border-radius: 3px;
  transition: width 1s ease;
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.skill-percentage {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--brand));
  min-width: 2.5rem;
}

.skills-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skills-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skills-section-title {
  font-size: 1.125rem;
  font-weight: 500;
  animation: fade-in 0.3s ease-out;
}

.skills-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 200ms;
}

.skill-tag:hover {
  transform: scale(1.05);
}

.skill-tag.primary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.skill-tag.outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.skill-tag.soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.language-item {
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid hsl(var(--border));
  padding: 0.25rem 0.75rem;
  transition: transform 200ms;
}

.language-item:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .contact {
    padding: 5rem 0;
  }
}

.contact-content {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-info-section h3,
.contact-form-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.contact-info-section p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  display: block;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 200ms, transform 200ms;
}

.contact-card:hover {
  box-shadow: 0 8px 24px -8px hsl(var(--foreground) / 0.15);
  transform: scale(1.05);
}

.contact-card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: hsl(var(--brand));
  color: hsl(var(--brand-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.contact-value {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: border-color 200ms, box-shadow 200ms;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
}

.footer-content {
  padding: 2rem 1rem;
}

.footer-main {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.footer-tagline {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer-links h4,
.footer-social h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 200ms;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--secondary));
  color: hsl(var(--muted-foreground));
  transition: background 200ms, color 200ms;
}

.social-links a:hover {
  background: hsl(var(--brand));
  color: hsl(var(--brand-foreground));
  transform: scale(1.1);
}

.social-links a {
  transition: background 200ms, color 200ms, transform 200ms;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

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

.contact-content {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }
}

.contact-info-section h3,
.contact-form-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.contact-info-section p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact Cards */
.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
  background-color: var(--card);
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--brand);
}

.contact-card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--brand);
  padding: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info {
  text-align: left;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 500;
  color: var(--foreground);
  margin: 0;
  transition: color 0.2s;
}

.contact-card:hover .contact-value {
  color: var(--brand);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: var(--gradient-cta);
  color: white;
  font-family: inherit;
  margin-top: 0.5rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact {
    padding: 3rem 0;
  }
  
  .contact-card-content {
    flex-direction: row;
    text-align: left;
  }
  
  .contact-info {
    text-align: left;
  }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Animations */
@keyframes gradient-x {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive adjustments */
/* About Section */
.about {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

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

.about-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-start;
    gap: 4rem;
  }
}

.about-content {
  max-width: 100%;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.about-grid {
  display: grid;
  gap: 3rem;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile First Styles */
.about-content {
  width: 100%;
  box-sizing: border-box;
}

/* Reset all elements within about section to use border-box */
.about *,
.about *::before,
.about *::after {
  box-sizing: border-box;
}

.about-text {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-sidebar {
  width: 100%;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-start;
    gap: 4rem;
  }
  
  .about-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
  }
  
  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.about-text {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 0.25rem;
}

.highlight-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.highlight-content p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: fit-content;
}

@media (min-width: 992px) {
  .about-sidebar {
    position: sticky;
    top: 6rem;
  }
}

.core-focus-card {
  width: 100%;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--foreground);
  position: relative;
  padding-bottom: 0.5rem;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--gradient-cta);
  border-radius: 3px;
}

.core-focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.core-focus-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.core-focus-item:last-child {
  border-bottom: none;
}

.core-focus-item .icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
  margin-top: 0.25rem;
}

.core-focus-item span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  .about {
    padding: 2.5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .about .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .highlight-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin: 0;
    width: 100%;
  }
  
  .highlight-icon {
    margin: 0 0 0.5rem 0;
  }
  
  .core-focus-item {
    padding: 0.75rem 0;
    width: 100%;
  }
  
  .core-focus-item .icon {
    margin-top: 0.15rem;
    flex-shrink: 0;
  }
  
  .about-sidebar {
    padding: 1.25rem;
    width: 100%;
    margin: 0;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .core-focus-item span {
    font-size: 0.9rem;
    display: inline-block;
    width: 100%;
  }
  
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Skills Section */
.skills {
  background-color: var(--background);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.skills .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.skill-category {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.skill-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.skill-category-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.skill-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent-blue));
  border-radius: 0.5rem;
  margin-right: 0.875rem;
  color: white;
  flex-shrink: 0;
}

.skill-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.5px;
}

.skill-category h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--foreground);
  line-height: 1.4;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 -0.25rem;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.skill-chip:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
}

/* Animation for skill chips */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.skill-chip {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
}

.skill-chip:nth-child(1) { animation-delay: 0.05s; }
.skill-chip:nth-child(2) { animation-delay: 0.1s; }
.skill-chip:nth-child(3) { animation-delay: 0.15s; }
.skill-chip:nth-child(4) { animation-delay: 0.2s; }
.skill-chip:nth-child(5) { animation-delay: 0.25s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .skill-category {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .skills {
    padding: 3rem 0;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.5rem;
  }
  
  .skill-category {
    padding: 1.25rem 1rem;
  }
  
  .skill-chips {
    gap: 0.5rem;
  }
  
  .skill-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .nav-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .hero-content {
    min-height: 60vh;
    /* padding: 3rem 0;s */
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  

  
  .about-content,
  .about-sidebar {
    grid-column: span 12;
  }
  
  .skills-overview {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    margin-left: 50px;
    width: auto;
  }
}

/* Utility classes */
.hover-scale {
  transition: transform 200ms;
}

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

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.contact-card:focus,
.form-input:focus,
.form-textarea:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Experience Section */
.experience {
  background-color: var(--background);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.experience .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.experience-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.experience-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.experience-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.experience-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.experience-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.experience-company {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0 0 1rem 0;
  font-weight: 500;
}

.experience-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0 0 1.25rem 0;
  flex: 1;
  opacity: 0.9;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.experience-tags .tag {
  display: inline-block;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 50rem;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.experience-tags .tag:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-1px);
  border-color: var(--brand);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .experience-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .experience {
    padding: 3rem 0;
  }
  
  .experience .section-header {
    margin-bottom: 2rem;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .experience-card {
    padding: 1.5rem 1.25rem;
  }
  
  .experience-icon {
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .experience-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ============================================
   CONTACT METHODS
   ============================================ */
.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method-card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-method {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1.5rem;
}

.contact-method-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.contact-icon-wrapper {
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.contact-icon-bg {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.email-card .contact-icon-bg {
  background: rgba(74, 144, 226, 0.1);
  color: #4a90e2;
}

.linkedin-card .contact-icon-bg {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.github-card .contact-icon-bg {
  background: rgba(24, 23, 23, 0.1);
  color: #181717;
}

.contact-method-card:hover .contact-icon-bg {
  transform: scale(1.1);
}

.contact-text {
  flex-grow: 1;
}

.contact-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.contact-value {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.contact-arrow {
  margin-left: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--primary);
}

.contact-method-card:hover .contact-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact-method-card:hover .contact-label {
  color: var(--primary);
}

.contact-method-card:hover .contact-value {
  color: var(--primary);
}

/* Dark mode adjustments */
[data-theme="dark"] .contact-method-card {
  background: var(--card-foreground);
  border-color: var(--border);
}

[data-theme="dark"] .contact-value {
  color: var(--foreground);
}

[data-theme="dark"] .github-card .contact-icon-bg {
  background: rgba(255, 255, 255, 0.1);
  color: #f0f6fc;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .contact-method-card {
    padding: 1rem;
  }
  
  .contact-icon-bg {
    width: 48px;
    height: 48px;
  }
  
  .contact-method {
    padding: 1.25rem;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .hero-accent {
    display: none;
  }
  
  .hero {
    background: none;
  }
  
  .hero-title {
    color: hsl(var(--foreground));
    background: none;
    -webkit-background-clip: unset;
  }
} 