/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0px) rotate(45deg);
    }
    50% {
        transform: translateY(-15px) rotate(45deg);
    }
}

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

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

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

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

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

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

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

/* Navigation Active State */
nav a.active {
    color: #059669;
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Service Card Hover */
.group:hover .group-hover\:bg-emerald-600 {
    background-color: #059669;
}

.group:hover .group-hover\:bg-cream-500 {
    background-color: #fbbf24;
}

/* Testimonial Quote Icon */
.absolute.-top-4.left-8 {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Map Hover */
iframe:hover {
    opacity: 0.95;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .animate-float,
    .animate-float-delay {
        display: none;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
}
