/* ==========================
   CLASS SIX WEBSITE
   Theme : Black & Blue
========================== */

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

html{
    scroll-behavior:smooth;
}

body{

    background:#f8fbff;
    color:#1e293b;
    overflow-x:hidden;

}

/* Scrollbar */

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

::-webkit-scrollbar-track{
    background:#081120;
}

::-webkit-scrollbar-thumb{

    background:#2563eb;
    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:#3b82f6;

}

/* Background Glow */

body::before{

    content:"";

    position:fixed;

    width:500px;
    height:500px;

    background:#2563eb;

    filter:blur(180px);

    opacity:.15;

    top:-180px;
    left:-180px;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:450px;
    height:450px;

    background:#1d4ed8;

    filter:blur(180px);

    opacity:.12;

    right:-180px;
    bottom:-180px;

    z-index:-2;

}

/* Navbar */

header{

    position:sticky;

    top:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    backdrop-filter:blur(20px);

    background:#ffffff;

    border-bottom:1px solid #e5e7eb;
    box-shadow:0 5px 20px rgba(0,0,0,.08);

    z-index:999;

}

.logo,
header h2{

    font-size:24px;

    font-weight:700;

    letter-spacing:1px;

}

nav{

    display:flex;

    gap:25px;

}

nav a{

    color:#334155;

    text-decoration:none;

    transition:.3s;

    font-weight:500;

}

nav a:hover{

    color:#60a5fa;

}

.active{

    color:#3b82f6 !important;

}

/* Landing */

.landing{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

.hero{

    max-width:900px;

    text-align:center;

    animation:fade 1s ease;

}

.banner{

    width:100%;

    max-width:720px;

    border-radius:22px;

    box-shadow:0 0 35px rgba(37,99,235,.35);

    transition:.4s;

}

.banner:hover{

    transform:scale(1.02);

}

.hello{

    margin-top:30px;

    font-size:20px;

    color:#cbd5e1;

}

.hero h2{

    margin-top:15px;

    font-size:38px;

    font-weight:700;

}

.hero h2 span{

    color:#3b82f6;

}

.desc{

    margin-top:15px;

    color:#64748b;

}

.button{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:40px;

    padding:15px 35px;

    background:#2563eb;

    color:#1e293b;

    text-decoration:none;

    border-radius:15px;

    transition:.3s;

    box-shadow:0 0 25px rgba(37,99,235,.35);

}

.button:hover{

    background:#3b82f6;

    transform:translateY(-4px);

}

/* Hero Home */

.hero-home{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:60px;

    padding:80px 8%;

    flex-wrap:wrap;

}

.class-photo{

    width:420px;

    border-radius:22px;

    box-shadow:0 0 30px rgba(37,99,235,.3);

}

.hero-text{

    max-width:500px;

}

.hero-text h1{

    font-size:45px;

    margin-bottom:15px;

}

.hero-text p{

    color:#cbd5e1;

    line-height:1.8;

}

/* Cards */

.information,
.menu,
.students,
.schedule{

    padding:60px 8%;

    display:grid;

    gap:25px;

}

.information{

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

}

.menu{

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

}

.students{

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

}

.schedule{

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

}

.card,
.menu-card,
.student-card,
.day-card{

    background:#ffffff;

    backdrop-filter:blur(20px);

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:25px;

    transition:.35s;

}

.card:hover,
.menu-card:hover,
.student-card:hover,
.day-card:hover{

    transform:translateY(-8px);

    border-color:#2563eb;

    box-shadow:0 0 25px rgba(37,99,235,.25);

}

.menu-card{

    text-decoration:none;

    color:#1e293b;

}

.student-card{

    text-align:center;

    font-size:18px;

    font-weight:600;

}

.day-card h2{

    margin-bottom:15px;

}

.day-card ul{

    margin-left:20px;

    line-height:2;

    color:#334155;

}

.day-card span{

    display:inline-block;

    margin-top:20px;

    color:#60a5fa;

    font-weight:600;

}

/* Page Header */

.page-header,
.page-title{

    text-align:center;

    padding:70px 20px 30px;

}

.page-header h1,
.page-title h1{

    font-size:42px;

}

.page-header p,
.page-title p{

    color:#64748b;

    margin-top:10px;

}

/* Footer */

footer{

    padding:35px;

    text-align:center;

    color:#64748b;

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:60px;

}

/* Animation */

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Responsive */

@media(max-width:768px){

    header{

        flex-direction:column;

        gap:15px;

        padding:20px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero h2{

        font-size:28px;

    }

    .hero-text h1{

        font-size:34px;

    }

    .class-photo{

        width:100%;

    }

    .banner{

        width:100%;

    }

    .button{

        width:100%;

        justify-content:center;

    }

}