.footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #5d3b85;
    color: white;
    border-top: 1px solid grey;
}
a{
    color: white;
    font-style: normal;
    text-decoration: none;
    font-weight: bold;
}
a:hover{
    text-decoration: underline;
    color: #C4B7E1;
}
.footer-icons{
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    width: 25%;
    padding-top: 10px;
    font-size: 20px;
}
.footer-icons a:nth-of-type(1) i:hover {
    color: blue;
    transition: 1s color;
}
.footer-icons a:nth-of-type(2) i:hover {
    color: black;
    transition: 1s color;
}
.footer-icons a:nth-of-type(3) i:hover {
    color: purple;
    transition: 1s color;
}
.footer-icons a:nth-of-type(4) i:hover {
    color: black;
    transition: 1s color;
}
.footer-icons a:nth-of-type(5) i:hover {
    color: red;
    transition: 1s color;
}
.footer-menu{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: #c4b7e19c;
    color: #5d3b85;
}
/* Secciones del footer */
.footer-section {
    padding: 5px;
    min-height: 85%;
}
/* Títulos */
.footer-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
/* Lista oculta en móvil */
.footer-content {
    list-style: none;
    padding: 0;
}
/* Ítems de lista */
.footer-content li {
    font-size: 16px;
    margin-bottom: 5px;
}
.footer-content a {
    text-decoration: none;
    color: #5d3b85;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: black;
}

.footer-privacy{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    margin-bottom: 5px;
}
.footer-privacy-text{
    font-size: 16px;
    font-weight: bold;
}

/* RESPONSIVE: En pantallas pequeñas, se mostrarán en columna */
@media (max-width: 1200px) {
    .footer-menu {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .footer-menu a img{
        margin: 20px 0px;
    }

    /* Oculta las listas en móvil hasta que se haga clic */
    .footer-content {
        display: none;
    }

    .footer-title{
        padding-bottom: 10px;
        border-bottom: 2px solid;
    }

    .footer-section{
        width: 50%;
        padding: 0px 10px;
    }

    /* Agrega una animación suave */
    .footer-content.active {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        animation: fadeIn 0.3s ease-in-out;
    }
}

@media (max-width: 768px) {
    .footer-section{
        width: 100%;
    }
    .footer-menu a img {
        margin: 0px;
        height: 90px !important;
    }
    .footer-title {
        font-size: 16px;
    }
    .footer-privacy-text {
        font-size: 14px;
    }
    .footer-privacy {
        padding-top: 0px;
    }
    .footer-icons {
        width: 55%;
        padding-top: 17px;
    }
}

/* Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}