*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
}

body{
    font-family:"Poppins",sans-serif;
    background:#192335;
    color:#fff;
    overflow-x:hidden;
    line-height:1.7;
}
h1,
h2,
h3,
h4{
    font-weight:600;
}
.titulo,
.titulo1{
    text-align:center;
    font-size:40px;
    margin:60px 0 30px;
    color:#fff;
    letter-spacing:1px;
}
.seccion-titulo{
    text-align:center;
    margin:60px 0 20px;
}
.seccion-titulo h2{
    font-size:38px;
    color:#fff;
    position:relative;
    display:inline-block;
}

.seccion-titulo h2::after{
    content:"";
    width:80px;
    height:4px;
    background:#3b82f6;
    border-radius:10px;
    position:absolute;
    left:50%;
    bottom:-12px;
    transform:translateX(-50%);
}

header{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    width:100%;
    padding:15px 50px;

    background:rgba(24,35,133,.88);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(255,255,255,.15);

    box-shadow:0 8px 20px rgba(0,0,0,.25);
}

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

.logo img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;

    border:2px solid white;

    transition:.35s;
}

.logo img:hover{
    transform:scale(1.08) rotate(6deg);
}

.logo h1{
    font-size:24px;
    color:white;
    margin:0;
}

.logo span{
    display:block;
    font-size:13px;
    color:#c8e1ff;
}

nav{
    display:flex;
    align-items:center;
    gap:15px;
}

nav a{
    color:white;
    text-decoration:none;

    padding:10px 18px;

    border-radius:10px;

    transition:.3s;

    font-size:16px;
    font-weight:500;
}

nav a:hover{
    background:#3b82f6;
    transform:translateY(-3px);
}

nav a.activo{
    background:#2563eb;
}


.switch{
    margin-left:20px;
}

.checkbox{
    display:none;
}

.slider{
    width:60px;
    height:30px;
    background:#d1d5db;
    border-radius:30px;
    position:relative;
    cursor:pointer;
    transition:.3s;
}

.slider::before{
    content:"";
    position:absolute;
    top:2px;
    left:2px;
    width:26px;
    height:26px;
    border-radius:50%;
    background:url("spain4.png");
    background-size:cover;
    background-position:center;
    transition:.3s;
}

.checkbox:checked + .slider{
    background:#2196F3;
}

.checkbox:checked + .slider::before{
    transform:translateX(30px);
    background:url("usa3.png");
    background-size:cover;
    background-position:center;
}
.contenido,
.contenido1{
    width:100%;
    padding:80px 0;
}

.contenido{
    background:rgba(13,29,49,.88);
}

.contenido1{
    background:transparent;
}

.fila{
    max-width:1200px;
    margin:auto;
    padding:0 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.texto,
.texto1{
    flex:1;
}

.texto p,
.texto1 p{
    font-size:17px;
    text-align:justify;
    line-height:1.9;
    color:#f2f2f2;
}

.imagen,
.imagen1,
.imagen2{
    flex:1;
    display:flex;
    justify-content:center;
}

.imagen img,
.imagen1 img,
.imagen2 img{

    width:100%;
    max-width:360px;
    border-radius:18px;
    transition:.4s;
    box-shadow:0 15px 35px rgba(0,0,0,.35);
}

.imagen img:hover,
.imagen1 img:hover,
.imagen2 img:hover{
    transform:scale(1.05);
}
.botones{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:40px;
}

.btn{
    padding:14px 28px;
    background:#ffffff;
    color:#0d1d31;
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.btn:hover{
    transform:translateY(-5px);
}

.btn-secundario{
    background:transparent;
    color:white;
    border:2px solid white;
}
.btn-secundario:hover{
    background:white;
    color:#0d1d31;
}
.lista{
    margin-top:25px;
    margin-left:20px;
}

.lista li{
    margin-bottom:15px;
    font-size:17px;
    line-height:1.7;
    color:white;
}

.lista li::marker{
    color:#3b82f6;
}

.cards{
    max-width:1200px;
    margin:50px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
    padding:0 30px;
}

.card{
    background:#23334f;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    transition:.35s;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.card:hover{
    transform:translateY(-10px);
    background:#2c4675;
}

.card i{
    font-size:42px;
    color:#4da6ff;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
    font-size:24px;
}

.card p{
    font-size:16px;
    line-height:1.7;

}

.estadisticas{
    max-width:1200px;
    margin:70px auto;
    padding:0 30px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.estadistica{
    background:#13233d;
    padding:35px;
    border-radius:18px;
    text-align:center;
    transition:.35s;
    box-shadow:0 12px 25px rgba(0,0,0,.3);
}

.estadistica:hover{
    transform:translateY(-8px);
}

.estadistica i{
    font-size:48px;
    color:#3b82f6;
    margin-bottom:20px;
}

.estadistica h2{
    font-size:30px;
    margin-bottom:12px;
}

.estadistica p{
    font-size:16px;
    line-height:1.6;
}

.footer{
    background:#030912;
    padding:70px 0 30px;
    margin-top:80px;
}

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.footer-row{
    display:flex;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}

.footer-links{
    flex:1;
    min-width:220px;
}

.footer-links h4{
    color:white;
    font-size:22px;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:3px solid #3b82f6;
    display:inline-block;
}

.footer-links ul{
    list-style:none;
}

.footer-links ul li{
    margin-bottom:14px;
}

.footer-links ul li a{
    color:#d6d6d6;
    text-decoration:none;
    transition:.3s;
}

.footer-links ul li a:hover{
    color:#4da6ff;
    padding-left:8px;
}

.social-link{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.social-link a{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#1b2b47;
    color:white;
    font-size:18px;
    transition:.3s;
}

.social-link a:hover{
    background:#3b82f6;
    transform:translateY(-5px);
}

.footer-copy{
    text-align:center;
    margin-top:50px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.1);
    color:#bfc9d8;
    font-size:15px;
}

.estrellas{
    position:fixed;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    z-index:-1;
}

.estrella{
    position:absolute;
    background:white;
    border-radius:50%;
    box-shadow:0 0 12px white;
    animation:caer linear infinite;
}

@keyframes caer{
    0%{
        transform:translateY(-120px);
        opacity:1;
    }
    100%{
        transform:translateY(calc(100vh + 150px));
        opacity:0;
    }
}
#subir{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#3b82f6;
    color:white;
    font-size:20px;
    cursor:pointer;
    display:none;
    transition:.3s;
    z-index:999;
}

#subir:hover{
    transform:translateY(-5px);
    background:#2563eb;
}

.card,
.estadistica,
.imagen img,
.imagen1 img,
.imagen2 img{
    transition:.35s ease;
}

.card:hover,
.estadistica:hover{
    transform:translateY(-10px);
}

.imagen img:hover,
.imagen1 img:hover,
.imagen2 img:hover{
    transform:scale(1.05);
}
@media (max-width:900px){
    header{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }
    nav{
        flex-wrap:wrap;
        justify-content:center;
    }
    .fila{
        flex-direction:column;
        text-align:center;
    }
    .texto,
    .texto1{
        width:100%;
    }
    .texto p,
    .texto1 p{
        text-align:center;
    }
    .imagen,
    .imagen1,
    .imagen2{
        width:100%;
    }
    .botones{
        flex-direction:column;
        align-items:center;
    }
    .cards,
    .estadisticas{
        grid-template-columns:1fr;
    }
    .footer-row{
        flex-direction:column;
        text-align:center;
    }
    .social-link{
        justify-content:center;
    }
}

@media (max-width:600px){
    .titulo,
    .titulo1,
    .seccion-titulo h2{
        font-size:30px;
    }
    .btn{
        width:100%;
        text-align:center;
    }
    header{
        padding:15px;
    }
}
.estrellas{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    pointer-events:none;
    z-index:-1;
}

.estrella{
    position:absolute;
    background:white;
    border-radius:50%;
    box-shadow:0 0 10px white;
    opacity:.9;
    animation:caer linear infinite;
}

@keyframes caer{

    0%{
        transform:translateY(-120px);
        opacity:0;
    }

    10%{
        opacity:1;
    }

    90%{
        opacity:1;
    }

    100%{
        transform:translateY(calc(100vh + 200px));
        opacity:0;
    }

}
/* HERO */

.hero{
    max-width:1200px;
    margin:0 auto;
    padding:90px 30px 70px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;

    min-height:85vh;
}

.hero-texto{
    flex:1;
}

.hero-texto h1{
    font-size:58px;
    color:white;
    margin-bottom:20px;
}

.hero-texto p{
    font-size:21px;
    color:#d9d9d9;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-botones{
    display:flex;
    gap:20px;
}

.hero-imagen{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-imagen img{
    width:420px;
    max-width:100%;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.45);
}