
html {
    scroll-behavior: smooth;
}
:root {
    --color-primary: #7c9b8c;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

a {
    text-decoration: none;
    pointer-events: auto !important;

      
}

/* Navigation */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    background: #e8f2ee;
    
}

.fa-linkedin {
    font-size: 1.5rem;
    position: relative;
    z-index: 1000;
}

.label-img {
    width: 200px;
}

.nav-logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 100px;
}

.nav-title {
    font-family: 'Forum', cursive;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
    margin-right: 1rem;
}

.nav-link {
    text-decoration: none;
    color: #000;
    margin-right: 1rem;
    position: relative;
    padding-bottom: 5px;
    font-size: 0.9rem;
    z-index: 1000;
}

#nav-contact-btn {
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

#nav-contact-btn:hover {
    transform: scale(1.05);
}



.nav-link-gen::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width .3s;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link-gen:hover::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}


/** ================= Hero section ================= */

.hero-section {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background: #e8f2ee;

}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 60vw;
    text-align: center;
    margin-top: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    color: #000;
}


.hero-btn {
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.hero-btn:hover {
   box-shadow: 4px 4px 0 var(--color-primary);
}

.hero-snd-btn {
    background-color: #fff;
    color: var(--color-primary);
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.hero-snd-btn:hover {
    box-shadow: 4px 4px 0 var(--color-primary);
}

.link {
    color: white;
}

.snd-link {
    color: #7c9b8c;
}


.btn-container {
    display: flex;
    gap: 1rem;
}


.hero-stats-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 40vw;
    height: 40vh;
    border-radius: 0.8rem;
    overflow: hidden;
    position: relative;
    background: #fff;

}






.stat-img {
    object-fit: cover; 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0;
    left: 0; 
    z-index: -1; 

}

.stat-desc {
    color: black;
    z-index: 50;
    font-size: 1.2rem;
    font-weight: 400;
}

.stat-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    color: black;
    z-index: 50;
    font-size: 4rem;
    font-weight: 500;
}

/* ===== Features ========= */

.features {
    padding: 4rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    padding-left: 1rem;
}



.features-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-grid-item {
    display: flex;
    gap: 2rem;
}

.feature-img {
    width: 800px;
    border-radius: 1rem;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}
.feature-item-txt{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #e8f2ee  ;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-grid-item-title{
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    padding-left: 1rem;
    position: relative;
}

.features-grid-item-title::before {
    content: '';
    width: 2px;
    height: 100%;
    background-color: var(--color-primary);
    position: absolute;
    bottom: 0;
    left: 0;
}

.features-grid-item-des {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
}

/* ====== Video ======= */


.youtube-section {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #e8f2ee;
    align-items: center;
}

.youtube-player {
    border-radius: 1rem;
    width: 740px; 
    height: 392px;
}

.youtube-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.youtube-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube-video {
    width: 100%;
    height: 100%;
    border-radius: 1rem;

}

/*======= Contact ======= */

.contact {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.contact-btn {
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    font-size: 1rem;
    height: 50px;
}

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

.contact-btn-container {
    display: flex;
    justify-content: center;
}

/* ======= Footer ======= */

.footer {
    background: #e8f2ee;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

}

.footer-nav-list{
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav-link {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
}

.left-section{
    display: flex;
    gap: 1rem;
}

#hide-menu {
    display: none;
}


#menu {
    display: none;
}

.client-link {
    display: none;
}
/* Responsive Styles */
@media (max-width: 768px) {

    #acces-client {
        display: block;
    }

    .client-link {
        display: block;
        color: #000;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        text-decoration: underline;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        margin-right: 0;
    }
 

    #historique-item {
        display: flex;
        flex-direction: column-reverse;
    }
    .nav-container {
        padding: 1rem;
        position: relative;
    
    }

  #main-nav {
        display: none;
    }

    .youtube-player {
        border-radius: 1rem;
        width: 300px; 
        height: 182px;
    }

    .contact-nav-btn {
        display: block;
    }

    .hero-text-content {
        max-width: 90vw;
    }

    .hero-section {
        padding-top: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        width: 80vw;
        height: auto;
        padding: 1rem;
    }

    .features-grid {
        gap: 1rem;
    }

    .features {
        overflow: hidden;
    }

    .features-grid-item {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-img {
        width: 100%;
    }

    .youtube-video {
        width: 100%;
        height: auto;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav-link {
        font-size: 0.8rem;
    }

    #nav-contact-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        width: 80px;
    }

    .nav-title {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features-title {
        font-size: 1.5rem;
    }

    .features-grid-item-title {
        font-size: 1.2rem;
    }

    .features-grid-item-des {
        font-size: 0.9rem;
    }

    .youtube-title {
        font-size: 1.2rem;
    }

    .contact-title {
        font-size: 1.2rem;
    }

    .contact-btn {
        width: 150px;
        height: 40px;
        font-size: 0.9rem;
    }
}
