﻿@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);

/* Fullscreen layout without scroll */
html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Almarai', sans-serif;
    box-sizing: border-box;
}

/* Background image section */
.image-background {
    background-image: url('../images/bg-exams.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top menu bar */
.top-menu {
    background-color: #009fe3;
    color: white;
    border-bottom-left-radius: 1.25rem; 
    border-top-left-radius: 1.25rem;
    padding: 0.625rem 1.5rem; 
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 50%;
    min-width: 12.5rem; 
    gap: 0.75rem; 
    text-decoration: none;
    cursor:pointer;
}

    /* Text inside menu */
    .top-menu span {
        font-size: 1.45rem; 
        font-weight: 600;
    }

    /* Menu icon */
    .top-menu i {
        font-size: 1.45rem; 
    }

/* Optional: icon styling for any general header */
.header i {
    color: #313284;
    font-size: 2.1875rem;
}
.content p {
    direction: rtl;
    text-align: justify;
    text-align-last: right;
}
.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.assessment-card {
    background: white;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 240px;
}

    .assessment-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.card-header-red {
    background-color: #EC342B;
    height: 12px;
}

.card-header-blue {
    background-color: #0087B1;
    height: 12px;
}

.card-header-navy {
    background-color: #002147;
    height: 12px;
}

.card-header-yellow {
    background-color: #F5A623;
    height: 12px;
}

.card-body-custom {
    padding: 30px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.card-body-custom a{
    cursor:pointer;
}

    .card-body-custom img {
        max-width: 100%;
        height: auto;
        max-height: 80px;
    }
.btn-style {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 45px 10%
}


.btn-back {
    width: 100%;
    max-width: 160px;
    min-width: 120px;
    padding: 9px;
    font-weight: bold;
    border-radius: 11px;
    font-size: 16px;
    align-self: center;
}

@media (max-width: 768px) {
    .card-container {
        gap: 15px;
    }

    .assessment-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .card-body-custom {
        padding: 30px 15px;
        min-height: 120px;
    }
}
