* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f6f8fc;
    color: #202738;
}


/* NAVBAR */

.navbar {

    height: 80px;

    background: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 5%;

    box-shadow: 0 2px 15px rgba(0,0,0,.05);

}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

}


.logo-icon {

    font-size: 35px;

}


.logo-name {

    font-size: 25px;

    font-weight: bold;

    color: #294b92;

}


.logo-sub {

    font-size: 11px;

    color: #777;

}


.menu {

    display: flex;

    gap: 25px;

}


.menu a {

    text-decoration: none;

    color: #333;

    font-size: 14px;

}


.menu a:hover {

    color: #3157a6;

}


.nav-buttons {

    display: flex;

    gap: 10px;

}


.nav-buttons button {

    border: none;

    padding: 12px 18px;

    border-radius: 10px;

    cursor: pointer;

}


.search {

    background: transparent;

}


.login {

    background: #3157a6;

    color: white;

}


.register {

    background: white;

    border: 1px solid #ddd !important;

}


/* HERO */

.hero {

    min-height: 420px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 70px 8%;

    background:

    radial-gradient(
        circle at right,
        #dbe7ff,
        transparent 45%
    );

}


.hero-text {

    max-width: 600px;

}


.hero h1 {

    font-size: 48px;

    line-height: 1.3;

}


.hero h1 span {

    color: #3157a6;

}


.hero p {

    font-size: 18px;

    margin-top: 20px;

    color: #555;

}


/* SEARCH */

.search-box {

    margin-top: 30px;

    display: flex;

    background: white;

    border-radius: 30px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0,0,0,.1);

}


.search-box input {

    flex: 1;

    padding: 18px 25px;

    border: none;

    outline: none;

}


.search-box button {

    width: 70px;

    border: none;

    background: #3157a6;

    color: white;

    font-size: 20px;

}


.popular {

    margin-top: 20px;

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}


.popular span {

    background: white;

    padding: 8px 15px;

    border-radius: 20px;

    font-size: 13px;

}


/* HERO IMAGE */

.hero-image {

    position: relative;

    width: 400px;

    height: 350px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.students {

    font-size: 110px;

}


.bubble {

    position: absolute;

    width: 70px;

    height: 70px;

    background: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    box-shadow: 0 10px 25px rgba(0,0,0,.1);

}


.bubble1 {

    top: 40px;

    left: 10px;

}


.bubble2 {

    top: 130px;

    right: 0;

}


.bubble3 {

    bottom: 10px;

    right: 60px;

}


/* CATEGORIES */

.categories {

    margin: -30px auto 40px;

    width: 90%;

    background: white;

    border-radius: 25px;

    padding: 30px;

    display: grid;

    grid-template-columns: repeat(7,1fr);

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

}


.category {

    text-align: center;

    padding: 15px;

    border-right: 1px solid #eee;

}


.category:last-child {

    border: none;

}


.category-icon {

    font-size: 40px;

}


.category h3 {

    margin-top: 10px;

}


.category p {

    font-size: 12px;

    margin-top: 8px;

    color: #777;

}


/* LEVEL */

.level-section {

    width: 90%;

    margin: 30px auto;

    display: flex;

    align-items: center;

    gap: 40px;

}


.level-title {

    min-width: 180px;

}


.level-title p {

    font-size: 13px;

    color: #777;

    margin-top: 8px;

}


.levels {

    display: flex;

    gap: 15px;

    flex: 1;

}


.level-card {

    flex: 1;

    background: white;

    padding: 18px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    gap: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,.05);

}


.level-card.active {

    border: 2px solid #3157a6;

}


.level-card p {

    font-size: 13px;

    color: #777;

}


/* POPULAR CONTENT */

.popular-content {

    width: 90%;

    margin: 60px auto;

}


.content-grid {

    margin-top: 25px;

    display: grid;

    grid-template-columns: repeat(5,1fr);

    gap: 20px;

}


.content-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    padding-bottom: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,.05);

}


.card-image {

    height: 140px;

    background: linear-gradient(
        135deg,
        #8eb5ff,
        #dce9ff
    );

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 60px;

}


.content-card h3 {

    padding: 10px 15px;

    font-size: 15px;

}


.content-card p {

    padding: 0 15px;

    color: #777;

    font-size: 13px;

}


.tag {

    display: inline-block;

    margin: 12px;

    background: #3157a6;

    color: white;

    padding: 5px 10px;

    border-radius: 8px;

    font-size: 11px;

}


.green {

    background: #2da56d;

}


.orange {

    background: #e58a30;

}


.yellow {

    background: #d6a52b;

}


.views {

    margin: 15px;

    font-size: 12px;

    color: #777;

}


.more {

    text-align: center;

    margin-top: 30px;

}


.more button {

    padding: 12px 30px;

    border-radius: 25px;

    border: 1px solid #ccc;

    background: white;

}


/* FEATURES */

.features {

    width: 90%;

    margin: 50px auto;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 30px;

}


.feature {

    position: relative;

    min-height: 280px;

    padding: 30px;

    border-radius: 20px;

    color: white;

    overflow: hidden;

}


.purple {

    background: linear-gradient(
        135deg,
        #5a55c8,
        #8a75e8
    );

}


.blue {

    background: linear-gradient(
        135deg,
        #417fd8,
        #74a9ff
    );

}


.green-feature {

    background: linear-gradient(
        135deg,
        #45aa91,
        #8bd8bd
    );

}


.feature p {

    margin-top: 10px;

}


.feature ul {

    list-style: none;

    margin-top: 20px;

}


.feature li {

    margin: 10px 0;

}


.feature button {

    margin-top: 15px;

    padding: 10px 20px;

    border: none;

    border-radius: 10px;

}


.feature-icon {

    position: absolute;

    right: 30px;

    bottom: 25px;

    font-size: 70px;

}


/* WHY */

.why {

    width: 90%;

    margin: 70px auto;

    text-align: center;

}


.why-grid {

    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(5,1fr);

}


.why-grid span {

    font-size: 40px;

}


.why-grid h3 {

    margin-top: 15px;

}


.why-grid p {

    margin-top: 8px;

    color: #777;

    font-size: 13px;

}


/* FOOTER */

footer {

    background: #253f80;

    color: white;

    padding: 50px 10%;

    display: flex;

    justify-content: space-between;

}


/* MOBILE */

@media (max-width: 900px) {

    .menu {

        display: none;

    }


    .hero {

        flex-direction: column;

        text-align: center;

    }


    .hero h1 {

        font-size: 36px;

    }


    .hero-image {

        width: 100%;

    }


    .categories {

        grid-template-columns:
        repeat(2,1fr);

    }


    .content-grid {

        grid-template-columns:
        repeat(2,1fr);

    }


    .features {

        grid-template-columns:
        1fr;

    }


    .why-grid {

        grid-template-columns:
        repeat(2,1fr);

        gap: 30px;

    }


    .level-section {

        flex-direction: column;

        align-items: stretch;

    }


    .levels {

        flex-wrap: wrap;

    }


    .level-card {

        min-width: 40%;

    }

}