/* Accessibility & Contrast Improvements */

/* Improve contrast for better WCAG AA compliance */
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

/* Focus visible for keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #00f0ff;
  outline-offset: 2px;
}

/* Better button contrast */
.bg-white { background-color: #ffffff; }
.text-black { color: #000000; }

/* Enhanced link underline on focus */
a:focus-visible {
  text-decoration: underline;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #00f0ff;
  color: #000;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

/* Ensure proper heading hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* Better alt text styling */
img[alt] {
  border: 1px solid transparent;
}

/* Focus on service cards */
.glass:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2);
}

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