/* Estilos generales */

footer * {
    box-sizing: border-box;

}

footer {
    margin-bottom: 0;
    background-color: #193863;
}

footer h1 {
    font-size: 1rem;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

footer .container {
    margin: 10px;
    /* Adiciona margem nas bordas de fora */
}

footer .row {
    display: flex;
    justify-content: space-evenly;
    /* Distribui espaços uniformes entre as 4 caixas */
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer p {
    font-size: 0.8rem;
    line-height: 1.5rem
}

footer li {
    font-size: 0.8rem;
}


/* Estilos específicos de la caja */

.caja {
    background-color: #304c73;
    border-radius: 18px;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    margin: 0 10px 10px 0;
    padding: 25px 0px 0 0px;
    width: calc(18%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.caja:last-child {
    margin-right: 0;
}

.caja h1 {
    font-size: 1rem;
    margin: 0;
    margin-bottom: 10px;
}

.caja address {
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.caja address p {
    margin: 0;
}

.caja ul {
    margin-top: 20px;
}

.caja li {
    margin-bottom: 10px;
}

.caja img {
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    display: block;
    margin: 0 auto;
}

/* Estilos del separador horizontal */

footer .dropdown-divider {
    border: none;
    border-top: 1px solid #fff;
    margin: 10px;
}

.card-down-color {
    background-color: #385276;
}

#bajo-footer {
    color: #fff;
    line-height: 0.5;
    font-size: 0.7rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#bajo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
}

#bajo-img {
    width: 50%;
    height: auto;
    margin-top: -10px;
}

.custom-border-footer {
    border-color: #fff;
    border-width: 2px;
    margin: 10px;
}

@media screen and (max-width: 768px) {
    .caja {
        width: 85%;
        /* Otros estilos */
    }

    .caja img {
        padding-bottom: 20px;
    }
}