/********** CSS **********/
:root {
    --primary:linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}

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

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

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

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    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;
}


.topbar-right {
    position: relative;
    background: #02245B;
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: #FFF;
}



.blog-post {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}
.blog-post:hover {
    transform: translateY(-5px);
}
.blog-post img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.blog-container {
    padding: 0px 15px;
}
.title {
    font-size: 20px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .title {
        font-size: 18px;
    }
    .blog-post {
        padding: 10px;
    }
}
@media (max-width: 576px) {
    .title {
        font-size: 16px;
    }
    .blog-post img {
        max-height: 100%;
    }
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: #FFF;
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--dark);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
#logo_pana{
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, #142c8e) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(255, 0, 0, 0.5) 100%, rgba(255, 0, 0, 0) 50%, rgba(2, 36, 91, 0.5) 55%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #142c8e;
    border: 15px solid #142c8e;
    border-radius: 3.5rem;
}

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


.img-fluid {
  border-radius: 12px !important;
  max-width: 100%;
  height: auto;
  
}

/* Animation danse plus lente pour l'image */
@keyframes dance {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(3deg) translateY(-5px); }
  50% { transform: rotate(-3deg) translateY(5px); }
  75% { transform: rotate(3deg) translateY(-5px); }
  100% { transform: rotate(0deg) translateY(0); }
}

img.dance {
  animation: dance 20s infinite ease-in-out;
}



/* Section relative pour bulles */
.about-section {
    position: relative;
    overflow: hidden;
}

/* Conteneur bulles */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Style de base des bulles */
.bubbles .bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    opacity: 0.3; /* moins visible, plus transparent */
    animation: float 10s infinite;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* plus subtil */
}

/* Couleurs bleu et jaune aléatoires */
.bubbles .bubble:nth-child(odd) {
    background:#142c8e /* bleu */
}
.bubbles .bubble:nth-child(even) {
    background: #c8ab0d /* jaune */
}

/* Animation multidirectionnelle */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translate(30px, -100px) rotate(45deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, -200px) rotate(-30deg);
        opacity: 0.8;
    }
    75% {
        transform: translate(40px, -300px) rotate(60deg);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, -400px) rotate(0deg);
        opacity: 0;
    }
}

/* Taille et position différentes pour chaque bulle */
.bubbles .bubble:nth-child(1) { width: 20px; height: 20px; left: 10%; animation-duration: 12s; }
.bubbles .bubble:nth-child(2) { width: 25px; height: 25px; left: 20%; animation-duration: 14s; }
.bubbles .bubble:nth-child(3) { width: 18px; height: 18px; left: 30%; animation-duration: 10s; }
.bubbles .bubble:nth-child(4) { width: 22px; height: 22px; left: 40%; animation-duration: 16s; }
.bubbles .bubble:nth-child(5) { width: 28px; height: 28px; left: 50%; animation-duration: 13s; }
.bubbles .bubble:nth-child(6) { width: 15px; height: 15px; left: 60%; animation-duration: 11s; }
.bubbles .bubble:nth-child(7) { width: 24px; height: 24px; left: 70%; animation-duration: 15s; }
.bubbles .bubble:nth-child(8) { width: 20px; height: 20px; left: 80%; animation-duration: 12s; }
.bubbles .bubble:nth-child(9) { width: 18px; height: 18px; left: 90%; animation-duration: 14s; }
.bubbles .bubble:nth-child(10){ width: 22px; height: 22px; left: 5%; animation-duration: 13s; }

.innovation-hero {
  
    position: relative;
    overflow: hidden;
    min-height: 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: particleMove 8s infinite linear;
}

@keyframes particleMove {
    0% { transform: translate(0,0); }
    50% { transform: translate(200px,-300px); }
    100% { transform: translate(-100px,-600px); }
}



.page-header {
    background: linear-gradient(to right, #142c8e, #857108cf, #142c8e),url(../img/palmiste.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0; /* Ajoute un espacement pour centrer verticalement si nécessaire */
}

#about {
    background: linear-gradient(to right, #142c8e, #3B3B3B, #d5b507, #142c82);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
   
}

#objectif {
    background: linear-gradient(to right, #142c8e, #3B3B3B, #d5b507, #142c82);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#Histoire {
    background: linear-gradient(to right, #142c8e, #3B3B3B, #d5b507, #142c82);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text-dark {
    background: linear-gradient(to right, rgba(2, 36, 91, 1), rgba(0, 0, 0, 1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}




.order-lg-last {
    order: 2; /* Change l'ordre des colonnes pour la vue large */
}


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

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}



/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    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: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px 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;
}




/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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 {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}