#baner_servicios {
    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;
    }
}

#banner {
    opacity: 0;
}

.bg-image {
    /* background-image: url('../img/home.jpg'); */
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/home.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    height: 300px;
    border-radius: 10px;
}

.bg-image p{
    font-size: 20px;
}

#banner.animate-detalle-servicio {
    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_servicio {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-title {
    color: #0056b3;
    margin-bottom: 15px;
}

.img-fluid {
    cursor: pointer;
}  

/* animaciones */

#div_fabricaciones img {
    width: 100%;
    border-radius: 0.25rem;
}

#div_fabricaciones {
    opacity: 0;
}

#div_fabricaciones.animate-fabricacion {
    animation: fabricacion 0.7s ease-out forwards;
}

@keyframes fabricacion {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#div_reparaciones img {
    width: 100%;
    border-radius: 0.25rem;
}

#div_reparaciones {
    opacity: 0;
}

#div_reparaciones.animate-reparaciones {
    animation: reparaciones 0.7s ease-out forwards;
}

@keyframes reparaciones {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#div_asistencia_tecnica img {
    width: 100%;
    border-radius: 0.25rem;
}

#div_asistencia_tecnica {
    opacity: 0;
}

#div_asistencia_tecnica.animate-asistencia-tecnica {
    animation: asistencia_tecnica 0.7s ease-out forwards;
}

@keyframes asistencia_tecnica {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.contacto-container {
    margin: auto;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
    padding: 20px;
}

.contacto-container h2 {
    color: #0056b3;
    font-size: 24px;
}

.contacto-container p {
    font-size: 16px;
    line-height: 1.6;
}

.contacto-container a {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.contacto-container a:hover {
    background-color: #004494;
}

@media only screen and (max-width: 767px) {
    .card-body {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 540px) {
    .bg-image p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 475px) {
    .text-light {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .bg-image p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 426px) {
    .contacto-container h2 {
        font-size: 20px;
    }

    .contacto-container a {
        font-size: 14px;
    }
}

@media only screen and (max-width: 396px) {
    .bg-image p {
        font-size: 15px;
    }
}