/********** Template CSS **********/
:root {
    --primary: #355EFC;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #010d41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/***dz pendiente Spinner ***/
#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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .1);
        background: #ffffff7c;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*dz*/
/* Estilos forzados para los elementos nav-item con texto blanco y resplandor negro */
.nav-item, .nav-item.dropdown {
    color: white !important; /* Forzar texto blanco */
    font-weight: bold !important; /* Texto más grueso */
    font-size: 1.2em !important; /* Aumentar el tamaño de la fuente */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9), /* Forzar glow oscuro */
                 0 0 10px rgba(0, 0, 0, 0.7), 
                 0 0 15px rgba(0, 0, 0, 0.5) !important;
    background-color: transparent !important; /* Fondo transparente */
    border: none !important; /* Sin bordes para mantener el estilo limpio */
}

/* Efecto hover forzado para resaltar aún más el texto */
.nav-item:hover, .nav-item.dropdown:hover {
    text-shadow: 0 0 8px rgba(0, 0, 0, 1), /* Resplandor negro más fuerte al pasar el ratón */
                 0 0 12px rgba(0, 0, 0, 0.8), 
                 0 0 18px rgba(0, 0, 0, 0.6) !important;
    color: rgba(255, 255, 255, 0.272) !important; /* Forzar color blanco en hover */
}
 

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .70), rgba(53, 94, 252, .70)), url(../img/bg2.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background:  var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
 position: relative;
    text-align: center;
    padding-top: 30px;
}
 
/*
.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}*/
.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
    min-height: 215px; /* Ajusta esta altura según sea necesario */
}


.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

.testimonialsize{
    position: relative;
    text-align: center;
    min-height: 315px; /* Ajusta esta altura según sea necesario */
}

/* Ajuste para pantallas de móviles */
@media (max-width: 768px) {
    .testimonial-item .testimonial-text {
        min-height: 200px; /* Ajusta según lo que se vea mejor en móvil */
    }
}

@media (max-width: 480px) {
    .testimonial-item .testimonial-text {
        min-height: 180px; /* Para pantallas aún más pequeñas */
    }
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}


/* En tu archivo CSS */
.glow-white { 
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 
    0 0 10px rgba(255, 255, 255, 0.8), 
    0 0 15px rgba(255, 255, 255, 0.8);
  }
  
  .mi-titulo {
    font-size: 2rem; /* Ajusta el tamaño según tus necesidades */
  }
 /*Efecto CSS Estilo encabezado*/
 /* Estilo específico para el elemento h2 con las clases mencionadas */
 /*
h2.display-4.mb-4.animated.slideInDown.special-heading {
    text-transform: uppercase;
    background-image: linear-gradient(
      -225deg,
      #231557 0%,
      #44107a 29%,
      #ff1361 67%,
      #fff800 100%
    );
    background-size: 200% auto;
    color: transparent; 
    background-clip: text;
    -webkit-background-clip: text;  
    -webkit-text-fill-color: transparent;  
    animation: textclip 3.5s linear infinite;
    display: inline-block;
    font-size: 50px; 
 }
  
 /* Animación de desplazamiento del gradiente  
   to {
     background-position: 200% center;
   }
 }
  
*/

h2.display-4.mb-4.animated.slideInDown.special-heading {
    text-transform: uppercase;
    background-image: linear-gradient(
      -225deg,
      #231557 0%,
      #44107a 29%,
      #ff1361 67%,
      #fff800 100%
    );
    background-size: 200% auto;
    color: transparent; /* Texto transparente */
    background-clip: text;
    -webkit-background-clip: text; /* Compatibilidad con navegadores WebKit */
    -webkit-text-fill-color: transparent; /* Reemplazo de text-fill-color */
    animation: textclip 3.5s linear infinite;
    display: inline-block; 
    width: 100%; /* Para que ocupe todo el ancho disponible */
}

/* Ajuste de tamaño para dispositivos móviles */
@media (max-width: 768px) {
    h2.display-4.mb-4.animated.slideInDown.special-heading {
        font-size: 28px; /* Ajuste del tamaño de la fuente para móviles */
    } 

}

/* Animación de desplazamiento del gradiente */
@keyframes textclip {
   to {
     background-position: 200% center;
   }
}
 

/*NOTICIAS*/
/* Estilo del modal flotante de noticias */ 
/* Estilo del modal flotante de noticias */
#floatingNewsModal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px; /* Mantiene el tamaño para vista PC */
    background-color: rgba(0, 0, 255, 0.3);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Contenido del modal */
#floatingNewsModal .news-modal-content {
    padding: 15px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Etiqueta de Noticias */
.news-tab {
    position: absolute;
    top: 0;
    right: 0;
    background: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-bottom-left-radius: 10px;
    z-index: 1001;
}

/* Slider de noticias */
#floatingNewsModal .news-slider {
    display: flex;
    flex-direction: column;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    padding-top: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 5, 5, 0.4) rgba(255, 255, 255, 0.1);
}

/* Slides individuales */
#floatingNewsModal .slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

#floatingNewsModal .slide:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Imagen dentro del slide */
#floatingNewsModal .news-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 5px;/*10px*/
}

/* Texto de la noticia */
#floatingNewsModal .news-text {
    font-size: 14px;
    color: #ffffff;
    text-align: left;
    flex: 1;
}

/* Ajustes específicos para dispositivos móviles */
@media (max-width: 768px) {
    #floatingNewsModal {
        width: 90%; /* Toma un porcentaje de la pantalla */
        max-width: 300px; /* Limita el tamaño máximo */
        bottom: 10px; /* Más cerca del borde inferior */
        right: 10px; /* Más cerca del borde derecho */
    }

    #floatingNewsModal .news-slider {
        max-height: 150px; /* Reduce la altura */
    }

    #floatingNewsModal .news-image {
        width: 60px; /* Reduce el tamaño de las imágenes */
        height: 60px;
    }

    #floatingNewsModal .news-text {
        font-size: 12px; /* Reduce el tamaño del texto */
    }

    .news-tab {
        font-size: 12px; /* Texto más pequeño en el título */
        padding: 3px 8px; /* Menos espacio en el padding */
    }
}

/* Scrollbar más delgado en dispositivos móviles */
@media (max-width: 600px) {
    #floatingNewsModal .news-slider::-webkit-scrollbar {
        width: 5px;
    }
}


/* Ocultar spinner por defecto */
#loadingSpinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
}

/* Detalle modal (modal de iframe) */
#newsDetailModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1003;
}

#newsDetailFrame {
    width: 90%;
    height: 80%;
    border: none;
    background-color: white;
    border-radius: 8px;
}

 

/* Modal central para noticias detalladas */
.news-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Ocultar inicialmente */
    justify-content: center;
    align-items: center;
    z-index: 1010; /* Asegúrate de que el modal esté encima de otros elementos */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1009; /* Asegúrate de que esté debajo del contenido del modal */
}

.modal-content {
    position: relative;
    width: 80%; /* Ajustar el tamaño según sea necesario */
    height: 80%; /* Ajustar el tamaño según sea necesario */
    border-radius: 8px; 
    z-index: 1011; /* Asegúrate de que esté encima del overlay */
}

.close-detail-modal {
    position: absolute;
    top: 10px;
    left: 10px; /* O right: 10px para alinear a la derecha */
    font-size: 22px;
    color: #fff;
    background-color: #333;
    border-radius: 20%;
    padding: 5px;
    cursor: pointer;
  }
  
  .close-detail-modal:hover {
    color: #999; /* Cambia el color al pasar el mouse */
  }

  .spinner-container {
    text-align: center;
    position: absolute; /* Posicionamos el contenedor de forma absoluta */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centramos el contenedor */
    transition: opacity 0.5s ease-in-out;
    z-index: 10001; /* Asegúrate de que el spinner esté por encima del modal */
}

#spinner-container.hidden {
    opacity: 0;
    pointer-events: none; /* Evitar que capture eventos cuando está oculto */
}

#flying-plane {
    font-size: 80px;
    color: #2906f1b0;
    animation: fly 3s linear infinite; /* Aumentamos la duración de la animación */
}

@keyframes fly {
    0% {
        transform: translateX(-150%); /* Iniciamos el avión más a la izquierda */
    }
    100% {
        transform: translateX(150%); /* Terminamos el avión más a la derecha */
    }
}


 /* Estilos para el menú desplegable */
.dropdown-menu-custom {
    background-color: transparent; /* Fondo transparente */
    backdrop-filter: blur(5px); /* Opcional: efecto de fondo borroso */
    -webkit-backdrop-filter: blur(5px); /* Para Safari */
    border: none; /* Elimina el borde */
}

.dropdown-item {
    color: white !important; /* Texto blanco (o el color que desees) */
    transition: background-color 0.3s ease; /* Transición suave al pasar el mouse */
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Fondo ligeramente blanco al pasar el mouse */
}

.blanco{
    /*color: white !important;  Texto blanco */
    color:white !important;
}


#pdf-container { /* Contenedor para el PDF */
    width: 100%;
    height: 100%;
}

/*DZ ajustar fondo para vista movil*/
 