
.fillter_institute {
    padding: 40px 0px;
    background-color: #f7eedd;
}

.section_3 {
    padding: 50px 0;
    background-color: #f7eedd;
}

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

.section3_ul li {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    transition: all 0.3s ease;
}

.section3_ul li:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.section3_ul li img {
    border-radius: 10px;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.li_section_main {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.li_section_main h5 {
    margin-left: 15px;
    color: #222;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 0;
}

.li_section_main a {
    text-decoration: none;
    color: inherit;
}

.li_section_main a:hover h5 {
    color: #9a3197;
}

.ul_li_display {
    width: 100%;
}

.li_section_1 {
    margin-bottom: 15px;
}

.li_section_1 p {
    font-size: 13px;
    color: #757575;
    font-weight: 300;
    margin: 0;
}

.li_section_1 h5 {
    font-size: 14px;
    margin-top: 5px;
    color: #000;
    font-weight: 400;
    margin-bottom: 0;
}

.li_section_2 {
    display: flex;
}

.ul_li_section2_width {
    width: 54%;
}

.inner_section {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 15px;
}

.inner_section img {
    width: 30px !important;
    height: 30px !important;
}

.inner_section div {
    margin-left: 10px;
}

.li_section_2 h6 {
    color: #757575;
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 3px;
}

.li_section_2 p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.university_link {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    align-items: center;
}

.university_link h6 {
    color: #9a3197;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
}

.university_link a {
    text-decoration: none;
}

.university_link button {
    color: #fff;
    background-color: #000;
    font-size: 12px;
    border-radius: 50px;
    border: none;
    font-weight: 400;
    padding: 8px 16px;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.university_link button:hover {
    background-color: #9a3197;
}

.mobile_margin_top {
    display: flex;
}

.filter-tag {
    background-color: #f1f1f1;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.pagination {
    margin-top: 30px;
}

.page-link {
    padding: 8px 15px;
    border-radius: 5px;
    margin: 0 3px;
    color: #9a3197;
    border: 1px solid #9a3197;
    background: transparent;
    cursor: pointer;
}

.page-link:hover {
    background-color: #9a3197;
    color: #fff;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    
    gap: 4px;
    padding: 5px 0;
}

.filter-item {
    margin-bottom: 0 !important;
}

.filter-item label {
    font-size: 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    background: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    border: 1px solid #eee;
}

.filter-item label:hover {
    border-color: #9a3197;
    background: #fdf4ff;
}

.filter-item input[type="checkbox"] {
    width: 10px;
    height: 10px;
    margin: 0;
}

.card-body {
    padding: 5px 10px !important;
}

.card-body .form-control.mb-2 {
    display: none;
    
}

.institute_left_side {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    position: sticky;
    top: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    min-height: auto !important;
}

@media (max-width: 768px) {
    .ul_li_section2_width {
        width: 100%;
    }

    .li_section_2 {
        flex-direction: column;
    }

    .inner_section {
        width: 100%;
    }

    .university_link {
        flex-direction: column;
        gap: 15px;
    }

    .mobile_margin_top {
        margin-top: 15px;
    }
}

.loading-container {
    width: 100%;
}

.university-card-skeleton {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.skeleton-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.skeleton-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-title {
    flex: 1;
    height: 20px;
    margin-left: 15px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    margin-bottom: 15px;
}

.skeleton-line {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.skeleton-button {
    height: 35px;
    width: 120px;
    border-radius: 50px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.tuition-fee-slider {
    padding: 15px 10px;
}

.tuition-fee-label {
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 30px;
    position: relative;
}

.tuition-fee-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #c026d3;
}

.range-slider-container {
    position: relative;
    height: 50px;
    padding: 0 10px;
}

.range-slider-track {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    transform: translateY(-50%);
}

.range-slider-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    border-radius: 3px;
    transition: all 0.1s ease;
}

.range-slider {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    cursor: pointer;
    pointer-events: all;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(217, 70, 239, 0.4);
}

.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    cursor: pointer;
    pointer-events: all;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(217, 70, 239, 0.4);
}

.range-slider::-moz-range-thumb:active {
    transform: scale(1.2);
}

.range-slider-min {
    z-index: 3;
}

.range-slider-max {
    z-index: 4;
}

.page-item.active .page-link {
    background-color: #9a3197;
    border-color: #9a3197;
    color: #fff;
}