@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

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

body,
html {
    height: 100%;
}

/*Page bienvenue*/

#welcome-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #81C784);
    color: rgb(40, 140, 90);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 1s ease;
}

#welcome-page.hidden {
    transform: translateX(-100%);
}

.welcome-content {
    text-align: center;
    animation: fadeIn 1s ease-out; /* Animation de fondu en entrée */
}

.welcome-content h1 {
    font-size: 3em;
    margin: 0;
    /* animation: zoomIn 2s ease-out; */
}

.logoo {
    width: 500px;
    height: 500px;
    margin-bottom: 20px;
    /* animation: rotateIn 2s ease-out; */
    animation: zoomIn 2s ease-out; /* Animation de zoom */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes rotateIn {
    from { transform: rotate(-360deg); opacity: 0; }
    to { transform: rotate(0); opacity: 1; }
}

/* Particules */
#welcome-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('particles.png'); /* Image de particules */
    background-size: cover;
    opacity: 0.2; /* Léger effet de transparence */
    pointer-events: none; /* Empêche les interactions avec les particules */
    animation: float 5s infinite alternate ease-in-out;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}






.background-image {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    background: url('img/maison.jpg') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black overlay with 50% opacity */
}

.header {
    position: fixed;
    top: 0;
    height: 100px;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0px 50px;
    display: flex;
    justify-content: flex-end;
    /* Align items to the right */
    align-items: center;
    z-index: 50;
    background-color: transparent;
    transition: background-color 0.3s ease;
    /* Transition pour l'animation */
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    z-index: 999;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar a {
    font-size: 18px;
    color: rgb(0, 0, 0);
    font-weight: 500;
    margin-top: 20px;
    margin-left: 20px;
    text-decoration: none;
}

.sidebar a i {
    margin-right: 4px;
}

.sidebar a:hover {
    font-size: 20px;
}

.navbar-button {
    background-color: rgb(49, 170, 111);
    margin-left: 20px;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navbar-button i {
    margin-right: 8px;
}

.navbar-button:hover {
    background-color: rgb(40, 140, 90);
}

.scrolled {
    background-color: rgba(255, 255, 255, 1);
    z-index: 1000;
    /* Fond blanc plein lors du scroll */
}

.scrolled .nav a {
    color: #000;
    /* Change text color to black when scrolled */
}

.scrolled .nav a::before {
    background-color: #000000;
    /* Change text color to black when scrolled */
}

.logo {
    flex: 1;
    /* Optional: Adjust as needed */
}

.logo img {
    max-height: 150px;
    /* Adjust the max-height to desired size */
    width: auto;
    /* Maintain aspect ratio */
}

.menu-toggle {
    display: none;
    /* Cacher le bouton par défaut */
    cursor: pointer;
    font-size: 24px;
    background-color: transparent;
    border: none;
    outline: none;
}

.menu-toggle2 {
    display: none;
    /* Cacher le bouton par défaut */
    cursor: pointer;
    font-size: 24px;
    margin-left: 20px;
    margin-top: 10px;
    background-color: transparent;
    border: none;
    outline: none;
}

.nav a {
    position: relative;
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
    transition: color 0.3s ease;
}

.nav a i {
    margin-right: 4px;
}

.nav a:hover {
    color: rgb(40, 140, 90);
}

.nav-button {
    background-color: rgb(49, 170, 111);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-button i {
    margin-right: 8px;
}

.nav-button:hover {
    background-color: rgb(40, 140, 90);
}

.nav {
    position: relative;
}

.solo {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: 15%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    /* Ensure all corners are rounded */
    z-index: 1000;
    min-width: 150px;
    overflow: hidden;
}

.dropdown-menu a {
    color: #000000;
    padding: 5px 20px;
    right: 20%;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 400;
    text-wrap: nowrap;
}

.last {
    margin-bottom: 10px;
}

.dropdown-menu .dropdown-title-first {
    background-color: rgb(255, 255, 255);
    color: rgb(42, 147, 96);
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 15px;
    display: block;
    font-weight: 700;
}

.dropdown-menu .dropdown-title {
    background-color: rgb(255, 255, 255);
    color: rgb(42, 147, 96);
    padding: 5px 10px;
    font-size: 15px;
    display: block;
    font-weight: 700;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.intro-text {
    position: absolute;
    top: 60%;
    left: 5%;
    color: #fff;
    z-index: 2;
    /* Ensure it's above the overlay */
}

.intro-text h2 {
    font-size: 24px;
    font-weight: 600;
}

.intro-text p {
    font-size: 16px;
    margin: 10px 0;
}

.intro-button {
    background-color: rgb(49, 170, 111);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.intro-button:hover {
    background-color: rgb(40, 140, 90);
}

.intro-box {
    position: absolute;
    top: 20%;
    left: 70%;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 20px;
    z-index: 2;
    /* Ensure it's above the overlay */
}

.intro-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-left: 50px;
    color: #1f5736;
}

.intro-box p {
    font-size: 16px;
    font-weight: 500;
    color: #1f5736;
    margin-top: 10px;
    line-height: 1.5;
}

.intro-box i {
    margin-left: px;
    color: #3ba366;
}







/* New Sections Styles */


section {
    padding: 60px 20px;
    text-align: center;
}

.s-title {
    font-weight: 400;
    font-size: 30px;
    margin-right: 200px;
}

.s-title2 {
    margin-top: 100px;
    font-weight: 400;
    font-size: 30px;
}

.step-button {
    margin-top: 30px;
    border: none;
    background-color: #3ba366;
    color: #ffffff;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.step-button i {
    margin-right: 8px;
}

.step-button:hover {
    background-color: rgb(40, 140, 90);
}


.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.carousel {
    position: relative;
    width: 60%;
    /* Ajuster la largeur du carrousel selon vos besoins */
    max-width: 700px;
    /* Limite la largeur maximale du carrousel */
    overflow: hidden;
    margin-right: 20px;
}

.carousel img {
    width: 100%;
    /* Assure que l'image occupe toute la largeur du conteneur */
    height: auto;
    /* Maintient le ratio d'aspect */
    display: none;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    display: block;
    opacity: 1;
}

.steps-list {
    width: 30%;
}

.steps-list ol {
    list-style-type: none;
    /* Supprime les puces */
    padding-left: 0;
}

.steps-list i {
    margin-right: 20px;
    font-size: 20px;
    /* Taille des numéros */
    transition: color 0.1s ease, font-size 0.3s ease;
    /* Animation de transition de la couleur */

}

.steps-list li {
    font-size: 20px;
    /* Taille du texte des étapes */
    margin-left: 70px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    color: #696464;
    /* Couleur par défaut du texte des étapes */
    transition: color 0.3s ease;
    /* Animation de transition de la couleur */
}

.step-item {
    margin-top: 20px;
}

.step-text {
    color: rgb(0, 0, 0);
    /* Couleur par défaut du texte des étapes */
    display: none;
    margin-top: -30px;
    margin-bottom: 10px;
}

.steps-list li.active {
    color: green;
    /* Couleur verte pour l'étape active */
    font-size: 28px;
    /* Taille plus grande pour l'étape active */
    font-weight: bold;
}

.step-item.active+.step-text {
    font-size: 15px;
    margin-left: 100px;
    font-weight: 400;
    display: block;
}

.steps-list li.active i {
    font-size: 28px;
}








/* New sections */

.title-benefit {
    color: white;
    margin-top: 20px;
    font-size: 35px;
    font-weight: 400;
}

.title-benefit i {
    margin-left: 6px;
}

.soustitle {
    color: white;
    font-size: 25px;
    font-weight: 100;
    margin-bottom: 20px;
}

.benefits-section {
    background-color: #38b755;
    padding: 40px 20px;
}

.benefits {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.benefit {
    background-color: #ffffff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.benefit img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
}

.benefit h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 16px;
    margin-bottom: 20px;
}

.benefit-button {
    background-color: #38b755;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.benefit-button:hover {
    background-color: #2c9447;
}







/*other sections*/

.story {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 40px;
    gap: 40px;
}

.story-content {
    margin-left: 50px;
    flex: 1;
    max-width: 600px;
    /* Ajustez la largeur du texte selon vos besoins */
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.little {
    display: none;
}

.qualities {
    margin-left: 50px;
    flex: 1;
    max-width: 600px;
    /* Ajustez la largeur des qualités selon vos besoins */
}

.qualities h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.big {
    list-style-type: none;
    padding: 0;
}

.qualities li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-wrap: nowrap;
}

.qualities li i {
    margin-right: 10px;
    color: #38b755;
}

.thumb-container {
    display: flex;
    margin-top: 10px;
    margin-left: 100px;
    align-items: center;
}

.thumb {
    margin-right: 20px;
    /* Espacement entre le pouce et le compteur */
    font-size: 1rem;
    /* Ajustez la taille du pouce */
    color: #38b755;
    /* Couleur du pouce */
}

.counter-container {
    display: flex;
    align-items: baseline;
    /* Alignement sur la ligne de base */
}

.display-counter {
    color: #38b755;
    font-size: 2.5rem;
    /* Ajustez la taille du nombre */
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-weight: 200;
}

.unit {
    color: #38b755;
    font-size: 2.5rem;
    /* Ajustez la taille du nombre */
    font-weight: 200;
}

.story-ambition {
    margin-left: 50px;
    flex: 1;
    max-width: 600px;
    /* Ajustez la largeur du texte selon vos besoins */
}

.story-ambition h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-ambition p {
    font-size: 1.2rem;
    line-height: 1.6;
}







/* contact */
.contact-form-section {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.litemail {
    display: none;
}

.contact-content {
    display: flex;
    width: 100%;
}

.form-container {
    width: 55%;
    padding-right: 2rem;
}

.contact-info {
    width: 40%;
    padding-left: 2rem;
    border-left: 2px solid #ddd;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: rgb(40, 140, 90);
}

.contact-form {
    display: flex;
    text-align: left;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form label {
    flex: 1 1 100%;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    flex: 1 1 48%;
    margin-bottom: 1.5rem;
    font-size: 16px;
    color: #262626;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(48% - 1rem);
}

.contact-form textarea {
    width: calc(100% - 1rem);
    flex: 1 1 100%;
}

.contact-form button {
    flex: 1 1 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgb(40, 140, 90);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: rgb(31, 110, 71);
}

.contact-info {
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-info strong {
    color: rgb(40, 140, 90);
}




/* end of page */

.footer {
    background-color: #3d3d3d;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.footer-section {
    flex: 1;
    margin: 10px;
}

.footer-content img {
    width: 250px;
}

.footer-section.logo img {
    max-width: 100px;
    margin-bottom: 10px;
}

.footer2 {
    background-color: #000000;
    padding: 20px;
    text-align: center;
    color: #fff;
}

@media(max-width: 1200px) {
    .nav {
        display: none; /* Cache le menu horizontal sur les petits écrans */
    }

    .menu-toggle {
        display: block; /* Affiche le bouton de menu hamburger */
    }

    .menu-toggle2 {
        display: block; /* Affiche le bouton de menu hamburger */
    }

    .sidebar {
        display: none; /* Cache le menu latéral par défaut */
    }

    .sidebar.active {
        display: flex; /* Affiche le menu latéral lorsqu'il est activé */
        transition: transform 0.3s ease; /* Ajoute une transition */
    }

    .intro-box {
        margin-right: 20px;
    }

    .intro-box h2 {
        font-size: 22px;
        margin-left: 30px;
    }

    .intro-text {
        margin-top: 100px;
    }

    .s-title {
        margin-left: 200px;
    }

    .story {
        flex-direction: column;
    }

    .story-content{
        margin-left: 150px;
    }

    .qualities {
        margin-left: 140px;
    }

    .story-ambition{
        margin-left: 150px;
    }

}



@media(max-width: 450px) {



    .logo {
        margin-right: 200px;
        /* Optional: Adjust as needed */
    }

    .intro-text {
        position: absolute;
        top: 55%;
        left: 5%;
        color: #fff;
        z-index: 2;
    }

    .intro-text h2 {
        font-size: 16px;
        font-weight: 600;
    }

    .intro-text p {
        font-size: 13px;
        margin: 10px 0;
    }

    .intro-button {
        background-color: rgb(49, 170, 111);
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .intro-button:hover {
        background-color: rgb(40, 140, 90);
    }

    .intro-box {
        position: absolute;
        margin-left: -50px;
        top: 20%;
        left: 70%;
        background-color: rgb(255, 255, 255);
        padding: 20px;
        border-radius: 20px;
        z-index: 2;
    }

    .intro-box h2 {
        /* display: none; */
        font-size: 12px;
        margin-left: 5px;
    }

    .nspecial {
        display: none;
    }

    .intro-box p {
        font-size: 14px;
        font-weight: 500;
        color: #1f5736;
        margin-top: 10px;
        line-height: 1.5;
    }

    .s-title {
        margin-left: 10px;
        font-size: 20px;
        text-wrap: nowrap;
    }

    .carousel-container {
        display: table-row;
    }

    .carousel {
        max-width: 250px;
        margin-top: 20px;
        margin-left: 50px;
    }


    .steps-list i {
        margin-right: 20px;
        font-size: 12px;
        /* Taille des numéros */
        transition: color 0.1s ease, font-size 0.3s ease;
        /* Animation de transition de la couleur */

    }

    .steps-list li {
        font-size: 12px;
        /* Taille du texte des étapes */
        margin-left: 70px;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        color: #696464;
        /* Couleur par défaut du texte des étapes */
        transition: color 0.3s ease;
        /* Animation de transition de la couleur */
    }

    .step-item {
        margin-top: 20px;
    }

    .step-text {
        color: rgb(0, 0, 0);
        /* Couleur par défaut du texte des étapes */
        display: none;
        margin-top: -30px;
        margin-left: 20px;
        margin-bottom: 10px;
    }

    .steps-list li.active {
        color: green;
        /* Couleur verte pour l'étape active */
        font-size: 15px;
        /* Taille plus grande pour l'étape active */
        font-weight: bold;
    }

    .step-item.active+.step-text {
        text-wrap: nowrap;
        font-size: 15px;
        margin-left: 100px;
        font-weight: 400;
        display: block;
    }

    .steps-list li.active i {
        font-size: 20px;
    }

    .story-content {
        margin-left: 10px;
        flex: 1;
        max-width: 600px;
        /* Ajustez la largeur du texte selon vos besoins */
    }


    .qualities {
        margin-left: 10px;
        flex: 1;
        max-width: 400px;
        /* Ajustez la largeur des qualités selon vos besoins */
    }

    .qualities h2 {
        margin-right: 20px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .big {
        display: none;
        margin-left: -30px;
        list-style-type: none;
        padding: 0;
    }

    .little {
        display: block;
        list-style-type: none;
    }

    .qualities li {
        font-size: 16px;
    }

    .qualities li i {
        margin-left: 4px;
        margin-top: -20px;
    }

    .thumb-container {
        margin-left: 30px;
    }

    .story-ambition {
        margin-left: 10px;
        flex: 1;
        max-width: 600px;
        /* Ajustez la largeur du texte selon vos besoins */
    }



    .litemail {
        display: table-column;
    }

    .bigemail {
        display: none;
    }

    .contact-form-section {
        display: flex;
        justify-content: space-between;
        width: 80%;
        margin: 2rem auto;
        padding: 2rem;
        border-radius: 8px;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .contact-content {
        display: flex;
        width: 100%;
    }

    .form-container {
        width: 55%;
        padding-right: 2rem;
    }

    .contact-info {
        width: 40%;
        padding-left: 1rem;
        border-left: 2px solid #ddd;
    }

    .contact-form-section h2 {
        text-align: center;
        margin-bottom: 1rem;
        color: rgb(40, 140, 90);
    }

    .contact-form {
        display: flex;
        text-align: left;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .contact-form label {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .contact-form input,
    .contact-form textarea {
        flex: 1 1 48%;
        margin-bottom: 1.5rem;
        font-size: 16px;
        color: #262626;
        padding: 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: calc(48% - 1rem);
    }

    .contact-form textarea {
        width: calc(100% - 1rem);
        flex: 1 1 100%;
    }

    .contact-form button {
        flex: 1 1 100%;
        padding: 1rem;
        border: none;
        border-radius: 4px;
        background-color: rgb(40, 140, 90);
        color: white;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .contact-form button:hover {
        background-color: rgb(31, 110, 71);
    }

    .contact-info {
        margin-left: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contact-info h2 {
        font-size: 19px;
    }

    .contact-info p {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

    .contact-info strong {
        color: rgb(40, 140, 90);
    }

    .footer-content {
        display: table-row;
    }

}