.section-intro {
    text-align: center;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start; /* Aligne les éléments au début de l'axe transversal */
    max-height: none; /* Pas de limite de hauteur */
    overflow: visible; /* Pas de défilement */
    padding: 1rem;
}

.card {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 calc(25% - 2rem); /* Ajustez la largeur des cartes */
    min-width: 200px; /* Largeur minimale pour les cartes */
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: auto; /* Pousse le contenu vers le haut */
}

#donate {
    flex-direction: row;
    justify-content: space-around;
}

#donate > img {
    height: 80%;
}

@media (max-width: 768px) {
    h2 {
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }
    .section-cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .card {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .section-intro {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    .card p {
        font-size: 1rem;
    }
    .card img {
        width: 60px;
        height: 60px;
    }
    #donate {
        flex-direction: column;
        align-items: center;
    }
    #donate > img {
        height: auto;
        width: 80%;
    }
}
