/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
    width: 100%;
  }
  
  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  header nav li {
    width: 100%;
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tool-card {
    padding: 1.5rem;
  }
  
  footer .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  footer .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .tool-card h3 {
    font-size: 1.1rem;
  }
  
  .tool-card p {
    font-size: 0.9rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  body {
    background-color: white;
    color: black;
  }
  
  .btn-primary {
    border: 2px solid #0056b3;
  }
}

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