/* Floating card animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
}

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

.floating-card-2 {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-card-3 {
    animation: float-slow 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Smooth focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

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

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Selection color */
::selection {
    background-color: rgba(5, 150, 105, 0.2);
    color: #064e3b;
}
