@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/********** Template CSS **********/
:root {
    --primary: #4761FF;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
}

body * {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.7;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fw-medium {
    font-weight: 500;
}

/* Typography improvements for Poppins */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.display-7 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-out, visibility 0s linear 0.15s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.15s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: all 0.15s ease;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    letter-spacing: 0.02em;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 25px;
    height: 25px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-social {
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    transition: all 0.15s ease;
    border-radius: 5px;
}

.btn-social:hover {
    background-color: #ffffff;
    color: #186ed3;
    border-color: #ffffff;
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: all 0.15s ease;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 30px 0;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    /* margin-top: 5px;
    margin-bottom: 5px; */
    transition: all 0.15s ease;
    letter-spacing: 0.01em;
}

.navbar .navbar-nav .nav-link:last-child {
    margin-top: auto;
    padding: 10px 8px !important;
    height: 40px;
    margin-bottom: auto;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: red;
    font-weight: 500;
}

.navbar .navbar-nav .nav-link:last-child:hover {
    color: #fff;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 1400px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 20px;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    #header-carousel .carousel-item {
        height: auto !important;
    }

    .logo-large {
        width: 80px !important;
    }

    .navbar .navbar-nav .nav-link {
        margin-left: 15px;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        margin-left: 0;
        font-size: 15px;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
        padding-top: 1rem;
    }

    .carousel-caption {
        padding: 1.5rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 1;
    padding: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

/* Au-dessus du caption plein écran pour que les clics atteignent les flèches */
#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    z-index: 20;
    cursor: pointer;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #186ed3;
    border: 15px solid #186ed3;
    transition: all 0.15s ease;
}

#header-carousel .carousel-item {
    height: 700px;
    overflow: hidden;
}

/* animate the image */
#header-carousel .carousel-item img {
    -webkit-animation: zoom 40s;
    animation: zoom 40s;
}

/* pointer-events: la zone caption ne capte pas les clics (flèches au-dessus) ; le bloc titre reste cliquable */
#header-carousel .carousel-item .carousel-caption {
    z-index: 11;
    pointer-events: none;
}

#header-carousel .header-carousel-caption-card {
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

#header-carousel .carousel-item .carousel-caption h2 {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {

    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #header-carousel .carousel-item .carousel-caption h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .display-7 {
        font-size: 1.5rem;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.25rem;
    }

    .feature-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .partenaire-content {
        padding: 1.5rem;
    }

    .offres {
        padding: 1.5rem;
    }
}

.page-header {
    /* background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat; */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 16px;
    color: var(--light);
    font-weight: 400;
    letter-spacing: 0.01em;
}


/*** Features ***/
.feature-row {
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .08); */
    margin-bottom: 2rem;
}

.feature-item {
    /* border-color: rgba(0, 0, 0, .03) !important; */
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


/*** About ***/
.about {
    /* background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/about.jpg) left center no-repeat;
    background-size: cover; */
}

.about .start .img {
    height: 450px;
    overflow: hidden;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    transition: all 0.15s ease;
    z-index: 2;
    height: 200px;
    border-bottom: 3px solid #2d7bda;
    border-radius: 12px;
    padding: 1.5rem;
}

.service-item:hover .service-text {
    top: -1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.service-item .service-text h5 {
    transition: all 0.15s ease;
    font-weight: 600;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
    transition: all 0.15s ease;
    z-index: 1;
    border-radius: 8px;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}


/*** Project ***/
.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    transition: all 0.15s ease;
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: all 0.15s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

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

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: all 0.15s ease;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: #186ed3;
    color: #FFFFFF;
}
.missions .feature-row .feature-item{
    /* background-color: #186ed3;
    color: #fff; */
    border-radius: 12px;
    /* font-size: 18px; */
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
    color: #555;
    text-align: justify;
    border: 1px solid #e0e0e0;
    border-bottom: 3px solid #186ed3;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}
.missions .feature-row .feature-item:hover .top-title{
    /* background-color: rgb(246, 60, 60); */
    color: #fff !important;
}
.missions .top-title{
    position: absolute;
    top: -20px;
    background-color: #2d7bda;
    left: 50%;
    transform: translate(-50%, 0px);
    border-radius: 12px;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 32px;
    border: none;
    color: #fff !important;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(45, 123, 218, 0.3);
    /* background-image: linear-gradient(to right, #186ed3 0, #cbe017 30%, #e03912 100%); */
    /* background:linear-gradient(to right, #186ed3 0, #186ed3 33%, #cbe017 33%, #cbe017 66%, #e03912 66%, #e03912 100%); */
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        display: none;
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .service-item .service-text {
        height: auto !important;
    }
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.15s ease;
}

.team-item>.img {
    height: 300px !important;
    background-color: #bfbfbf;
    overflow: hidden;
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
    background-color: #0000009d;
    width: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: all 0.15s ease;
    padding: 0 10px;
}

.team-item:hover .team-social {
    width: auto;
}

.team-item:hover .team-social li {
    margin-left: 5px;
    opacity: 1;
    color: #fff;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    transition: all 0.15s ease;
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: all 0.15s ease;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: #d01421;
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
    border: 3px solid #fff;
    background-color: #cccccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: all 0.15s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .navbar-light .navbar-toggler {
        position: absolute;
        right: 0;
        top: 8px;
        box-shadow: none;
        border: none;
    }

    .navbar {
        justify-content: left;
    }

    .testimonial-carousel .owl-nav {
        display: none;
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .missions .feature-row > div{
        margin-bottom: 2.5rem;
    }

    .missions .feature-row .feature-item {
        padding: 1.5rem 1rem;
    }
    .about .start .img{
        height: 250px;
    }
    .about .remove-p-m-mobile{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .container-xxl.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .footer {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .pb-5,
    .pt-5 {
        padding-bottom: 1.5rem !important;
    }
    .missions .top-title{
        padding: 6px 20px;
        font-size: 16px;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
    .home-title-actus {
        height: auto;
        overflow: inherit;
    }
}


/*** Footer ***/
.footer {
    color: #fff;
    background-color: #1a6ed3 !important;
    border-bottom: 1px solid #8c8c8c;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.15s ease;
    font-size: 14px;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 0.05em;
    box-shadow: none;
}

.copyright,
.copyright a {
    color: #fff !important;
}

.copyright {
    background: #186ed3;
}

.copyright a:hover {
    color: var(--primary) !important;
}

/* Meeeeeee */
.with-bar-end {
    position: relative;
    overflow: hidden;
}

.with-bar-end::after {
    position: absolute;
    content: ' ';
    text-align: center;
    height: 2px;
    width: 100%;
    background-color: #000;
    top: 45%;
    margin-left: 40px;
}

.home-title-actus {
    height: 75px;
    overflow: hidden;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.15s ease;
    font-size: 1.2rem;
    color: #ddd !important;
}

.project-item:hover .home-title-actus {
    color: #186ed3;
}

.project-item .p-4.border {
    padding: 1.75rem !important;
    transition: all 0.15s ease;
}

.project-item:hover .p-4.border {
    background-color: #f8f9fa;
}

.fs-14 {
    font-size: 14px;
}

.dropdown-menu {
    min-width: 300px;
    border-radius: 0px !important;
}

.bg-dark,
.bg-primary {
    background-color: #186ed3 !important;
}

.btn-primary {
    background-color: #d01421;
    border: none;
}

.btn-primary:hover {
    background-color: #d01421;
}

.text-primary {
    color: #186ed3 !important;
}

.page-item.active .page-link {
    background-color: #186ed3;
    border: none;
}

/* .feature-row .feature-item p{
    color: #d01421;
} */
.feature-row .feature-item,
.feature-row .feature-item h5 {
    transition: all 0.15s ease;
}

.feature-row .feature-item h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-row .feature-item p {
    line-height: 1.8;
    margin-bottom: 0;
}

.feature-row .feature-item:hover {
    /* background-color: #186ed3; */
    /* color: #fff !important; */
    border-color: #186ed3;
}

.feature-row .feature-item:hover h5 {
    /* color: #fff; */
    color: #186ed3;
}

.category-details .news-heading {
    margin-bottom: 15px;
}

.category-details .news-heading h4 {
    color: #444444;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-details .news-heading ul li {
    font-size: 13px;
    color: #666666;
    margin-right: 15px;
}

.category-details .news-heading ul li i {
    color: #969696;
    margin-right: 5px;
}

.category-details .news-heading ul li a {
    font-size: 13px;
    color: #666666;
}

.category-details .news-content img {
    margin-bottom: 30px;
}

.category-details .news-content * {
    text-align: justify !important;
    line-height: 1.8;
}

.category-details .news-content p {
    margin-bottom: 1.25rem;
}

/* Page Content - Formatage du contenu TinyMCE */
.page-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

.page-content * {
    text-align: justify;
}

.page-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #186ed3;
}

.page-content h1 {
    font-size: 2rem;
}

.page-content h2 {
    font-size: 1.75rem;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content h4 {
    font-size: 1.25rem;
}

.page-content h5 {
    font-size: 1.1rem;
}

.page-content h6 {
    font-size: 1rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.page-content ul {
    list-style-type: disc;
}

.page-content ol {
    list-style-type: decimal;
}

.page-content a {
    color: #186ed3;
    text-decoration: none;
    transition: color 0.15s ease;
}

.page-content a:hover {
    color: #2d7bda;
    text-decoration: underline;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.page-content blockquote {
    border-left: 4px solid #186ed3;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.page-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.page-content table th,
.page-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.page-content table th {
    background-color: #186ed3;
    color: #ffffff;
    font-weight: 600;
}

.page-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.page-content strong,
.page-content b {
    font-weight: 600;
    color: #333;
}

.page-content em,
.page-content i {
    font-style: italic;
}

.page-content code {
    background-color: #f1f3fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d01421;
}

.page-content pre {
    background-color: #f1f3fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.page-content pre code {
    background-color: transparent;
    padding: 0;
    color: #333;
}

/* Missions Immersives - Style unique pour la page À propos */
.missions-immersive {
    margin-top: 3rem;
    padding-top: 3rem;
}

.missions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-card {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #186ed3;
}

.mission-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #186ed3 0%, #2d7bda 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    box-shadow: 0 4px 12px rgba(24, 110, 211, 0.3);
    position: relative;
    z-index: 1;
}

.mission-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #186ed3;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.mission-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .mission-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .mission-number {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .mission-title {
        font-size: 1.25rem;
    }

    .mission-description {
        font-size: 1rem;
    }
}

.bg-facebook,
.btn-facebook {
    background-color: #3b5898 !important;
    color: #fff;
}

.bg-twitter,
.btn-twitter {
    background-color: #3992d6 !important;
    color: #fff;
}

.bg-linkedin,
.btn-linkedin {
    background-color: #3371b7 !important;
    color: #fff;
}

.bg-pinterest,
.btn-pinterest {
    background-color: #c9261a !important;
    color: #fff;
}

.bg-envelope,
.btn-envelope {
    background-color: #f2610b !important;
    color: #fff;
}

.tab-widget .right-title {
    background: #3974b7;
    color: #fff;
    border-radius: 0;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 10px;
}

.appel-offres {
    background-color: #EFF1F1;
    padding-top: 50px;
    padding-bottom: 70px;
}

.offres {
    border: 2px solid #3974b752;
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
    transition: all 0.15s ease;
    margin-bottom: 1.5rem;
}

.offres:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    border-color: #3974b7;
}

.offres .title a {
    position: relative;
    color: #00659A !important;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 600;
    transition: all 0.15s ease;
}

.offres .title a:hover {
    color: #186ed3 !important;
}

.offres .title::before {
    content: "";
    width: 4px;
    height: 20px;
    position: absolute;
    top: 2px;
    left: -20px;
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    background: #00659A;
}

.offres .excert {
    padding-top: 25px;
    font-size: 15px;
}

.page-show .start .img {
    height: 500px;
    overflow: hidden;
    background-color: #1C2035;
}

.page-show .start .img img {
    object-fit: cover;
}

.w-actualite a {
    color: #000;
    transition: all 0.15s ease;
}

.w-actualite ul li {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.15s ease;
}

.w-actualite ul li:hover {
    background-color: #2d7bda;
}

.w-actualite ul li:hover a {
    color: #fff;
}

.card-pdf-rapport {
    color: #000;
    border-radius: 12px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-pdf-rapport:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    background-color: rgb(224, 224, 224);
}

.card-pdf-rapport .img {
    line-height: 120px;
    text-align: center;
}

.card-pdf-rapport .img img {
    height: 80px;
}

.mediatheque .nav-pills .nav-link {
    min-width: 200px;
    color: #000;
    border: 1px solid #186ed3;
    border-radius: 50px;
    transition: all 0.15s ease;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

.mediatheque .nav-pills .nav-link.active {
    background-color: #186ed3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 110, 211, 0.3);
}

.mediatheque .nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(24, 110, 211, 0.1);
}

.mediatheque .content-container .img {
    height: 300px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.mediatheque .content-container .img:hover {
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mediatheque .content-container .img span {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.mediatheque .video {
    height: 300px;
    border-radius: 20px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.mediatheque .video:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1, 1);
    }

    to {
        -webkit-transform: scale(1.5, 1.5);
    }
}

@keyframes zoom {
    from {
        transform: scale(1, 1);
    }

    to {
        transform: scale(1.5, 1.5);
    }
}

/* custom */
.footer-area-state {
    height: 8px;
    width: 70%;
    display: -webkit-flex;
    display: flex;
    margin: auto auto -3px;
    position: relative;
    top: -.5px;
    z-index: 1;
    background-color: #db3832;
    border-bottom: 1px solid #ddd;
}

.footer-area-state .blue-state {
    background-color: #0095c9;
    height: 8px;
    width: 33.333333%;
    border-bottom: 1px solid #ddd;
}

.footer-area-state .yellow-state {
    background-color: #fff24b;
    height: 8px;
    width: 33.333333%;
    border-bottom: 1px solid #ddd;
}

.top-area-state {
    height: 5px;
    width: 70%;
    display: -webkit-flex;
    display: flex;
    margin: auto auto -6px;
    position: relative;
    /* top: 2px; */
    z-index: 1;
    background-color: #db3832;
}

.top-area-state .blue-state {
    background-color: #0095c9;
    height: 5px;
    width: 33.333333%;
}

.top-area-state .yellow-state {
    background-color: #fff24b;
    height: 5px;
    width: 33.333333%;
}

.partenaire-content{
    padding: 2rem;
    /* background-color: #00659A; */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    border-bottom: 3px solid #186ed3;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.partenaire-content:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #186ed3;
}
.partenaire-content img{
    width: 100%;
    height: 100px;
    object-fit: contain;
}
.partenaire-content h5{
    font-size: 18px;
    color: #3d3d3d;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
}
.footer .text {
    text-transform: uppercase;
    background-color: red;
    padding: 5px 10px;
    color: #fff;
    display: inline-block;
    margin-bottom: 20px;
    width: auto;
    font-weight: bold;
}
.divider {
    width: 100%;
    display: block;
    height: 1px;
    background-color: #d9d9d9;
    margin-top: 15px;
    margin-bottom: 15px;
}
.partenariat .img-1 {
    width: 250px;
    height: 100px;
    background-color: #fff;
    overflow: hidden;
    margin-right: 15px;
    object-fit: contain;
}

/* Homepage improvements */

.activities-carousel .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-item:hover .service-text {
    border-bottom-color: #d01421;
}

/* Homepage improvements - Actualités */
section article a:hover h3,
section article a:hover h4 {
    color: #186ed3 !important;
    transition: color 0.15s ease;
}

/* Responsive improvements for Actualités */
@media (max-width: 991.98px) {
    section article .position-relative {
        height: 300px !important;
    }
    
    section article h3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    section article .position-relative {
        height: 250px !important;
    }
    
    section article h3 {
        font-size: 1.25rem !important;
    }
    
    section article h4 {
        font-size: 1.1rem !important;
        min-height: auto !important;
    }
    
    section article h5 {
        min-height: auto !important;
    }
    
    section article p {
        min-height: auto !important;
    }
}