.navbar{
    background-color: black;
}
.logo {
    /* pour bien aligner le logo et le texte */
    transform: translateY(-1px);
}
/* Pour menu */
.nav-link {
    position: relative;
    color: white;
}
/* Pour Connexion et inscription */
    /* Inscription */
    .BtnInsc, .BtnCon {
        /* bouton */
        color: #575757;
        font-weight: bold;
        transition: 0.3s color;
    }

    .BtnInsc:hover, .BtnCon:hover {
    color: black;
    }

/* section page d'acceuil */

/* Pour le carousel */
.carousel {
    /* le positoinnement des éléments du carousel */
    position: relative;
    max-width: 100%;
    max-height: 499px;
    margin-top: 86px;
    overflow: hidden;
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slides {
    /* pour contenir les images et les écrits */
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    /* la taile du slide */
    min-width: 100%;
    position: relative;
}

.slide img {
    /* la dimension du l'image */
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ...existing code... */

/* Version mobile pour le carousel */
@media (max-width: 768px) {

    .carousel {
        margin-top: 40px;
        max-height: none;
        border-radius: 10px;
    }

   .slide img {
        height: auto;           /* Laisse la hauteur s'adapter */
        max-height: 220px;      /* Limite la hauteur sur mobile */
        width: 100%;
        object-fit: contain;    /* Affiche toute l'image sans crop */
        border-radius: 10px;
        background: #fff;       /* Optionnel : fond blanc autour de l'image */
    }

}

@media (max-width: 480px) {

    .carousel {
        margin-top: 75px;
        max-height: none;
        border-radius: 8px;
    }

    .slide img {
        height: auto;
        max-height: 140px;
        width: 100%;
        object-fit: contain;
        border-radius: 8px;
        background: #fff;
    }

}

/* ...existing code... */

.dots {
    /* le petit bouton du carousel */
    text-align: center;
    padding: 3px;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* méthode responsive */
/* pour le téléphone */
@media (max-width: 768px) {
    .legend {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 15px;
    }

    .legend h4 {
        font-size: 1rem;
    }

    .legend button {
        font-size: 0.9rem;
        padding: 3px 8px;
    }

    .slide img {
        height: 300px;
    }
}

/* pour la tablette */
@media (max-width: 480px) {
    .legend {
        padding: 10px;
        bottom: 15px;
    }

    .legend h4 {
        font-size: 1.2rem;
    }

    .legend button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .slide img {
        height: 200px;
    }
}

/* begin::section1-ce-que-nous-faisons */
    .section1 {
        position: relative;
        background-image: url(../img/autres/backgroud_ce_que_nous_faisons.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 50px 0px 0px 0px;
        color: rgb(255, 255, 255);
        z-index: 1;
    }

    .section1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Couche noire semi-transparente */
        backdrop-filter: blur(10px); /* Flou sur l'overlay */
        z-index: -1;
    }

    .section1 a{
        text-decoration: none;
        color: white;
    }
    /* begin::justify-title-ce-que-nous-faisons */
        .justify-title-ce-que-nous-faisons{
            color: white;
            font-size: 30px;
            margin-top: -40px;
        }
    /* end::justify-title-ce-que-nous-faisons */

    .service-card {
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* begin:: color of 4 box */
        .my-color-1{
            background-color : #565656;
            border-radius: 0px;
        }
        .my-color-2{
            background-color : #2890D9;
            border-radius: 0px;
        }
        .my-color-3{
            background-color : #2890D9;
            border-radius: 0px;
        }
        .my-color-4{
            background-color : #565656;
            border-radius: 0px;
        }
    /* end:: color of 4 box */
/* end::section1-ce-que-nous-faisons */

/* begin::section2 */
    .section2{
        color: white;
        background-color: black;
    }

    /* begin::justify-title-apropos */
        .justify-title-apropos{
            color: white;
            font-size: 30px;
            padding-top: 20px;
        }
    /* end::justify-title-apropos */

    /* begin::justify-title-mpadrcvideo */
        .title-media-size{
            font-size: 20px;
        }
    /* end::justify-title-mpadrcvideo */

    .title-media-size-in{
        font-size: 20px;
    }
    .justify-col-box{
        margin-top: 50px;
    }
    /* begin::justify-video-anna */
        .justify-video{
            width: 380px;
            height: 192px;
            margin-top: -40px;
        }
    /* end::justify-video-anna */

    /* begin::button-contactez-nous */
        .justify-button-contact-us{
            font-size: 18px;
            border-radius: 50px;
            background-color: #2890D9;
            color: white;
        }
    /* end::button-contactez-nous */

/* end::section2 */

/* begin::section3 */
    .section3 {
        position: relative;
        background-image: url(../img/autres/backgroud\ temoignage.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 50px 0px 30px 0px;
        color: rgb(255, 255, 255);
        z-index: 1;
        margin-top: -17px;
    }

    .section3::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Couche noire semi-transparente */
        backdrop-filter: blur(10px); /* Flou sur l'overlay */
        z-index: -1;
    }

    /* begin::justify-title-temoignage */
        .justify-title-temoignage{
            color: white;
            font-size: 30px;
            margin-top: -40px;
        }
    /* end::justify-title-temoignage */

    /* begin::justify-sub-title-temoignage */
        .justify-sub-title-temoignage{
            color: white;
            font-size: 27px;
        }
    /* end::justify-sub-title-temoignage */

    .service-card {
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* begin:: color of 2 box */
        .my-color-1-for-section3{
            background-color : #2890D9;
            border-radius: 0px;
        }
        .my-color-2-for-section3{
            background-color : #2890D9
        }
    /* end:: color of 2 box */

    /* begin::justify-button-temoin */
        .justify-button-witness{
            text-decoration: none;
            font-size: 20px;
            color: #ffffff;
            text-transform: uppercase;
            font-weight: bold;
        }
    /* end::justify-button-temoin */

    /* begin::justify-img-dg */
        .justify-img-dg{
            width: 150px;
            height: 150px;
            border-radius: 100px;
            margin-left: 500px;
        }
    /* end::justify-img-dg */

    /* begin::justify-txt-h5-h6 */
        .justify-txt-h5-h6{
            color: white;
            margin-left: 450px;
            margin-top: 50px;
            position: absolute;

        }
    /* end::justify-txt-h5-h6 */

/* end::section3 */

/* begin::section4 */
    .section4{
        background-color: #E6E6E6;
        margin-top: -49px;
        margin-bottom: -49px;
    }  
    .justify-section4{
        padding: 100px 20px 50px 20px;
    }
    .contact-container {
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        overflow: hidden;
        padding: 20px;
    }

    .contact-image {
        background-size: cover;
        width: 700px;
        height: 582px;
    }

    .contact-form button {
        background-color: #2890D9;
        color: white;
        border-radius: 5px;
        padding: 10px;
        width: 100%;
        border: none;
        cursor: pointer;
    }

    .contact-form button:hover {
        background-color: #444;
    }
/* end::section4 */

/* begin::section5 */
    .section5{
        padding-bottom: 30px;
    }
    .justify-my-card {
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        background-color: white;
        padding-top: 15px;
        padding-bottom: 75px;
        padding-left: 15px;
        padding-right: 15px;
        height: 470px;
        width: 335px;
        margin-left: 40px;
    }
    .justify-my-card img {
        border-radius: 10px;
        object-fit: cover;
        width: 300px;
        height: 306px;
    }
    .justify-card-text {
        flex-grow: 1;
        text-align: center;
        font-size: 20px;
        line-height: 23px;
        font-weight: bold;
        margin-top: 5px;
    }
    .btn-about {
        color: rgb(0, 0, 0);
        text-decoration: none;
        margin-bottom: 30px;
    }
    .btn-about:hover {
        color: rgb(58, 58, 58);
        border: none;
    }

    .justify-my-img{
        width: 652px;
        height: 358px;
        margin-top: -120px;
        position: absolute;
        margin-left: 320px;
    }

    .carousel-container {
        width: 100%;
        overflow: hidden;
        justify-content: center;
        align-items: center;
        margin-top: 140px;
    }

    .image-track {
        display: flex;
        gap: 90px;
        animation: scroll 5s linear infinite alternate;
    }

    .image-track img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
    }

    @keyframes scroll {
        0% { transform: translateX(0%); }
        100% { transform: translateX(-100%); }
    }

    footer {
        padding: 2% 10%;
    }

    .box img {
        height: 15rem;
        width: 14rem;
    }

/* end::section5 */

/*begin::section6 */
    .justify-pad-top-bottom{
        padding-bottom: 30px;
        margin-top: -50px;
    }
    .help-card {
        border: none;
        border-radius: 8px;
        background-color: #00000017;
        transition: transform 0.2s;
    }
    /* animation */
    .help-card:hover {
        transform: scale(1.02);
    }

    .white-line {
        border: none;
        height: 2px;
        background-color: white;
        margin: 20px 0;
    }
    /* En-tête cliquable du profil */
        .profile-header {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .image-status {
            position: relative;
            /* positionnement du point vert en absolu */
        }

        .profile-picture {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid white;
            position: relative;
        }

        .profile-picture img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Le point vert est positionné en bas à droite de l’image */
        .status-dot {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 10px;
            height: 10px;
            background-color: #00cc00;
            border-radius: 50%;
            border: 2px solid white;
        }


        .text-info {
            display: flex;
            flex-direction: column;
        }

        .name {
            font-weight: bold;
            font-size: 0.95rem;
        }

        .role {
            font-size: 0.75rem;
        }

        .chevron {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
            position: relative;
            bottom: 8px;
            color: white;
        }

        .chevron.rotate {
            transform: rotate(180deg);
        }

        /* Dropdown stylisé */
        .dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 10px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 1rem;
            width: 220px;
            display: none;
            animation: fadeIn 0.3s ease;
            z-index: 999;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-5px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .dropdown .title {
            text-align: center;
            font-weight: bold;
            font-size: 0.8rem;
            margin-bottom: 4px;
        }

        .dropdown .avatar {
            width: 60px;
            height: 60px;
            margin: 0 auto;
            border-radius: 50%;
            background-color: black;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .dropdown .fullname {
            text-align: center;
            font-weight: bold;
            margin-top: 10px;
        }

        .dropdown .field {
            text-align: center;
            font-size: 0.9rem;
            color: #555;
            margin-top: 4px;
        }

        .buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
        }

        .buttons button {
            flex: 1;
            margin: 0 4px;
            padding: 6px;
            font-size: 0.7rem;
            border: none;
            border-radius: 20px;
            background-color: black;
            color: white;
            cursor: pointer;
        }

        .buttons button:hover {
            background-color: #222;
        }

        @media (max-width: 500px) {
            .navbar {
                flex-direction: column;
                align-items: flex-start;
            }
        }

/* end::section6 */

/* begin::home-file */
    
    /* Style pour le gros bouton bannière */
    .banner-btn {
        position: relative;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-image: url('../img/banner/banner3_management.jpg');
        background-size: cover;
        background-position: center;
        color: white;
        font-weight: bold;
        font-size: 1.5rem;
        border: none;
        transition: all 0.3s;
    }

    .banner-customer{
        padding-top: 70px;
    }
    /* Style pour les boutons principaux */
    .btn-custom {
        background-color: #ffffff;
        border: none;
        transition: all 0.3s;
        font-size: 1rem;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    .btn-custom:hover {
        background-color: #f3f3f3;
    }

    /*Style d'icone du bouton*/
    .icone {
        margin-bottom: 15px;
    }

    /*Responsive mobile*/
    @media(max-width:767px) {
        /* Style button */
        .btn-custom h5{ /*Taille des textes sur chaque button*/
            font-size: 0.9rem; 
        }
        /* Style gros bouton bannière */
        .banner-btn h2{ 
            font-size: 1.4rem;
        }
    }
/* end::home-file */

/* begin::media */
    @media (max-width: 768px) {

        /* begin::justify-title-ce-que-nous-faisons */
            .justify-title-ce-que-nous-faisons{
                color: white;
                font-size: 22px;
                margin-top: -40px;
            }
        /* end::justify-title-ce-que-nous-faisons */

        .service-card {
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        .my-color-3{
            background-color : #565656;
            border-radius: 0px;  
        }

        .my-color-4{
            background-color : #2890D9;
            border-radius: 0px;
        }

        /* begin::justify-title-apropos */
        .justify-title-apropos{
            color: white;
            font-size: 25px;
            padding-top: 20px;
        }
        /* end::justify-title-apropos */

        /* begin::justify-title-mpadrcvideo */
            .title-media-size{
                font-size: 18px;
            }
        /* end::justify-title-mpadrcvideo */

        /* begin::justify-sub-title-anna */
            .title-media-size-in{
                font-size: 15px;
            }
        /* end::justify-sub-title-anna */

        .justify-col-box{
            margin-top: 50px;
        }

        /* begin::justify-video-anna */
            .justify-video{
                width: 370px;
                height: 182px;
            }
        /* begin::justify-video-anna */

        /* begin::button-contactez-nous */
            .justify-button-contact-us{
                font-size: 14px;
                border-radius: 50px;
            }
        /* end::button-contactez-nous */

         /* begin::section3 */
            .section3 {
                padding: 50px 0px 50px 0px;
            }
        /* end::section3 */

        /* begin::justify-sub-title-temoignage */
            .justify-sub-title-temoignage{
                color: white;
                font-size: 20px;
            }
        /* end::justify-sub-title-temoignage */

        /* begin::justify-img-dg */
            .justify-img-dg{
                width: 100px;
                height: 100px;
                border-radius: 100px;
                margin-left: 15px;
            }
        /* end::justify-img-dg */

        /* begin::justify-txt-h5-h6 */
            .justify-txt-h5-h6{
                color: white;
                margin-left: 7px;
                margin-top: 110px;
                position: absolute;
            }
        /* end::justify-txt-h5-h6 */
        
        /* begin::section4 */
            .justify-section4{
                padding: 75px 20px 30px 20px;
            }
        /* end::section4 */
        
        /* begin::section5 */
            .justify-my-card {
                margin-left: 4%;
            }

            .justify-my-img{
                width: 310px;
                height: 200px;
                margin-top: -70px;
                position: absolute;
                margin-left: 25px;
            }

            .carousel-container {
                width: 100%;
                overflow: hidden;
                justify-content: center;
                align-items: center;
                margin-top: 70px;
            }

            .image-track {
                display: flex;
                gap: 30px;
                animation: scroll 5s linear infinite alternate;
            }

            .image-track img {
                width: 80px;
                height: 80px;
                border-radius: 50%;
                object-fit: cover;
            }

            @keyframes scroll {
                0% { transform: translateX(0%); }
                100% { transform: translateX(-100%); }
            }

            .justify-media-footer{
                text-align: center;
            }
            
            .justify-media-footer-logo{
                margin-left: 90px;
            }
        /* end::section5 */
    }
/* end::media */