.animate__animated.animate__lightSpeedInRight {
    --animate-duration: 0.8s;
}

#corp-homepage{
    width: 100%;
    height: 100%;
}

#banner-homepage{
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 500px;
    background-image: url("../images/banner-MT4x3NL.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#left-banner-homepage{
    width: 40%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2%;
}

#right-banner-homepage{
    width: 60%;
    height: 100%;
    overflow: hidden;
}

.title-banner-homepage-custom{
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    font-style: italic;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -1px;
    transform: skew(-25deg);
}

#box-form-homepage{
    width: 100%;
    max-width: 85%;
    height: auto;
    max-height: 90%;
    padding: 3%;
    background-color: var(--box);
    border: solid 1px var(--primary);
    overflow-y: auto;
}

.btn-secondary-custom{
    background-color: var(--primary);
    color: white;
    font-weight: bolder;
}

.btn-secondary-custom:hover{
    background-color: var(--primary-dark);
    color: white;
}

#info-homepage{
    width: 100%;
    height: auto;
    margin-top: 3%;
    margin-bottom: 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#PopularTransferts-div{
    width: auto;
    height: auto;
    padding: 1%;
    width: 100%;
}

#PopularTransfertsTitle{
    color: var(--primary);
    font-weight: bold;
    width: 100%;
    padding-left: 3%;
    text-transform: uppercase;
    margin-bottom: 5%;
}

.PopularTransfertsCards{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
    width: 100%;
    height: auto;
    margin-top: 2%;
}

.PopularTransferts-card{
    width: 23%;
    height: auto;
    border: none;
}

.img-custom-zoom:hover{
    transform: scale(1.05);
    transition: transform 0.4s;
}

.link-popular-transfert{
    text-decoration: none;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-body{
    width: 100%;
    min-height: 180px;
}

/* Animations au scroll - Version CSS pure */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Quand l'élément est visible dans la vue */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délais différents pour un effet en cascade */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Désactiver les animations pour les préférences réduites */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

#FleetOfVehicles-div{
    width: auto;
    height: auto;
    padding: 1%;
    width: 100%;
    margin-top: 5%;
}

#FleetOfVehiclesTitle{
    color: var(--primary);
    font-weight: bold;
    width: 100%;
    padding-left: 3%;
    text-transform: uppercase;
    margin-bottom: 3%;
}

.link-fleet-of-vehicles{
    text-decoration: none;
    color: var(--primary);
}

#FleetOfVehiclesCards{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 2%;
}

.FleetOfVehicles-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: auto;
    padding-top: 1%;
}

#firstlineFleetOfVehiclesCards{
    margin-bottom: 3%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

#secondlineFleetOfVehiclesCards{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

img.img-fluid{
    width: 80%;
    object-fit: cover;
}

.body-fleet{
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 2%;
}

#OurServices-div{
    width: auto;
    height: auto;
    padding: 1%;
    width: 100%;
    margin-top: 5%;
}

#OurServicesTitle{
    color: var(--primary);
    font-weight: bold;
    width: 100%;
    padding-left: 2%;
    text-transform: uppercase;
    margin-bottom: 5%;
}

#OurServicesCards{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 2%;
}

img.our-service-img{
    max-width: 80px;
    height: auto;
}

.OurServices-card{
    width: 35%;
    display: flex;
    height: auto;
    align-items: flex-end;
    justify-content: flex-start;
    border: var(--primary) 1px solid;
    padding: 1%;
}

.body-our-service{
    width: 100%;
    height: auto;
    margin-left: 2%;
}

/* Responsive */
@media (max-width: 1000px) {
    h1{
        font-size: 48px;
    }
    h5{
        font-size: 38px;
        font-weight: bolder;
    }
    p{
        font-size: 28px;
    }
    .PopularTransfertsCards{
        flex-wrap: wrap;
    }

    .PopularTransferts-card{
        display: flex;
        justify-content: center;
        width: 45%;
        margin-bottom: 3%;
        height: auto;
        min-height: 200px;
        padding-top: 1%;
    }

    .FleetOfVehicles-card{
        width: 65%;
        max-width: 600px;
        margin-bottom: 3%;
    }

    #firstlineFleetOfVehiclesCards{
        display: flex;
        flex-direction: column;
    }

    #secondlineFleetOfVehiclesCards{
        display: flex;
        flex-direction: column;
    }

    #banner-homepage{
        display: flex;
        flex-direction: column;
        align-items: center;
        background-size: 100% 100%;
    }

    #left-banner-homepage{
        order: 2;
        width: 100%;
        margin: 0;
    }

    #right-banner-homepage{
        order: -1;
        width: 100%;
        margin: 0;

        line-height: 0.9;
    }

    #box-form-homepage{
        max-width: 90%;
        margin-bottom: 5%;
    }

    .OurServices-card{
        width: 45%;
        min-height: 200px;
        display: flex;
        align-items: center;
    }

    .whatsapp-button-bottom {
        width: auto !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 40px !important;
        border-radius: 15px !important;
    }

    .whatsapp-button-bottom i {
        font-size: 70px !important;
        line-height: 1;
    }

    .whatsapp-text-bottom {
        display: none !important;
    }

    #cookieToast{
        width: 80% !important;

        height: auto !important;
    }

    strong.me-auto {
        font-size: 30px; /* texte plus grand */
    }

    .toast-body {
        font-size: 28px; /* texte plus grand */
    }

    #cookies-accept{
        font-size: 28px; /* texte plus grand */
    }

    #cookies-refuse{
        font-size: 28px; /* texte plus grand */
    }

    #cookies-customize{
        font-size: 28px; /* texte plus grand */
    }

    #adminDropdownMenu{
        font-size: 2rem;
    }
}

/* Style général du bouton */
.whatsapp-button-bottom {
    position: fixed;
    bottom: 2%;
    right: 2%;
    background-color: #25d366; /* Vert WhatsApp */
    color: white;
    font-weight: bolder;
    font-size: 25px;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-button-bottom:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}