
  :root {
    --primary-color2: #2c3e50;
    --primary-color: #004877;
    --secondary-color: #3498db;
    --secondary-color2: #3498dbe5;
    --background-light: #f4f6f7;
    --background-light2: #f4f6f7; 
    --text-color: #333;
    --text-color2: #9b9b9b;
    --text-color-white:#fff;
    --overlay-color: rgba(0,0,0,0.5);
    --overlay-color2: #112b44cc;
    --overlay-color3: #112b44cc;
    --overlay-color4: rgba(0,0,0,0.6);
    --secondary-trans: #3498db00 ;
  }
  
  /* accueil Section */
  .accueil {
    height: 80vh;
    position: relative;
    overflow: hidden;
    z-index: 0;

}
.accueil.start {
    background-image: url('../img/slider-img3.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.accueil-slider {
    height: 100%;
    position: relative;
}

.accueil-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    text-align: left;

}



.accueil-slide.active {
    opacity: 1;
}

.accueil-slide img {
    position: absolute;
    top: 0;
    /* left: 0; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.accueil-slide::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;

    right: 50%;
    height: 100%;
    background: linear-gradient(67deg, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.5) ) ;
    pointer-events: none;
    backdrop-filter: blur(8px);
    transition: right 1s ease-in-out ;
}

.accueil-slide:not(.active) .accueil-content {
    transform: translateX(-100px);
}

.accueil-slide:not(.active) .accueil-content h1, .accueil-slide:not(.active) .accueil-content p {
    opacity: 0;
    transform: translateY(100px);
}

.accueil-content {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px;
    position: relative;
    z-index: 1;
    text-align: right;
    border-right: 5px solid var(--orange);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background:linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)) ;
    transition: ease-in-out all .5s;
    overflow: hidden;

    /* mask: linear-gradient(to right, 
    transparent 0%, 
    black 20%, 
    black 100%
  );
  -webkit-mask: linear-gradient(to right, 
    transparent 0%, 
    black 20%, 
    black 100%
  ); */

}



.accueil-slide a{
    text-decoration: none;
    display: contents;
}

.accueil h1 {
    transition: cubic-bezier(0, 0, 0, 0.99) .5s all  0.5s;
    color: var(--primary-color2);
    font-size: 4rem;
    padding-bottom: 30px;
    /* margin-top: 50px; */
    line-height: 4rem;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    /* color: var(--chocolate); */
background-image: linear-gradient(138deg, var(--orange), #fff 3%, #fff 60%, #3bb1ff );
    background-clip: text;
    text-align: right;
    max-width: 570px;
}



.accueil p {
    position: relative;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    width: 80%;
    /* max-width: 300px; */
    transition: cubic-bezier(0, 0, 0, 0.99) .5s all  1s;
}

/* .btn-slide {
    position: relative;

    background: var(--orange);
    color: white;

    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    transition: all linear 0.5s;
    
}

.btn-slide::before{
    display: block;
    background-color: initial;
    background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
    border-radius: 6px;
    content: "";
    height: 50%;
    left: 2%;
    opacity: .5;
    position: absolute;
    top: 2px;

    width: 96%;

} */

.btn-slide:hover{
    color: white;
    background: var(--secondary-color);
}


/*triangle*/
.triangle {
    position: fixed;
    background: linear-gradient(115deg, var(--secondary-color), var(--secondary-trans));
    clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}

.t1{
    top: -109px;
    left: 0;
    width: 272px;
    height: 350px;
    transform: rotate(90deg)
}

.triangle2{
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
     position: fixed;
    background: var(--orange);
    clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
    transition: ease-in-out all 0.5s;
    cursor: pointer;
}

.triangle2:hover{
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    position: fixed;
    background: var(--orange);
    clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}

.triangle2:hover i{
    opacity: 1;
    transform: scale(1);
    
}

.triangle2 i{
    font-size: 1.9rem;
    color: white;
    opacity: 0;
    transform: scale(0.3) translate(-13px, 13px);
    position: absolute;
    left: 13px;
    bottom: 10px;
    transition: ease-in-out all 0.5s;
}

@media (max-width: 1200px) {
    .accueil-content {
        width: 85%;
    }
}


@media (max-width: 480px) {
    .accueil.start {
        background-image: url('../img/slider-img3-480.jpg');
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .accueil h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
        background-image: linear-gradient(138deg, var(--orange), #fff 3%, #fff 60%, #3bb1ff);
    }
    
    .accueil p {
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .accueil-content {
        width: 100%;
        text-align: justify;
        align-items: center;
        bottom: 0;
        padding-bottom: 7rem;
    }
    .accueil-slide {
        align-items: end;
    }
       
    
    .slider-nav{
        flex-direction: row!important;
        bottom: 14vw!important;
        left: 50%!important;
        transform: translateX(-50%);

    }

    .accueil-slide img {
        width: 100%!important;

    }

    .slider-dot.active {
    background-color: var(--secondary-color);
    /* border-color: var(--primary-color); */
    transform: scale(1.5) translateY(-10px)!important;

}

}



  /* Navigation dots */
.slider-nav {
    position: absolute;
    bottom: 45%;
    left: 1%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--orange);
    cursor: pointer;
    transition: all 0.3s ease;
    /* border: 2px solid rgba(255, 255, 255, 0.8); */
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    /* border-color: var(--primary-color); */
    transform: scale(1.5) translateX(5px);

}

