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

body{

    direction:rtl;

    background:#f4f6f8;

    color:#333;

}

.container{

    width:95%;

    max-width:1300px;

    margin:40px auto;

}

h1{

    text-align:center;

    color:#053734;

    font-size:38px;

    margin-bottom:10px;

}

.subtitle{

    text-align:center;

    color:#777;

    margin-bottom:40px;

    font-size:18px;

}

/* ===========================
        Grade Section
=========================== */

.grade-box{

    background:white;

    border-radius:18px;

    padding:30px;

    margin-bottom:35px;

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

}

.grade-box h2{

    color:#053734;

    border-right:6px solid #D4AF37;

    padding-right:15px;

    margin-bottom:25px;

    font-size:28px;

}

/* ===========================
        Cards
=========================== */

.exam-card{

    background:#fafafa;

    border-right:6px solid #D4AF37;

    border-radius:14px;

    margin-bottom:20px;

    overflow:hidden;

    transition:.3s;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

}

.exam-card:hover{

    transform:translateY(-5px);

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

}

.exam-header{

    background:#053734;

    color:white;

    padding:15px 20px;

}

.exam-header h3{

    font-size:22px;

}

.exam-body{

    display:grid;

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

    gap:20px;

    padding:20px;

}

.exam-body div{

    background:white;

    border-radius:10px;

    padding:15px;

    text-align:center;

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

}

.exam-body span{

    display:block;

    color:#888;

    margin-bottom:8px;

    font-size:14px;

}

.exam-body strong{

    color:#053734;

    font-size:18px;

}

/* ===========================
        Empty
=========================== */

.empty{

    background:#fff7e5;

    border:1px solid #f1d27a;

    color:#9b6b00;

    padding:20px;

    border-radius:10px;

    text-align:center;

    font-size:18px;

}

/* ===========================
        Responsive
=========================== */

@media(max-width:900px){

    .exam-body{

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

    }

}

@media(max-width:600px){

    .container{

        width:96%;

    }

    h1{

        font-size:30px;

    }

    .grade-box{

        padding:20px;

    }

    .grade-box h2{

        font-size:22px;

    }

    .exam-body{

        grid-template-columns:1fr;

    }

    .exam-header h3{

        font-size:20px;

    }

}