.section-mision-vision {
    height: max-content;
    width: 100%;
    padding: 60px 0;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container-mision-vision {
    height: max-content;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.content-cards {
    height: 480px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
}

.title-misvis {
    width: 100%;
    height: auto;
    align-items: center;
}

.title-misvis h2 {
    text-transform: capitalize;
    color: var(--color-space-cadet);
    text-align: center;
}

.body-card-container {
    height: 300px;
    width: 350px;
    perspective: 1000px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.body-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    border-radius: 20px;
}

.body-card-container:hover .body-card {
    transform: rotateY(180deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}


.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: var(--color-white);
    padding: 40px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-front {
    transform: rotateY(0deg);
}

.card-back {
    background-color: var(--color-space-cadet);
    transform: rotateY(180deg);
    color: white;
    justify-content: flex-start;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-front h2 {
    text-transform: capitalize;
    font-size: 2.5rem;
    color: var(--color-space-cadet);
    margin: 0;
    width: auto;
    position: static;
}

.body-card .valores-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    line-height: 1.4;
    color: white;
}

.body-card .valores-lista li {
    margin-bottom: 8px;
    padding-left: 0;
    color: inherit;
}

.body-card .valores-lista li::before {
    content: "•";
    color: var(--color-moonstone);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media screen and (max-width: 1536px) {
    .container-mision-vision {
        width: 80%;
    }
}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 1024px) {
    .content-cards {
        flex-direction: column;
    }

    .body-card-container {
        width: 100%;
    }

    .body-card-container:hover .body-card {
        transform: rotateX(-180deg);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }

    .card-back {
        background-color: var(--color-space-cadet);
        transform: rotateX(-180deg);
        color: white;
        justify-content: center;
        padding-top: 30px;

    }


    .card-back .valores-lista {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }


    .card-back .valores-lista li {
        display: inline;
        padding: 0;
        margin: 0;
        line-height: 1.5;
    }

    .card-back .valores-lista li:not(:last-child)::after {
        content: " ";
        white-space: pre;
        font-weight: bold;
    }
    .body-card .valores-lista li::before {
        margin-left: 0em;
    }

}

@media screen and (max-width: 768px) {
    .content-cards {
        height: 650px;
    }
    .card-front h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 640px) {
    .content-cards {
        height: max-content;
    }
    .body-card-container { 
        height: 325px;
    }
    .card-back .valores-lista li {
        display: block;
    }
}