/* ================= هدر صفحه ================= */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

/* ================= فیلترها ================= */
.filters-section {
    background: var(--bg-light);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 75px;
    z-index: 100;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filter-search {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.filter-search i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.filter-search input {
    width: 100%;
    padding: 12px 46px 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    background: #fff;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-tag {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ================= لیست دوره‌ها ================= */
.courses-list-section {
    padding: 50px 0 70px;
    background: var(--bg);
}

.courses-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.course-card .course-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-results i {
    font-size: 50px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

/* ================= CTA پایانی ================= */
.cta-bottom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0;
}

.cta-bottom-inner {
    text-align: center;
}

.cta-bottom h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-bottom p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
}

.cta-bottom .btn-primary {
    background: #fff;
    color: var(--primary-dark);
}

.cta-bottom .btn-primary:hover {
    background: var(--dark);
    color: #fff;
}

/* ================= ریسپانسیو ================= */
@media (max-width: 992px) {
    .courses-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 30px;
    }
    
    .courses-grid-full {
        grid-template-columns: 1fr;
    }
    
    .filters-section {
        position: static;
    }
}