@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100dvh;
    font-size: clamp(6px, 2vw, 12px) !important;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(-0deg, rgb(28, 67, 151) 20%, rgb(9, 0, 48) 80%);
    backdrop-filter: blur(100px);
    color: white;
    display: block;
    scroll-behavior: smooth;
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
    .landscape-blocker {
        display: flex !important;
        flex-direction: column;
    }

    body>*:not(.landscape-blocker) {
        display: none !important;
    }
}


.landscape-blocker {
    display: none;
    position: fixed;
    inset: 0;
    background: #00000084;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.landscape-blocker p {
    color: rgba(255, 255, 255, 0.777);
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: bolder;
}

.landscape-blocker svg {
    height: 35dvh;
    margin-bottom: 5dvh;
    animation: rotate 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes rotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(-45deg);
    }

    60% {
        transform: rotate(-45deg);
    }
}


.landscape-blocker svg path {
    fill: rgba(255, 255, 255, 0.777);
}

#loader {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 9999;
    background: linear-gradient(-0deg, rgb(28, 67, 151) 20%, rgb(9, 0, 48) 80%);
    transition: opacity 3s ease;
}

#loaderimg {
    max-width: 100vw;
    height: auto;
    align-self: center;
    transition: opacity 1.5s ease;
}

/* Animación de desaparición */
.fade-out {
    opacity: 0;
    pointer-events: none;
}

.bglogocontainer {
    position: absolute;
    width: 100vw;
}

#bg3dlogo {
    position: sticky;
    left: 0%;
    top: 0%;
    width: 100vw;
    height: 100dvh;
    z-index: -10;
    opacity: 0.1;
    pointer-events: none;
    border: none;
}

#bg3dlogo canvas {
    position: relative;
    top: 0dvh;
    left: 20vw;
    overflow: auto;
}

.calendly-overlay {
    height: 634dvh;
    background-color: rgba(3, 3, 67, 0.373);
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    bottom: 0;
    left: 0;
}

.closeoverlay {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.popup {
    box-sizing: border-box;
    height: 90%;
    left: 50%;
    max-height: 700px !important;
    max-width: 1000px;
    min-width: 900px;
    position: absolute;
    transform: translateY(-50%) translateX(-50%);
    width: 80%;
    bottom: -15dvh !important;
}

.popup iframe {
    height: 60dvh;
}

.closepopup {
    background: url(/assets/external/close-icon.svg) no-repeat;
    background-size: contain;
    color: #fff;
    cursor: pointer;
    height: 19px;
    position: absolute;
    right: 25px;
    top: 25px;
    width: 19px;
}

.mobile-popup {
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    background-color: rgba(9, 0, 48, 0.444);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-popup span {
    background-color: rgb(0, 229, 255);
    color: #121d36;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
    transition: opacity 0.4s ease;
}

.mobile-popup.show {
    opacity: 1;
}

.mobile-popup.hidden {
    display: none;
}


@media (max-width:768px) {
    html {
        font-size: 8px;
    }

    #model-viewer {
        height: 30dvh !important;
        width: 30dvh !important;
    }

    #model-viewer canvas {
        height: 30dvh !important;
        width: 30dvh !important;

    }

    #bg3dlogo canvas {
        left: 0 !important;
    }

    .header-logo {
        display: none !important;
    }

    .header {
        display: flex !important;
        padding: 2dvh 4vw !important;
    }

    .headline {
        width: 100% !important;
    }

    .subline {
        width: 100% !important;
    }

    .tittle {
        width: 100% !important;
        font-size: 4rem !important;
    }

    .content {
        width: 100% !important;
        font-size: 1.8rem !important;
    }

    .separator {
        display: none !important;
    }

    #scrollToTopBtn {
        bottom: -87dvh !important;
    }

    #about {
        top: -5dvh !important;
    }

    .mission-note p {
        font-size: 1.8rem !important;
    }

    .packages-content {
        font-size: 1.6rem !important;
    }

    #learn h2 {
        font-size: 4.2rem !important;
    }

    .step {
        width: 80vw !important;
        font-size: 1.6rem !important;
    }

    .step .packages-tabs {
        font-size: 1.1rem !important;
    }

    .step h4 svg {
        width: 2.2rem !important;
        height: 2.2rem !important;
    }

    .card p {
        font-size: 1.2rem !important;
    }

    .card h3 {
        font-size: 2rem !important;
    }


    .socials {
        right: 0 !important;
        width: 10vw !important;

    }

    .socials a {
        margin: 1dvh 2vw !important;
    }

    .footer {
        font-size: 0.8rem !important;
    }

}

#model-viewer {
    width: 35dvh;
    height: 35dvh;
    position: relative;
    overflow: hidden;
    z-index: -2;
}

#model-viewer canvas {
    width: 40dvh;
    height: 35dvh;
}

.header {
    max-width: 100vw;
    position: sticky;
    top: 0;
    margin: 0;
    height: auto;
    width: 100vw;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(180deg, rgb(9, 0, 48) 80%, rgba(0, 0, 0, 0) 100%);
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1dvh 2vw;
}

.header-logo {
    display: flex;
    justify-self: start;
    align-items: center;

    .icon {
        height: 4dvh;
        margin: 0.5vw;
    }

    .logtext {
        height: 3dvh;
    }
}

.header-menu {
    font-family: 'Poppins', sans-serif;
    justify-self: center;
    display: flex;
    justify-content: space-between;
    align-items: center;

    a {
        text-decoration: none;
        color: aliceblue;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.5s ease;
        cursor: pointer;
        padding: 1dvh 1vw;
    }

    a:hover {
        color: #00E5FF;
        box-shadow:
            inset 0 -4px 6px #00E5FF,
            0 4px 6px 2px #00E5FF;
    }


}

.boton-contacto {
    display: flex;
    justify-self: end;

    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #121d36;
    padding: 10px;
    background: linear-gradient(-45deg,
            #1b4a78 0%,
            #2c7cd6 25%,
            #44A1F7 50%,
            #5fb4f9 65%,
            #2c7cd6 85%,
            #1e5d94 100%);
    /* background: linear-gradient(45deg,
            #1b4a78 0%,
            #2c7cd6 25%,
            #44A1F7 50%,
            #5fb4f9 65%,
            #2c7cd6 85%,
            #1e5d94 100%);*/
    background-size: 200% 100%;
    background-position: 0% 0%;
    border-radius: 12px;
    text-transform: uppercase;
    transition: all 0.5s ease, background-position 1s ease;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    border: none;
    box-shadow:
        0 0px 6px #00E5FF;
    animation: bright 2s ease infinite;
}

.boton-contacto:hover {
    color: #00E5FF;
    box-shadow:
        0 0px 18px #00E5FF;

    background-position: 100% 0%;
}

#scrollToTopBtn {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    bottom: -80dvh;
    right: 4vw;
    width: 35px;
    height: 50px;
    font-size: 20px;
    border: none;
    border-radius: 15px;
    background: #00e5ff;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 10px #00E5FF;
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transform: rotateZ(180deg);
}

#scrollToTopBtn svg {
    animation: moveup 2s ease infinite;

}

#scrollToTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
}

.socials {
    display: flex;
    flex-direction: column;
    position: absolute;
    border-top-left-radius: 12%;
    border-bottom-left-radius: 12%;
    bottom: -50dvh;
    right: 0vw;
    width: 10dvh;
    height: fit-content;
    color: #00E5FF;
    gap: 2dvh;
    background-color: #00e5ff52;
    box-shadow: 0 0px 18px #00E5FF;
}

.socials a {
    margin: 1dvh 1vw;
}

.socials i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: color 0.3s;
}

.socials i:hover {
    color: #00bcd4;
}


/* <-----------------------MAIN--------------------------> */

section {
    padding: 3rem 0;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 80vw;
    margin: 2rem auto;
    padding: 0 1.5rem;
    justify-content: center;
    height: 100dvh;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 1s ease, animation 1s ease;
}

section.visible {
    opacity: 1;
}

section.from-bottom.visible {
    animation: down 1.5s ease;
}

section.from-top.visible {
    animation: up 1.5s ease;
}

section:last-child {
    border-bottom: none;
}

#inicio,
#about,
#services,
#learn,
#team,
#references,
#contact {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: auto;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
}

#inicio {
    scroll-margin-top: 77px;
    margin-top: -20px;
}

/*<---------------INICIO---------------------->*/

.headline {
    color: #ffffff;
    width: 70%;
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    padding: 2dvh;
    align-self: center;
    text-transform: uppercase;
    text-align: center;
    transition: all 1s ease;
}


.subline {
    width: 70%;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
}

.arrow {
    margin-top: 5dvh;
    animation: movedown 2s ease infinite;
}

.tittle {
    color: #ffffff;
    width: 70%;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    padding: 2dvh;
    align-self: center;
    text-transform: uppercase;
    text-align: center;
    transition: all 1s ease;
}

.content {
    width: 70%;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
}

/*<------------ABOUT------------------>*/

.mission-note {
    margin-top: 5dvh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    border-radius: 5vw;
    background-color: #00e5ff2b;
    text-align: center;
    align-items: center;
    box-shadow: 0 0px 18px #00E5FF;
    transition: all 1s ease;
}

.mission-note:hover {
    box-shadow: 0 0px 36px #00E5FF;
}

.mission-note h4 {
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
}

.mission-note p {
    font-style: italic;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    padding-bottom: 2dvh;
    width: 90%;
}

/*<------------------SERVICES---------------------------->*/

.packages {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 2dvh 2vw;
    width: 90%;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.packages-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.packages-tabs.slider-toggle {
    position: relative;
    display: flex;
    width: fit-content;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 50px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.packages-tabs.slider-toggle a {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0.5em 1.5em;
    text-align: center;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

#slider-bg,
#chose-slider-bg {
    position: absolute;
    z-index: 1;
    width: 50%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #333;
    border-radius: 50px;
    transition: left 0.3s ease;
}

.slider-toggle a.selected {
    color: white !important;
}


#services .content {
    margin-bottom: 2dvh;
}

.packages-container {
    position: relative;
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.packages-content {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 1rem 3rem;
    box-sizing: border-box;
}

.packages-content ol {
    list-style: none;
    text-align: start;

    svg {
        height: 2.2rem;
        margin: 0 3px;
        vertical-align: middle;
    }
}

.servTo,
.servTo,
.servtitle,
.servpackname {
    margin-bottom: 1rem;
}

.separator {
    width: 1px;
    height: 90%;
    background-color: #00E5FF;
    margin: 0 10px;
    align-self: center;
}

/* Estilo para escritorio/tablet */
@media (min-width: 768px) {
    .packages-tabs {
        display: none !important;
    }

    #packages-container {
        overflow-x: visible;
    }

    .packages-content {
        flex: 1 1 50%;

        background-color: #00e5ff2b;
        box-shadow: 0 0px 18px #00E5FF;
        transition: all 1s ease;
        border-radius: 5vw;
        padding: 2dvh 4vw;
        margin: 2dvh 2vw;

        ol {
            list-style: none;
            text-align: center !important;
            width: 70% !important;
            justify-self: center;

            li {
                margin-bottom: 1px;
            }

            svg {
                height: 1.6rem !important;
            }
        }

    }
}

@media (max-width: 767px) {
    .servpackname {
        display: none;
    }

    .packages {
        background-color: #00e5ff2b;
        box-shadow: 0 0px 18px #00E5FF;
        transition: all 1s ease;
        border-radius: 5vw;
        padding: 2dvh 4vw;
    }

    .packages .boton-contacto {
        font-size: 1.5rem !important;
        width: 40vw !important;
    }

    .tooltip-text {
        font-size: 1.2rem !important;
        left: 25% !important;
        transform: translateX(-85%) !important;
    }
}

.selected {
    text-decoration: underline 1px;
    font-weight: bold;
}

.contact-zone {
    display: flex;
    align-items: center;
    justify-content: center;
}


.packages .boton-contacto {
    display: block;
    align-self: center;
    width: 10vw;
    margin: 2dvh 1vw;
    align-content: center;
}


.tooltip {
    position: relative;
    display: block;
    cursor: help;
    font-weight: bold;
    margin-left: 0.2rem;
    align-self: center;
}

.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #121d36;
    color: #fff;
    text-align: justify;
    padding: 8px 12px;
    border-radius: 5px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    /* aparece arriba del ícono */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.85rem;
    pointer-events: none;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/*<-------------------LEARN----------------------------->*/


.step {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 2dvh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    background-color: #00e5ff2b;
    box-shadow: 0 0px 18px #00E5FF;
    transition: all 1s ease;
    border-radius: 5vw;
    padding: 2dvh 2vw;
    width: 50vw;
}

.step .packages,
.step .packages-content {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.step .packages-content {
    margin: 1dvh 1vw !important;
}

.step .packages {
    margin: 0 !important;
}


.step h4 {
    text-transform: uppercase;
    margin-bottom: 1dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h4 svg {
    width: 2rem;
    height: 2rem;
    margin-right: 1.5rem;
}

#learn .tittle {
    font-size: 3.2rem !important;
}


/*<--------------------TEAM------------------------------->*/


.carousel-container {
    position: relative;
    overflow: hidden;
    width: 60vw;
    margin: 5dvh 2vw;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    padding: 0dvh 10vw;
    gap: 10vw;
    max-width: 60vw;
}

.card {
    flex: 0 0 100%;
    box-sizing: border-box;
    background-color: #00e5ff2b;
    box-shadow: 0 0px 18px #00E5FF;
    transition: all 1s ease;
    border-radius: 15px;
    margin: 2dvh 0;
    max-width: 50vw;
}

.card img,
.card video {
    margin: 1dvh 1vw;
    width: 20vw;
    height: 20vw;
    border-radius: 15%;
    object-fit: cover;
}

.card h3 {
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin: 0.5rem 0 0.2rem;
}

.card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0 2vw;
}

.social-icons {
    margin: 1dvh 1vw;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}

.social-icons i {
    font-size: 2.2rem;
    color: #ffffff;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #00bcd4;
}

.carousel-btn,
.refcarousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 1;
    padding: 0 0.5rem;
}

.carousel-btn.prev,
.refcarousel-btn.prev {
    left: 0;
}

.carousel-btn.next,
.refcarousel-btn.next {
    right: 0;
}

/* Mostrar 3 tarjetas en pantallas grandes */
@media (min-width: 768px) {
    .card {
        flex: 0 0 30%;
    }

    .carousel-track {
        gap: 2.5vw !important;
        padding: 0dvh 2.5vw;
        gap: 2.5vw;
        max-width: 60vw;
    }

    .card img,
    .card video {
        width: 10vw;
        height: 10vw;
    }

    .social-icons i {
        font-size: 1.2rem;
    }
}

#lastbutton {
    margin-top: 4dvh;
    padding: 2dvh 2vw;
    color: white;
    font-size: 2rem;
}

#contact {
    margin-top: 0;
    margin-bottom: 0 !important;
}


/*<-------------------FOOTER-----------------------------*/



.footer {
    font-family: 'Roboto', sans-serif;
    font-size: 0.6rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 4dvh;
    padding-bottom: 0.5dvh;
    justify-content: center;
    text-align: center;
    z-index: 200;
    background: rgb(28, 67, 151);
    margin-bottom: 0 !important;
}

.footer::before {
    opacity: 0.9;
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.52);
    filter: drop-shadow(0 0 5px #80c2ff);
    margin-bottom: 0 !important;
}

.footer span {
    margin-top: 6px;
}





@keyframes bright {

    0%,
    100% {
        box-shadow: 0 0 2px #00E5FF,
            0 0 4px #00E5FF,
            0 0 10px #00E5FF,
            0 0 14px #00E5FF;
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 3px #00E5FF,
            0 0 6px #00E5FF,
            0 0 12px #00E5FF,
            0 0 18px #00E5FF;
        opacity: 1;
    }
}

@keyframes movedown {

    0%,
    100% {
        transform: translateY(0);

    }

    50% {
        transform: translateY(1dvh);
    }
}

@keyframes moveup {

    0%,
    100% {
        transform: translateY(-0.25dvh);
    }

    50% {
        transform: translateY(0.25dvh);
    }
}

@keyframes up {
    0% {
        transform: translateY(5dvh);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes down {
    0% {
        transform: translateY(-5dvh);
    }

    100% {
        transform: translateY(0);
    }
}