.home-container {
    margin: 0 auto;
    max-width: 1390px;
    text-align: left;
}

.hamburger {
    display: none; /* Masqué par défaut */
    cursor: pointer;
    font-size: 24px; /* Taille du hamburger */
}

/* Banner Styles */
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 5%;
}

.banner-left {
    flex: 1;
    padding-right: 20px;
}

.banner-left h1 {
    color: #004439;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 80px; /* 133.333% */
    text-align: left;
    margin-bottom: 49px;
}

.banner-left p {
    color: #0E6154;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 187.5% */
    margin-bottom: 35px;
}

.banner-right {
    flex: 1;
    text-align: right;
}

.banner-right img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.buttons a {
    color: #004439;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 125% */
    position: relative;
}

.buttons a img {
    position: absolute;
    right: 32px;
}

.btn-primary, .btn-secondary {
    display: flex;
    width: 315px;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-primary {
    border-radius: 20px;
    background: #FFC500;
}

.btn-primary:hover {
    text-decoration: none;
}

.btn-secondary {
    border-radius: 20px;
    border: 1px solid #004439;
}

.btn-secondary:hover {
    text-decoration: none;
}

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

.hidden {
    opacity: 0;
    transition: opacity 2s ease-out; /* Increased duration */
}

.visible {
    opacity: 1;
    animation: fadeIn 2s; /* Apply fadeIn animation */
}

/* A Propos Section Styles */
.a_propos {
    padding: 50px 5%;
    border-radius: 30px;
    background: #F2F4F4;
    margin: 0 5%;
}

.a_propos-header {
    display: flex;
    flex-direction: column; /* Change to column to stack icon and title vertically */
    align-items: center; /* Center horizontally */
    margin-bottom: 30px;
}

.a_propos-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px; /* Add margin to separate icon and title */
}

.a_propos h2 {
    color: #004439;
    font-size: 36px;
    font-weight: 600;
    text-align: center; /* Center text */
}

.a_propos-cards {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.card {
    height: 592px;
    padding: 56px 21px;
    flex: 1;
    text-align: center;
    border-radius: 30px;
    background: #FFF;
}

.card-image {
    width: 134px;
    height: 134px;
    margin-bottom: 20px;
}

.card h3 {
    color: #004439;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #3B605A;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 185.714% */
    text-align: left;
    padding: 0 21px;
}

.card ul li {
    color: #0E6154;
    font-size: 14px;
    margin-bottom: 10px;
}

.card ul li span {
    font-weight: 700;
}

/* Partenaires Section Styles */
.partenaires {
    padding: 50px 5%;
    border-radius: 30px;
    text-align: center;
    margin: 50px 0;
}

.partenaires-phrase {
    color: #004439;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px; /* 183.333% */
    margin-bottom: 50px;
}

.partenaires-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.partenaire-logo {
    width: 226px;
    height: 94px;
}

.solution-progress-bar {
    width: 5px;
    background: #D3D3D3; /* Couleur grise pour la barre */
    position: relative;
    margin: 0 20px;
    border-radius: 5px;
}

.solution-progress-bar::before {
    content: '';
    position: absolute;
    width: 100%;
    background: #004439; /* Couleur verte pour la partie active */
    border-radius: 5px;
    transition: height 0.3s ease, top 0.3s ease;
    height: 25%; /* Par défaut, la hauteur de la première section */
    top: 0; /* Par défaut, aligné avec le premier onglet */
}

.solution-tab:nth-child(2).active ~ .solution-progress-bar::before {
    top: 25%;
    height: 25%;
}

.solution-tab:nth-child(3).active ~ .solution-progress-bar::before {
    top: 50%;
    height: 25%;
}

.solution-tab:nth-child(4).active ~ .solution-progress-bar::before {
    top: 75%;
    height: 25%;
}

/* Newsletter Section Styles */
.newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0 0 5%;
    background: #F2F4F4;
    border-radius: 30px;
    margin: 50px 5%;
}

.newsletter-left {
    flex: 1;
    padding-right: 20px;
}

.newsletter-left h1 {
    color: #004439;
    font-size: 36px;
    margin-bottom: 20px;
    text-align: left;
    font-style: normal;
    font-weight: 700;
    line-height: 58px; /* 161.111% */
}

.newsletter-left label {
    color: #0E6154;
    display: block;
    color: #004439;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px; /* 314.286% */
}

.email-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-container input[type="email"] {
    flex: 1;
    padding: 0 10px;
    font-size: 16px;
    width: 399px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--arrondi, 20px);
    border: 1px solid #D9E2E1;
    background: #FFF;
}

.email-container button {
    padding: 10px 20px;
    border: none;
    color: #004439;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 138px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--arrondi, 20px);
    background: #FFC500;
}

.newsletter-right {
    flex: 1;
    text-align: right;
}

.newsletter-right img {
    max-width: 100%;
    height: auto;
}

/* La Solution Section Styles */
.la_solution {
    padding: 50px 5%;
    border-radius: 30px;
    margin: 50px 0;
}

.la_solution .a_propos-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.la_solution .a_propos-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.la_solution h2 {
    color: #004439;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
}

.la_solution p {
    color: #0E6154;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 185.714% */
}

.solution-content {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.solution-left {
    flex: 1;
    text-align: center;
    width: 611px;
    height: 486px;
    flex-shrink: 0;
    border-radius: 30px;
    background: #F1F4F4;
}

.solution-image-container {
    max-width: 100%;
    height: auto;
}

.solution-right {
    flex: 1;
}

.solution-tabs {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.solution-tab {
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    width: 510px;
    height: 62px;
    padding: 23px 33px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: var(--arrondi, 20px);
    background: #F1F4F4;
}

.solution-tab.active {
    background: #004439;
}

.solution-tab.active p {
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 183.333% */
}

.solution-tab p {
    text-align: left;
    margin: 0;
    color: #004439;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.solution-tab p span {
    font-weight: 700;
}

/* Avantages Section Styles */
.avantages {
    padding: 50px 5%;
    border-radius: 30px;
    background: #F2F4F4;
    margin: 0 5%;
    background: #004439;
    height: auto; /* Change to auto */
}

.avantages .a_propos-header {
    margin-bottom: 42px;
}

.avantages .a_propos-header h2 {
    color: #FFF;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 65% */
}

.avantages-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.avantages-tabs {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.avantages-tab {
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    flex: 1;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: var(--arrondi, 20px);
    background: rgba(255, 255, 255, 0.10);
}

.avantages-tab.active {
    background: #FFC500;
}

.avantages-tab.active p {
    color: #004439;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px; /* 162.5% */
}

.avantages-tab p {
    text-align: left;
    margin: 0;
    color: rgba(255, 255, 255, 0.50);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 162.5% */
}

.avantages-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.avantages-detail {
    display: none;
}

.avantages-detail.active {
    display: block;
}

.avantages-detail-content {
    display: flex;
    align-items: center;
    gap: 23px;
}

.avantages-tab-title {
    display: none; /* Hide by default */
}

.avantages-text {
    border-radius: var(--arrondi, 20px);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    height: 302px; /* Ensure height is auto for mobile */
    align-items: center;
    gap: 10px;
    width: 100%;
}

.avantages-text ul {
    list-style: none;
    margin: 0;
    color: #3B605A;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 185.714% */
    text-align: left;
    padding: 0 67px;
}

.avantages-text ul li {
    margin-bottom: 10px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 175% */
}

.avantages-pagination {
    display: none;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #FFC500;
}

/* Fullscreen Navigation Menu Styles */
.nav-menu.fullscreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    z-index: 1000;
    padding-top: 40px;
}

.nav-menu.fullscreen .nav {
    flex-direction: column;
    gap: 55px;
    margin-top: 89px;
}

.nav-menu.fullscreen .nav-item {
    display: block;
}

.nav-menu .buttons, .nav-menu img {
}

.nav-menu.fullscreen .buttons, .nav-menu.fullscreen img {
    display: flex; /* Affiche les boutons en mode plein écran */
    flex-direction: column;
    gap: 19px;
}

.nav-menu.fullscreen .buttons {
    margin-top: 89px;
    width: 315px;
}

input:focus-visible {
    outline: 1px solid #59B224;
}

.contact-container {
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
    padding: 70px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form textarea {
    height: 253px;
}

.contact-icon {
    display: block;
    margin: 0 auto; /* Centrer l'image */
}

.contact-container h2 {
    text-align: center; /* Centrer le texte */
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    margin-top: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    color: #004439;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.form-control {
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #D8E8E8;
    background: var(--Color-fond, #F1F4F4);
    height: 30px
}

.btn-submit {
    padding: 15px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    background: #59A337;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    height: 50px;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 60px 5% 20px 5%;
    }

    .form-group label {
        font-size: 14px;
        line-height: 20px;
    }

    .form-control {
        font-size: 16px;
    }

    .btn-submit {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        height: 50px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 5%;
        margin-bottom: 41px;
    }

    .banner-left {
        order: 2;
        padding-right: 0;
    }

    .banner-right {
        order: 1;
        margin-bottom: 20px;
    }

    .banner-left h1 {
        margin-bottom: 21px;
        font-size: 44px;
        font-style: normal;
        font-weight: 700;
        line-height: 60px;
    }

    .banner-left p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 20px;
        text-align: left;
    }

    .buttons {
        flex-direction: column;
        gap: 19px;
    }

    .btn-primary, .btn-secondary {
        display: flex;
        width: auto;
        height: 50px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .avantages-pagination {
        display: flex; /* Display pagination on mobile */
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .a_propos h2 {
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 26px; /* 108.333% */
    }

    .a_propos-icon {
        margin-bottom: 26px;
    }

    .card ul li {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 26px; /* 185.714% */
    }

    .a_propos-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        margin-bottom: 20px;
    }

    .card:last-child {
        margin-bottom: 0;
    }

    .newsletter {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 45px 5% 0 5%;
        gap: 50px;
    }

    .newsletter-left {
        padding-right: 0;
    }

    .newsletter-left h1 {
        margin-bottom: 25px;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 48px; /* 200% */
    }

    .newsletter-left label {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
        text-align: left;
    }

    .email-container {
        flex-direction: column;
        gap: 10px;
    }

    .email-container input[type="email"],
    .email-container button {
        width: 100%;
        flex: none;
    }

    .newsletter-right {
        margin-top: 20px;
    }

    .nav-menu {
        display: none; /* Masqué sur mobile par défaut */
    }

    .hamburger {
        display: block; /* Affiche le hamburger sur mobile */
    }

    .footer {
        height: auto !important;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .footer-logo {
        align-self: flex-start; /* Align the logo to the left */
        margin-bottom: 62px;
    }

    .footer {
        padding-top: 43px !important;
        padding-bottom: 0 !important;
    }

    .footer-tabs {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-tab {
        text-align: left;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 20px;
    }

    .header .logo {
        display: none; /* Cache le logo par défaut */
    }

    .header .favicon {
        display: block; /* Affiche le favicon */
        max-height: 40px; /* Ajuste la taille du favicon */
    }

    .avantages-tabs {
        display: none;
    }

    .avantages-text {
        height: auto;
        flex-direction: column; /* Ensure column layout for mobile */
        padding: 26px 0;
    }

    .avantages-detail-content {
        flex-direction: column;
        text-align: center;
    }

    .avantages-text ul {
        padding: 0 20px;
    }

    .solution-content {
        flex-direction: column;
        align-items: center;
    }

    .solution-left, .solution-right {
        width: 100%;
    }

    .solution-tabs {
        display: none;
    }

    .solution-tab {
        display: none;
    }

    .solution-tab.active {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .solution-tab p {
        font-size: 16px;
        font-weight: 600;
    }

    .solution-image-container {
        width: 100%;
        text-align: center;
    }

    .solution-image-container img {
        width: 100%;
        height: auto;
    }

    .solution-pagination {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        cursor: pointer;
    }

    .dot.active {
        background: #FFC500;
    }

    .la_solution .dot.active {
        background: #004439;
    }

    .a_propos-cards {
        display: flex;
        overflow: hidden;
        position: relative;
    }

    .a_propos .card {
        transition: transform 0.5s ease-in-out;
        padding: 56px 18px;
    }

    .a_propos .card:not(.active) {
        display: none;
    }

    .a_propos-pagination {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .a_propos-pagination .dot {
        height: 10px;
        width: 10px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
    }

    .a_propos-pagination .dot.active {
        background-color: #717171;
    }
    .email-container input[type="email"] {
        padding: 0;
    }
}

/* SweetAlert2 Custom Styles */
.swal-custom-popup {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 68, 57, 0.2) !important;
    border: 2px solid #F1F4F4 !important;
}

.swal-custom-title {
    color: #004439 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
}

.swal-custom-content {
    color: #0E6154 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    font-family: inherit !important;
}

.swal-custom-button {
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 30px !important;
    text-transform: none !important;
    box-shadow: 0 4px 15px rgba(89, 163, 55, 0.3) !important;
    transition: all 0.3s ease !important;
}

.swal-custom-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(89, 163, 55, 0.4) !important;
}

/* Animation d'entrée personnalisée */
.swal2-show {
    animation: swal2-show 0.3s ease-out !important;
}

@keyframes swal2-show {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

