footer {
    display: flex;
    width: 100%;
    justify-content: center;
    background: #000000;
    color: #FFFFFF;
}

.footer_sz {
    display: flex;
    width: calc(100% - 20px);
    max-width: 1280px;
    flex-direction: column;
    margin: 70px 0 15px;
}

.footer_menu {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer_menu_left {
    display: flex;
    width: calc(30% - 20px);
    flex-direction: column;
}

.footer_menu_right {
    display: flex;
    width: calc(70% - 20px);
    flex-direction: row;
    flex-wrap: wrap;
}

.footer_menu_logo_c {
    display: flex;
    width: 100%;
}

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

.footer_menu_description_c {
    line-height: 1.29;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-size: 14px;
    margin: 24px 0 0;
    color: #FFFFFF;
}

.footer_menu_link_block {
    display: flex;
    flex-direction: column;
    width: calc(100% / 3 - 10px);
    max-width: 300px;
    margin: 0 5px 38px;
    align-items: flex-start;
}

.footer_menu_link_block_title {
    line-height: 1.29;
    font-family: "IBM Plex Sans", serif;
    font-weight: 600;
    font-size: 15px;
    margin: 4px 0 0;
    color: #FFFFFF;
}

.footer_menu_link_block_list {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
}

.footer_menu_link_block_list_i {
    line-height: 1.71;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-size: 15px;
    color: #FFFFFF !important;
    letter-spacing: 0.49px;
    text-transform: capitalize;
    opacity: 0.74;
    text-decoration: none;
}

.footer_menu_link_block_list_i:hover {
    text-decoration: underline;
}

.footer_menu_link_don {
    display: flex;
    background: #C80023;
    border: 1px solid #C80023;
    align-items: center;
    padding: 20px 24px;
    border-radius: 40px;
    text-decoration: none !important;
    transition: all 345ms ease;
}

.footer_menu_link_don svg {
    display: inline-block;
    width: 20px;
    height: auto;
}

.footer_menu_link_don svg path {
    fill: #FFFFFF;
    transition: all 345ms ease;
}

.footer_menu_link_don span {
    line-height: 1;
    font-family: "IBM Plex Sans", serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    margin-left: 10px;
    transition: all 345ms ease;
}

.footer_menu_link_don:hover {
    border: 1px solid #FFFFFF;
    background: transparent;
}

.footer_copyright_terms {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
}

.footer_copyright {
    display: flex;
    width: calc(30% - 20px);
    flex-direction: column;
    line-height: 1;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-size: 12px;
    color: #959595;
}

.footer_terms {
    display: flex;
    width: calc(70% - 20px);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer_terms_i {
    line-height: 1;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-size: 12px;
    color: #959595;
    margin: 0 5px 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer_menu {
        flex-direction: column;
        gap: 30px; /* Espacement vertical accru */
    }

    .footer_menu > div {
        width: 100%;
    }

    .footer_menu_link_block {
        width: 100%;
        max-width: none; /* Suppression de la limite de largeur */
        margin: 0 0 30px; /* Marge naturelle ajustée */
    }

    .footer_menu_link_don {
        width: calc(100% - 40px);
        justify-content: center; /* Centrage du bouton */
        margin-top: 20px; /* Marge naturelle ajoutée */
    }

    .footer_copyright_terms {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px; /* Espacement vertical accru */
        margin-top: 20px; /* Marge naturelle ajoutée */
        padding-top: 20px; /* Marge naturelle ajoutée */
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Séparation visuelle */
    }

    .footer_copyright,
    .footer_terms {
        width: 100%;
        justify-content: center;
    }

    .footer_terms {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer_sz {
        width: calc(100% - 20px); /* Ajustement pour petits écrans */
    }

    .footer_menu_link_block_list {
        gap: 5px; /* Espacement réduit pour petits écrans */
    }

    .footer_menu_link_don {
        padding: 15px 20px; /* Taille réduite pour petits écrans */
    }
}


/* Bouton "Back to top" */
.back-to-top {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #C80023;
    border: 1px solid #C80023;
    color: #FFFFFF;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 345ms ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #FFFFFF;
    color: #C80023;
    border: 1px solid #C80023;
}
