/********** Template CSS **********/
:root {
    --primary: #e74c3c;    /* Rouge */
    --secondary: #3498db;   /* Bleu */
    --accent: #f39c12;     /* Orange */
    --light: #F3F6F8;
    --dark: #2c3e50;       /* Bleu foncé pour le texte */
}


/*** Spinner ***/
#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

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

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    z-index: 999;
    transition: .5s;
}

.navbar.sticky-top {
    background: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.navbar.sticky-top .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top .navbar-nav .nav-link:hover,
.navbar.sticky-top .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-brand {
    position: relative;
    height: 75px;
    transition: .5s;
}

.navbar.sticky-top .navbar-brand {
    height: 60px;
}

.navbar .navbar-brand h1 {
    color: var(--primary);
    transition: .5s;
}

.navbar.sticky-top .navbar-brand h1 {
    color: var(--primary);
}

/* Styles pour mobile */
@media (max-width: 991.98px) {
    .navbar {
        background: #FFFFFF;
    }

    .navbar.sticky-top {
        background: #FFFFFF;
    }

    .navbar .navbar-nav {
        margin-top: 10px;
        background: #FFFFFF;
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0;
        padding: 15px 0;
        color: var(--dark);
        text-align: center;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar.sticky-top .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-toggler {
        padding: 5px 15px;
        font-size: 18px;
        color: var(--dark);
        transition: .5s;
        border: 1px solid var(--dark);
    }

    .navbar.sticky-top .navbar-toggler {
        color: var(--dark);
        border-color: var(--dark);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse {
        margin-top: 15px;
        background: #FFFFFF;
        border-radius: 10px;
        box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    }

    /* Ajuster le bouton don en mobile */
    .navbar .btn-donate {
        margin: 15px auto;
        display: block;
        width: fit-content;
    }
}

/* Animation du toggler */
.navbar-toggler:hover {
    background: var(--accent);
    color: var(--light) !important;
    border-color: var(--accent);
}

.navbar-toggler .fa-bars {
    transition: .3s;
}

.navbar-toggler:hover .fa-bars {
    color: var(--light);
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 12rem 0 9rem 0;
    background: linear-gradient(rgba(231, 76, 60, 0.9), rgba(231, 76, 60, 0.9)), url(../img/hero-bg.jpg) center center no-repeat;
    background-size: cover;
}

/*** Page Header ***/
.page-header {
    position: relative;
    margin-bottom: 6rem;
    padding: 45rem 0 25rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url(../img/header-bg.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.page-header::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: none;
    color: var(--primary);
}

.page-header .breadcrumb {
    padding: 0.75rem 1.5rem;
    background: rgba(231, 76, 60, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    display: inline-flex;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 1.1rem;
    color: var(--primary);
    text-shadow: none;
}

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

.page-header p {
    color: var(--dark);
}

/* Animation du titre */
.page-header .animated.zoomIn {
    animation-duration: 1s;
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .page-header {
        padding: 35rem 0 20rem 0;
        background-attachment: scroll;
    }

    .page-header .container {
        padding-top: 4rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .breadcrumb {
        padding: 0.5rem 1rem;
    }

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 30rem 0 15rem 0;
        margin-top: 4rem;
    }

    .page-header .container {
        padding-top: 3rem;
    }

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

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(256, 256, 256, .5);
}


/*** Service ***/
.service-item {
    background-color: #ffffff !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
    border-radius: 15px;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.service-item .service-icon,
.service-item .service-btn {
    margin: -1px 0 0 -1px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--secondary);
    border-radius: 5px 0;
    transition: .5s;
}

.service-item .service-btn {
    margin: -1px -1px 0 0;
    border-radius: 0 5px;
    opacity: 0;
}

.service-item:hover .service-btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    background-color: #ffffff !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transform: scale(.85);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: none;
    border-color: var(--secondary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 50px;
    height: 50px;
}

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.testimonial-item {
    position: relative;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-item .btn-square {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-item .testimonial-text {
    background: #FFFFFF;
    border-radius: 10px;
}


/*** Team ***/
.team-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.team-item .position-relative {
    height: 300px; /* Hauteur fixe pour toutes les images */
    overflow: hidden;
}

.team-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pour que l'image couvre bien l'espace */
    object-position: center top; /* Pour centrer sur le visage */
}

.team-item .text-center {
    padding: 25px 20px;
    background: #fff;
}

.team-item h5 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.team-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Carousel Navigation */
.team-carousel .owl-nav {
    margin-top: 30px;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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

.team-carousel .owl-item.center .team-item {
    transform: scale(1.1);
    z-index: 2;
}

.team-carousel .owl-item .team-item {
    transition: .5s;
    transform: scale(0.9);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--accent);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

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

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Features */
.btn-square.bg-primary {
    background-color: var(--secondary) !important;
}

/* Newsletter section */
.container-xxl.bg-primary {
    background: var(--secondary) !important;
}

.newsletter .btn i {
    color: var(--secondary);
}

/* Hero Carousel */
.hero-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 35px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
}

.hero-carousel .owl-nav button {
    width: 35px;
    height: 35px;
    background: var(--accent) !important;
    border-radius: 50%;
    color: var(--light) !important;
    transition: .5s;
}

.hero-carousel .owl-nav button:hover {
    background: var(--secondary) !important;
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
}

.hero-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    transition: .5s;
}

.hero-carousel .owl-dot.active {
    background: var(--light);
}

/*** Facts ***/
.fact-item {
    background-color: #ffffff !important;
    transition: .5s;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .03);
    padding-top: 40px !important;
}

.fact-item:hover {
    margin-top: -10px;
    background: var(--accent) !important; /* Orange au lieu du vert */
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.15);
    border-color: transparent;
}

.fact-item * {
    transition: .5s;
}

.fact-item h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

.fact-item p {
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    margin: 0;
    padding-bottom: 1rem;
}

.fact-item:hover * {
    color: var(--light) !important;
}

.fact-icon {
    width: 80px;
    height: 80px;
    padding: 0;
    margin: -40px auto 1.5rem auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-icon i {
    font-size: 2.2rem;
    color: var(--accent);
    margin: 0;
    line-height: 1;
}

.fact-item:hover .fact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.fact-item:hover .fact-icon i {
    color: var(--light);
    transform: scale(1.1);
}

.fact-item .text-primary {
    color: var(--accent) !important;
}

.fact-item:hover .text-primary {
    color: var(--light) !important;
}

/* Animation pour le compteur */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fact-item h3[data-toggle="counter-up"] {
    animation: countUp 1s ease-out forwards;
}

/*** Services Carousel ***/
.service-carousel {
    padding: 0 5px;
}

.service-carousel .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-carousel .service-item:hover {
    margin-top: -10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    border-color: var(--accent);
}

.service-carousel .service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-carousel .service-content {
    text-align: center;
    padding: 25px;
    background: #FFFFFF;
    border-radius: 0 0 8px 8px;
}

.service-carousel .service-content h5 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    transition: .5s;
}

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

.service-carousel .service-content p {
    font-size: 15px;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 20px;
    min-height: 60px;
}

.service-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 35px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
    pointer-events: none;
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--accent);
    border-radius: 35px;
    font-size: 16px;
    transition: .5s;
    pointer-events: auto;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
}

/*** Gallery ***/
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem;
}

.gallery-content {
    width: 100%;
    text-align: center;
}

.gallery-content h5 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #fff;
}

.gallery-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    transition: .3s;
    font-size: 0.9rem;
}

.gallery-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

.gallery-btn i {
    margin-right: 5px;
}

/* Lightbox customization */
.lb-data .lb-caption {
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
}

.lb-data .lb-number {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.lb-closeContainer {
    position: absolute;
    top: -30px;
    right: 0;
}

/*** Blog ***/
.blog-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-img {
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: .5s;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: .5s;
}

.blog-overlay .btn {
    color: var(--light);
    border-color: var(--light);
}

.blog-overlay .btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.blog-item:hover .blog-overlay {
    opacity: 1;
}

.blog-content {
    padding: 25px;
    background: #FFFFFF;
}

.blog-content h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    transition: .5s;
}

.blog-item:hover .blog-content h5 {
    color: var(--primary);
}

.blog-content p {
    color: var(--dark);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content small {
    display: inline-block;
    color: var(--dark);
    opacity: .8;
    transition: .5s;
}

.blog-content small:hover {
    color: var(--secondary);
    opacity: 1;
}

/*** Custom Button Styles ***/
.btn-donate {
    background: var(--accent);
    color: var(--light) !important;
    border-color: var(--accent);
    transition: .5s;
}

.btn-donate:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-2px);
}

/* Style du logo */
.navbar .logo-img {
    height: 50px;
    width: auto;
    transition: .5s;
}

.navbar.sticky-top .logo-img {
    height: 40px;
}

@media (max-width: 991.98px) {
    .navbar .logo-img {
        height: 40px;
    }
}

/* Modification des titres de section */
.container h2 {
    color: var(--dark);
}

/* Style des boutons */
.btn {
    font-weight: 500;
    transition: .5s;
}

/* Style par défaut des boutons primaires */
.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Hover effet pour tous les boutons */
.btn:hover:not(.btn-donate):not(.btn-outline-light):not(.btn-square) {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--light) !important;
}

/* Style spécifique pour le bouton don */
.btn-donate {
    background: var(--accent);
    color: var(--light) !important;
    border-color: var(--accent);
    transition: .5s;
}

.btn-donate:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-2px);
}

/* Style pour les boutons outline dans la galerie */
.gallery-overlay .btn-outline-light:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Style pour les boutons dans les services */
.service-item .btn:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Style pour les boutons dans le blog */
.blog-overlay .btn:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Style pour les flèches de navigation des carousels */
.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Testimonial section */
.testimonial-item i.fa-quote-left {
    color: var(--secondary);
}

.testimonial-item {
    border: 1px solid transparent;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    border-color: var(--secondary);
}

/* Modifier les icônes et boutons dans testimonial */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    color: var(--light);
    background: var(--accent);
    border-color: var(--accent);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Ajuster les couleurs des citations */
.testimonial-item i {
    color: var(--secondary);
}

/* Ajuster la section newsletter */
.newsletter {
    background: var(--secondary);
}

.newsletter .btn.btn-primary {
    background: var(--light);
    border-color: var(--light);
}

.newsletter .btn.btn-primary i {
    color: var(--secondary);
}

.newsletter .form-control {
    border-color: var(--light);
}

/* Style spécifique pour les badges arrondis au-dessus des titres */
.d-inline-block.border.rounded-pill.text-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Pour s'assurer que tous les badges "text-primary" sont en rouge */
.text-primary {
    color: var(--primary) !important;
}

/* Style des badges de catégorie dans le blog */
.blog-content .bg-primary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Pour s'assurer que le texte reste bien lisible */
.blog-content .bg-primary.text-white {
    color: var(--light) !important;
}

/* Style des icônes dans About Us */
.btn-lg-square.bg-primary {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-lg-square.rounded-circle.bg-primary {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Pour s'assurer que toutes les icônes dans les cercles sont en bleu */
.flex-shrink-0.btn-lg-square.rounded-circle.bg-primary {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/*** Contact ***/
.contact-info {
    background: #FFFFFF;
    transition: .5s;
    border: 1px solid #EEEEEE;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    border-color: var(--secondary);
}

.contact-info .icon-box {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.contact-info:hover .icon-box {
    background: var(--primary);
}

.contact-info .icon-box i {
    color: #FFFFFF;
    font-size: 24px;
}

.contact-info h4 {
    color: var(--dark);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--dark);
    font-size: 15px;
    margin: 0;
    opacity: .7;
}

.contact-info p:first-of-type {
    margin-bottom: 8px;
}

/* Google Maps responsive */
.google-map {
    padding-bottom: 50%;
    position: relative;
}

.google-map iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Service Cards Styling */
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.service-card .position-relative {
    height: 250px;
}

.service-card img {
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: #fff !important;
}

.service-content h4 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.wow.fadeInUp {
    animation: fadeInUp 1s ease;
}

/* Footer Logo Card */
.footer .bg-dark-light {
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer .bg-dark-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer .bg-dark-light img {
    transition: all 0.3s ease;
}

.footer .bg-dark-light:hover img {
    transform: scale(1.05);
}

/* Service Item Styling */
.service-item {
    transition: .5s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: var(--secondary);
}

.service-item:hover .service-icon i {
    transform: rotate(360deg);
    transition: .5s;
}

/* Team Styling */
.team-item {
    transition: .5s;
}

.team-item:hover {
    transform: translateY(-10px);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.85);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    color: var(--light);
    background: transparent;
    border-color: var(--light);
}

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

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

/* Team Carousel */
.team-carousel {
    position: relative;
    padding: 0 25px;
}

.team-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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

.team-carousel .owl-item.center .team-item {
    transform: scale(1.1);
    z-index: 2;
}

.team-carousel .owl-item .team-item {
    transition: .5s;
    transform: scale(0.9);
}

/* Team Carousel Navigation */
.owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 -60px;
}

.owl-nav button {
    width: 45px;
    height: 45px;
    background: #FFFFFF !important;
    border: 1px solid var(--primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary) !important;
    font-size: 22px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.owl-nav button:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

.owl-nav .owl-prev {
    left: -60px;
    position: relative;
}

.owl-nav .owl-next {
    right: -60px;
    position: relative;
}

@media (max-width: 1200px) {
    .owl-nav .owl-prev {
        left: -30px;
    }
    
    .owl-nav .owl-next {
        right: -30px;
    }
}

/* Team Carousel Styling */
.team-carousel-container {
    padding-left: 5px;
    padding-right: 5px;
}

.team-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.team-nav button {
    width: 45px;
    height: 45px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--primary);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-nav button:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.team-prev {
    left: 0;
}

.team-next {
    right: 0;
}

.team-item {
    padding: 10px;
}

/* Dropdown Menu Styling */
.navbar .dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    color: var(--dark);
    font-weight: 500;
    transition: .3s;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--primary);
    background: #FFFFFF;
}

.navbar .dropdown-menu .dropdown-item:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.navbar .dropdown-menu .dropdown-item:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        transform: translateY(20px);
    }

    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Blog Styling */
.blog-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-item .blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.85);
    opacity: 0;
    transition: .5s;
}

.blog-item:hover .blog-overlay {
    opacity: 1;
}

.blog-item .blog-content {
    padding: 1.5rem;
}

.blog-item .blog-meta {
    font-size: 14px;
}

.blog-item .blog-meta i {
    color: var(--primary);
    margin-right: 5px;
}

/* Pagination Styling */
.pagination .page-item .page-link {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

/*** Section Backgrounds ***/
.bg-light-gray {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.bg-lighter {
    background: linear-gradient(180deg, #f8f9fa 0%, #f3f4f6 100%);
    position: relative;
}

/* Effet de séparation subtil entre les sections */
.bg-light-gray::after,
.bg-lighter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.05) 50%, 
        rgba(0,0,0,0) 100%
    );
}

/* Ajustement des contenus dans les sections */
.service-item,
.fact-item,
.testimonial-item {
    background-color: #ffffff !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
    border-radius: 15px;
    overflow: hidden;
}

.gallery-img {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
}

/* Hover effects améliorés */
.service-item:hover,
.fact-item:hover,
.gallery-img:hover,
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

/* Animation douce pour les transitions */
.container-xxl {
    transition: all 0.5s ease-in-out;
}

/* Amélioration du contraste pour le texte */
.bg-light-gray h2,
.bg-lighter h2 {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .team-carousel-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .service-carousel {
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    .team-carousel-container {
        padding-left: 50px;
        padding-right: 50px;
    }
    .service-carousel {
        padding: 0 25px;
    }
    .service-carousel .owl-nav .owl-prev,
    .service-carousel .owl-nav .owl-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}