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

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

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

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

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

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

.hero{
    text-align:center;
    color:white;
    padding:100px 20px;
    background:linear-gradient(
    rgba(15,52,96,0.85),
    rgba(15,52,96,0.85)),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b');
    background-size:cover;
    background-position:center;
}

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

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

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

section{
    padding:70px 8%;
}

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

.curriculum-cards,
.level-cards,
.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card,
.level,
.feature{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    text-align:center;
}

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

.subject,
.exam{
    background:#0f3460;
    color:white;
    padding:18px;
    text-align:center;
    border-radius:8px;
    font-weight:600;
}

.feature{
    background:#ffffff;
}

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

.cta h2{
    color:white;
}

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

@media(max-width:768px){

    header{
        flex-direction:column;
    }

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

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

}