@import url('https://fonts.googleapis.com/css2?family=Emblema+One&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Emblema+One&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
.img-head{
    width: 75% !important;
    height: auto !important;
}

.img-footer{
    width: 100% !important;
    height: auto !important;
    padding-top: 5vh !important;
    padding-left: 2vh !important;
}

/* region Estilo para el video de fondo */
.slider_bg_box {
    position: relative;
    width: 100%;
    height: 900px; /* Ajusta la altura según tus necesidades, 100vh ocupa toda la pantalla */
    padding-top: 150px !important;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que el video cubra todo el contenedor sin distorsionarse */
    transform: translate(-50%, -50%);
    z-index: -1; /* Coloca el video detrás del contenido del carrusel */
}

/* Asegura que el contenido del carrusel esté por encima del video */
.slider_section {
    position: relative;
    z-index: 1;
}

.detail-box-banner {
    margin-top:150px;
}

.detail-box-banner h1{
    color:#fff;
}

/* Opcional: mejora la legibilidad del texto sobre el video */
.detail-box h1, .detail-box p  .detail-box-banner h1, .detail-box-banner p {
    color: #fff; /* Color blanco para que contraste con el video */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Sombra para mayor legibilidad */
}

.carousel-inner{
    height: 62vh !important;
}


/* endregion */

.alinea-parrafo{
    text-align: justify; /* Justifica el texto a ambos lados */
    max-width: 800px; /* Limita el ancho para mejor legibilidad */
    margin: 0 auto; /* Centra el párrafo en la página */
    padding: 20px; /* Espacio interno opcional */
}


.clientes_section {
    padding: 20px 0; /* Reducimos el padding superior e inferior */
}

.clientes_title {
    text-align: center;
    margin-bottom: 20px;
}

.clientes_title h2 {
    color: #1a3c5e; /* Color similar al del título en la imagen */
    font-size: 2rem;
    margin-bottom: 10px;
}

.underline_red {
    width: 50px;
    height: 3px;
    background-color: #e63946; /* Línea roja */
    margin: 0 auto;
}

.clientes_title p {
    color: #1a3c5e;
    font-size: 1rem;
    margin-top: 10px;
}

.slider_container {
    overflow: hidden;
    width: 100%;
}

.clientes_slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 auto;
    width: 150px; /* Ajusta según el tamaño de tus logos */
    margin: 0 20px; /* Espacio entre logos */
}

.slide img {
    width: 100%;
    height: auto;
}




.modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.modal-body {
    padding: 2rem;
}
.text-primary {
    color: #1a3c5e !important;
    font-weight: bold;
}
.lead {
    font-size: 0.75rem;
    color: #333;
}

.img-fluid {
    margin-bottom: 1rem;
    max-width: 200px;
    display: block; /* Asegura que la imagen sea un bloque */
    margin-left: auto; /* Centrado horizontal */
    margin-right: auto; /* Centrado horizontal */
}

#btn_whatsapp{
    background-color: forestgreen;
}

/* Overlay */
.loading-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo gris semitransparente */
    z-index: 9999; /* Asegura que esté por encima de todo */
    justify-content: center;
    align-items: center;
}

/* Overlay */
.loading-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo gris semitransparente */
    z-index: 9999; /* Por encima de todo */
    display: flex; /* Usamos flexbox para centrar */
    justify-content: center; /* Centrado horizontal */
    align-items: center; /* Centrado vertical */
}

/* GIF */
.loading-gif {
    max-width: 100px; /* Tamaño del GIF */
}

/* FLIp */

       /* Contenedor de la tarjeta */
    .flip-card {
        width: 500px; /* Ancho fijo */
        height: 300px; /* Alto fijo */
        perspective: 1000px; /* Profundidad 3D */
        margin: 50px auto; /* Centrado en la página */
    }

    /* Contenedor interno que rota */
    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s; /* Duración del volteo */
        transform-style: preserve-3d; /* Habilita el efecto 3D */
    }

    /* Al pasar el mouse, rota 180 grados */
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

    /* Caras frontal y trasera */
    .flip-card-front-mision, .flip-card-back-mision,
    .flip-card-front-vision, .flip-card-back-vision {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden; /* Oculta la cara trasera cuando no está visible */
        border: 5px solid #ffffff; /* Marco blanco */
        border-radius: 10px;
        overflow: hidden;
    }

    /* Cara frontal (imagen) */
    .flip-card-front-mision, .flip-card-front-vision  {
        background-color: #ffffff; /* Fondo blanco detrás de la imagen */
    }

    /* Cara trasera (texto) */
    .flip-card-back-mision {
        background-color: #2f668b; /* Fondo azul */
        color: #ffffff; /* Texto blanco */
        transform: rotateY(180deg); /* Rota 180° para ser la cara trasera */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .flip-card-back-vision {
        background-color: #a5284e; /* Fondo azul */
        color: #ffffff; /* Texto blanco */
        transform: rotateY(180deg); /* Rota 180° para ser la cara trasera */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    /* Estilo de la imagen */
    .flip-card-front-mision img, .flip-card-front-vision img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ajusta la imagen al contenedor */
    }

.rubik{
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: bolder;
    font-style: normal;
}

.emblema{
    font-family: "Emblema One", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* Politicas  */

.quality_section {
    position: relative;
    overflow: hidden;
}
.quality-title {
    margin-bottom: 0;
}
.quality-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.quality-content:hover {
    transform: translateY(-10px); /* Efecto de elevación al pasar el mouse */
}
/* Animaciones de Animate.css (si lo tienes incluido) */
.animate__fadeInDown {
    animation-duration: 1s;
}
.animate__fadeInUp {
    animation-duration: 1.2s;
}

/* Servicios */

.services-mosaic {
    padding-top: 30px;
}
.mosaic-card {
    background-color: #f4f6f8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Asegura que las tarjetas tengan altura uniforme */
}
.mosaic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.mosaic-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.mosaic-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}
.mosaic-card ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.mosaic-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
/* Animaciones */
.animate__fadeIn {
    animation-duration: 0.8s;
}

/* Galerias */

.main-image-container {
    border: 5px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}
.thumbnail-container {
    border-left: 1px solid #ddd; /* Línea divisoria sutil */
}
.thumbnail {
    border: 5px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100px;
    width: 100%;
}
.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.thumbnail-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.fullscreen-image-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto;
}


.fullscreen-image {
    max-width: 90%; 
    max-height: 90%; 
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin: 5vh auto;
    display: block;
}



.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
}



/* .custom-video-box {
    position: relative;
    cursor: pointer;
}

.custom-img-box {
    position: relative;
}

.custom-video-thumbnail {
    width: 100%;
    display: block;
}

.custom-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}



.custom-modal .modal-content {
    background-color: black;
    color: white;
}

.custom-modal .modal-header {
    background-color: #333;
    color: white;
}


.custom-modal .modal-body {
    background-color: black;
    color: white;
}


.custom-modal .modal-footer .btn-secondary {
    background-color: #555;
    color: white;
    border: 1px solid #666;
}


.custom-modal .modal-header .close-btn {
    color: white;
} */