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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* Hero section background */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Custom styles for better readability */
.text-balance {
  text-wrap: balance;
}

/* Smooth transitions */
a, button {
  transition: all 0.3s ease;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Print styles */
@media print {
  .sticky, .fixed {
    position: static !important;
  }
  
  .shadow-xl, .shadow-lg, .shadow-md {
    box-shadow: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .text-gray-600 {
    color: #000 !important;
  }
  
  .text-gray-300 {
    color: #fff !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}