.bannerSection {
    background-image: url("../images/BannerBG.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 420px;
}
.bannerContent {
    align-items: flex-start !important;
}
.scholerM {
    position: absolute;
    bottom: 0;
    height: 90%;
    right: 13%;
}
.searchBox {
    position: absolute;
    bottom: -27px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #eee;
    border-radius: 30px;
    height: 60px;
    overflow: hidden;
    padding: 0rem 2rem;
    background-color: #000;
    width: 95%;
    max-width: 630px;
    z-index: 100;
    position: relative;
    overflow: visible !important;
}
.search-bar i {
    font-size: 24px;
    color: #ffffff;
}
.search-bar input {
    border: none;
    background: none;
    font-size: 16px;
    width: 100%;
    z-index: 1;
    color: #fff;
}
.search-bar input:focus {
    outline: none;
    box-shadow: none;
    background: none;
}
.search-bar input::placeholder {
    color: #8a8a8a;
}
.suggestion-box {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    z-index: 2;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion-box .suggestion-item {
    font-family: "Inter", sans-serif;
    padding: 0.7rem 1.5rem;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    color: #23915a;
}

.suggestion-box .suggestion-item:hover {
    background-color: #f2f2f2;
}
/* ======== */
.greenGradient {
    color: #23915a;
}
.redirection {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 16px;
    border-bottom: 2px solid #999;
}
.redirection a:hover {
    color: #23915a;
}

/* ==================== */
/* -------------------------------- */
.listingContainer {
    width: 100%;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
#scholarships-list-section .institute-error-message {
    position: relative;
    padding: 10px 24px;
    background: linear-gradient(180deg, #23915a 0%, #054b28 100%);
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    border-radius: 4px;
    letter-spacing: 0.025em;
}

#scholarships-list-section .institute-error-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%,
        rgba(33, 53, 101, 0.05) 100%
    );
    border-radius: 8px;
    pointer-events: none;
}
/* ------------------ */
.filter-sidebar {
    max-width: 350px;
    width: 80%;
    padding: 20px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: block;
}
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #c0c0c0;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-tag {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    font-family: "Inter", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.filter-tag button {
    border: none;
    background: transparent;
    font-weight: bold;
    cursor: pointer;
}
.listingContainer .accordion-button {
    color: #000000 !important;
}
.listingContainer .accordion-button::after {
    /* content: "⌃"; */
    transform: rotate(180deg);
    transition: transform 0.2s ease;
    margin-left: auto;
    color: #000000;
}
.listingContainer .accordion-button.collapsed::after {
    transform: rotate(0deg);
}
.accordion-item {
    border: none !important;
    background: none !important;
}
.filter-sidebar .accordion-button,
.filter-sidebar .accordion-body {
    font-family: "Inter", sans-serif !important;
}
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0);
}

.accordion-body {
    border-top: none !important;
}
.filter-section .form-check {
    margin-bottom: 0.7rem;
}
.form-check-input {
    height: 18px;
    width: 18px;
    border-radius: 2px !important;
}
.form-check-input:checked {
    background-color: #a41a1f !important;
    border-color: #a41a1f !important;
}
.form-check-label {
    font-size: 16px !important;
    font-weight: 400;
    color: #333333 !important;
    font-family: "Inter", sans-serif !important;
}
.form-check-input:checked + .form-check-label {
    font-weight: 500;
    color: #000000 !important;
}
.search-box input {
    width: 100%;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    padding-right: 36px;
    font-family: "Inter", sans-serif !important;
    height: 45px;
}
.search-box input {
    width: 100%;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    padding-right: 36px;
    font-family: "Inter", sans-serif !important;
    height: 45px;
}
.search-box input:focus {
    box-shadow: none;
    border-color: #23915a;
}
.search-box .search-icon {
    position: absolute;
    right: 10px;
    font-size: 20px;
    color: #054b28;
    top: 50%;
    transform: translateY(-50%);
}
.singleRange input[type="range"]::-webkit-slider-thumb {
    background: #23915a !important;
    width: 20px;
    height: 20px;
    margin-top: -6px;
}
.singleRange input[type="range"]::-webkit-slider-runnable-track {
    background: #23915a !important;
}
.singleRange input[type="range"]:focus {
    outline: none;
}
.clear-filter-btn {
    background-color: #fff;
    border-radius: 30px;
    padding: 6px 16px;
    border: none;
    border: 1px solid #eee;
    font-size: 16px;
    font-weight: 400;
    font-family: "Inter", sans-serif !important;
    transition: 0.3s;
}
.clear-filter-btn:hover {
    background-color: #23915a;
    color: #fff;
    transition: 0.3s;
}
/* ------ */
.listItems {
    width: calc(100% - 380px);
}
.filteredHead {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f1f1f1;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
}
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 145px);
}
.filter-tag {
    background: #fff;
    border: 1px solid #555555;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    font-family: "Inter", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
    cursor: pointer;
}
.filter-tag:hover {
    background-color: #000;
    color: #fff;
    transition: 0.3s;
}
.filter-tag:hover .remove-filter i {
    color: #f1f1f1;
}

.filter-tag button {
    border: none;
    background: transparent;
    font-weight: bold;
    cursor: pointer;
}

.remove-filter img {
    height: 14px;
}
.removeFilterBtn {
    max-width: 145px;
    text-align: right;
    border-bottom: 1px solid #000;
    transition: 0.3s;
}
.removeFilterBtn:hover {
    color: #000;
    font-weight: 600;
    transition: 0.3s;
}
.filteredHead {
    margin-bottom: 25px;
}

.custom-dropdownBox {
    width: 240px;
    border-radius: 0px;
    border: 1px solid #054b28;
    font-size: 16px;
    height: 40px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 4px;
}
.custom-dropdownBox .filterDropdown {
    width: 100%;
    padding-left: 2rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 4px;
    height: 100%;
    font-family: "Inter", sans-serif;
}
.custom-dropdownBox .mapIcon {
    position: absolute;
    top: 24% !important;
    left: 10px;
    pointer-events: none;
    font-size: 20px;
    color: #333;
}
.custom-dropdownBox .dropmenu {
    position: absolute;
    top: 29% !important;
    right: 10px;
    pointer-events: none;
    font-size: 18px;
    color: #333;
}
.filterDropdown:hover,
.filterDropdown:focus {
    border-color: none;
    outline: none;
}
.custom-dropdownBox:hover {
    border-color: #021e48;
}
.filterDropdown:hover,
.filterDropdown:focus {
    border-color: none;
    outline: none;
}
.custom-dropdownBox:hover {
    border-color: #23915a;
}
.filterBtn {
    display: none;
}
/* ----------------- */
.filterBoxMobile {
    display: none;
}
.scholarship-card {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    transition: 0.3s;
    display: flex;
    padding: 1rem;
    gap: 16px;
}
.scholarLogo {
    height: 130px;
    width: 130px;
    object-fit: contain;
    border-radius: 15px;
    border: 1px solid #dedede;
}
.scholarshipBody {
    flex: 1;
}
.scTop {
    display: flex;
    justify-content: space-between;
}
.scIcon {
    height: 28px;
}
.detailsBtn {
    width: 160px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(180deg, #23915a 0%, #054b28 100%);
    color: #f1f1f1;
    border: 1px solid #23915a;
}
.detailsBtn:hover {
    background: #ffffff;
    color: #23915a;
}
/* -------------------- */
.popular-programs-box {
    background: #000000;
    padding: 30px 20px;
    border-radius: 12px;
}
.program-tag {
    background-color: #ffffff1a;
    color: #ffffff;
    padding: 8px 15px;
    white-space: nowrap;
    border: 1px solid #555555;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}
.program-tag:hover {
    color: #000;
    background-color: #fff;
    transition: 0.3s;
}
/* --------------------- */
.pagination-container {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.listingContainer .BtnBoxSlider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.listingContainer .BtnBoxSlider .arroeIcon {
    height: 80px;
    cursor: pointer;
    transition: 0.3s;
}
.listingContainer .BtnBoxSlider .arroeIcon:hover {
    transform: scale(1.1);
    transition: 0.3s;
}
.listingContainer .countBox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #333333;
    border: 1px solid #333333;
}
.block {
    display: block;
}
.cardMobile {
    display: none;
}
/* -------------- */
@media screen and (max-width: 1440px) {
    .filter-sidebar {
        max-width: 300px;
    }
    .listItems {
        width: calc(100% - 320px);
    }
    .detailsBtn,
    .compareBtn {
        width: 180px;
    }
}
@media screen and (max-width: 1280px) {
    .filter-sidebar {
        max-width: 280px;
        padding: 0;
    }
    .listItems {
        width: calc(100% - 300px);
    }
    .scholarLogo {
        height: 110px;
        width: 110px;
    }
    .detailsBtn,
    .compareBtn {
        width: 160px;
    }
}
@media screen and (max-width: 1080px) {
    .custom-dropdownBox {
        width: 210px;
        height: 42px;
    }
    .popular-programs-box h5.titel24 {
        font-size: 24px;
    }
    .bannerSection {
        height: 350px;
    }
    .scholerM {
        height: 85%;
        right: 10%;
    }
}
@media screen and (max-width: 991px) {
    .filter-sidebar {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 1rem;
        border-radius: 0;
    }
    .listingContainer {
        flex-direction: column;
    }
    .filterBoxMobile {
        position: sticky;
        top: 70px;
        margin-top: 20px;
        display: block;
        width: 100%;
        background-color: #fff;
        padding: 0.7rem 1.5rem;
        padding-left: 1rem;
        box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
        border: 0.5px solid #999999;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #fff;
        z-index: 20;
    }
    .btnFilter {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btnFilter i {
        font-size: 24px;
    }
    .listItems {
        width: 100%;
    }
    .accordion.accordionLg {
        /* margin-top: 20px; */
        padding-bottom: 10px;
        align-items: flex-start;
        gap: 8px;
        overflow-x: auto;
        display: flex !important;
    }
    .filterBtn {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 4px;
        width: auto;
        border: 1px solid #23915a !important;
        border-radius: 4px;
        color: #333333 !important;
        padding: 4px 10px;
    }
    .accordionLg .accordion-button {
        font-size: 14px !important;
        text-wrap: nowrap;
    }
    .accordionLg .accordion-button::after {
        width: 1rem !important;
        height: 1rem !important;
        background-size: 1rem !important;
    }
    .accordionLg .accordion-item.filter-section {
        width: auto;
        border: 1px solid #23915a !important;
        border-radius: 4px;
        color: #333333 !important;
        padding: 6px 10px;
    }
    .accordionLg .accordion-button {
        padding: 0 !important;
    }
    .accordionLg .accordion-button.ternaryGradiantColor {
        margin-bottom: 0;
        text-wrap: nowrap;
    }
    .accordionLG .accordion-collapse .accordion-body {
        width: 250px;
    }
    .accordionLg .accordion-button.expanded::after {
        transform: rotate(0deg) !important;
    }
    h5.titel32 {
        font-size: 28px !important;
    }
}
@media screen and (max-width: 768px) {
    .listingContainer .accordion-button {
        font-size: 16px !important;
    }
    .countBox {
        width: 50px;
        height: 50px;
    }
    .BtnBoxSlider .arroeIcon {
        height: 70px;
    }
    h6.titel24 br {
        display: none;
    }
    .bannerSection {
        height: 350px;
    }
    .scholerM {
        display: none;
    }
    .bannerContent {
        align-items: center !important;
    }
    .customContainer.flex-column.my-5 {
        margin-top: 2rem !important;
        margin-bottom: 0 !important;
    }
}
@media screen and (max-width: 767px) {
    .filHT {
        font-size: 18px !important;
    }
    .bannerSection {
        height: 320px;
        padding-top: 2rem;
    }
    /* -------- */
    .btnBoxS {
        width: 100%;
        flex-direction: row;
        margin-top: 1.2rem;
        justify-content: space-between;
    }
    .btnContent {
        flex-direction: column !important;
    }
    .popular-programs-box {
        padding: 1rem;
    }
    .search-bar {
        height: 50px;
        padding: 0rem 1rem;
        max-width: 400px;
    }
    .searchBox {
        position: relative;
    }
    .filterBoxMobile {
        position: absolute;
        margin-bottom: 0;
        top: auto;
        margin-top: -65px;
        width: 95%;
        border-radius: 10px;
    }

    .filter-section {
        width: 100%;
    }
}
@media screen and (max-width: 550px) {
    .listHead {
        flex-direction: column;
        gap: 1rem;
    }
    .listHead h5 {
        width: 100%;
    }
    .custom-dropdownBox {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    #scholarships-list-section .institute-error-message {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .cardWeb {
        display: none;
    }
    .cardMobile {
        display: flex;
    }
    .scholarshipBody {
        flex-direction: column;
    }
    .scTop {
        justify-content: flex-start;
        align-items: center;
        gap: 16px;
    }
    .scTop h5.titel20 {
        font-size: 20px !important;
    }
    .scholarLogo {
        height: 60px;
        width: 60px;
    }
    .detailsBtn,
    .compareBtn {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .custom-dropdownBox {
        display: none;
    }
    .bannerContent h6 br {
        display: none;
    }
    .bannerContent h6 {
        text-align: center;
    }
}

@media screen and (min-width: 2100px) and (max-width: 2500px) {
    .bannerContent h6.titel18 {
        font-size: 22px !important;
    }
    .accordion-button {
        font-size: 22px !important;
    }
    .form-check-input {
        height: 20px !important;
        width: 20px !important;
    }
    .form-check-label {
        margin-left: 8px;
        font-size: 20px !important;
    }
    .filter-sidebar {
        max-width: 420px;
    }
    .listItems {
        width: calc(100% - 450px);
    }
    .form-label {
        font-size: 20px;
    }
    .custom-dropdownBox .filterDropdown {
        font-size: 20px;
    }
    .scholarLogo {
        height: 150px;
        width: 150px;
    }
    .scIcon {
        height: 35px;
    }
}

@media screen and (min-width: 2501px) and (max-width: 3000px) {
    .bannerContent h6.titel18 {
        font-size: 24px !important;
    }
    .accordion-button {
        font-size: 22px !important;
    }
    .form-check-input {
        height: 22px !important;
        width: 22px !important;
    }
    .form-check-label {
        margin-left: 8px;
        font-size: 22px !important;
    }
    .filter-sidebar {
        max-width: 420px;
    }
    .listItems {
        width: calc(100% - 450px);
    }
    .form-label {
        font-size: 22px;
    }
    .custom-dropdownBox .filterDropdown {
        font-size: 22px;
    }
    .scholarLogo {
        height: 150px;
        width: 150px;
    }
    .scIcon {
        height: 40px;
    }
}

@media screen and (min-width: 3001px) and (max-width: 4000px) {
    .bannerContent h6.titel18 {
        font-size: 32px !important;
    }
    .accordion-button {
        font-size: 32px !important;
        margin-bottom: 8px;
    }
    .form-check-input {
        height: 26px !important;
        width: 26px !important;
    }
    .form-check-label {
        margin-left: 12px;
        font-size: 32px !important;
    }
    .filter-sidebar {
        max-width: 500px;
    }
    .listItems {
        width: calc(100% - 520px);
    }
    .form-label {
        font-size: 32px;
    }
    .custom-dropdownBox {
        height: 60px;
        width: 250px;
    }
    .custom-dropdownBox i {
        font-size: 28px !important;
    }
    .custom-dropdownBox .filterDropdown {
        font-size: 32px;
        padding-left: 2.4rem;
    }
    .scholarLogo {
        height: 220px;
        width: 220px;
    }
    .scIcon {
        height: 60px;
        margin-right: 12px;
    }
    .scholarshipBody h6.titel14 {
        font-size: 28px !important;
    }
    .detailsBtn {
        width: 250px;
        height: 60px;
        gap: 10px;
        font-size: 24px;
    }
    .listingContainer .countBox {
        width: 70px;
        height: 70px;
    }
}
