.body{
    background-color:#e5e5e5 ;
}
.font-montserrat {
    font-family: 'Montserrat';
}

.bg-group {
    background-color:#dedfde
}
.primary-color {
    color: #31a3d9;
}

.secondary-color {
    color: #159e4F;
}

.third-color {
    background-color: #159e4F;
}

.third-color:hover {
    background-color: #f06524;
}

.primary-bg {
    background-color: #31a3d9;
}

.secondary-bg  {
    background-color: #159e4F;
}

.secondary-bg:hover {
    background-color: #159e4F;
}

.dark-bg {
    background-color: #188973;
}

p {
    text-align: justify;
}



.title {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Fixe le header en haut de la page et lui donne une largeur complète */


.bg-secondary {
    background-color: #159e4F !important
}

.bg-block{
    background-color:#f9faf7;
}


.navbar li {
    color: #f06524;
    padding: 10px;
    /* Espace autour du texte */
    transition: color 0.4s ease;
    /* Transition fluide pour le changement de couleur */
}

.navhov :hover
{
    color: #159e4F;
    /* Couleur au survol ou lorsqu'actif */
}


/* Carousel start */
.carousel {
    display: flex;
    overflow: hidden;
    
}



.carousel-inner {
    display: flex;
    transition: transform 0.7s ease-in-out;
    width: 100%;
}

.carousel-item {
    position: relative;
    min-width: 100%;
}


.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}
.carousel-content{
    top:20%,
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }

    .carousel-item-img {
        min-height: 500px;
        object-fit: cover;
    }

    /* .carousel-item h1 {
        font-size: 40px !important;
    } */

    .carousel-item p {
        font-size: 16px !important;
    }
    .logo-carousel{
        display: block;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    .logo-carousel{
        display: none;
    }

    .carousel-item-img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

/* Carousel End */

/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
    
}
.services-content .services-item{
    background-color:#dedfde
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: #159e4F;
    /* transition: .5s; */
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    /* transition: .5s; */
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}



.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/

/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: #dedfde;
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/




/*** Events Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}
/* .blog-item .blog-content{
    background-color:#dedfde
} */

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;

}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}

.blog-icon-1 {
    position: relative;
    top: -4px;
}

.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    /* transition: 1s; */
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/*** Events Blog End ***/
/* 
.animation{
    delay-[300ms] duration-[600ms] taos:translate-y-[200px] taos:opacity-0" data-taos-offset="300";
} */




/**
 * Owl Carousel v2.2.1
 * Copyright 2013-2017 David Deutsch
 * Licensed under  ()
 */
/*
