#baner_empresa {
    width: 100%;
    background: #244972;
    color: white;
    height: 70px;
    display: flex;
    align-items: center; 
    margin-top: 7rem !important;
}

#titulo {
    opacity: 0;
}

#titulo.animate-titulo {
    animation: titulo 0.7s ease-out forwards;
}

#titulo h3 {
    font-weight: bold;
    margin-bottom: 0rem;
}

@keyframes titulo {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* DETALLE EMPRESA */
#banner {
    opacity: 0;
}

.bg-image {
    /* background-image: url('../img/empresa.jpg'); */
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/empresa.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    height: 300px;
    border-radius: 10px;
}

.bg-image p{
    font-size: 20px;
    margin-bottom: 0px;
}

#banner.animate-detalle-empresa {
    animation: baner 0.7s ease-out forwards;
}

@keyframes baner {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.text-light {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente para el texto */
    margin: 0 auto;
    max-width: 80%; /* Ajusta esto según prefieras */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-radius: 8px;
}

/* Tarjetas */

.card_empresa {
    padding-right: 30px;
    background-color: #efefef;
    border-color: #efefef;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Ejemplo de sombra */
}

#div_img_mision {
    height: 120px;
}

#div_img_vision {
    height: 120px;
}

#div_mision {
    opacity: 0;
}

#div_mision.animate-mision {
    animation: mision 0.7s ease-out forwards;
}

@keyframes mision {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#div_vision {
    opacity: 0;
}

#div_vision.animate-vision {
    animation: vision 0.7s ease-out forwards;
}

@keyframes vision {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.card-title {
    font-weight: bold;
}

.card-text {
    color: rgba(0, 0, 0, 1);
    font-size: 1rem;
}

/* RESPONSIVE TABLETS */
@media only screen and (max-width: 993px) {
    .bg-image p {
        font-size: 17px;
    }
}

@media only screen and (max-width: 768px) {
    .bg-image p {
        font-size: 15px;
    }
}

@media only screen and (max-width: 476px) {
    .bg-image p {
        font-size: 13px;
    }

    #div_img_mision {
        height: 100px;
    }

    #div_img_vision {
        height: 100px;
    }
}

@media only screen and (max-width: 406px) {
    .text-light {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media only screen and (max-width: 356px) {
    .bg-image p {
        font-size: 12px;
    }
}