/* Page banner */
.page-banner {
    margin-top: 40px;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, #05285d, #087d87);
    padding: 55px 50px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.page-banner span {
    color: #ffc107;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
}
.course-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;}

.page-banner h1 {
    font-size: 44px;
    font-weight: 800;
    margin-top: 10px;
}

.page-banner p {
    font-size: 17px;
    opacity: .9;
    max-width: 600px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Filter pills */
.filter-bar {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    border: 2px solid #0b8b96;
    color: #0b8b96;
    background: #fff;
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 14px;
    transition: .3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #0b8b96;
    color: #fff;
}

/* Course cards */
.course-grid {
    margin-top: 30px;
}

.course-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    height: 100%;
    transition: .3s;
}

.course-card:hover {
    transform: translateY(-5px);
}



.course-body {
    padding: 22px;
}

.course-level {
    display: inline-block;
    background: #eaf8fa;
    color: #0b8b96;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.course-body h5 {
    font-weight: 700;
    color: #0c1d4f;
    min-height: 48px;
}

.course-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin: 12px 0;
}

.course-meta i {
    color: #0b8b96;
    margin-right: 4px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eef1f5;
    padding-top: 15px;
}

.course-price {
    font-size: 20px;
    font-weight: 800;
    color: #087d87;
}

.course-price span {
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
    text-decoration: line-through;
    margin-right: 6px;
}

.btn-view {
    background: #0c1d4f;
    color: #fff;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.btn-view:hover {
    background: #0b8b96;
    color: #fff;
}

/* Courses page uses a slightly larger footer-banner top margin than other pages */
.footer-banner {
    margin-top: 45px;
}

@media (max-width: 992px) {
    .page-banner {
        padding: 35px 25px;
    }

    .page-banner h1 {
        font-size: 30px;
    }
}
