/* .page-header {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
} */
section.programmes-offered {
    background: #f1f1f8;
}
.list-group-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}
.programmes-offered h2 {
    color: #4a4a4a !important;
    font-size: 30px !important;
    line-height: 42px !important;
}

.programmes-offered .form-control,
.form-select {
    line-height: 2.2 !important;
}

.programmes-offered h5 {
    color: #3f3f97 !important;
}
.programmes-offered .nav-tabs .nav-link {
    /* color: #626262 !important; */
    font-size: 14px;
    cursor: pointer;
}
.duration {
    font-size: 14px !important;
}
.duration strong {
    color: #3584f4 !important;
}
.institute-item a:hover {
    color: #ffc107 !important;
        text-decoration: underline !important;
}
.programmes-offered .nav.program a.nav-link:focus {
    color: #3f3f97 !important;
}
.programmes-offered .nav.program a.nav-link:hover {
    color: #3f3f97 !important;
    font-weight: bold;
}
.programmes-offered .nav-tabs .nav-item.show .nav-link,
.programmes-offered .nav-tabs .nav-link.active {
    color: #3f3f97;
    font-weight: bold;
}

.programmes-offered.programmes .nav.program a.nav-link:focus {
    color: #fff !important;
}
.programmes-offered.programmes a.nav-link:hover,
.nav.nav-tabs.program-tab .nav-link.active {
    border-bottom: 3px solid #3584f4 !important;
    color: #3584f4 !important;
    border-radius: 4px;
}

.programmes-offered .list-group-item.active {
    border-radius: 0px !important;
    border: 1px solid #3584f4 !important;
    color: #3584f4 !important;
    background: #fff;
}
.gradient-spinner .spinner-border.me-2 {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #2f57ef, #b966e7, #b966e7, #2f57ef);
    mask: radial-gradient(farthest-side, transparent 60%, black 61%) !important;
    -webkit-mask: radial-gradient(farthest-side, transparent 60%, black 61%);
    /* animation: spin 1s linear infinite; */
    border: none;
}
.programmes-offered .badge {
    color: #3f3f97 !important;
}
.programmes-offered .card {
    border-color: transparent;
    border-left: 4px solid #3584f4;
}
.programmes-offered .list-group-item.active span {
    color: #fff !important;
}
.programmes-offered .card-title {
    height: 38px;
}
.card {
    transition: 1s;
}
.offcanvas-body {
    padding: 1rem;
}
.programmes-offered .btn-close {
    color: #fff !important;
}
.offcanvas-title {
    font-weight: bold;
}
.offcanvas.offcanvas-bottom {
    height: 65vh !important;
}
#categoryFilter .list-group-item:hover {
    cursor: pointer;
    background-color: #f8f9fa;
}
.offcanvas-title {
    font-size: 1.25rem;
    font-weight: 500;
}
.offcanvas-footer {
    border-top: 1px solid #e0e0e0;
}
.form-select {
    font-size: 14px !important;
}
.programmes-offered .btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    color: #3f3f97 !important;
}
.programmes-offered .card-title {
    color: #162d70;
}
/* Grid View */
.card-container.grid-view .card-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-container.grid-view .card {
    flex: 1 0 48%; /* Adjust card width in grid view */
}

/* List View */
.card-container.list-view .card-item {
    display: block;
    width: 100%; /* Full-width cards in list view */
}

.card-container.list-view .card {
    width: 100%; /* Ensure each card takes full width */
}

.programmes-offered .btn.white-bg-btn {
    border: 1px solid #162d70;
    background: #fff;
    color: #162d70;
}
.programmes-offered .btn.white-bg-btn:hover {
    color: #162d70 !important;
}
.btn.white-bg-btn.programmes:hover {
    color: #fff !important;
    background: #162d70 !important;
}
.programmes-offered .btn.btn-outline-light:active {
    border-color: #929395 !important;
}

.nav-tabs.program {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    overflow-y: hidden;
}
.blue.white-border-btn {
    border: 1px solid #162d70 !important;
    color: #162d70 !important;
}
/* Remove Bootstrap's default arrow */
.accordion-button::after {
    display: none !important;
}

/* Style for Custom Accordion Button */
.custom-accordion-btn {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    text-align: left;
}

/* Move the icon to the right */
.custom-accordion-btn .icon {
    position: absolute;
    right: 15px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
}

/* Remove focus outline (box-shadow) */
.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Remove border */
.accordion-button {
    border: none !important;
    background-color: transparent;
    /* Optional: Keep the background clean */
}
button.accordion-button.custom-accordion-btn {
    color: #3584f4;
}
.institute-item i.fa-solid.fa-chevron-right {
    color: #3584f4 !important;
    font-size: 18px;
}
.programme-top-sec {
    background: #f4f9ff;
    border-radius: 10px;
}
.programme-top-sec .list-group-item + .list-group-item {
    font-size: 15px;
}
.programmes .nav.nav-tabs.program-tab .nav-link {
    /* padding: 0.8rem 1.7rem; */
}
/* Swayam course   */
.swayam-courses img {
    margin-bottom: -40px;
    z-index: 2;
    position: relative;
}
.swayam-courses .course-desc {
    padding-top: 4rem !important;
    text-align: left;
    height: 380px;
}
@media (max-width: 767px) {
    .nav-tabs.program {
        padding-left: 14rem;
        padding-right: 10px;
    }
    .vr {
        width: 1px !important;
        border: 1px solid #ccc;
        margin-right: 21px;
        height: 443px;
    }
    .program-tab.nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding-left: 0px;
        justify-content: start !important;
    }
}

