/*===================== SECTION FIRST OF WEBSITE ===========================*/

.section-first {
    height: 60vh;
    background: #000000;
    color: white;
    display: flex;
    justify-content: space-between;

}
.section-first span.img-relative {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}
.section-first span.img-relative::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(21 37 62 / 13%) 0%, rgb(0 0 0 / 100%) 102.98%);
    /* ou background: rgba(0, 0, 0, 0.5); selon l'effet voulu */
    z-index: 1;
    transition: all 0.5s ease-in-out;
}
.section-first .img-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    z-index: 0;
    opacity: 0;
    transition: all .5s ease-in-out;
    animation: fadeAnimation 15s infinite;
}
.section-first .img-relative img:nth-child(1) {
    animation-delay: 0s;
}
.section-first .img-relative img:nth-child(2) {
    animation-delay: 5s;
}
.section-first .img-relative img:nth-child(3) {
    animation-delay: 10s;
}

@keyframes fadeAnimation {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33.33% { opacity: 1; }
    43.33% { opacity: 0; }
    100% { opacity: 0; }
}

.section-first .content-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    position: absolute;
    top: 30vh;
    z-index: 2;
}
.section-first .content-details title {
    display: block;
    font-weight: 700;
    font-family: var(--font-marcellus);
    font-size: var(--h4-size);   
    text-transform: uppercase;
}
.section-first .content-details p ,
.section-first .content-details .descr {
    width: 53vw;
    text-align: center;
    line-height: 2vw;
    font-family: var(--font-name);
    font-size: var(--p-size);
}

/*===================== SECTION SECUND OF WEBSITE ===========================*/

.section-two {
    display: flex;
    justify-content: center;
    padding-top: 5vw;
    padding-right: 5vw;
    padding-left: 5vw;
    padding-bottom: 5vw;
    transition: all .5s ease-in-out;  
}

.section-two .left-content {
    display: flex;
    flex-direction: column;
    transition: all .5s ease-in-out;  
}
.section-two .left-content span.img-relative {
    position: relative;
    width: 37vw;
    height: 45vw;
    overflow: hidden;  
    border-radius: 5px;
}
.section-two .left-content span.img-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: relative;
    border-radius: 5px;
    transition: all .5s ease-in-out;  
}
.section-two .left-content:hover span.img-relative img {
    transform: scale(1.05);
    transition: all .5s ease-in-out;  
}

.section-two .left-content .content-btn {
    display: flex;
    gap: 2vw;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    bottom: 0vw;
    margin: 0vw;
    background: white;
    width: fit-content;
    color: #000;
    padding: 1.5vw 2vw;
    cursor: pointer;
    border-radius: 0 5px 0 5px;
    border: 1px solid #fff;
    transition: all .5s ease-in-out;
}

.section-two .left-content .content-btn:hover {
    transition: all .5s ease-in-out;
    background: #000;
    border: none;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;

    /* transform: scale(1.05); */
    /* box-shadow: 0px 6px 20px rgba(255, 69, 0, 0.7); */
}
.section-two .left-content .content-btn .icon-btn {
    border-radius: 50%;
    padding: 1vw;
    background: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 1.5s infinite ease-in-out;
    transition: all .5s ease-in-out;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 98, 255, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(0, 98, 255, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 98, 255, 0.5);
    }
}
.section-two .left-content .content-btn:hover .icon-btn {
    transition: all .5s ease-in-out;
    background: white;
    color: #000;
}
.section-two .left-content .content-btn .icon-btn i {
    font-size: .9vw;
}
.section-two .left-content .content-btn .text {
    font-size: 1.5vw;
    font-family: var(--font-name);
    text-transform: uppercase;
    font-weight: 500;
    transition: all .5s ease-in-out;
}
.section-two .left-content .content-btn:hover .text {
    color: #fff;
    transition: all .5s ease-in-out;
}

.section-two .right-content {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    margin-top: 3vw;
}

.section-two .right-content .details-top {
    position: relative;
    left: -3vw;
    border-radius: 5px;
    padding: 2vw 3vw;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 2vw;
    width: 45vw;
    color: #000;
    box-shadow: 5px -1px 17px #ffffff59;
}
.section-two .right-content .details-top .text {
    text-transform: uppercase;
    font-size: var(--h6-size);
    color: #5d8bd3;
    font-weight: 500;
}
.section-two .right-content .details-top .title {
    font-size: 3vw;
    line-height: 4vw;
    font-weight: 700;
    font-family: var(--font-marcellus);
}
.section-two .right-content .details-top .paragraph p,
.section-two .right-content .details-top .paragraph {
    font-family: var(--font-name);
    color: gray;
    line-height: 2vw;
    font-size: 1.3vw;
}
.section-two .right-content .details-top .btn-action {
    padding: 1vw 2vw;
    background: #000;
    width: fit-content;
    color: white;
    text-transform: uppercase;
    border-radius: 5px;
    font-weight: 700;
    border: 1px solid #000;
    transition: all .5s ease-in-out;
}
.section-two .right-content .details-top .btn-action:hover {
    border: 1px solid #000;
    color: #000000;
    transition: all .5s ease-in-out;
    background: white;
}
.section-two .right-content .details-bottom {
    display: flex;
    justify-content: center;
    gap: 2vw;
    position: relative;
    left: -3vw;
}
.section-two .right-content .details-bottom .details-one {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    background: rgba(128, 128, 128, 0.562);
    padding: 1vw 2vw;
    border-radius: 5px;
}
.section-two .right-content .details-bottom .details-one .text {
    font-size: 2vw;
    color: #fff;
    font-weight: 700;
}
.section-two .right-content .details-bottom .details-one .descr {
    font-size: 1.2vw;
    color: #fff;
    font-weight: 300;
    font-family: var(--font-name);
}

/*===================== SECTION THREE OF WEBSITE ===========================*/

.section-three {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    width: 100%;
    padding-right: 5vw;
    padding-left: 5vw;
    padding-bottom: 5vw;
    /* align-items: center; */
}
.section-three .left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5vw;
}
.section-three .left-content span.title {
    font-size: 3vw;
    line-height: 4vw;
    font-weight: 700;
    font-family: var(--font-marcellus);
    text-transform: uppercase;
}
.section-three .left-content .paragraph p ,
.section-three .left-content .paragraph {
    font-family: var(--font-name);
    color: rgb(209, 212, 215);
    line-height: 2vw;
    font-size: var(--p-size);
}
.section-three .left-content .btn-action {
    padding: 1vw 2vw;
    background: #fff;
    width: fit-content;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    border: 1px solid #000;
    transition: all .5s ease-in-out;
}
.section-three .left-content .btn-action:hover {
    border: 1px solid white;
    color: #fff;
    transition: all .5s ease-in-out;
    background: #000;
}

.section-three .right-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
}
.section-three .right-content .one-card {
    display: flex;
    gap: 1.5vw;
    box-shadow: 0px 0px 5px #ffffff58;
    border-radius: 5px;
    padding: 2vw 1vw;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
.section-three .right-content .one-card:hover {
    background: rgb(72 72 72 / 32%);
    transition: all .5s ease-in-out;
}
.section-three .right-content .one-card .icon-desc {
    font-size: 2vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    transition: all .5s ease-in-out;
}
.section-three .right-content .one-card:hover .icon-desc {
    color: #5d8bd3;
    transition: all .5s ease-in-out;
}
.section-three .right-content .one-card .details-desc {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}
.section-three .right-content .one-card .details-desc .title {
    font-size: var(--h6-size);
    text-wrap: wrap;
    font-family: var(--font-name);
    font-weight: 500;
    color: #ffffff;
    transition: all .5s ease-in-out;
}
.section-three .right-content .one-card:hover .details-desc .title {
    color: #fff;
    transition: all .5s ease-in-out;
}
.section-three .right-content .one-card .details-desc .description {
    line-height: 1.65vw;
    font-size: var(--p-size);
    font-weight: 100;
    font-family: var(--font-name);
    color: #b1cbf4;
}
.section-three .right-content .one-card:hover .details-desc .description {
    color: #fff;
}

/*===================== SECTION FOUR OF WEBSITE ===========================*/

.section-partner {
    width: 100%;
    /* overflow: hidden; */
    background: #000;
    padding: 0 0 3vw;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3vw;
    justify-content: center;
    align-items: center;
}

.section-partner .title {
    display: block;
    font-size: 3vw;
    line-height: 4vw;
    font-weight: 700;
    font-family: var(--font-marcellus);
    text-transform: uppercase;
    color: #5d8bd3;
}

.section-partner .carousel-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.section-partner .carousel-track {
    display: flex;
    justify-content: center;
    gap: 3vw;
    width: 100%;
}
.section-partner .carousel-track.actif {
    animation: scroll 15s linear infinite;
    width: calc(100% * 6); /* Double pour effet infini */
}

.section-partner .carousel-track a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 9vw;
    height: 5vw;
    min-width: 15%; /* Ajustez selon le nombre d'éléments */
}

.section-partner .carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.section-partner .carousel-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

/*===================== RESPONSIVE OF HEADER__WEBSITE ===========================*/

@media (max-width:768px) {
    
    .section-first .content-details title {
        font-size: 8vw;
        text-align: center;
    }
    .section-first .content-details p, .section-first .content-details .descr {
        width: 89vw;
        text-align: center;
        line-height: 5vw;
        font-weight: 100;
        font-size: 3.5vw;
    }
    .section-first .content-details {
        gap: 4vw;
        top: 28vh;
        z-index: 2;
    }

    .section-two {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 5vw;
    }
    .section-two .left-content span.img-relative {
        position: relative;
        width: 100%;
        height: 52vw;
    }
    .section-two .left-content .content-btn {
        padding: 1.5vw 3vw;
        background: transparent;
        border: none;
    }
    .section-two .left-content .content-btn:hover {
        transition: all .5s ease-in-out;
        background: transparent;
        border: none;
    }
    .section-two .left-content .content-btn .icon-btn {
        border-radius: 50%;
        padding: 4vw;
    }
    .section-two .left-content .content-btn .text {
        display: none;
    }
    .section-two .left-content .content-btn .icon-btn i {
        font-size: 4.159vw;
        transition: all .5s ease-in-out;
    }


    .section-two .right-content {
        flex-direction: column;
        gap: 4vw;
        margin-top: 3vw;
    }
    .section-two .right-content .details-top {
        position: relative;
        left: 0vw;
        padding: 4vw 3vw;
        gap: 3vw;
        width: 100%;
    }
    .section-two .right-content .details-top .text {
        text-transform: uppercase;
        font-size: 5vw;
    }
    .section-two .right-content .details-top .title {
        font-size: 7vw;
        line-height: 9vw;
        font-weight: 700;
    }
    .section-two .right-content .details-top .paragraph p, .section-two .right-content .details-top .paragraph {
        font-family: var(--font-name);
        color: #181616;
        line-height: 6vw;
        font-size: 3.3vw;
    }
    .section-two .right-content .details-top .btn-action {
        padding: 2vw 5vw;
        background: #000;
        width: fit-content;
        font-size: 5vw;
        font-weight: 500;
    }
    .section-two .right-content .details-bottom {
        left: 0vw;
    }
    .section-two .right-content .details-bottom .details-one {
        gap: 3vw;
        background: rgba(128, 128, 128, 0.562);
        padding: 4vw;
        width: 100%;
    }
    .section-two .right-content .details-bottom .details-one .text {
        font-size: 8vw;
        color: #fff;
        font-weight: 500;
    }
    .section-two .right-content .details-bottom .details-one .descr p {
        font-size: 4.2vw;
        text-align: center;
        color: #fff;
        font-weight: 100;
    }

    .section-three {
        flex-direction: column;
        justify-content: space-between;
        gap: 5vw;
        width: 100%;
    }
    .section-three .left-content {
        gap: 3.5vw;
    }
    .section-three .left-content span.title {
        font-size: 6vw;
        line-height: 4vw;
    }
    .section-three .left-content .paragraph p, .section-three .left-content .paragraph {
        line-height: 7.65vw;
        font-size: 17px;
    }
    .section-three .left-content .btn-action {
        padding: 3vw 4vw;
        background: #fff
    }
    .section-three .right-content {
        grid-template-columns: repeat(1, 1fr);
        gap: 5vw;
    }
    .section-three .right-content .one-card .icon-desc {
        font-size: 13vw;
    }
    .section-three .right-content .one-card {
        gap: 4.5vw;
        flex-direction: column;
        padding: 3vw;
    }
    .section-three .right-content .one-card .details-desc {
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
    .section-three .right-content .one-card .details-desc .title {
        font-size: 6vw;
        text-wrap: wrap;
        font-family: var(--font-name);
        font-weight: 300;
    }
    .section-three .right-content .one-card .details-desc .description ,
    .section-three .right-content .one-card .details-desc .description p {
        line-height: 7.65vw;
        font-size: 18px;
        font-weight: 100;
    }
    
    .section-partner {
        width: 100%;
        padding: 3vw 5vw 5vw;
        flex-direction: column;
        gap: 3vw;    
    }

    .section-partner .title {
        font-size: 7vw;
        line-height: normal;
    }
    .section-partner .carousel-track a {
        width: 28vw;
        height: 27vw;
        min-width: 15%;
    }

}
