/* Custom CSS for animations */

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0; /* Ensures element is hidden before animation */
}

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

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Hover effects for cards - already handled by Tailwind's shadow-lg, but adding consistency */
.service-card:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    transition: transform 0.2s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    transition: transform 0.2s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.02); /* Slightly enlarge on hover */
    transition: transform 0.2s ease-in-out;
}

/* Optional: Add a smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Ensure images cover their containers properly */
.bg-cover {
    background-size: cover;
}

/* Language Switcher Button Active State */
.language-switch-btn.active {
    background-color: #197fe5; /* Your primary blue color */
    color: white;
}