/* =====================================================
   EDUHUB CODE HUB THEME
   ===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",Arial,sans-serif;
}

body{
    background:#050816;
    color:white;
    min-height:100vh;
}


/* HEADER */

header{
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(15,23,42,0.85);
    backdrop-filter:blur(15px);
    border-bottom:1px solid rgba(255,255,255,0.1);
    position:sticky;
    top:0;
    z-index:100;
}


.logo{
    font-size:25px;
    font-weight:800;
    color:#38bdf8;
    letter-spacing:1px;
}


nav{
    display:flex;
    gap:25px;
}


nav a{
    text-decoration:none;
    color:#cbd5e1;
    font-size:16px;
    transition:.3s;
}


nav a:hover{
    color:#38bdf8;
}


/* HERO SECTION */

.hero{
    text-align:center;
    padding:80px 20px 50px;
}


.hero h1{
    font-size:45px;
    font-weight:800;
    background:linear-gradient(90deg,#38bdf8,#a855f7);
    -webkit-background-clip:text;
    color:transparent;
}


.hero p{
    margin-top:15px;
    color:#94a3b8;
    font-size:18px;
}


/* CARDS AREA */

.features{
    width:85%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    padding:40px 0 80px;
}


/* CARD */

.card{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    transition:.4s;
    backdrop-filter:blur(15px);
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}


.card:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
    box-shadow:0 0 30px rgba(56,189,248,.25);
}


.card h2{
    font-size:30px;
    margin-bottom:15px;
}


.card p{
    color:#94a3b8;
    margin-bottom:25px;
    font-size:16px;
}



/* BUTTON */

.card button{
    border:none;
    padding:12px 28px;
    border-radius:30px;
    background:linear-gradient(90deg,#38bdf8,#8b5cf6);
    color:white;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}


.card button:hover{
    transform:scale(1.08);
    box-shadow:0 0 20px rgba(56,189,248,.5);
}



/* LANGUAGE COLORS */

.card:nth-child(1){
    border-top:4px solid #f97316;
}


.card:nth-child(2){
    border-top:4px solid #3b82f6;
}


.card:nth-child(3){
    border-top:4px solid #facc15;
}


.card:nth-child(4){
    border-top:4px solid #a855f7;
}



/* MOBILE */

@media(max-width:700px){

    header{
        flex-direction:column;
        gap:15px;
    }


    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }


    .hero h1{
        font-size:32px;
    }


    .hero p{
        font-size:15px;
    }


    .features{
        width:90%;
    }

}