.glass-header {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.05);
    padding: 20px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    display: inline-block;
    margin: 0 auto;
}
.glass-header span {
    color: #ffd166;
}

body {
font-family: 'Vazirmatn', sans-serif;
background: #020617;
color: #e6edf3;
min-height: 100vh;
}

.header-box {
background: radial-gradient(circle at center, #0f2a4a 0%, #020617 70%);
color: white;
padding: 3rem 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
margin-bottom: 2rem;
}

.category-card {
background: #0f172a;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.06);
padding: 1rem;
margin-bottom: 15px;
}

.category-title {
font-size: 1.1rem;
font-weight: 800;
color: #60a5fa;
cursor: pointer;
}

.task-item {
background: #020617;
padding: 12px;
margin-bottom: 8px;
border-radius: 10px;
font-size: 0.9rem;
border-right: 3px solid #2563eb;
cursor: pointer;
transition: 0.3s;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.task-item:hover {
background: #1e293b;
transform: translateX(-5px);
}

.info-box {
background: #0f172a;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 2.5rem;
min-height: 400px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.labs-wrapper {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

.lab-card {
background: #1e293b;
border-radius: 12px;
padding: 15px;
margin-bottom: 15px;
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid rgba(255, 255, 255, 0.05);
transition: 0.3s;
}

.lab-card:hover {
background: #2d3748;
border-color: #3b82f6;
box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.lab-info h6 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 8px;
    direction: rtl;
}

.lab-desc {
font-size: 0.8rem;
color: #94a3b8;
margin-top: 5px;
}

.badge-difficulty {
font-size: 0.7rem;
padding: 3px 8px;
border-radius: 4px;
text-transform: uppercase;
font-weight: bold;
margin-left: 10px;
}

.easy { background: #059669; color: white; }
.medium { background: #d97706; color: white; }
.hard { background: #dc2626; color: white; }

.btn-access {
background: #2563eb;
color: white;
border: none;
padding: 8px 18px;
border-radius: 8px;
font-size: 0.85rem;
font-weight: bold;
text-decoration: none;
transition: 0.3s;
}

.btn-access:hover {
background: #3b82f6;
color: white;
box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.sub-list { display: none; margin-top: 15px; }
<!-- Header-->
.header-navbar {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}

.logo-box {
    gap: 8px;
    cursor: pointer;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1rem;
    color: #f1f5f9;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.nav-menu li a {
    color: #e2e8f0;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* دکمه ورود */
.login-btn {
    background: #0f172a;
    padding: 10px 18px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.login-btn:hover {
    background: #1e293b;
    border-color: #3b82f6;
	
}

.header-navbar {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    padding: 12px 0;
}


<!-- Header-->

<!-- Footer-->
.footer-section {
    text-align: center;
    padding: 60px 0 40px;
    color: #fff;
    background: transparent;
}

.footer-top-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.footer-menu li a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.footer-menu li a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
}

.footer-social {
    margin-bottom: 30px;
}

.footer-social a {
    color: #fff;
    background: rgba(255,255,255,0.12);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 0 5px;
    font-size: 1.2rem;
    display: inline-block;
    transition: .3s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.25);
}

.footer-copy {
    font-size: .85rem;
    opacity: .7;
}
<!-- Footer-->
.task-item{
    position: relative;
    padding:10px 15px;
}

.lab-check{
    color:#22c55e;
    font-weight:bold;
    margin-left:8px;
}
/* ============================
   MOBILE MENU FIX (REAL OVERLAY)
   ============================ */
@media (max-width: 768px) {


    .header-navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
    }


    .mobile-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        color: #fff;
        z-index: 1001;
    }


    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(15, 18, 35, 0.98);
        backdrop-filter: blur(6px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 90px;
        gap: 18px;
        transition: right 0.35s ease;
        z-index: 1000;
    }


    .nav-menu.active {
        right: 0;
    }


    .login-btn {
        margin-top: 10px;
    }


    body.menu-open {
        overflow: hidden;
    }


    .footer-section {
        text-align: center;
        padding: 30px 10px;
    }

    .footer-menu,
    .footer-contact {
        flex-direction: column;
        gap: 10px;
    }
}
/* =========================
   FIX BUTTONS ON MOBILE
   ========================= */
@media (max-width: 576px) {

    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 15px;
    }

    .action-buttons a,
    .action-buttons button {
        width: 100%;
        height: 44px;
        font-size: 0.85rem;
        padding: 0;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .action-buttons .full {
        grid-column: span 2;
    }
}
/* Container Background */
.stats-glass-panel {
    background: linear-gradient(145deg, rgba(15, 18, 28, 0.9), rgba(25, 30, 45, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Header Inside Panel */
.stats-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.stats-header-mini h5 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
}

.badge-tech {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Row & Item Layout */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ۴ ستون مساوی */
    gap: 12px;
}

.stat-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center; /* مرکز کردن محتوا برای جلوگیری از کشیدگی */
    gap: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

/* Icons */
.stat-icon {
    font-size: 18px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

/* Content Text */
.stat-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: -2px;
}

.stat-number {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
}

/* Glow Effects */
.stat-glow {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    top: -10px;
    right: -10px;
    z-index: 1;
}

/* Colors Per Item */
.total { border-color: rgba(99, 102, 241, 0.3); }
.total .stat-glow { background: #6366f1; }
.total .stat-number { color: #818cf8; }

.easy { border-color: rgba(34, 197, 94, 0.3); }
.easy .stat-glow { background: #22c55e; }
.easy .stat-number { color: #4ade80; }

.medium { border-color: rgba(245, 158, 11, 0.3); }
.medium .stat-glow { background: #f59e0b; }
.medium .stat-number { color: #fbbf24; }

.advanced { border-color: rgba(239, 68, 68, 0.3); }
.advanced .stat-glow { background: #ef4444; }
.advanced .stat-number { color: #f87171; }

/* Mobile Responsive */
@media (max-width: 992px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); } /* در تبلت ۲ در ۲ */
}
@media (max-width: 576px) {
    .stats-row { grid-template-columns: 1fr; } /* در موبایل تکی */
}
