html {
    scroll-behavior: smooth;
  }
  
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Square Buttons */
.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    color: #fff;
}

/* Buttons Primary */
.btn.btn-primary {
    background: linear-gradient(135deg, #1e90ff, #00bfff) !important;
    color: #fff !important;
    font-weight: 400;
    border: 1px solid #1e90ff;
    transition: all 0.3s ease-in-out;
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #104e8b, #0b3d91) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(16, 78, 139, 0.9);
    transform: translateY(-4px) scale(1.1);
}

/* Buttons Light */
.btn.btn-light {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb) !important;
    color: #1e90ff !important;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
    border: 1px solid #bbdefb;
}

.btn.btn-light:hover {
    background: linear-gradient(135deg, #104e8b, #0b3d91) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(16, 78, 139, 0.9);
    transform: translateY(-4px) scale(1.1);
}

/* Rotations with Dynamic Scaling */
.RotateMoveLeft {
    position: relative;
    animation: RotateMoveLeft 6s ease-in-out infinite;
}

.RotateMoveRight {
    position: relative;
    animation: RotateMoveRight 6s ease-in-out infinite;
}

/* Keyframes */
@keyframes RotateMoveLeft {
    0% {
        left: 0px;
        transform: rotate(0deg) scale(1);
    }
    25% {
        left: 20px;
        transform: rotate(-10deg) scale(1.05);
    }
    50% {
        left: 40px;
        transform: rotate(-20deg) scale(1.1);
    }
    75% {
        left: 20px;
        transform: rotate(-10deg) scale(1.05);
    }
    100% {
        left: 0px;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes RotateMoveRight {
    0% {
        right: 0px;
        transform: rotate(0deg) scale(1);
    }
    25% {
        right: 20px;
        transform: rotate(10deg) scale(1.05);
    }
    50% {
        right: 40px;
        transform: rotate(20deg) scale(1.1);
    }
    75% {
        right: 20px;
        transform: rotate(10deg) scale(1.05);
    }
    100% {
        right: 0px;
        transform: rotate(0deg) scale(1);
    }
}




/*** Navbar ***/
/** Navbar - Estilos Generales **/

.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white) !important;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-cyan) !important;
}

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}



/** Submenú - Ajuste Completo **/
/* General: Mantener submenú con estilo base */
.dropdown-menu .dropdown-item {
    background-color: transparent !important; /* Sin fondo por defecto */
    color: var(--bs-dark) !important; /* Texto oscuro por defecto */
    transition: background-color 0.3s, color 0.3s; /* Suavidad en los cambios */
}

/* Hover: Fondo azul claro y texto blanco */
.dropdown-menu .dropdown-item:hover {
    background-color: var(--bs-primary) !important; /* Fondo azul solo en hover */
    color: var(--bs-white) !important; /* Texto blanco solo en hover */
}

/* Eliminar efecto active y focus */
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus {
    background-color: transparent !important; /* Fondo transparente en active y focus */
    color: var(--bs-dark) !important; /* Texto vuelve al color base */
}

/** Dropdown Animaciones **/
@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: 0.5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    opacity: 1;
    transition: 0.5s;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/** Responsive Ajustes **/
@media (max-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: 0.5s;
        opacity: 0;
    }
    
    nav.bg-transparent {
        position: absolute;
        width: 100%;
        background: transparent !important;
    }

    .navbar.navbar-expand-lg button span {
        position: relative;
        z-index: 99;
    }

    .navbar {
        position: fixed;
        backdrop-filter: blur(5px);
        background: linear-gradient(45deg, rgba(9, 92, 124, 0.8), rgba(255, 255, 255, 0.8)) !important; /* Azul claro con opacidad */
        background-size: 100% 200% !important;
    }

    .sticky-top.navbar-light {
        background: transparent;
    }

    nav.navbar {
        padding: 0 30px 30px 0;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-dark);
        color: var(--bs-dark);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }

    .hero-header {
        margin-top: -100px !important;
    }
}

@media (min-width: 992px) {
    .sticky-top.navbar-light {
        position: fixed;
        backdrop-filter: blur(5px);
        background: linear-gradient(45deg, #a2d2ff, #cddcff) !important;
        background-size: 100% 200% !important;
        z-index: 1999;
    }    
}

.navbar {
    z-index: 9999;
}

/*** Navbar End ***/

/*** Space-Section Start ***/
#space-section {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(10, 10, 25, 1) 0%, rgba(0, 0, 0, 1) 100%);
    overflow: hidden;
  }
  
  .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
  }
  
  .star {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: move 35s linear infinite;
  }
  
  @keyframes move {
    0% {
      transform: translate3d(var(--x-start), var(--y-start), 0) scale(0.5);
    }
    100% {
      transform: translate3d(var(--x-end), var(--y-end), 0) scale(0.8);
      opacity: 0;
    }
  }
/*** Space-Section Ends ***/



/* Sun Start */
.sun::after {
    position: absolute;
    content: "";
    top: 20%;
    right: -10%;
    width: 40vw; /* Sol más grande */
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 255, 0, 1) 60%, rgba(255, 165, 0, 0.5) 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.7), 0 0 50px rgba(255, 69, 0, 0.6);
    animation: sunMove 5s ease-in-out infinite, sunFlare 1.5s linear infinite;
    transition: transform 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
.sun::after:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 70px rgba(255, 69, 0, 1), 0 0 100px rgba(255, 165, 0, 0.8);
}

/* Animación del movimiento del sol */
@keyframes sunMove {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(360deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Animación de llamas */
@keyframes sunFlare {
    0% {
        box-shadow: 0 0 30px rgba(255, 140, 0, 0.7), 0 0 50px rgba(255, 69, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 165, 0, 1), 0 0 100px rgba(255, 69, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 140, 0, 0.7), 0 0 50px rgba(255, 69, 0, 0.6);
    }
}

/* Sun End */


/*** PurpleCircle Starts***/
.Purplecircle::before {
    content: "";
    position: absolute;
    bottom: -9%;
    left: -7%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 30px solid rgba(93, 1, 100, 0.6);
    background: transparent;
    animation: RotateMovePurplecircle 5s linear infinite;
    z-index: -1;

}

@keyframes RotateMovePurplecircle {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }


    0% {bottom: 0px;}
    50%   {left: -10px;}
    75%   {bottom: 9%;}
    100%  {bottom: 0px;}
}

/*** PurpleCircle Ends***/

/*** Hero Header Starts ***/
.hero-header {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    color: rgba(255, 255, 255, 0.85); /* Color blanco tenue */
    font-weight: 300; /* Texto más delgado */
    font-size: 1.9rem; /* Tamaño de letra moderado */
    line-height: 1.6; /* Espaciado entre líneas */
    text-align: left; /* Centrado del texto */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); /* Efecto de sombra */
    background: rgba(0, 0, 0, 0.2); /* Fondo negro translúcido */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    border-radius: 10px; /* Bordes redondeados para suavidad */
    padding: 20px; /* Espaciado interno */
    margin: 200px auto; /* Centrado horizontal */
    max-width: 1800px; /* Ancho máximo */
}


@keyframes RotateMoveSty-3 {
    0%   {left: 100px;}
    40%   {bottom: -0px;}
    50%   {left: 700px;}
    70%   {bottom: 500px;}
    80%   {left: 400px;}
    95%   {bottom: -0px;}
    100%  {left: 100px;}
}

.hero-header::before {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 100px;
    width: 300px;
    height: 300px;
    border-radius: 150px;
    border: 30px solid rgba(20, 197, 225, 0.2);
    background: transparent;
    animation: RotateMoveSty-4 45s linear infinite;
    transition: 0.5s;
    z-index: -1;
}

@keyframes RotateMoveSty-4 {
    0%   {left: 100px;}
    40%   {bottom: -0px;}
    50%   {left: 700px;}
    70%   {bottom: 500px;}
    80%   {left: 400px;}
    95%   {bottom: -0px;}
    100%  {left: 100px;}
}


.hero-header .rotate-img {
    position: absolute;
    top: 70px;
    left: 20px;
}

.hero-header .rotate-img .rotate-sty-2 {
    position: absolute;
    top: 100px;
    left: 50px;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: 5px solid rgba(154, 255, 255, 0.5);
    background: transparent;
    animation: RotateMoveSty-2 45s linear infinite;
    transition: 0.5s;
    box-shadow: 0 0 15px rgba(154, 255, 255, 0.8), 0 0 25px rgba(154, 255, 255, 0.5); /* Efecto luminoso */

}

@keyframes RotateMoveSty-2 {
    0%   {left: 0px;}
    40%   {top: -30px;}
    50%   {left: 500px;}
    70%   {top: 200px;}
    80%   {left: 100px;}
    95%   {top: -30px;}
    100%  {left: 0px;}
}

.hero-header .rotate-img img {
    position: relative;
    animation: RotateMove 30s linear infinite;
    z-index: -1;
}

@keyframes RotateMove {
    0%   {left: 0px;}
    50%   {left: 200px;}
    100%  {left: 0px;}
}


@media (max-width: 992px) {
    .hero-header {
        padding-top: 280px;

    }

    .hero-header .rotate-img img {
        margin-top: 100px;
    }

}
/*** Hero Header End ***/
  
/*** Service Start ***/
.service .service-content {
    text-align:left  ;
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.service .service-item,
.service .service-item .service-icon,
.service .service-item a {
    transition: 0.5s;
}

.service .service-item:hover {
    background: rgba(102, 16, 242, 0.09);
    border: 1px ;
}


.service .service-item:hover .service-icon,
.service .service-item:hover a {
    background: var(--bs-white) !important;
}

.service .service-item:hover a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

/*** Service End ***/


/*** Features Start ***/
.feature .feature-img {
    background: var(--bs-light);
    border-radius: 58% 42% 21% 79% / 30% 29% 71% 70%;
}
/*** Features End ***/


/*** Pricing Start ***/
.price .price-item {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.price .price-item:hover {
    background: var(--bs-white) !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.price .price-item .pice-item-offer {
    position: absolute;
    width: 200px;
    height: 110px;
    top: -45px;
    right: -80px;
    background: var(--bs-primary) !important;
    color: var(--bs-white);
    transform: rotate(42deg);
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 10px;
}
/*** Pricing End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    background: rgba(102, 16, 242, 0.2);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(102, 16, 242, 0.2);
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, .4);
}


.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}
/*** Blog End ***/


/*** Testimonial Start ***/
.testimonial {
    position: relative;
    background: var(--bs-light);
    overflow: hidden;
    z-index: 1;
}
.testimonial::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: url(../img/testimonial-img-2.jpg) center center no-repeat;
    animation: TestimonialMoveLeft 100s linear infinite;
    z-index: -1;

}

.testimonial::before {
    content: "";
    position: absolute;
    top: 30%;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: url(../img/testimonial-img-3.jpg) center center no-repeat;
    animation: TestimonialMoveRight 100s linear infinite;
    z-index: -1;

}

@keyframes TestimonialMoveLeft {
    0%   {left: 0px;}
    25%   {top: 100px;}
    50%   {left: 100%;}
    75%   {top: 80%;}
    100%  {left: 0px;}
}

@keyframes TestimonialMoveRight {
    0%   {right: 0px;}
    25%   {top: 100px;}
    50%   {right: 100%;}
    75%   {top: 80%;}
    100%  {right: 0px;}
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
    padding: 0 35px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 16, 242, 0.09);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 16, 242, 0.09);
    color: var(--bs-primary);
    transition: 0.5s;
}


.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white) !important;
}


.testimonial-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-right: 15px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    width: 70px;
    height: 70px;
    border-radius: 40px;
    border: 4px solid var(--bs-secondary);
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial .testimonial-carousel.owl-carousel {
        padding: 0;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        margin-top: -250px;
        margin-left: -15px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        margin-top: -250px;
        margin-right: -15px;
    }
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
    z-index: 1;
}

.contact::after {
    content: "";
    position: absolute;
    top: 10%;
    left: -1%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 60px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: ContactMoveLeft 50s linear infinite;
    z-index: 1;
}

@keyframes ContactMoveLeft {
    0%   {left: 0px;}
    25%   {top: 100px;}
    50%   {left: 90%;}
    75%   {top: 80%;}
    100%  {left: 0px;}
}

.contact::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -1%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 60px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: ContactMoveRight 50s linear infinite;
    z-index: 1;
}

@keyframes ContactMoveRight {
    0%   {right: 0px;}
    25%   {top: 100px;}
    50%   {right: 90%;}
    75%   {top: 80%;}
    100%  {right: 0px;}
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(102, 16, 242, 0.05), rgba(102, 16, 242, 0.05));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-dark);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/*** Comienza Start ***/
#comienza {
    scroll-margin-top: 100px; 
}
/*** Comienza End ***/

/*** Servicios Start ***/
#servicios {
    scroll-margin-top: 40px; 

    .text-secondary {
        color: #4fa7ff !important; /* Un azul más dinámico */
      }
}
/*** Servicios End ***/

/*** Mailinfo Start ***/
#mailinfo {
    scroll-margin-top: -30px; 
    padding-top: 200px;;
}
/*** Mailinfo End ***/

/*** Por qué escogernos? Start ***/
#por_que {
    scroll-margin-top: -130px; 
    padding-top: 200px;;
}
/*** Por qué escogernos? End ***/

/*** Por qué escogernos? Start ***/
#colaboraciones {
    scroll-margin-top: 130px; 
    padding-top: 200px;;
}
/*** Por qué escogernos? End ***/

/*** Precios Start ***/
#precios {
    scroll-margin-top: -130px; 
    padding-top: 200px;;
}
/*** Precios End ***/