/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: opacity 0.4s ease-in-out;
        transform: none !important;
    }
}

/* Floating Animation for Hero Images/Elements */
@keyframes floatUp {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow-1 {
    animation: bounceSlow 3s ease-in-out infinite;
}

.animate-bounce-slow-2 {
    animation: bounceSlow 4s ease-in-out infinite;
}

/* Liquid/Pulse animation for video play button pulse effect */
@keyframes pulseLiquid {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 103, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 103, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 103, 102, 0);
    }
}

.pulse-liquid {
    animation: pulseLiquid 2s infinite;
}

/* Fade In animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-v3 {
    animation: fadeIn 0.4s ease forwards;
}
