/* Custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all text has proper contrast */
.text-midnight-600 {
  color: #486581;
}

.text-midnight-200 {
  color: #bcccdc;
}

.text-midnight-300 {
  color: #9fb3c8;
}

.text-midnight-400 {
  color: #829ab1;
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #627d98;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #486581;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #22c58e;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .card-hover {
    transition: none;
  }
  
  .card-hover:hover {
    transform: none;
  }
}
