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

body{
    background:#f4f7fc;
    color:#333;
    line-height:1.6;
}

/* Header */

header{
    background:#0a2342;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:600;
}

nav ul li a:hover{
    color:#ffcc00;
}

/* Hero */

.hero{
    text-align:center;
    padding:100px 20px;
    background:linear-gradient(
    rgba(10,35,66,0.8),
    rgba(10,35,66,0.8)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f');
    background-size:cover;
    color:white;
}

.hero h2{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    font-size:20px;
}

.btn{
    display:inline-block;
    margin-top:25px;
    padding:14px 30px;
    background:#ffcc00;
    color:#0a2342;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

.btn:hover{
    background:#ffd633;
}

/* Sections */

section{
    padding:70px 8%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    color:#0a2342;
}

/* Cards */

.cards{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.card{
    background:white;
    padding:30px;
    width:300px;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    text-align:center;
}

.card:hover{
    transform:translateY(-5px);
    transition:0.3s;
}

/* Subjects */

.subject-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.subject{
    background:#0a2342;
    color:white;
    text-align:center;
    padding:20px;
    border-radius:10px;
    font-weight:bold;
}

/* Levels */

.levels ul{
    max-width:500px;
    margin:auto;
}

.levels li{
    margin:15px 0;
    font-size:18px;
}

/* CTA */

.cta{
    text-align:center;
    background:#0a2342;
    color:white;
}

.cta h2{
    color:white;
}

/* Footer */

footer{
    background:#05162b;
    color:white;
    text-align:center;
    padding:20px;
}

/* Mobile */

@media(max-width:768px){

    header{
        flex-direction:column;
    }

    nav ul{
        margin-top:15px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h2{
        font-size:32px;
    }
}