@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: radial-gradient(
        ellipse at center,
        #012e40 10%,
        #011c26 65%,
        #00080d 100%
    );
    min-height: 100vh;
    min-width: 100%;
    color: white;
    overflow-x: hidden;
    font-size: 16px;
    text-align: center;
    justify-content: center;
}

header {
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 24px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.desktop-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.desktop-menu li {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 0.5rem 0.8rem;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.desktop-menu li a:hover {
    opacity: 0.5;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.desktop-menu li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 40, 0.9);
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    min-width: 160px;
    z-index: 100;
}

.desktop-menu li.has-submenu:hover .submenu {
    display: block;
}

.desktop-menu li .submenu li {
    display: block;
    width: 100%;
}

.desktop-menu li .submenu li a {
    padding: 0.5rem 1rem;
    color: white;
    white-space: nowrap;
}

desktop-menu li .submenu li a:hover {
    opacity: 0.5;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #011c26;
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 20px 20px;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay .logo {
    position: absolute;
    top: 24px;
    left: 20px;
    z-index: 1001;
}

.mobile-menu-overlay.active .logo {
    opacity: 1;
}

.mobile-menu-overlay.active .logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.mobile-menu-overlay .logo i {
    font-size: 24px;
}

.mobile-menu-overlay .logo h1 {
    font-size: 24px;
}

.mobile-menu-content {
    margin: 0 auto;
}

.mobile-menu-section,
.mobile-menu-single {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-section,
.mobile-menu-overlay.active .mobile-menu-single {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-section:nth-child(1),
.mobile-menu-overlay.active .mobile-menu-single:nth-child(1) {
    transition-delay: 0.05s;
}
.mobile-menu-overlay.active .mobile-menu-section:nth-child(2),
.mobile-menu-overlay.active .mobile-menu-single:nth-child(2) {
    transition-delay: 0.06s;
}
.mobile-menu-overlay.active .mobile-menu-section:nth-child(3),
.mobile-menu-overlay.active .mobile-menu-single:nth-child(3) {
    transition-delay: 0.07s;
}
.mobile-menu-overlay.active .mobile-menu-section:nth-child(4),
.mobile-menu-overlay.active .mobile-menu-single:nth-child(4) {
    transition-delay: 0.08s;
}

.mobile-menu-section h3 {
    color: white;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: normal;
}

.mobile-menu-section h3 i {
    transition: transform 0.3s ease;
    padding: 10px;
}

.mobile-menu-section.expanded h3 i {
    transform: rotate(180deg);
}

.mobile-menu-items {
    display: none;
    padding-top: 10px;
    list-style: none;
}

.mobile-menu-section.expanded .mobile-menu-items {
    display: block;
}

.mobile-menu-items li {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-section.expanded .mobile-menu-items li {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu-section.expanded .mobile-menu-items li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-section.expanded .mobile-menu-items li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-section.expanded .mobile-menu-items li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-items a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-menu-items a:hover,
.mobile-menu-section h3:hover {
    color: white;
    padding-left: 5px;
    opacity: 0.5;
}

.mobile-menu-single a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-single a:hover {
    padding-left: 5px;
    opacity: 0.5;
}

.profile {
    width: 160px;
    height: auto;
    display: block;
    background: transparent;
    color: #fff;
    border: 1px solid #ffffff61;
    border-radius: 15px;
    box-shadow: 0px 0px 7px #a5a8b496;
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}

.profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.6s;
}

.profile:hover {
    border: 1px solid #ffffff;
    box-shadow: 0px 0px 10px #a5a8b4cc;
}

.profile:hover::before {
    left: 100%;
}

.profile:active {
    transform: translateY(1px);
    box-shadow: 0px 0px 5px #a5a8b496;
}

main div h2 {
    font-size: 50px;
    margin: 55px auto;
    font-weight: 400;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

main div h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: line-expand 4.5s ease-in-out infinite;
}

@keyframes line-expand {
    0%, 100% { width: 45%; opacity: 0.5; }
    50% { width: 90%; opacity: 1; }
}

.linea-punto-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.linea {
    width: 150px;
    height: 2px;
    background-color: #fff;
}

.punto1,
.punto2 {
    width: 7px;
    height: 7px;
    background-color: #fff;
    border-radius: 50%;
}

.texto {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
    color: #ffff;
    border: solid #ffff 2px;
    margin: auto 15px;
}

.hero {
    padding: 40px 20px;
    margin: 0px auto 50px auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.3;
    color: white;
    text-wrap: balance;
}

.subtext {
    color: #ccc;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 700px;
    text-wrap: balance;
}

.cta {
    width: 160px;
    height: auto;
    display: block;
    border: 1px solid #ffffff61;
    background-color: transparent;
    color: #ffffff;
    border-radius: 15px;
    padding: 10px 25px;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
    text-align: center;
}

.cta:hover {
    background-color: transparent;
    color: #fff;
    box-shadow: 0px 0px 12px 4px rgba(255, 255, 255, 0.068);
}

.cta:active {
    transform: translateY(1px);
    box-shadow: 0px 0px 5px #a5a8b496;
}

.img-practica {
    display: flex;
    justify-content: center;
    padding: 40px 0px;
}

.img-practica img {
    width: 85%;
    max-width: 800px;
    display: block;
    border: solid #fff 15px;
}

.cuadro-informativo {
    display: flex;
    align-items: center;
    background-color: #01222f;
    padding: 40px 60px;
    border-radius: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    margin-top: -60px;
    height: 400px;
    position: relative;
    z-index: -1000;
}

.texto-informativo {
    max-width: 500px;
}

.texto-informativo h3 {
    font-size: 40px;
    font-weight: 700;
    color: #D1D5DB;
    margin-bottom: 10px;
    text-align: left;
}

.texto-informativo p {
    font-size: 16px;
    color: #ccc;
    max-width: 400px;
}

.imagen-logica img {
    position: absolute;
    right: 480px;
    top: 25%;
    z-index: 1000;
    height: 225px;
}

.imagen2-logica img {
    position: absolute;
    right: 20px;
    bottom: 70px;
    height: 275px;
}

.instituciones {
    text-align: center;
    padding: 50px 20px;
    color: #fff;
}

.instituciones h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 40px;
}

.instituciones-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.instituciones-container a {
    text-decoration: none;
}

.institucion {
    background-color: #fff;
    color: #000;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.institucion:hover {
    transform: scale(1.05);
}

.institucion img {
    height: 45px;
    object-fit: contain;
}

.institucion span {
    font-weight: 600;
    font-size: 16px;
}

.separador-servicios {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 50px;
    margin-left: 100px;
}

.contenedor-btn-linea {
    display: flex;
    align-items: center;
    gap: 10px;
}

.boton-servicios {
    height: auto;
    display: block;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    border-radius: 15px;
    padding: 10px 25px;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.boton-servicios:hover {
    background-color: transparent;
    color: #fff;
}

.boton-servicios:active {
    transform: translateY(1px);
    box-shadow: 0px 0px 5px #a5a8b496;
}

.punto-1_punto-2 {
    display: flex;
    align-items: center;
}

.punto-1 {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

.linea-2 {
    width: 100px;
    height: 2px;
    background-color: white;
}

.titulo-servicios {
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    max-width: 800px;
    text-align: left;
    text-wrap: balance;
}

.cuadros-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.cuadro-logico {
    background-color: #022835;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 300px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cuadro-logico:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.bloque-beneficios {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 0;
}

.beneficio {
    background-color: #01222f;
    border-radius: 20px;
    padding: 1.5rem;
    flex: 1;
    max-width: 30%;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
    font-size: 1.3rem;
}

.beneficio:nth-child(1) {
    border-radius: 0 20px 20px 0;
}

.beneficio:nth-child(3) {
    border-radius: 20px 0 0 20px;
}

.imagen-principiante img {
    width: 100%;
    margin-top: 1rem;
}

.texto-experiencia {
    margin-bottom: 0.5rem;
}

.imagen-experiencia img {
    width: 85%;
    margin-top: auto;
    margin-left: 20px;
}

.beneficio__separator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.texto-benefico h3 {
    flex: 1;
    text-align: left;
    text-wrap: balance;
}

.texto-benefico p {
    flex: 2;
    text-align: left;
    margin-top: 10px;
    font-size: 1rem;
}

.imagen-dispositivo img {
    flex: 1;
    height: 275px;
}

.img-practica img,
.img-logica img,
.logos-escuelas img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.cta-loxi {
    width: fit-content;
    height: auto;
    display: block;
    border: 1px solid #ffffff;
    background-color: #fff;
    color: #000;
    border-radius: 15px;
    padding: 10px 25px;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    margin: auto;
}

.cta-loxi:hover {
    background-color: transparent;
    color: #fff;
    box-shadow: 0px 0px 2px #a5a8b4cc;
}

.cta-loxi:active {
    transform: translateY(1px);
    box-shadow: 0px 0px 5px #a5a8b496;
}

.logos-escuelas h3,
.beneficios h3,
.cta-final h3 {
    color: white;
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-final h3 {
    text-align: center;
}

.cta-final {
    margin-top: 130px;
}

.foooter {
    font-style: italic;
    margin-top: 100px;
}

.content-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.title-footer {
    font-size: 14rem;
    color: #b5b7ba;
    text-align: center;
}

.footer-contact {
    font-size: 20px;
}

.footer-contact p {
    color: #b5b7ba;
    font-size: 20px;
    margin: 10px 0;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 25px;
    text-align: left;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    text-align: start;
}

.footer-contact ul li:first-child {
    text-decoration: underline;
    color: #b5b7ba;
}

.footer-links ul li a, 
.footer-contact ul li a {
    text-decoration: none;
    color: #b5b7ba;
    font-size: 17px;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    text-decoration: underline;
    color: #fff;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    color: #615e5e44;
    font-size: 14px;
    position: relative;
    z-index: 10;
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.603);
    text-align: center;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #011c26 0%, #00080d 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #012e40;
    border-radius: 10px;
    border: 2px solid #00080d;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #01475f;
}

* {
    scrollbar-color: #012e40 #00080d;
}

@media (max-width: 1054px) {
    .title-footer {
        flex-basis: 100%;
    }
}

@media (max-width: 1024px) {
    .bloque-beneficios {
        flex-direction: column;
        align-items: center;
    }

    .beneficio {
        width: 90%;
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .beneficio div img {
        display: none;
    }

    .beneficio:nth-child(1),
    .beneficio:nth-child(3) {
        border-radius: 20px;
    }

    .cuadro-informativo {
        flex-direction: column;
        text-align: center;
    }

    .cuadro-informativo img {
        width: 80%;
        margin: 0 auto;
    }

    .title-footer {
        flex-basis: 100%;
    }

    .titulo-servicios {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .profile {
        display: none;
    }

    .mobile-profile > .profile {
        display: block;
        margin: auto;
    }

    nav {
        justify-content: space-between;
    }

    nav ul {
        justify-content: center;
        padding: 10px 0;
    }

    .hero {
        padding: 20px;
        text-align: center;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .subtext {
        font-size: 1rem;
    }

    .separador-servicios {
        flex-direction: column;
        align-items: center;
        margin-left: auto;
    }

    .punto-1_punto-2 {
        display: none;
    }

    .cta,
    .cta-loxi {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 16px;
        padding: 0.5rem;
        text-align: center;
    }

    .profile {
        width: 120px;
        padding: 8px 15px;
        font-size: 14px;
    }

    .content-footer {
        gap: 20px;
        margin-bottom: 50px;
    }

    .title-footer {
        font-size: 8.5rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.4rem;
    }

    .footer-links ul li a,
    .footer-contact p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1,
    h2,
    h3 {
        font-size: 90%;
    }

    .linea-punto-texto {
        flex-direction: column;
        gap: 10px;
    }

    .instituciones-container {
        flex-direction: column;
        align-items: center;
    }

    .institucion img {
        width: 120px;
    }

    .footer-links ul {
        padding: 0;
    }

    .title-footer {
        font-size: 6rem;
    }
}