.university-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 80px;
    justify-content: center;
}

.university-logo-wrap {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-title {
    font-family: "Figtree", Sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin-right: 10px;
    color: #002855;
}

.category-select {
    position: relative;
    display: inline-block;

}

.uni-tab {
    background: transparent;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    font-family: "Figtree", Sans-serif;
    font-size: 50px;
    font-weight: 700;
}

.uni-tab.active {
    color: #ffd700;
    /* text-decoration: underline; */
}

.uni-tab .dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
    margin-bottom: 0;
    color: #002855;
    text-decoration: none;
}

.uni-tab.active .dropdown-arrow {
    text-decoration: none !important;
}

.uni-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    min-width: 200px;
    margin-top: 4px;
    list-style: none;
    padding: 0;
    display: none;
    z-index: 99;
    max-height: 225px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.uni-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.4s all;
}

.uni-dropdown li:hover {
    background: #002855;
    color: #ffffff;
}

/* Grid for universities */
.university-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    min-height: 200px;
    padding-bottom: 20px;
}

.university-grid:has(.university-card:only-child) {
    grid-template-columns: 1fr;
    width: 50%;
    margin: 0 auto;
}

.university-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
}

.university-card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.university-card:hover .uni-btn {
    color: #ffffff !important;
    background: #ffd700 !important;
}

.university-card img {
    width: 100%;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top left;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.university-title {
    font-size: 20px;
    text-align: left;
    font-weight: 700;
    color: #002855;
}

.uni-info {
    padding: 0 0 0 30px;
    text-align: left;
}

.uni-btn {
    position: absolute;
    right: 0;
    bottom: -10px;
    z-index: 2;
    display: inline-block;
    padding: 13px 25px !important;
    font-family: "Figtree", Sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 18px !important;
    color: #ffd700 !important;
    background: #002855 !important;
    border-radius: 100px !important;
    text-decoration: none;
    transition: 0.4s all;
    border: 0 !important;
}

.uni-btn:hover {
    color: #ffffff !important;
    background: #ffd700 !important;
}

.loading-msg {
    padding: 20px 0;
    text-align: center;
}

.programs-list-wrap h4 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}


.programs-list-wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.programs-list-wrap ul ul {
    margin-left: 30px;
}

.programs-list-wrap ul li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.programs-list-wrap ul li:before {
    position: absolute;
    content: "";
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url('../img/checkmark.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (max-width: 1024px) {
    .university-header {
        margin-bottom: 40px;
    }

    .uni-tab,
    .header-title {
        font-size: 35px;
    }

    .university-card {
        padding: 30px 30px 50px;
    }

    .uni-btn {
        font-size: 16px !important;
    }

    .uni-info {
        padding: 0 0 0 15px;
    }
}

@media screen and (max-width: 991px) {
    .university-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .university-grid:has(.university-card:only-child) {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .university-card {
        padding: 20px 20px 40px;
    }

    .university-logo-wrap {
        width: 100px;
        height: 70px;
    }
}

@media screen and (max-width: 575px) {
    .university-card {
        flex-direction: column;
    }

    .university-logo-wrap {
        width: 250px;
        height: auto;
        margin: 0 auto 20px;
    }

    .university-card img {
        width: auto;
    }

    .uni-info {
        padding: 0;
    }

    .uni-info,
    .university-title {
        text-align: center;
    }

    .uni-info ul li {
        text-align: left;
    }

    .university-title {
        margin-bottom: 20px;
    }

    .uni-btn {
        right: calc(50% - 75px) !important;
    }
}

#universities-filter-form {
    position: relative;
    min-width: 300px;
}

#alw-preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alw-preloader-message {
    font-size: 24px;
    font-weight: bold;
    color: #f4c300;
    font-family: sans-serif;
}

.dots span {
    animation: blink 1.5s infinite;
    color: #f4c300;
    font-weight: bold;
    font-size: 28px;
    margin-left: 2px;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.iyo-programs {
    margin-left: 30px;
}

/* Custom Checkbox S */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 16px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom styled box */
.custom-checkbox .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: 0.3s;
}

.custom-checkbox .checkmark.top-0 {
    top: 0;
    transform: inherit;
}

/* Checkmark tick */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #f4c300;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show tick when checked */
.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
    display: block;
}

/* Color on checked */
.custom-checkbox input[type="checkbox"]:checked+.checkmark {
    border-color: #f4c300;
    background-color: #ffffff;
}

/* Custom Checkbox E */

.uv-filters-area {
    display: flex;
    gap: 50px;
}

.uv-filters-area .uv-filters-form {
    width: 33.333333%;
}

.uv-filters-area .uv-results {
    width: 66.666667%;
}

@media screen and (max-width: 767px) {
    .uv-filters-area {
        flex-direction: column;
        gap: 0;
    }

    .uv-filters-area .uv-filters-form,
    .uv-filters-area .uv-results {
        width: 100%;
    }
}

.filter-box {
    position: sticky;
    top: 50px;
    margin-bottom: 40px;
}

.filter-header {
    padding: 10px 15px;
    background-color: #f4c300;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    font-family: "Figtree", Sans-serif;
    border-radius: 15px 15px 0 0;
}

.filter-box-fields-wrap {
    border: 1px solid #f2f2f2;
}

.filter-actions {
    background-color: #ffffff;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1px;
}

.alw-btn {
    width: 100%;
    font-size: 16px !important;
    font-weight: 600;
    font-family: "Figtree", Sans-serif;
    color: #ffffff !important;
    border: 0;
    padding: 12px 35px !important;
    background-color: #002855;
    border: 0 !important;
    outline: none !important;
    transition: 0.4s all;
}

.alw-btn:hover,
.alw-btn:focus {
    background-color: #f4c300 !important;
    color: #ffffff !important;
}

.alw-btn.filter-btn {
    width: 100%;
    border-radius: 0 0 15px 0 !important;
}

.alw-btn.clear-btn {
    width: 100%;
    border-radius: 0 0 0 15px !important;
}

.subject-search-by-input-field input {
    border-radius: 0;
    outline: none !important;
    border-color: #f2f2f2;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.filter-accordion-group {
    overflow: hidden;
}

.filter-group-accr-header h4 {
    font-size: 18px;
    font-weight: 600;
    font-family: "Figtree", Sans-serif;
    margin: 0;
}

.filter-group-accr-header {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.3s;
}

.filter-group-accr-header:hover {
    background: #f1f1f1;
}

.filter-group-accr-content {
    display: none;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
}

.filter-group-accr-content.max-height {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

.no-result-title {
    font-size: 30px;
    font-weight: 700;
    font-family: "Figtree", Sans-serif;
    margin-bottom: 16px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 40px;
}

.alw-favourite-btn {
    display: inline-block;
    border: 1px solid #f4c300 !important;
    font-family: "Figtree", Sans-serif;
    text-align: center;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 25px;
    color: #f4c300 !important;
}

.result-count {
    color: #f4c300;
    margin-bottom: 0;
}

/* Progression Program Filter S */
.alw-pagination {
    margin-top: 20px;
    text-align: center;
}

.alw-pagination .page-link {
    display: inline-block;
    padding: 6px 15px;
    font-family: "Figtree", Sans-serif;
    min-width: 38px;
    margin: 0 2px;
    border: 1px solid #002855;
    background-color: #002855;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    transition: 0.4s all;
}

.alw-pagination .page-link:hover,
.alw-pagination .page-link:focus,
.alw-pagination .page-link.active {
    background-color: #f4c300;
    color: #fff;
    border-color: #f4c300;
}

/* new styles for improved pagination */
.alw-pagination .disabled {
    display: inline-block;
    padding: 6px 15px;
    min-width: 38px;
    margin: 0 2px;
    border-radius: 50px;
    background-color: #ccc;
    color: #666;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

.alw-pagination .dots {
    display: inline-block;
    padding: 6px 10px;
    color: #666;
    font-weight: bold;
}

/* The Modal (background) */
.modal-course-details {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Modal Content/Box */
.course-modal-content {
    background-color: #fefefe;
    margin: 40px auto;
    padding: 40px 20px 20px;
    border: 1px solid #888;
    width: 95%;
    max-width: 1200px;
    border-radius: 10px !important;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-body-content-area {
    max-height: 70vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 16px;
    font-family: "Figtree", Sans-serif;
}

/* The Close Button */
.modal-course-details .close-modal {
    display: inline-block;
    width: auto;
    position: absolute;
    right: 10px;
    top: 10px;
}

.modal-course-details .close-modal svg {
    width: 30px;
    height: 30px;
}

.modal-course-details .close-modal:hover,
.modal-course-details .close-modal:focus {
    text-decoration: none;
    cursor: pointer;
}

.pl-0 {
    padding-left: 0;
}

.text-left {
    text-align: left !important;
}

.country-name-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin-bottom: 20px; */
    position: absolute;
    left: 20px;
    bottom: 15px;
}

.country-image img {
    max-width: 30px !important;
    height: auto;
}

.country-name-logo .country-name {
    font-size: 18px;
    font-family: "Figtree", Sans-serif;
    font-weight: 600;
    margin: 0 !important;
}

.subject-title {
    font-size: 24px;
    font-family: "Figtree", Sans-serif;
    font-weight: 700;
    color: #002855;
    margin: 0 0 10px;
}

.degree-details {
    background-color: #000000;
    border-radius: 100px;
    color: #ffffff;
    display: inline-flex;
    font-family: "Figtree", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 0.5rem .75rem;
    position: absolute;
    top: -5px;
    left: -5px;
    transition: 0.4s all;
}

.university-card:hover .degree-details {
    background-color: #f4c300;
}

.pp-box-area {
    margin-bottom: 20px;
}

/* 
.pp-box-area:last-of-type {
    margin-bottom: 10px;
} */

.pp-title {
    font-size: 18px;
    font-weight: 700;
    font-family: "Figtree", Sans-serif;
    margin-bottom: 10px;
    color: #000000;
    text-align: left;
}

.pp-box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pp-box-grid.one-col-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.pp-box-title {
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", Sans-serif;
    margin-bottom: 10px;
    color: #002855;
    text-align: left;
}

.pp-box-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-box-list.grid-view {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.pp-box-list li span {
    font-family: "Figtree", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #f4c300;
    text-transform: uppercase;
}

.pp-box-list li span.rounded-pp {
    display: inline-block;
    border: 2px solid #f4c300;
    border-radius: 100px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    text-align: center;
    line-height: 1.2;
}

.color-yellow {
    color: #f4c300;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.fav-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #ccc;
    cursor: pointer;
    border: 1px solid #f4c300;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.fav-btn.active {
    color: #f4c300;
}

.fav-btn img {
    height: auto !important;
}

@media screen and (max-width: 767px) {
    .country-name-logo {
        position: relative;
        left: inherit;
        bottom: inherit;
        justify-content: center;
        margin-bottom: 20px;
    }

    .pp-box-list.grid-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 575px) {
    .uni-btn.open-modal-btn {
        right: calc(50% - 100px) !important;
    }

    .pp-box-list.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-header {
        display: flex;
        flex-direction: column;
    }

    .alw-favourite-btn-wrap {
        text-align: center;
    }

    .result-count {
        text-align: center;
    }
}


/* Progression Program Filter E */