.study-india-course-page {
    background: #f2f8ff;
    color: #102323;
    font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

.study-course-main {
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 48%, #ffffff 100%);
}

.study-course-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 28px;
    text-align: center;
    background:
        linear-gradient(120deg, rgba(0, 94, 184, .92), rgba(14, 127, 205, .76) 48%, rgba(27, 148, 136, .78)),
        url("../images/kg2pg.webp") center/220px auto no-repeat;
    color: #fff;
}

.study-course-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, .26), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .20), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.study-course-hero .container {
    position: relative;
    z-index: 1;
}

.study-course-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #083052;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(10, 62, 105, .06);
}

.study-course-hero h1 {
    margin: 18px auto 10px;
    max-width: 820px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.14;
    letter-spacing: 0;
    color: #fff;
}

.study-course-hero p {
    margin: 0 auto;
    max-width: 720px;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.48;
}

.study-course-tabs-shell {
    position: relative;
    max-width: min(1220px, calc(100vw - 150px));
    margin: 24px auto 0;
    overflow: hidden;
    min-height: 54px;
}

.study-course-tabs-shell::before,
.study-course-tabs-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 8px;
    z-index: 2;
    width: 48px;
    pointer-events: none;
}

.study-course-tabs-shell::before {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 90, 170, .92) 0%, rgba(0, 90, 170, .58) 38%, rgba(0, 90, 170, 0) 100%);
}

.study-course-tabs-shell::after {
    right: 0;
    background: linear-gradient(270deg, rgba(0, 126, 136, .75) 0%, rgba(0, 126, 136, .42) 38%, rgba(0, 126, 136, 0) 100%);
}

.study-course-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 0;
    overflow-x: auto;
    padding: 6px 58px 10px;
    scroll-padding-inline: 56px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.study-course-tab-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #075d9f;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 14px 30px rgba(4, 47, 92, .18);
    transition: .18s ease;
}

.study-course-tab-control:hover {
    background: #1683f6;
    color: #fff;
    border-color: #1683f6;
}

.study-course-tab-control:disabled {
    opacity: .42;
    cursor: not-allowed;
    box-shadow: none;
}

.study-course-tab-prev {
    left: 4px;
}

.study-course-tab-next {
    right: 4px;
}

.study-course-tabs::-webkit-scrollbar {
    display: none;
}

.study-course-tabs a {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 0;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #c9d9e8;
    border-radius: 999px;
    background: #fff;
    color: #15252f;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
    transition: .2s ease;
}

.study-course-tabs a:hover,
.study-course-tabs a.is-active {
    border-color: #1585ff;
    background: #1683f6;
    color: #fff;
    box-shadow: 0 18px 36px rgba(22, 131, 246, .25);
}

.study-course-listing {
    padding: 28px 0 70px;
}

.study-course-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.study-filter-panel {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 112px;
}

.study-filter-box {
    border: 1px solid #d2dfec;
    border-radius: 12px;
    background: #fff;
    padding: 22px;
}

.study-filter-box h2 {
    margin: 0 0 18px;
    font-size: 18px;
}

.study-search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d5dee8;
    border-radius: 9px;
    padding: 0 12px;
    height: 44px;
    color: #6b7c8d;
}

.study-search-input input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 17px;
}

.study-filter-box button {
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 10px;
    background: #0b74c9;
    color: #fff;
    font-weight: 800;
    padding: 13px 18px;
    cursor: pointer;
}

.study-check-list {
    display: grid;
    gap: 10px;
    max-height: 250px;
    overflow: auto;
    padding-right: 4px;
}

.study-check-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #16242f;
    text-decoration: none;
    font-size: 16px;
}

.study-check-list a::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 1px solid #d3dde8;
    border-radius: 5px;
    background: #fff;
}

.study-check-list a.is-selected::before {
    border-color: #1683f6;
    background: #1683f6;
    box-shadow: inset 0 0 0 4px #fff;
}

.study-result-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.study-result-head span {
    color: #0a65b8;
    font-weight: 800;
}

.study-result-head h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 4vw, 42px);
}

.study-result-head a {
    color: #0a65b8;
    font-weight: 800;
    text-decoration: none;
}

.study-college-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.study-college-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 370px;
    border: 1px solid #d4e0eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(13, 61, 101, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.study-college-card:hover {
    transform: translateY(-3px);
    border-color: #acd2f4;
    box-shadow: 0 20px 44px rgba(13, 61, 101, .13);
}

.study-college-card > img {
    width: calc(100% - 40px);
    height: 105px;
    margin: 18px auto 0;
    border-radius: 10px;
    object-fit: cover;
}

.study-college-body {
    display: grid;
    align-content: start;
    grid-template-rows: auto 48px auto auto;
    row-gap: 7px;
    padding: 14px 20px 8px;
}

.study-city-pill {
    display: inline-flex;
    padding: 7px 16px;
    border-radius: 999px;
    background: #ddfbf7;
    color: #0062bd;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 3px;
}

.study-college-card h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    color: #07182c;
    font-size: 17px;
    line-height: 1.28;
    letter-spacing: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.study-college-card p {
    margin: 0;
    color: #12243a;
    font-size: 14px;
    line-height: 1.35;
}

.study-card-action {
    border-top: 1px solid #dbe4ee;
    padding: 12px 20px 16px;
}

.study-card-action a {
    display: flex;
    justify-content: center;
    border: 1px solid #d7e0ea;
    border-radius: 999px;
    padding: 10px 16px;
    color: #111;
    font-weight: 900;
    font-size: 15px;
    text-decoration: none;
    transition: .2s ease;
}

.study-card-action a:hover {
    border-color: #1683f6;
    background: #1683f6;
    color: #fff;
}

.study-empty {
    border: 1px dashed #adc7df;
    border-radius: 16px;
    background: #fff;
    padding: 34px;
    color: #52687a;
    font-weight: 700;
}

.study-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.study-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #c8dbeb;
    border-radius: 10px;
    background: #fff;
    color: #0c3558;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(13, 61, 101, .07);
}

.study-pagination a:hover,
.study-pagination a.is-active {
    border-color: #1683f6;
    background: #1683f6;
    color: #fff;
}

@media (max-width: 1180px) {
    .study-course-grid {
        grid-template-columns: 280px 1fr;
    }

    .study-college-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .study-college-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .study-course-grid {
        grid-template-columns: 1fr;
    }

    .study-filter-panel {
        position: static;
    }

    .study-college-cards {
        grid-template-columns: 1fr;
    }
}
