/********** Template CSS **********/
:root {
    --primary: #EC6E33;
    --secondary: #464646;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.bg-Vision-secondary {
    color: #030303;
}


.service-icon img {
    filter: brightness(0) invert(1);
}

/*** Spinner ***/

/* Estilos del preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* Fondo blanco mientras carga */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Asegúrate que esté encima de todo */
}

/* Ajuste de tamaño más grande para el logo */
#preloader-logo {
    width: 250px;
    /* Aumenta el tamaño del logo aquí */
    height: auto;
    animation: spinAndDoubleZoom 3s ease forwards;
    /* Ajustamos la animación a 3 segundos */
}

/* Animación de doble zoom + giro */
@keyframes spinAndDoubleZoom {
    0% {
        transform: rotate(0deg) scale(1);
        /* Estado inicial */
    }

    33% {
        transform: rotate(180deg) scale(1.2);
        /* Primer zoom y giro de medio círculo */
    }

    66% {
        transform: rotate(360deg) scale(1.5);
        /* Segundo zoom y giro completo */
    }

    100% {
        transform: rotate(360deg) scale(1);
        /* Volver a tamaño normal */
    }
}

/* Ocultar preloader */
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}


#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    #preloader,
    #spinner {
        display: none !important;
    }
}

/* Diff */
/* Estilos principales para la sección 'diferenciales' */
.diferenciales {
    background-color: #f7f7f7;
    padding: 2rem 1rem;
  }
  
  .diferenciales .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
  .diferenciales img {
    width: 300%;
    max-width: 600px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .diferenciales .contenido {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
  }
  
  .diferenciales .titulo-secundario {
    color: #7d7d7d;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .diferenciales .titulo-principal {
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    margin-top: 0.5rem;
  }

  .diferenciales .titulo-tres {
    font-size: 0,875rem;
    font-weight: normal;
    color: #333333;
    margin-top: 0.5rem;
  }
  
  .diferenciales .caracteristicas {
    margin-top: 1.5rem;
  }
  
  .diferenciales .caracteristica {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .diferenciales .icono {
    background-color: #EC6E33;
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
  .diferenciales .detalle {
    margin-left: 1rem;
  }
  
  .diferenciales .detalle .titulo {
    font-size: 1rem;
    font-weight: bold;
    color: #333333;
  }
  
  .diferenciales .detalle .descripcion {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #555555;
  }
  
 /* Responsivo */
@media (max-width: 768px) {
    .diferenciales .container {
        flex-direction: column; /* Asegura que los elementos dentro de container se apilen */
    }
  
    .diferenciales img {
        margin-bottom: 1.5rem; /* Agrega espacio debajo de la imagen */
        max-width: 90%;       /* Ajusta el ancho máximo para pantallas pequeñas */
    }
}
  


/*Solucion */
/* Estilo base para la sección 'solucion' */
/* General adjustments */
.solucion {
    margin-top: 0;
    background-color: #e97034;
    color: #333333;
    padding: 3rem 1rem;
}

/* Contenedor principal */
.solucion .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Títulos y textos */
.solucion .titulo-principal {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.solucion .descripcion {
    margin-bottom: 1.5rem;
}

/* Botón */
.solucion .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #ffffff;
    background-color: #e97034;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
}

.solucion .btn:hover {
    background-color: #333333;
}

/* Tarjetas */
.solucion .tarjetas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Espaciado entre tarjetas */
    justify-content: space-between;
}

.solucion .tarjeta {
    text-align: center;
    flex: 1 1 calc(33.333% - 1rem); /* Tres columnas en pantallas grandes */
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.solucion .tarjeta .icono {
    background-color: #333333;
    color: #ffffff;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .solucion .titulo-principal {
        font-size: 1.5rem;
    }

    .solucion .descripcion {
        font-size: 1rem;
    }

    .solucion .tarjetas {
        flex-direction: column; /* Apila las tarjetas */
    }

    .solucion .tarjeta {
        flex: 1 1 100%; /* Tarjetas ocupan todo el ancho */
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .solucion {
        padding: 2rem 1rem;
    }

    .solucion .titulo-principal {
        font-size: 1.25rem;
    }

    .solucion .tarjeta .icono {
        width: 4rem;
        height: 4rem;
        font-size: 1.5rem;
    }
}


/* Para cada círculo */
.circle.top {
    grid-area: top;
}
.circle.left {
    grid-area: left;
}
.circle.center {
    grid-area: center;
}
.circle.right {
    grid-area: right;
}
.circle.bottom {
    grid-area: bottom;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.certification-section {
    background-color: #EC6E33;
    /* Color de fondo */
    border-radius: 0.5rem;
    /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    animation: fadeInUp 0.8s ease forwards;
    /* Animación al cargar */
    display: flex;
    align-items: stretch;
    /* Hace que las columnas tengan la misma altura */
}

.politicSeguridad-section {
    background-color: #585858;
    /* Color de fondo */
    border-radius: 0.5rem;
    /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    animation: fadeInUp 0.8s ease forwards;
    /* Animación al cargar */
    display: flex;
    align-items: stretch;
    /* Hace que las columnas tengan la misma altura */
}

.text-Seguridad {
    font-size: 19px;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.certification-section h2 {
    font-size: 2rem;
    /* Tamaño del encabezado */
}

.certification-section p {
    font-size: 1.2rem;
    /* Tamaño del texto */
}

/* Efecto de hover en el ícono */
.certification-section h2 i {
    transition: transform 0.3s ease;
}

.certification-section h2:hover i {
    transform: scale(1.2);
    /* Aumenta el tamaño del ícono al pasar el ratón */
}

.certification-section .bg-light {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centra verticalmente */
    align-items: center;
    /* Centra horizontalmente */
    min-height: 350px;
    /* Ajusta la altura mínima según tus necesidades */
}

.certification-section .bg-light img {
    margin-bottom: 20px;
    /* Espacio entre la imagen y el texto */
}

.certification-section h5 {
    margin-top: auto;
    /* Asegura que el título esté alineado correctamente */
    margin-bottom: 15px;
}

.certification-section p {
    text-align: justify;
    margin-bottom: 0;
    margin-top: auto;
    /* Para evitar que el párrafo se separe demasiado del título */
}
.img-shift {
    margin-left: 120px;
}

/*** Navbar Base Styles ***/
/* Estilo responsive para dispositivos móviles */
/* Estilo responsive para dispositivos móviles */
@media (max-width: 768px) {
    /* Ajustar la posición de la barra de navegación */
    #mainNavbar {
        position: fixed; /* Mantener fija la barra */
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999; /* Por encima del carrusel */
        background-color: rgba(255, 255, 255, 0.95); /* Fondo claro y visible */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra suave */
    }

    /* Botón hamburguesa: estilo y visibilidad */
    .navbar-toggler {
        border: none; /* Eliminar borde predeterminado */
        background-color: transparent; /* Fondo transparente */
        color: #221E1F; /* Color del icono hamburguesa */
        font-size: 24px; /* Tamaño del icono */
    }

    .navbar-toggler:focus {
        outline: none; /* Quitar el contorno al hacer clic */
        box-shadow: none; /* Sin sombra */
    }

    /* Icono de hamburguesa */
    .navbar-toggler-icon {
        background-image: none; /* Eliminamos el fondo por defecto */
        display: inline-block;
        width: 25px;
        height: 3px;
        background-color: #221E1F; /* Color oscuro */
        position: relative;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background-color: #221E1F; /* Mismo color */
        left: 0;
    }

    .navbar-toggler-icon::before {
        top: -8px; /* Barra superior */
    }

    .navbar-toggler-icon::after {
        top: 8px; /* Barra inferior */
    }

    /* Menu colapsable */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95); /* Fondo claro */
        padding: 10px; /* Espaciado interno */
        border-radius: 5px; /* Bordes redondeados */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra suave */
    }

    /* Enlaces del menú */
    #mainNavbar .navbar-nav {
        display: flex;
        flex-direction: column; /* Apilar enlaces verticalmente */
        text-align: left; /* Alinear texto a la izquierda */
        margin: 0;
        padding: 0;
    }

    #mainNavbar .navbar-nav .nav-link {
        padding: 10px 15px; /* Espaciado interno de los enlaces */
        margin: 5px 0; /* Separación entre enlaces */
        color: #221E1F; /* Mismo color del texto */
        font-size: 16px; /* Tamaño adecuado */
        text-align: center;
    }

    #mainNavbar .navbar-nav .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.1); /* Fondo claro en hover */
        color: var(--primary); /* Color principal en hover */
    }

}
.mission-vision-values {
    display: flex;
    flex-direction: column; /* O row si quieres que estén uno al lado del otro */
}

.mission-box, .vision-box, .values-box {
    flex-grow: 1;
    height: 300px; /* Ajusta esta altura según tus necesidades */
}
@media (max-width: 768px) {
    /* Asegurar que el navbar no se sobreponga al contenido */
    body {
        padding-top: 70px; /* Ajustar este valor según la altura del navbar */
    }

    /* Ajustes adicionales al carrusel */
    .carousel {
        margin-top: 20px; /* Espacio extra entre el navbar y el carrusel */
    }

    .carousel-caption {
        font-size: 14px; /* Reducir tamaño del texto */
        bottom: 10px; /* Posicionar el texto más abajo */
    }

    .carousel-caption h1 {
        font-size: 20px; /* Títulos más pequeños */
    }

    .carousel-caption p {
        font-size: 14px; /* Descripción más pequeña */
    }

    .carousel-caption .btn {
        font-size: 12px; /* Botones más pequeños */
        padding: 8px 12px;
    }

    /* Navbar toggler */
    .navbar-toggler {
        border: none;
        background-color: rgba(0, 0, 0, 0.5); /* Fondo visible para el botón */
    }

    .navbar-toggler-icon {
        color: white; /* Icono blanco para contraste */
    }
}


/* Fondo transparente más largo y centrado para los enlaces */
#mainNavbar .navbar-nav {
    background-color: rgba(255, 255, 255, 0.5); /* Más transparente */
    border-radius: 20px; /* Bordes redondeados */
    padding: 100px 0px; /* Espaciado interno más largo */
    margin: 20px; /* Centrar contenido horizontalmente */
    display: inline-flex; /* Para alinear los enlaces */
    justify-content: center; /* Centra los enlaces horizontalmente */
    max-width: 100%; /* Ajusta el ancho máximo del fondo */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover sobre los enlaces mantiene su color */
#mainNavbar .navbar-nav .nav-link {
    color: #221E1F; /* Color inicial */
    font-weight: 500;
    margin: 0 15px; /* Espaciado entre los enlaces */
    text-align: center; /* Centrar texto */
}

/* Hover de los enlaces */
#mainNavbar .navbar-nav .nav-link:hover {
    color: var(--primary); /* Cambia al color principal */
    transition: color 0.3s ease;
}

/* Efecto del fondo al hacer scroll */
#mainNavbar.scrolled .navbar-nav {
    background-color: rgba(255, 255, 255, 0.9); /* Fondo más sólido al hacer scroll */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para dar profundidad */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Estilo general para el contenedor de la barra */
#mainNavbar {
    z-index: 9999; /* Asegura que esté encima de todo */
    position: fixed; /* Fija la barra de navegación */
    width: 100%; /* Ocupa todo el ancho */
}


#mainNavbar {
    z-index: 9999;
    position: fixed; /* Fija la barra en la parte superior */
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transición suave */

}

/* Barra transparente al inicio */
#mainNavbar.transparent {
    background-color: transparent !important;
    box-shadow: none;
}

/* Barra con fondo blanco al hacer scroll */
#mainNavbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* Letras del logo blancas cuando la barra es transparente */
#mainNavbar.transparent .navbar-brand h1 {
    color: #ffffff; /* Blanco */
    transition: color 0.3s ease;
}

/* Letras del logo negras cuando la barra tiene fondo */
#mainNavbar.scrolled .navbar-brand h1 {
    color: #000000; /* Negro */
    transition: color 0.3s ease;
}

/* Enlaces del menú, siempre del mismo color */
#mainNavbar .nav-link {
    color: #181717; /* Mismo color para ambos estados */
    transition: color 0.3s ease;
    
}

/* Hover de los enlaces */
#mainNavbar .nav-link:hover {
    color: var(--primary); /* Color principal del tema */
    transition: color 0.3s ease;
}



/* Efecto del fondo al hacer scroll */
#mainNavbar.scrolled .navbar-nav {
    background-color: rgba(255, 255, 255, 1); /* Fondo completamente blanco al hacer scroll */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para dar profundidad */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


/* Ajusta el tamaño del logo */
.navbar .navbar-brand img {
    max-height: 60px;
}

/*** Carousel Overlay Styles ***/
.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centrar horizontalmente */
    text-align: center;
    /* Centrar el texto */
    z-index: 3;
    /* Capa superior para estar sobre el video */
    color: #fff;
    padding: 0 15px;
    /* Ajusta el contenido en pantallas pequeñas */
}


.carousel-caption h1,
.carousel-caption p {
    color: #fff !important;
    /* Forza el color blanco */
    z-index: 3;
    /* Por encima de todo */
    position: relative;
}

/* Crea un efecto de superposición que no afecte la interactividad */
.carousel-caption .overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    /* Mantenerlo por debajo del texto y botones */
}

/* Asegúrate de que el botón esté interactivo */
.carousel-caption .btn {
    z-index: 3;
    /* Por encima de la superposición y del video */
    position: relative;
}


.carousel-item video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Botones de navegación del carrusel */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
}





/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(rgba(236, 110, 51, 0.9), rgba(255, 255, 255, 0.9)), url(../img/carousel-1.png) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/tarjetas.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Circulo */
.container-xxl {
    background: #f9f9f9;
}

/* Contenedor Circular */
.circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: transparent;
}

.circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle));
    transform-origin: 0 -150px;
}

.item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 110px;
    height: 110px;
    transition: transform 0.3s ease;
}

.item-content:hover {
    transform: scale(1.1);
}

.item-content img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.item-content h5 {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

/* Flechas */
.arrow {
    position: absolute;
    width: 60px;
    height: 2px;
    background: #ddd;
}

.arrow-1 {
    top: 8%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.arrow-2 {
    top: 50%;
    right: 8%;
    transform: translateY(-50%) rotate(135deg);
}

.arrow-3 {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) rotate(225deg);
}

.arrow-4 {
    top: 50%;
    left: 8%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Imagen Lateral */
.img-fluid {
    max-height: 400px;
    object-fit: cover;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Ajustes Responsivos */
@media (max-width: 992px) {
    .circle {
        width: 250px;
        height: 250px;
    }

    .item-content {
        width: 90px;
        height: 90px;
    }

    .item-content img {
        width: 30px;
        height: 30px;
    }

    .arrow {
        width: 50px;
    }
}

@media (max-width: 768px) {
    .row.g-5 {
        flex-direction: column-reverse;
    }

    .circle {
        margin-bottom: 20px;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(207, 91, 91, 0.07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url(../img/carousel-1.png) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.partners-section {
    background-color: #f7f7f7;
    /* Color de fondo */
    padding: 30px 0;
    overflow: hidden;
    /* Oculta el contenido que sale del contenedor */
}

.partners-container {
    width: 100%;
    white-space: nowrap;
    /* Mantiene los logos en una línea horizontal */
    overflow: hidden;
    /* Oculta los elementos fuera del contenedor */
    position: relative;
}

.partners-slide {
    display: inline-table;
    white-space: nowrap;
    animation: scroll-infinite 30s linear infinite;
    /* Animación infinita */
}

.partners-slide img {
    width: 150px;
    /* Ajusta el tamaño del logo */
    margin: 0 20px;
    /* Espacio entre logos */
    object-fit: contain;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
        /* Comienza en la posición inicial */
    }

    100% {
        transform: translateX(-50%);
        /* Mueve los logos hasta la mitad, lo que crea el efecto de repetición */
    }
}

/* proyectos */
/* Ajuste general para las secciones de proyectos */
.project-page h1 {
    color: #333;
}

.row {
    display: flex;
    align-items: center;
}

/* Estilos para las imágenes con efecto 3D */
.project-img-container {
    perspective: 1000px;
    /* Añade profundidad al efecto 3D */
}

.img-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: rotateY(0deg);
    /* Posición inicial de la imagen */
}

/* Efecto de hover en las imágenes */
.img-3d:hover {
    transform: rotateY(15deg) scale(1.05);
    /* Rotación en 3D y zoom */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Sombra para dar efecto de elevación */
}

/* Ajuste del contenido */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animación para la entrada del texto con retraso */
.delay {
    transition-delay: 0.3s;
}

/* Ajustes para las sombras */
.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Sombra más pronunciada */
}

/* SERVICIOS */
/* Estilos personalizados */
.videoServicios {
    width: 100%;
    height: auto;
    position: relative;
    z-index: -1;

}

.service-section {
    padding: 50px 0;
    background-color: #f3f6ff;

}

.service-title {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.service-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding-bottom: 50px; /* Ajusta según lo que necesites */
}

.service-item:hover {
    transform: scale(1.05);
}

.service-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}