/* CSS Custom Properties */
:root {
  /* Modern Tech Colors */
  --primary: 240 100% 67%; /* #4A90FF - Electric Blue */
  --primary-dark: 240 88% 58%; /* #3B7CFF */
  --secondary: 280 100% 78%; /* #C44AFF - Purple */
  --accent: 180 100% 45%; /* #00E6B8 - Cyan */
  --gradient-1: 240 100% 67%;
  --gradient-2: 280 100% 78%;
  --gradient-3: 180 100% 45%;
  
  /* Dark/Light Theme */
  --background: 220 25% 6%; /* #0F0F23 - Dark Navy */
  --surface: 220 20% 10%; /* #1A1B2E - Dark Surface */
  --surface-light: 220 15% 15%; /* #252644 */
  --glass: 220 20% 10% / 0.4; /* Glass effect */
  --glass-border: 240 100% 67% / 0.2;
  
  /* Text Colors */
  --text-primary: 220 20% 95%; /* #F1F5F9 - Light */
  --text-secondary: 220 15% 75%; /* #B8BCC8 */
  --text-muted: 220 10% 55%; /* #8892B0 */
  --border: 220 15% 20%; /* #2D3748 */
  --shadow: 220 25% 6%; /* Same as background */
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(var(--shadow) / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(var(--shadow) / 0.1), 0 2px 4px -2px hsl(var(--shadow) / 0.1);
  --shadow-lg: 0 10px 15px -3px hsl(var(--shadow) / 0.1), 0 4px 6px -4px hsl(var(--shadow) / 0.1);
  --shadow-xl: 0 20px 25px -5px hsl(var(--shadow) / 0.1), 0 8px 10px -6px hsl(var(--shadow) / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 300ms ease-out;
  --transition-slow: 500ms ease-out;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: hsl(var(--text-primary));
  background-color: hsl(var(--background));
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: hsl(var(--text-primary));
  margin-bottom: var(--space-md);
}

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: hsl(var(--surface));
  color: hsl(var(--text-primary));
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: hsl(var(--background));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.btn-outline:hover {
  background: hsl(var(--primary));
  color: white;
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: hsl(var(--glass));
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid hsl(var(--glass-border));
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-link {
  color: hsl(var(--text-secondary));
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: hsl(var(--text-primary));
  margin: 3px 0;
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: 
    radial-gradient(circle at 20% 50%, hsl(var(--primary) / 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, hsl(var(--secondary) / 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, hsl(var(--accent) / 0.2) 0%, transparent 50%),
    linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--surface)) 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: hsl(var(--text-primary));
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.hero-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: var(--space-xs);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-sm);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: hsl(var(--text-muted));
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

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

.hero-image-container {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--primary) / 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.4), hsl(var(--secondary) / 0.4), hsl(var(--accent) / 0.4));
  z-index: 1;
  animation: glow 3s ease-in-out infinite alternate;
  filter: blur(20px);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: hsl(var(--surface));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: orbit 12s linear infinite;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
  top: 20%;
  right: 10%;
}

.floating-icon:nth-child(2) {
  bottom: 30%;
  left: 10%;
}

.floating-icon:nth-child(3) {
  top: 60%;
  right: 20%;
}

.floating-icon i {
  font-size: 1.5rem;
  color: hsl(var(--primary));
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(var(--surface));
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-arrow i {
  color: hsl(var(--primary));
}

/* About Section */
.about {
  padding: var(--space-3xl) 0;
  background: hsl(var(--surface));
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-description {
  font-size: 1.125rem;
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--secondary) / 0.05));
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

/* Skills Section */
.skills {
  padding: var(--space-3xl) 0;
  background: hsl(var(--background));
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.skill-category {
  background: hsl(var(--glass));
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid hsl(var(--glass-border));
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  text-align: center;
  transition: transform var(--transition-normal);
}

.skill-category:hover {
  transform: translateY(-10px);
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
}

.skill-icon i {
  font-size: 2rem;
  color: hsl(var(--primary));
}

.skill-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: var(--space-lg);
}

.skill-list {
  list-style: none;
}

.skill-list li {
  margin-bottom: var(--space-sm);
}

.skill-item {
  display: inline-block;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Projects Section */
.projects {
  padding: var(--space-3xl) 0;
  background: hsl(var(--surface));
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: hsl(var(--glass));
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid hsl(var(--glass-border));
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.project-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon i {
  font-size: 1.5rem;
  color: white;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
}

.project-description {
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.tool-tag {
  background: hsl(var(--surface));
  color: hsl(var(--text-secondary));
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
}

.project-result {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, hsl(var(--accent) / 0.1), hsl(var(--accent) / 0.05));
  border-radius: var(--radius-md);
  border-left: 4px solid hsl(var(--accent));
}

.project-result i {
  color: hsl(var(--accent));
}

.project-result span {
  font-weight: 600;
  color: hsl(var(--text-primary));
}

/* Strengths Section */
.strengths {
  padding: var(--space-3xl) 0;
  background: hsl(var(--background));
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.strength-item {
  background: hsl(var(--glass));
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid hsl(var(--glass-border));
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  text-align: center;
  transition: transform var(--transition-normal);
}

.strength-item:hover {
  transform: translateY(-10px);
}

.strength-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--secondary) / 0.1), hsl(var(--accent) / 0.1));
}

.strength-icon i {
  font-size: 1.75rem;
  color: hsl(var(--secondary));
}

.strength-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: var(--space-md);
}

.strength-description {
  color: hsl(var(--text-secondary));
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: var(--space-3xl) 0;
  background: hsl(var(--surface));
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.contact-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: var(--space-md);
}

.contact-description {
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: hsl(var(--background));
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 1px solid hsl(var(--border));
}

.contact-method:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

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

.contact-label {
  font-size: 0.875rem;
  color: hsl(var(--text-muted));
  font-weight: 500;
}

.contact-value {
  color: hsl(var(--text-primary));
  font-weight: 600;
}

.contact-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-decoration {
  position: relative;
}

.decoration-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
  animation: pulse 4s ease-in-out infinite;
}

.decoration-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: var(--space-sm);
}

.decoration-dots span {
  width: 12px;
  height: 12px;
  background: hsl(var(--primary));
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}

.decoration-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.decoration-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.decoration-dots span:nth-child(4) {
  animation-delay: 0.6s;
}

.decoration-dots span:nth-child(5) {
  animation-delay: 0.8s;
}

/* Footer */
.footer {
  background: hsl(var(--text-primary));
  color: hsl(var(--surface));
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  color: hsl(var(--text-muted));
  margin-top: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: hsl(var(--surface) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--surface));
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: hsl(var(--primary));
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid hsl(var(--surface) / 0.1);
  color: hsl(var(--text-muted));
}

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

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes dot-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes glow {
  0% { 
    transform: scale(1);
    opacity: 0.6;
  }
  100% { 
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes tech-pulse {
  0%, 100% { 
    box-shadow: 0 0 20px hsl(var(--primary) / 0.3);
  }
  50% { 
    box-shadow: 0 0 40px hsl(var(--primary) / 0.6);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: hsl(var(--surface));
    width: 100%;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg) 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-container {
    width: 250px;
    height: 250px;
  }

  .floating-icon {
    width: 50px;
    height: 50px;
  }

  .floating-icon i {
    font-size: 1.25rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-item {
    flex: 1;
    margin: 0 var(--space-xs);
  }

  .stat-number {
    font-size: 2rem;
  }

  .skills-grid,
  .projects-grid,
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-visual {
    order: -1;
  }

  .decoration-circle {
    width: 150px;
    height: 150px;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .container {
    padding: 0 var(--space-sm);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .skill-category,
  .project-card,
  .strength-item {
    padding: var(--space-lg);
  }

  .contact-methods {
    gap: var(--space-md);
  }

  .contact-method {
    padding: var(--space-md);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-buttons,
  .scroll-indicator,
  .footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .section-title {
    font-size: 18pt;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: 0 0% 0%;
    --text-secondary: 0 0% 20%;
    --background: 0 0% 100%;
    --surface: 0 0% 98%;
    --border: 0 0% 70%;
  }
}

/* Focus Styles for Accessibility */
:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
