/*==================================================
                CECNE
Centro de Estudios y Capacitación para la Neurodiversidad
==================================================*/

:root{

    --azul:#1E88E5;
    --magenta:#C2185B;
    --verde:#43A047;
    --naranja:#FB8C00;

    --gris:#555555;
    --gris-claro:#f6f8fb;
    --blanco:#ffffff;

    --sombra:0 12px 35px rgba(0,0,0,.08);

    --radio:18px;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    color:var(--gris);

    background:#ffffff;

    overflow-x:hidden;

}


/*=============================
        NAVBAR
==============================*/

.navbar{

    transition:.35s;

    padding:18px 0;

}

.navbar-brand img{

    transition:.3s;

}

.nav-link{

    font-weight:500;

    margin-left:18px;

    color:#333 !important;

}

.nav-link:hover{

    color:var(--azul)!important;

}


/*=============================
        BOTONES
==============================*/

.btn-cecne{

    background:linear-gradient(135deg,var(--azul),var(--magenta));

    color:white;

    border:none;

    border-radius:50px;

    padding:13px 28px;

    font-weight:600;

    transition:.35s;

}

.btn-cecne:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    color:white;

}


/*=============================
            HERO
==============================*/

.hero{

    position:relative;

    background:

    radial-gradient(circle at top right,#dceeff 0%,transparent 45%),

    radial-gradient(circle at bottom left,#ffe6ef 0%,transparent 45%),

    linear-gradient(180deg,#ffffff,#f8fbff);

}


/* círculos decorativos */

.hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(30,136,229,.05);

    right:-150px;

    top:-150px;

}

.hero::after{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    border-radius:50%;

    background:rgba(194,24,91,.05);

    left:-120px;

    bottom:-120px;

}

.hero-badge{

    display:inline-block;

    padding:10px 20px;

    border-radius:30px;

    background:#EEF6FF;

    color:var(--azul);

    font-weight:600;

    margin-bottom:25px;

}

.hero h1{

    font-size:4rem;

    font-weight:800;

    line-height:1.15;

    letter-spacing:-1px;

}

.hero p{

    max-width:650px;

    font-size:1.2rem;

    line-height:1.9;

}

.hero-buttons .btn{

    margin-right:15px;

    margin-bottom:15px;

}

.hero-logo{

    width:420px;

    max-width:100%;

    animation:flotar 5s ease-in-out infinite;

}


/*=============================
        SECCIONES
==============================*/

.section{

    padding:120px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.4rem;

    font-weight:700;

    color:#222;

    margin-bottom:20px;

}

.section-title p{

    max-width:800px;

    margin:auto;

    line-height:1.8;

}


/*=============================
        TARJETAS
==============================*/

.pillar-card{

    background:white;

    border-radius:var(--radio);

    padding:40px 30px;

    text-align:center;

    box-shadow:var(--sombra);

    transition:.35s;

    height:100%;
border:1px solid #edf2f7;
}

.pillar-card:hover{

transform:translateY(-12px);

box-shadow:

0 25px 60px rgba(0,0,0,.12);

}

.pillar-card i{

    font-size:55px;

    color:var(--azul);

    margin-bottom:25px;

}

.pillar-card h4{

    margin-bottom:18px;

    font-weight:600;

}


/*=============================
        CURSOS
==============================*/

.course-card{

    background:white;

    padding:35px;

    border-radius:var(--radio);

    box-shadow:var(--sombra);

    transition:.35s;

    height:100%;
    border:1px solid #eef1f5;

}

.course-card:hover{

   transform:translateY(-10px);

box-shadow:0 25px 60px rgba(0,0,0,.10);

}

.course-card h4{

    font-weight:600;

    margin-bottom:20px;

}

.course-card a{

    text-decoration:none;

    color:var(--azul);

    font-weight:600;

}


/*=============================
        FOOTER
==============================*/

footer{

background:

linear-gradient(

135deg,

#0f172a,

#111827

);

}

footer img{

    margin-bottom:20px;

}

footer hr{

    margin:35px auto;

    max-width:400px;

    border-color:rgba(255,255,255,.15);

}


/*=============================
        ANIMACIONES
==============================*/

@keyframes flotar{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0px);

    }

}


/*=============================
        RESPONSIVE
==============================*/

@media(max-width:991px){

.hero{

padding-top:150px;

text-align:center;

}

.hero h1{

font-size:2.4rem;

}

.hero-logo{

margin-top:60px;

width:320px;

}

.nav-link{

margin-left:0;

}

}

@media(max-width:576px){

.hero h1{

font-size:2rem;

}

.section-title h2{

font-size:2rem;

}

}
/*=========================
        PARTICLES
=========================*/

#particles-js{

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

z-index:0;

}

.hero .container{

position:relative;

z-index:2;

}
.navbar{

    background:rgba(255,255,255,.92);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(0,0,0,.05);

    padding:16px 0;

    transition:.35s;

    z-index:9999;

}

.navbar.scrolled{

    padding:8px 0;

    background:rgba(255,255,255,.97);

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

}

.logo-navbar{

    height:70px;
    width:auto;

}

.footer-logo{

    width:240px;

}
body{

    padding-top:95px;

}