/* Animaciones de deslizamiento */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animaciones aplicadas a elementos específicos */
.index5 h1, .index5 p {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.index6 h1, .index6 p {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.index5 h1.animate-left, .index5 p.animate-left {
    animation-name: slideInLeft;
}

.index6 h1.animate-left, .index6 p.animate-left {
    animation-name: slideInLeft;
}

.index2 p, .index2 h1 {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.index2 p.animate-right, .index2 h1.animate-right {
    animation-name: slideInRight;
}

.index4 h1, .index4 p, .index4 h2, .index4 strong {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.index4 h1.animate-fade, .index4 p.animate-fade, .index4 h2.animate-fade, .index4 strong.animate-fade {
    animation-name: fadeIn;
}

/* Animación de deslizamiento para los horarios de atención */
@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animación de deslizamiento para el mapa */
@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Aplicar animación de entrada a los horarios */
.business-hours li {
    opacity: 0;
    animation: slideInUp 1s ease-out forwards;
}

.business-hours li:nth-child(1) {
    animation-delay: 0.2s;
}

.business-hours li:nth-child(2) {
    animation-delay: 0.4s;
}

.business-hours li:nth-child(3) {
    animation-delay: 0.6s;
}

/* Aplicar animación al mapa */
.map-container iframe {
    opacity: 0;
    animation: slideInFromBottom 1s ease-out forwards;
    animation-delay: 0.8s;
}
