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


/*** 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: 900;
    outline: none;
}

#sann{
    font-size: 5rem;
   color: #2209a5;
}

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


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


     /* ---- Carousel CSS ---- */

        .carousel-item {
            position: relative;
            width: 100%;
            height: 100%;
            opacity: 0;
            transform: scale(1.05);
            transition: opacity 1.5s ease, transform 1.5s ease;
            z-index: 0;
        }

        .carousel-item.active {
            opacity: 1;
            transform: scale(1);
            z-index: 1;
        }

        .carousel-item::before {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 1.5s ease;
         
            z-index: 1;
        }

        .carousel-item.active::before {
            opacity: 1;
        }

        .carousel-item img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .carousel-caption {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            color: white;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
        }

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

        /* Responsive visibility */
        @media (max-width: 767.98px) {
            .hide-on-mobile {
                display: none !important;
            }

            .carousel-item {
                min-height: 450px;
            }

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

            .carousel-caption {
                align-items: flex-end;
                padding-bottom: 2rem;
                text-align: center;
            }
        }

        @media (min-width: 768px) {
            .hide-on-desktop {
                display: none !important;
            }
        }

/*.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgb(255 0 0 / 75%) 100%, rgba(255, 0, 0, 0) 50%, rgb(2 36 91 / 68%) 55%, rgba(2, 36, 91, 0) 100%),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;
}
#logo_pana {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, #142c8e) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent;
}

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

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

.detail{
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, #142c8e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    font-weight: 900;
}

.detail:hover{
    color: #142C8E;
}
#btn-lg-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
}

#btn-lg-square i {
    color: white;
}

#btn-lg-square1 {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
}

#btn-lg-square1 i {
    color: white;
}

#text-primary{
    color: #fff !important;
    font-size: 1.5rem;
}

#bg-dark{
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
}

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

.gradient-text-dark {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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



/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

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

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    transition: .5s;
}


#Members {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, #142c8e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#Memberss {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, #142C8E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

.hero-section{
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
  }

/* Dégradé animé personnalisé */
.hero-section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;

background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
z-index: -2;
}

@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

/* Particules au-dessus du dégradé */
#particles-js {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
  }

.hero-section {
position: relative;
z-index:-1;
min-height: 100vh;
display: flex;
align-items: center;
padding: 60px 20px;
}

.hero-title {
font-size: 3.5rem;
font-weight: bold;
background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, #142c8e);
background-clip: text;
color: transparent;
animation: floatTitle 8s ease-in-out infinite;
}

@keyframes floatTitle {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }

.hero-text {
font-size: 1.2rem;
margin-top: 20px;
}

.hero-btn {
    position: relative;
    background: linear-gradient(to right, #142c8e, #d5b507);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 15px rgba(20, 44, 142, 0.4);
  }
  
  /* Onde dynamique autour du bouton */
  .hero-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 20%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    animation: wave 2.5s infinite ease-out;
    border-radius: 50%;
    z-index: 0;
  }
  
  @keyframes wave {
    0% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0.6;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.5);
      opacity: 0.2;
    }
    100% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
    }
  }
  
  /* Flèche animée */
  .btn-icon {
    z-index: 1;
    animation: wave-icon 2s infinite ease-in-out;
  }
  
  @keyframes wave-icon {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.6; }
  }
  
  

.hero-img img {
width: 100%;
max-width: 500px;
border-radius: 20px;
transform: scale(1);
transition: transform 1s ease;
animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(12px); }
    100% { transform: translateY(0); }
  }

.hero-img img:hover {
transform: scale(2.05) rotate(1deg);
}

@media (max-width: 768px){
.hero-title {
  font-size: 2.2rem;
  text-align: center;
}

.hero-text, .hero-btn {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-img {
  text-align: center;
  margin-top: 30px;
}}


.pesonalite{
    width: 100%;
    object-fit: cover;
    height: 300px;
    border-radius: 10px;
}

#title1 {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
#title2 {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#title3 {
    background: linear-gradient(to right, black, #3B3B3B, #c8ab0d, yellow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


#text-primary1 {
    color: #FFF !important;
    font-size: 1.5rem;
}

#bg-primary{
    background: linear-gradient(to right, #142c8e, #c8ab0d) !important;
}



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

.project-carousel:hover .owl-nav {
    opacity: 1;
}

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


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