
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: #1b5e20;
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: #1b5e20;
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #1b5e20;
}

.topbar .dropdown .dropdown-menu a:hover {
    background: #1b5e20;
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #1b5e20;
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid #1b5e20;
        color: #1b5e20;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: #1b5e20;
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        /*background: var(--bs-light);*/
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        /*width: 100%;*/
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: #1b5e20;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    /*background: linear-gradient(rgba(1, 110, 38, 0.8), rgba(0, 0, 0, 0.5)), url(../img/blog/case_bg.jpg);*/
    background: linear-gradient(rgb(56 60 58 / 80%), rgba(0, 0, 0, 0.5)), url(../img/blog/case_bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: #1b5e20;
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: #1b5e20;
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: #1b5e20;
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: #1b5e20;
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: #1b5e20;
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: #1b5e20;
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #1b5e20;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: #1b5e20;
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: #1b5e20;
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: #1b5e20;
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: #1b5e20;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: #1b5e20;
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: #1b5e20;
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: #1b5e20;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: #1b5e20;
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: #1b5e20;
}

.footer .footer-item .footer-btn a:hover {
    background: #1b5e20;
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/


/*========================== By Franck Ory ===================================*/
.text-green {
    color: #0d8837;
}
.bg-green {
    background: #0d8837 !important;
}

a {
    text-decoration : none !important;
}

.btn-green {
    background: #0d8837 !important;
    color: #fff !important;
    border-bottom: solid 5px #999 !important;
}

.btn-green:hover{
    background: #999;
    color: #fff;
    border-bottom: solid 5px #0d8837 ;
}


.btn-gray {
    background: #999999;
    color: #fff;
}

.topbar {
    background: #0d8837 !important;
    border-bottom: solid 7px #999;
    color: white;
}

.topbar .text-muted{
    color: white !important;
}

.text-red {
    color: red;
}

.justify-content {
    text-align: justify !important;
}

.centrer p, body {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    /*line-height: 30px;*/
    text-align: justify;
    color: #888888;
}
.bg-light-color {
    background: #f0f7f2 !important;
    color: #333 !important;
}
.bg-light-color p{
    color: #555 !important;
}
.bgGreen{
    background: #0d8837 !important;
}
.bgGray{
    background: #888888 !important;
}

.colorGray{
    color: #888888 !important;
}
.borderGray thead tr th{
    color: #888888 !important;
}

.borderGray{
    border: #888888 !important;
}

.coordonnees{
    color: #fff !important;
}
.footer p.text-white {
    line-height: 25px;
}
.footer{
    font-size: 15px;
    background: #869b8d !important;
    font-family: 'roboto';

}

.footer-item h4{
    border-bottom: solid 1px #ccc;
    padding-bottom: 15px;
}
.coordonnees ul li{
    display: block;
    margin-bottom: 15px;
}
.coordonnees ul li .fa{
    color: white;
    margin-right: 15px;
}

.afterFoot {
    background: #036a03;
    text-align: center;
    color: white;
    font-size: 11px;
    /*padding: 10px;*/
}

.btnGreen {
    background: #036236 !important;
    color: white !important;
}

.rounded-pill-4{
    border-radius: 0 15px 15px 0 !important;
}
body p {
    color: #484848;
}

.caseEnDate ul {
  --col-gap: 2rem;
  --row-gap: 2rem;
  --line-w: 0.25rem;
  display: grid;
  grid-template-columns: var(--line-w) 1fr;
  grid-auto-columns: max-content;
  column-gap: var(--col-gap);
  list-style: none;
  width: min(60rem, 90%);
  margin-inline: auto;
}


/*-------------- Tableau noir a craie--------------------*/
/* Police d'écriture type craie */
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');

.chalkboard-table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #2c2c2c; /* Couleur du tableau noir */
    color: #fff; /* Couleur de la craie blanche */
    font-family: 'Shadows Into Light', cursive; /* Police d'écriture effet craie */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.chalkboard-table caption {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
}

.chalkboard-table th,
.chalkboard-table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}

.chalkboard-table th {
    background-color: #3b3b3b;
    font-weight: bold;
}

.chalkboard-table tr:nth-child(even) {
    background-color: #333;
}

/*-------------- Tableau noir a craie--------------------*/

.caseEnDateSection{
    /*background: #eee;*/
}
/* line */
.caseEnDate ul::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 20;
  background: rgb(225, 225, 225);
  border-radius: calc(var(--line-w) / 2);
}

/* columns*/

/* row gaps */
.caseEnDate ul li:not(:last-child) {
  margin-bottom: var(--row-gap);
}

/* card */
.caseEnDate ul li {
  grid-column: 2;
  --inlineP: 1.5rem;
  margin-inline: var(--inlineP);
  grid-row: span 2;
  display: grid;
  grid-template-rows: min-content min-content min-content;
}

/* date */
.caseEnDate ul li .date {
  --dateH: 3rem;
  height: var(--dateH);
  margin-inline: calc(var(--inlineP) * -1);

  text-align: center;
  background-color: var(--accent-color);

  color: white;
  font-size: 1.25rem;
  font-weight: 700;

  display: grid;
  place-content: center;
  position: relative;

  border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
}

/* date flap */
.caseEnDate ul li .date::before {
  content: "";
  width: var(--inlineP);
  aspect-ratio: 1;
  background: var(--accent-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
  position: absolute;
  top: 100%;

  clip-path: polygon(0 0, 100% 0, 0 100%);
  right: 0;
}

/* circle */
.caseEnDate ul li .date::after {
  content: "";
  position: absolute;
  width: 2rem;
  aspect-ratio: 1;
  background: var(--bgColor);
  border: 0.3rem solid var(--accent-color);
  border-radius: 50%;
  top: 50%;
  background: white;
  transform: translate(50%, -50%);
  right: calc(100% + var(--col-gap) + var(--line-w) / 2);
}

/* title descr */
.caseEnDate ul li .title,
.caseEnDate ul li .descr {
  background: var(--bgColor);
  position: relative;
  padding-inline: 1.5rem;
  color: #888888;
}
.caseEnDate ul li .title {
  overflow: hidden;
  padding-block-start: 1.5rem;
  padding-block-end: 1rem;
  font-weight: 500;
}
.caseEnDate ul li .descr {
  padding-block-end: 1.5rem;
  font-weight: 300;
}

/* shadows */
.caseEnDate ul li .title::before,
.caseEnDate ul li .descr::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  left: 50%;
  border-radius: 50%;
  filter: blur(4px);
  transform: translate(-50%, 50%);
}
.caseEnDate ul li .title::before {
  bottom: calc(100% + 0.125rem);
}

.caseEnDate ul li .descr::before {
  z-index: -1;
  bottom: 0.25rem;
}

@media (min-width: 40rem) {
  .caseEnDate ul {
    grid-template-columns: 1fr var(--line-w) 1fr;
  }
  .caseEnDate ul::before {
    grid-column: 2;
  }
  .caseEnDate ul li:nth-child(odd) {
    grid-column: 1;
  }
  .caseEnDate ul li:nth-child(even) {
    grid-column: 3;
  }

  /* start second card */
  .caseEnDate ul li:nth-child(2) {
    grid-row: 2/4;
  }

  .caseEnDate ul li:nth-child(odd) .date::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    left: 0;

  }

  .caseEnDate ul li:nth-child(odd) .date::after {
    transform: translate(-50%, -50%);
    left: calc(100% + var(--col-gap) + var(--line-w) / 2);
    background: white;

  }
  .caseEnDate ul li:nth-child(odd) .date {
    border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;

  }
}

.credits {
  margin-top: 1rem;
  text-align: right;
}
.credits a {
  color: var(--color);
}
/*------------ Axe d'intervention --------------------*/

.intervention {
    padding: 50px 20px;
    background: #eee;
}

.mainTitle  {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
}

.containerBox {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.box {
    background: #fff;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s ease-in-out;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: gray;
    color: #fff;
}
.box:hover p {
    color: #fff;
}
.box:hover .icon {
    background: #fff;
}
.box:hover .icon i{
    color: green;
}

.icon {
    background: gray;
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon i {
    font-size: 30px;
    color: #fff;
}

h3 {
    /*font-size: 18px;*/
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

p {
    font-size: 14px;
    color: #666;
}

/*------------ End Axe d'intervention --------------------*/

/*-------------- Note mission--------------------*/
#mission-timeline {
    background: #fff;
    padding: 50px 20px;
}

#mission-timeline h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

#mission-timeline .intro {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-container {
    position: relative;
    width: 80%;
    margin: auto;
}

.timeline-category {
    font-size: 18px;
    font-weight: bold;
    color: #004e04;
    margin-top: 30px;
    text-align: left;
}

.timeline-item {
    position: relative;
    padding: 20px;
    border-left: 3px solid #000;
    /*margin-bottom: 20px;*/
}

.timeline-content {
    background: #efeeed;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out;
}

.timeline-content:hover {
    background: #FAF3DD;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    transition: 0.3s ease-in-out;
    /*color: white;*/
}
.timeline-content:hover {

    /*color: white;*/
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
}
#vision {
    background: #0D8837;
}
#vision .title{
    color: green;
    font-weight: bold;
    /*font-size: 38px;*/
}

#vision .visionBox {
    border: solid 1px #eee;
    background: #fff;
    box-shadow:   0px 4px #000;
    color: #6e6a6a;
}
/*-------------- End Note mission--------------------*/
/*-------------------- Partenaire------------------*/
#carousel-partenaires {
  background-color: #ccc;
  padding: 40px 0;
  text-align: center;
  margin-bottom: 40px;
}

#carousel-partenaires h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.carousel-track {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-slide {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scrollLogos 40s linear infinite;
}

.carousel-slide img {
  height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.carousel-slide img:hover {
  filter: none;
  transform: scale(1.05);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*--------------------END  Partenaire------------------*/
/*-------------------------MENU ---------------------*/
/* Reset */


#main-nav {
  /*background: #008000;*/
  font-family: 'Arial', sans-serif;
}

.nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
}

.nav > li {
  position: relative;
}

.nav a {
  color: #424141;
  text-decoration: none;
  padding: 2px;
  transition: background 0.3s ease;
}

.nav a:hover {
  color: #006600;
  text-decoration: underline;
  border-radius: 5px;
}


/* Sous-menu */
.has-submenu:hover .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  background: #ffffff;
  min-width: 200px;
  top: 25px;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 4px;
}

.submenu li {
  border-bottom: 1px solid #eee;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu a {
  color: #333;
  display: block;
  padding: 10px 15px;
  font-weight: normal;
}

.submenu a:hover {
  background: #f1f1f1;
  color: #008000;
}

/*------------------------- END MENU ---------------------*/

/*---------------- Notre Equipe ---------------------------*/
#notre-equipe {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

#notre-equipe h4 {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9B9B9B;
}

#notre-equipe h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: #008000;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.member-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-card img {
  width: 100%;
  /*height: 260px;*/
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.member-card h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.member-card .poste {
  font-size: 14px;
  color: #9B9B9B;
  margin-bottom: 10px;
}

.member-card button {
  background: #008000;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.member-card button:hover {
  background: #006600;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius:
}
/*---------------- End Notre Equipe ---------------------------*/

.text-green {
    color: #168038;
}
.text-gray{
    color: #999 !important;
    cursor: not-allowed;
}
.grayCursor{
    cursor: not-allowed;
}

.image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteneur principal */
.newsletter-form {
  display: flex;
  align-items: center;
  /* background-color: #0b722a; vert foncé */
  border-radius: 30px;
  overflow: hidden;
  width: fit-content;
}

/* Champ email */
.newsletter-form input[type="email"] {
  border: none;
  padding: 10px 15px;
  outline: none;
  font-size: 15px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

/* Bouton */
.newsletter-form button {
  background-color: #0b722a; /* même vert */
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #096020;
}

/* Icône email */
.newsletter-form button i {
  margin-right: 8px;
  font-size: 16px;
}
