.course-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.course-category-box {
    position: relative;
    width: 350px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.course-category-box:hover {
    transform: translateY(-8px) scale(1.03);
}

.course-category-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.course-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0.7;
}

.course-category-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 30px 25px 25px 25px;
    width: 100%;
}

.course-category-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-category-content a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.2s;
}

.course-category-content a:hover {
    color: #ffd700;
}

.course-category-content,
.course-category-content h3,
.course-category-content p,
.course-category-content a {
    color: #fff !important;
}

.course-category-content h3 {
    font-weight: 700;
}

.course-category-content a {
    font-weight: 700;
    text-decoration: underline;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.2s;
}

.course-category-content a:hover {
    color: #ffd700 !important;
}



@media (max-width: 991px) {
    .course-category-row {
        flex-direction: column;
        align-items: center;
    }

    .course-category-box {
        width: 95vw;
        max-width: 400px;
    }
}


.singel-course.list-view {
    flex-direction: row;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    min-height: 180px;
}
.singel-course.list-view .cont {
    flex: 1;
}
.singel-course.list-view .thum {
    margin-right: 30px;
}





.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin: 1.5rem 0;
}
.pagination .page-item {
    margin: 0 5px;
}
.pagination .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.9rem;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
    font-weight: 500;
}
.pagination .page-link:hover {
    z-index: 2;
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    cursor: default;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}
