/* Custom Animations and Utilities */

/* Float animation for hero cards */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
  background: #2C4A3B;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1A3026;
}

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

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

#mobile-menu.hidden {
  max-height: 0;
  opacity: 0;
}

#mobile-menu:not(.hidden) {
  max-height: 400px;
  opacity: 1;
}
