/* Botones de llamada */
.fixed-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    /* Apilar botones verticalmente */
    align-items: center;
    /* Alinear los botones */
    gap: 10px;
    /* Espaciado entre botones */
    z-index: 1000;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f1f1f1;
    color: white;
    border-radius: 5px 0 0 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    font-size: 24px;
    transition: background-color 0.3s;
}

.button.whatsapp {
    background-color: #25d366;
    /* Color WhatsApp */
}

.button.facebook {
    background-color: #4267B2;
    /* Color Facebook */
}

.button.telegram {
    background-color: #0088cc;
    /* Color Telegram */
}

.button.youtube {
    background-color: #cc0d0d;
    /* Color Telegram */
}

.button:hover {
    opacity: 0.8;
}

/* Botones de llamada */

/* Animacion de los sectores */


/* Nuevo estilo de tarjetas */
.custom-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    /* Espaciado entre las tarjetas */
}

/* Tarjetas e imagen */
.custom-card {
    width: calc(33.333% - 20px);
    /* Tres por fila con espacio */
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

/* Efecto hover para las tarjetas e imagen */
.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-color: #12274b;
    color: white;
}

/* Estilo del ícono */
.custom-card-icon {
    width: 60px;
    height: 60px;
    background-color: #12274b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    transition: background-color 0.3s, color 0.3s;
}

/* Cambiar color del ícono en hover */
.custom-card:hover .custom-card-icon {
    background-color: #f8f9fa;
    color: #12274b;
}

/* Estilo del texto */
.custom-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s;
}

/* Cambiar color del texto en hover */
.custom-card:hover h4 {
    color: #f8f9fa;
}

/* Estilo del enlace */
.custom-card-link {
    font-size: 14px;
    color: #12274b;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s;
}

/* Cambiar color del enlace en hover */
.custom-card:hover .custom-card-link {
    color: #f8f9fa;
    text-decoration: underline;
}

/* Estilo específico para la tarjeta de la imagen */
.custom-card.custom-card-image img {
    width: 60%;
    border-radius: 10px;
    object-fit: cover;
    height: auto;
}

/* Ocultar imagen en dispositivos móviles */
@media (max-width: 768px) {
    .custom-card.custom-card-image {
        display: none;
    }

    .custom-card {
        width: 100%;
        /* Una tarjeta por fila en móviles */
    }
}

/* Estilo del video */
/* video */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0);
    /* Azul con transparencia */
    z-index: -1;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.content h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

.content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.content .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #ff6600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.content .btn:hover {
    background-color: #e55a00;
}

/* Estilo del video */

/* Proceso de Trabajo */
.process-icon {
    width: 75px;
    height: 75px;
}

.process-item .position-relative::after {
    position: absolute;
    content: "\f101";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 50px;
    color: #DDDDDD;
    top: 0;
    right: -45px;
    -webkit-animation: process-item-icon 3s infinite linear;
    animation: process-item-icon 3s infinite linear;
}

@-webkit-keyframes process-item-icon {
    0% {
        right: -30px;
    }

    50% {
        right: -45px;
    }

    100% {
        right: -30px;
    }
}

.process-item:last-child .position-relative::after {
    display: none;
}

@media (max-width: 992px) {
    .process-item:nth-child(2) .position-relative::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-item .position-relative::after {
        display: none;
    }
}

/* Proceso de Trabajo Inicio */
/* Nuevo Carrusel Inicio */

.carousel-inner {
    width: 300px;
    /* Ancho del carrusel */
    height: 300px;
    /* Altura del carrusel */
    margin: 0 auto;
    /* Centrar el carrusel horizontalmente */
}

.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nuevo Carrusel Fin */

/* Videos Inicio */
.video-wrapper {
    position: relative;
    width: 100%;
    /* Asegura que ocupe todo el ancho disponible */
    padding-bottom: 56.25%;
    /* Relación de aspecto 16:9 */
    background: #000;
    /* Fondo mientras carga el video */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Se ajusta al ancho del contenedor */
    height: 100%;
    /* Se ajusta a la altura calculada por el padding */
    border: none;
}


.video-wrapper:hover {
    transform: scale(1.05);
    /* Efecto de ampliación al pasar el cursor */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.row.g-4 {
    gap: 20px;
    /* Espaciado entre videos */
}


/* Videos Fin */