/* ===================================================
   DTH EduPlay v0.3
   Friendly Education 2.0
=================================================== */

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

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#F5F9FF;

    color:#333;

    line-height:1.6;

}

/* ===============================
   CONTAINER
================================ */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ===============================
   NAVBAR
================================ */

.navbar{

    background:white;

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

    position:sticky;

    top:0;

    z-index:999;

}

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 0;

}

.brand{

    display:flex;

    align-items:center;

    gap:15px;

}

.school-logo{

    width:70px;

    height:70px;

    object-fit:contain;

}

.brand h2{

    color:#1976D2;

}

.brand p{

    color:#666;

    font-size:14px;

}

.nav-menu{

    display:flex;

    list-style:none;

    gap:25px;

}

.nav-menu a{

    text-decoration:none;

    color:#333;

    font-weight:bold;

    transition:.3s;

}

.nav-menu a:hover{

    color:#1976D2;

}

/* ===============================
   HEADER
================================ */

.header{

    background:linear-gradient(135deg,#1976D2,#42A5F5);

    color:white;

    text-align:center;

    padding:70px 20px;

}

.header h1{

    font-size:52px;

    margin-bottom:15px;

}

.slogan{

    font-size:22px;

}

.school-name{

    margin-top:15px;

    font-size:18px;

    opacity:.95;

}

/* ===============================
   HERO
================================ */

.hero{

    padding:60px 0;

}

.hero-content{

    background:white;

    border-radius:25px;

    padding:50px;

    text-align:center;

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

}

.hero h2{

    color:#1976D2;

    margin-bottom:20px;

    font-size:36px;

}

.hero p{

    max-width:700px;

    margin:auto;

    color:#666;

    font-size:18px;

}

.hero-buttons{

    margin-top:35px;

}

.primary-btn,
.secondary-btn{

    padding:16px 35px;

    border:none;

    border-radius:50px;

    font-size:18px;

    cursor:pointer;

    margin:10px;

    transition:.3s;

}

.primary-btn{

    background:#1976D2;

    color:white;

}

.primary-btn:hover{

    transform:translateY(-3px);

    background:#1565C0;

}

.secondary-btn{

    background:#FFC107;

}

.secondary-btn:hover{

    transform:translateY(-3px);

}

/* ===============================
   MAIN
================================ */

main{

    padding:50px 0;

}

section{

    margin-bottom:60px;

}

section h2{

    color:#1976D2;

    margin-bottom:25px;

    font-size:30px;

}

/* ===============================
   SUBJECTS
================================ */

.subject-grid{

    display:grid;

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

    gap:25px;

}

.card{

    background:white;

    border-radius:20px;

    padding:30px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

    cursor:pointer;

}

.card:hover{

    transform:translateY(-8px);

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

}

.icon{

    font-size:55px;

    margin-bottom:18px;

}

.card h3{

    color:#1976D2;

    margin-bottom:10px;

    font-size:26px;

}

.card p{

    color:#666;

}

/* ===============================
   GAME
================================ */

.game-list{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

}

.game-card{

    flex:1;

    min-width:250px;

    background:white;

    border-radius:20px;

    padding:30px;

    text-align:center;

    font-size:24px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.game-card:hover{

    transform:scale(1.05);

}

/* ===============================
   TEACHER
================================ */

.teacher{

    text-align:center;

}

.teacher-btn{

    background:#FFC107;

    padding:18px 45px;

    border:none;

    border-radius:50px;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.teacher-btn:hover{

    background:#FFB300;

    transform:scale(1.05);

}

/* ===============================
   FOOTER
================================ */

footer{

    background:#1976D2;

    color:white;

    text-align:center;

    padding:35px;

    margin-top:40px;

}

footer p{

    margin:8px 0;

}

/* ===============================
   MOBILE
================================ */

@media(max-width:900px){

.nav-container{

    flex-direction:column;

}

.nav-menu{

    flex-wrap:wrap;

    justify-content:center;

    margin-top:20px;

}

.header h1{

    font-size:40px;

}

.hero h2{

    font-size:28px;

}

.hero-content{

    padding:30px;

}

.primary-btn,
.secondary-btn{

    width:100%;

}

}