/* Custom styles and animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #1A3C34;
    border-radius: 4px;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(26, 60, 52, 0.1);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #1A3C34 !important;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease, filter 0.7s ease;
}

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

/* Form validation styles */
input:invalid:not(:placeholder-shown) {
    border-color: #DC2626;
}

input:valid:not(:placeholder-shown) {
    border-color: #1A3C34;
}
