/* ====================================
   VARIABLES GLOBALES PADI
==================================== */

:root{

    /* Colores principales */

    --primario:#0B4F8C;
    --secundario:#1E73BE;
    --acento:#00AEEF;

    /* Colores oscuros */

    --oscuro:#08121D;
    --oscuro-2:#10243A;

    /* Colores neutros */

    --gris:#64748B;
    --gris-claro:#CBD5E1;

    --blanco:#FFFFFF;

    --fondo:#F8FAFC;

    /* Sombras */

    --sombra-sm:
    0 5px 15px rgba(0,0,0,.08);

    --sombra-md:
    0 10px 30px rgba(0,0,0,.12);

    --sombra-lg:
    0 20px 50px rgba(0,0,0,.18);

    /* Glow azul */

    --glow:
    0 0 25px rgba(0,174,239,.35);

    /* Bordes */

    --radio-sm:12px;
    --radio-md:20px;
    --radio-lg:30px;

    /* Transiciones */

    --transition:.35s ease;

}

/* ====================================
   RESET
==================================== */

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--fondo);

    color:var(--oscuro);

    overflow-x:hidden;

    line-height:1.7;

}

/* ====================================
   CONTENEDOR GENERAL
==================================== */

.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}

/* ====================================
   IMÁGENES
==================================== */

img{

    max-width:100%;

    display:block;

}

/* ====================================
   ENLACES
==================================== */

a{

    text-decoration:none;

    transition:var(--transition);

}

/* ====================================
   LISTAS
==================================== */

ul{

    list-style:none;

}

/* ====================================
   BOTÓN PRINCIPAL
==================================== */

.btn-primary{

    display:inline-block;

    padding:16px 35px;

    border-radius:14px;

    color:white;

    font-weight:600;

    background:
    linear-gradient(
    135deg,
    var(--acento),
    var(--secundario)
    );

    transition:var(--transition);

}

.btn-primary:hover{

    transform:
    translateY(-5px);

    box-shadow:
    0 15px 40px rgba(0,174,239,.35);

}

/* ====================================
   BOTÓN SECUNDARIO
==================================== */

.btn-secondary{

    display:inline-block;

    padding:16px 35px;

    border-radius:14px;

    border:2px solid white;

    color:white;

    font-weight:600;

    transition:var(--transition);

}

.btn-secondary:hover{

    background:white;

    color:var(--primario);

}

/* ====================================
   TITULOS GENERALES
==================================== */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--acento);

    font-size:1rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

.section-title h2{

    font-size:3rem;

    margin:15px 0;

    color:var(--oscuro);

}

.section-title p{

    max-width:750px;

    margin:auto;

    color:var(--gris);

}

/* ====================================
   TARJETAS
==================================== */

.card{

    background:white;

    border-radius:25px;

    box-shadow:var(--sombra-md);

    transition:var(--transition);

}

.card:hover{

    transform:
    translateY(-10px);

}

/* ====================================
   CONTADOR
==================================== */

.counter{

    font-size:3rem;

    font-weight:700;

    color:var(--acento);

}

/* ====================================
   SCROLLBAR
==================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#E2E8F0;

}

::-webkit-scrollbar-thumb{

    background:
    linear-gradient(
    var(--primario),
    var(--acento)
    );

    border-radius:20px;

}

/* ====================================
   SELECCIÓN DE TEXTO
==================================== */

::selection{

    background:var(--acento);

    color:white;

}

/* ====================================
   ANIMACIONES
==================================== */

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-20px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes glow{

    0%{

        filter:
        drop-shadow(
        0 0 0 rgba(0,174,239,.20)
        );

    }

    50%{

        filter:
        drop-shadow(
        0 0 40px rgba(0,174,239,.50)
        );

    }

    100%{

        filter:
        drop-shadow(
        0 0 0 rgba(0,174,239,.20)
        );

    }

}
