/* =====================================================
   UG PG COURSE Filter button css
   ===================================================== */
.course-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9e9e9;
    border-radius: 40px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto 20px auto;
    border: 1.5px solid #d0d5dd;
}

/* =====================================================
   BUTTON BASE
   ===================================================== */
.filter-btn {
    flex: 1;                     /* equal width */
    padding: 18px 10px;
    border: none;
    background: transparent;
    color: #222;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    text-align: center;
}

/* Divider */
.filter-btn:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #d0d5dd;
}

/* Active */
.filter-btn.active {
    background: #1f3f8b;
    color: #fff;
}

.filter-btn.active::after {
    display: none;
}

/* Hover */
.filter-btn:hover:not(.active) {
    background: #dcdcdc;
}

/* =====================================================
   📱 MOBILE TAB STYLE (ALL VISIBLE – NO SCROLL)
   ===================================================== */
@media (max-width: 576px) {

    .course-tabs {
        border-radius: 30px;
        margin: 0 10px 15px 10px;
    }

    .filter-btn {
        flex: 1;               
        font-size: 13px;       
        padding: 14px 6px;     
        white-space: normal;   
    }

    /* Smaller divider */
    .filter-btn:not(:last-child)::after {
        top: 30%;
        height: 40%;
    }
}


.back__course__area .course__item .back-course-title a{ color:#183985; }
.back__course__area .course__item{border-radius: 44px !important;
    overflow: hidden;}

/* ===== Discover our accredited Apply Button section ===== */

 .apply-now-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 7px 25px;
    background: #f36c21;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/*  Hover effect */
.apply-now-btn:hover {
    background: #d9540f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}