/* Custom styles */

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
}

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

#mobileMenu.hidden {
    opacity: 0;
    pointer-events: none;
}

#mobileMenu:not(.hidden) {
    opacity: 1;
}

.mobile-link {
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #366a36;
}

/* FAQ button hover */
.faq-btn:hover .faq-icon {
    color: #366a36;
}

/* Subtle focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Navbar scroll state */
header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}
