/********** Template CSS **********/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins Regular, sans-serif;
}

html {
    scroll-behavior: smooth;
}


:root {
    --primary: #4FE252;
    --secondary: #FF4917;
    --light: #ffffff;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

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


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


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

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--light);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

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

@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 ***/




.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

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

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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

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

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


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

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

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/5.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

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

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

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

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

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

#videoModal .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;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


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

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

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #ffffff;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

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

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

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


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

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

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    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;
}

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

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



/* card professionnels */

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    /* Vert WhatsApp */
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

.iconmis {
    color: var(--primary)
}

.card-x {
    background-color: var(--primary);
}



/* Bouton caché par défaut */
.detail-zone {
    opacity: 0;
    transition: all 0.4s ease;
}

/* Apparition au survol de la carte */
.team-item:hover .detail-zone {
    opacity: 1;
}

/* Bouton */
.btn-detail {
    background: #4FE252;
    border: none;
    padding: 10px 25px;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-detail:hover {
    background: #3bdc44;
    transform: scale(1.05);
}

/* MODAL */
.modal-custom {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

/* Contenu */
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    animation: zoomIn 0.4s ease;
}

/* Animation */
@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Titre */
.modal-content h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #17224D;
}

/* Liste en grille */
.metiers-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
    margin: 0;
}

/* Élément */
.metiers-list li {
    list-style: none;
    padding: 12px 10px;
    background: #f4fdf6;
    border-left: 4px solid #4FE252;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Responsive mobile */
@media (max-width: 576px) {
    .metiers-list {
        grid-template-columns: 1fr;
    }
}


.metiers-list li {
    padding: 12px;
    margin-bottom: 10px;
    background: #f4fdf6;
    border-left: 4px solid #4FE252;
    border-radius: 10px;
    font-weight: 500;
}

/* Bouton fermer */
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
}



/* Carte */
.team-item {
    border-radius: 15px;
    padding: 10px;
    background: var(--dark);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
}

.detail-zone {
    margin-top: 15px;
    opacity: 0;
    transition: 0.3s;
}

.team-item:hover .detail-zone {
    opacity: 1;
}

/* Bouton */
.btn-detail {
    background: #4FE252;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-detail:hover {
    transform: scale(1.05);
}

/* MODAL */
.modal-custom {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
}

.modal-content {
    background: #fff;
    max-width: 520px;
    margin: 8% auto;
    padding: 30px;
    border-radius: 22px;
    animation: zoom 0.4s ease;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 26px;
    cursor: pointer;
}

/* Liste 2 par 2 */
.metiers-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding: 0;
}

.metiers-list li {
    list-style: none;
    background: #f4fdf6;
    border-left: 4px solid #4FE252;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 576px) {
    .metiers-list {
        grid-template-columns: 1fr;
    }
}






/* Section principale */
.avantages-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Conteneur des cartes */
.avantages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Cartes avantages */
.avantage-card {
    background: var(--primary);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--primary);
    transition: var(--transition);
    height: 100%;
    min-height: 680px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary)
}

.avantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 10px rgba(155, 255, 127, 0.852);
    border-color: rgb(255, 255, 255);
}

/* Image de fond avec overlay */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
    transition: var(--transition);
}

.avantage-card:hover .card-bg {
    opacity: 0.25;
    transform: scale(1.02);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

/* Contenu des cartes */
.card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.clients .card-icon {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
}

.professionals .card-icon {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-indigo));
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

/* Liste des avantages */
.avantages-list {
    list-style: none;
    flex-grow: 1;
}

.avantage-item {
    display: flex;
    margin-bottom: 1.8rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--dark);
    transition: var(--transition);
}

.avantage-item:hover {
    background: rgba(41, 33, 58, 0.475);
    transform: translateX(5px);
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.clients .item-icon {
    background: white;
    color: var(--accent-cyan);
}

.professionals .item-icon {
    background: white;
    color: var(--accent-violet);
}

.item-content h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.item-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Indicateur visuel */
.user-type-indicator {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}



/* Responsive */
@media (max-width: 1024px) {
    .avantages-container {
        gap: 2rem;
    }

    .avantage-card {
        min-height: 650px;
    }
}

@media (max-width: 768px) {
    .avantages-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .avantage-card {
        min-height: 600px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .card-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .avantages-section {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .avantage-item {
        flex-direction: column;
    }

    .item-icon {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bannière africaine */
.african-motif {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}



/* Footer logo styling */
.footer img {
    display: block;
    max-width: 100px;
    width: 100%;
    height: auto;

}


/* Mobile optimisation */
@media (max-width: 768px) {
    .footer img {
        max-width: 110px;
        margin: 20px auto;
        padding: 6px;
    }
}