/* FUEL Website Animations CSS */

/* General Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-in-out;
}

.slide-in-top {
    animation: slideInTop 0.8s ease-in-out;
}

.slide-in-bottom {
    animation: slideInBottom 0.8s ease-in-out;
}

.bounce {
    animation: bounce 0.8s ease-in-out;
}

.pulse {
    animation: pulse 1.5s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Header Animations */
.nav-item {
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-3px);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.dropdown-menu {
    animation: fadeInDown 0.3s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
}

.dropdown-item {
    transition: all 0.2s ease;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: rgba(17, 85, 204, 0.1);
    transform: translateX(5px);
}

/* Banner Animations */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.banner-heading {
    animation: fadeInDown 0.8s ease-in-out 0.2s both;
}

.banner-tagline {
    animation: fadeInUp 0.8s ease-in-out 0.4s both;
}

.btn1 {
    animation: fadeIn 0.8s ease-in-out 0.6s both;
    transition: all 0.3s ease;
}

.btn1:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Footer Animations */
.footer-item {
    animation: fadeIn 0.8s ease-in-out;
}

.footer-left {
    animation: slideInLeft 0.8s ease-in-out;
}

.footer-right {
    animation: slideInRight 0.8s ease-in-out;
}

.footer-bottom {
    animation: slideInBottom 0.8s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

@keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.05);}
    100% {transform: scale(1);}
}

@keyframes float {
    0% {transform: translateY(0px);}
    50% {transform: translateY(-10px);}
    100% {transform: translateY(0px);}
}