/* Import de la police */
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,700');

/* Reset */
*{
  padding: 0;
  margin: 0;
  font-family: 'Quicksand',sans-serif;
  outline: none; border: none;
}

/*body*/
body {
    color: #ffffff;
    background-color: #010204;
    font-family: 'Poppins',serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    padding: 0;
  }
  
/********************************\
             slider 
\********************************/

/* Conteneur principal */
.project-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

/* Style du slider */
.slider {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: #000000;
    overflow: hidden;
    margin-bottom: -2px;
}

.slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
}

.wave-text {
    font-size: 5rem;
    font-weight: bold;
    animation: wave 12s ease-in-out infinite;
    opacity: 0;
    background: linear-gradient(
        180deg,
        #ffffff 50%,
        #0f1727 50%
    );
    background-size: 100% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-title {
    font-size: 2rem;
    margin-top: 1rem;
    color: #fff;
}

.project-description {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 0.5rem;
    line-height: 1.6;
}

@keyframes wave {
    0%, 15% {
        opacity: 0;
        transform: translateY(20px) rotate(-2deg);
        background-position: 0% 0%;
    }
    20% {
        opacity: 1;
    }
    35% {
        transform: translateY(-15px) rotate(2deg);
        background-position: 0% 100%;
    }
    50% {
        transform: translateY(10px) rotate(-1deg);
        opacity: 1;
        background-position: 0% 0%;
    }
    65% {
        transform: translateY(-5px) rotate(1deg);
        opacity: 1;
        background-position: 0% 100%;
    }
    75% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    100% {
        transform: translateY(20px) rotate(-2deg);
        opacity: 0;
        background-position: 0% 0%;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de transition entre les sections */
.section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, 
        transparent,
        #0f1727
    );
    z-index: 1;
}

/* Background dégradé */
.section {
    background: linear-gradient(180deg, 
        #0f1727 0%,
        #000033 100%
    );
    padding-top: 50px;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    margin-top: -50px;
}

/*********************\
        bouton
\*********************/

/* Style du bouton de défilement */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatButton 2s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.scroll-down img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    z-index: 1001;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.3);
}

.scroll-down:hover img {
    transform: translateY(3px);
}

@keyframes floatButton {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -10px);
    }
}
/*********************\
        bouton
\*********************/


/********************************\
             slider 
\********************************/

/********************************\
             slider 
\********************************/

/* Style de la navigation */
.main-nav {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}

.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-nav__btn {
    display: flex;
    gap: 20px;
}

.color-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Classe pour afficher la navbar */
.main-nav.visible {
    top: 0;
}

/********************************\
             slider 
\********************************/


/********************************\
        Présentation Projet
\********************************/

/* Style pour le bloc de présentation */
.section1 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.flex {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 20px;
}

.w40 {
    width: 40%;
}

.w60 {
    width: 60%;
}

.about-text p:first-child {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p:nth-child(2) {
    font-size: 1.8rem;
    color: #1b2e9c;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    line-height: 1.8;
    font-size: 1.2rem;
}

img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Style spécifique pour la description de mission */
.mission-description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-top: 15px;
    color: #e0e0e0;
    max-width: 800px;
    text-align: justify;
    padding-right: 20px;
}

/********************************\
        Présentation Projet
\********************************/
/********************************\
        Information Projet
\********************************/

/* Style pour la section d'informations du projet */
.project-info {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-icon {
    font-size: 24px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.info-content p {
    color: #ccc;
    line-height: 1.5;
}

.status-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #28a745;
    color: white;
    border-radius: 15px;
    font-size: 0.9em;
}

.tech-logo {
    width: 20px; /* Ajustez la taille selon vos besoins */
    height: auto;
    vertical-align: middle;
    margin-right: 5px;
}

/* Style pour le statut du workflow */
.workflow-status {
    background-color: #1DB954 !important; /* Vert */
    color: black;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    width: fit-content;
}



.status-icon i {
    color: #1DB954;
    font-size: 24px;
}

/********************************\
        Information Projet
\********************************/
/********************************\
            Bouton PDF
\********************************/
/* Style pour le conteneur de boutons */
.button-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px auto;
    padding: 10px 0;
    max-width: 800px;
}

/* Style pour les boutons */
.info-button {
    background-color: #1b2e9c;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-button:hover {
    background-color: #14206b;
}
/********************************\
            Bouton PDF
\********************************/

/********************************\
            Animation
\********************************/

/* États initiaux */
.flex, .project-info, .button-container {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* États animés */
.flex.animate, .project-info.animate, .button-container.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Délais séquentiels */
.flex.animate {
    transition-delay: 0.2s;
}

.project-info.animate {
    transition-delay: 0.4s;
}

.button-container.animate {
    transition-delay: 0.6s;
}

/********************************\
            Animation
\********************************/

@media only screen and (max-width: 1170px) {
    .main-nav {
        width: 100vw;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        display: flex;
        justify-content: center; /* Center the elements */
        align-items: center;
        padding: 10px 15px;
        box-sizing: border-box;
    }

    .header-nav {
        width: 100%;
        display: flex;
        justify-content: center; /* Center the buttons */
        align-items: center;
        padding: 0;
    }

    .header-nav__btn {
        display: flex;
        flex-wrap: nowrap; /* Prevent line wrapping */
        gap: 5px;
    }

    .header-nav__btn .color-btn {
        min-width: 80px; /* Adjust the minimum width if necessary */
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* Style pour les cartes de documents */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cards_item {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
}

.card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%
    );
    top: -25%;
    left: -25%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

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

.card:hover::before {
    opacity: 1;
}

.card_image {
    width: 100%;
    height: 60%;
    overflow: hidden;
    position: relative;
}

.card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card_content {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card_title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card_content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn.card_btn {
    background: #1b2e9c;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: fit-content;
    margin: 0 auto;
    text-decoration: none;
}

.btn.card_btn:hover {
    background: #14206b;
}

.card_content a {
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* Animation pour les cartes */
.cards_item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cards_item.animate {
    opacity: 1;
    transform: translateY(0);
}
/********************************\
            Animation card
\********************************/
.cards_item:nth-child(1).animate { transition-delay: 0.6s; }
.cards_item:nth-child(2).animate { transition-delay: 0.7s; }
.cards_item:nth-child(3).animate { transition-delay: 0.8s; }
.cards_item:nth-child(4).animate { transition-delay: 0.9s; }
.cards_item:nth-child(5).animate { transition-delay: 1.0s; }

/********************************\
            Animation card
\********************************/


    .partner-link {
        display: inline-block;
        margin-left: 5px;
        color: #1a73e8;
        transition: transform 0.2s ease;
    }
    
    .partner-link:hover {
        transform: scale(1.2);
        color: #0d47a1;
    }
    
    .partner-link i {
        font-size: 14px;
    }

