/* ==========================================================================
   Fescon Custom & Elementor Equivalent Animations
   ========================================================================== */

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 50px, 0);
        opacity: 0;
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes e-animation-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes e-animation-shrink {
    0% { transform: scale(1); }
    100% { transform: scale(0.95); }
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animated {
    animation-duration: 1.25s;
    animation-fill-mode: both;
}

.animated-fast {
    animation-duration: 0.75s;
    animation-fill-mode: both;
}

.animated-slow {
    animation-duration: 2s;
    animation-fill-mode: both;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.slideInLeft {
    animation-name: slideInLeft;
}

.slideInUp {
    animation-name: slideInUp;
}

.e-animation-float {
    animation: e-animation-float 3s ease-in-out infinite;
}

.elementor-animation-shrink:hover {
    transform: scale(0.95);
    transition: transform 0.2s ease-in-out;
}

/* Infinite Logo Marquee */
.logo-slider {
    width: 100%;
    overflow: hidden;
    background: #686868;
    padding: 20px 0;
}

.logo-slider .track {
    display: flex;
    width: calc(250px * 14);
    animation: logoScroll 25s linear infinite;
}

.logo-slider .track:hover {
    animation-play-state: paused;
}

.logo-slider .track img {
    width: 220px;
    height: 120px;
    object-fit: contain;
    margin: 0 15px;
    background: transparent;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-slider .track img:hover {
    transform: scale(1.08);
    opacity: 0.9;
}
