/* Custom styles — progressive enhancement only */

@media (prefers-reduced-motion: no-preference) {
  .service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Staggered reveal for service cards */
  .service-card:nth-child(1) { transition-delay: 0ms; }
  .service-card:nth-child(2) { transition-delay: 80ms; }
  .service-card:nth-child(3) { transition-delay: 160ms; }
  .service-card:nth-child(4) { transition-delay: 240ms; }
  .service-card:nth-child(5) { transition-delay: 320ms; }
  .service-card:nth-child(6) { transition-delay: 400ms; }
}

/* Mobile menu transitions */
#mobileMenu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #d4a843;
  outline-offset: 2px;
}

/* Navbar scrolled state */
.navbar-scrolled {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Patient card hover */
.group:hover img {
  transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #132238;
}
::-webkit-scrollbar-thumb {
  background: #253d5c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4a843;
}
