/* Fix for CSS animations not working */

/* Ensure animations are enabled */
* {
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

/* Force animation classes to work */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Ensure GSAP animations work */
.gsap-marker-start,
.gsap-marker-end,
.gsap-marker-scroller-start,
.gsap-marker-scroller-end {
    display: none;
}

/* Force 3D transforms for better performance */
.wow,
.animated,
[class*="fade"],
[class*="bounce"],
[class*="slide"] {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure animation classes are properly applied */
.fadeIn,
.fadeInUp,
.fadeInDown,
.fadeInLeft,
.fadeInRight,
.bounceIn,
.bounceInUp,
.bounceInDown,
.bounceInLeft,
.bounceInRight,
.slideInUp,
.slideInDown,
.slideInLeft,
.slideInRight {
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

/* Additional fixes for animation visibility */
.wow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wow.animated {
    opacity: 1;
}

/* Force hardware acceleration */
.wow,
.animated,
[class*="fade"],
[class*="bounce"],
[class*="slide"],
[class*="rotate"] {
    will-change: transform, opacity;
    -webkit-will-change: transform, opacity;
}

/* Ensure proper stacking context */
.wow {
    position: relative;
    z-index: 1;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    .wow {
        animation-duration: 0.8s !important;
        -webkit-animation-duration: 0.8s !important;
    }
}

/* Debug styles - remove in production */
.wow {
    border: 1px solid transparent;
}

/* linhas verder animados .wow.animated {
    border-color: #00ff00;
}
*/
