/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3f6342;
}

/* Selection Color */
::selection {
    background: #4f7d53;
    color: white;
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(79, 125, 83, 0.1);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Service Card Hover */
.group:hover .group-hover\\:bg-forest-600 {
    background-color: #3f6342;
}

.group:hover .group-hover\\:text-white {
    color: white;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}
