/* Custom Animations */
@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 3s ease-in-out infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #3d8256;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d6642;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid #3d8256;
    outline-offset: 2px;
}

/* Mobile Menu Transition */
#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: 300px;
    opacity: 1;
}

/* Card Hover Effects */
.group:hover .group-hover\:bg-forest-600 {
    background-color: rgb(45 102 66);
}

.group:hover .group-hover\:text-white {
    color: rgb(255 255 255);
}

.group:hover .group-hover\:text-forest-100 {
    color: rgb(220 239 230);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transform: translateY(-1px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Input Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(61, 130, 86, 0.2);
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
