/* =========================================================
   VIDHYA SETU - COLLEGE DETAIL
========================================================= */

:root {
    --vs-primary: #0b1940;
    --vs-primary-dark: #03205e;
    --vs-primary-light: #eef4ff;

    --vs-accent: #ff8a00;

    --vs-dark: #101828;
    --vs-text: #344054;
    --vs-muted: #667085;

    --vs-border: #e4e7ec;
    --vs-light: #f8fafc;
    --vs-white: #ffffff;

    --vs-radius: 16px;
    --vs-radius-small: 10px;

    --vs-shadow:
        0 8px 30px rgba(16, 24, 40, 0.08);
}


/* -----------------------------------------
   GLOBAL
----------------------------------------- */

.vs-college-page {
    background: #f7f9fc;
    color: var(--vs-text);
}

.vs-college-page * {
    box-sizing: border-box;
}

.vs-college-page img {
    max-width: 100%;
}

.vs-scroll-section {
    scroll-margin-top: 110px;
}


/* =========================================================
   HERO
========================================================= */

.vs-college-cover {
    min-height: 390px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #172033;
}

.vs-cover-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.vs-cover-placeholder {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            #011746,
            #d7c41d
        );
}

.vs-cover-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 19, 45, 0.94) 0%,
            rgba(7, 19, 45, 0.78) 45%,
            rgba(7, 19, 45, 0.35) 100%
        );
}

.vs-hero-content {
    position: relative;
    z-index: 2;

    padding: 50px 0;

    display: grid;

    grid-template-columns:
        130px
        minmax(0, 1fr)
        auto;

    gap: 28px;

    align-items: center;
}


/* LOGO */

.vs-college-logo {
    width: 120px;
    height: 120px;

    border-radius: 15px;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;

    box-shadow: var(--vs-shadow);
}

.vs-college-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.vs-logo-placeholder {
    font-size: 42px;
    font-weight: 800;
    color: var(--vs-primary);
}


/* BREADCRUMB */

.vs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 12px;

    color: rgba(255,255,255,.72);

    font-size: 13px;
}

.vs-breadcrumb a {
    color: white;
}


/* HEADING */

.vs-college-heading h1 {
    color: white;

    font-size: clamp(27px, 3vw, 42px);

    line-height: 1.2;

    margin: 0 0 12px;

    font-weight: 750;
}

.vs-location {
    color: rgba(255,255,255,.9);

    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 17px;
}


/* TAGS */

.vs-college-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.vs-tag {
    display: inline-flex;

    padding: 7px 12px;

    border-radius: 30px;

    background: rgba(255,255,255,.13);

    border: 1px solid rgba(255,255,255,.22);

    color: white;

    font-size: 12px;

    backdrop-filter: blur(8px);
}

.vs-tag-highlight {
    background: #fff3df;
    color: #a25100;
    border-color: transparent;
}


/* HERO BUTTONS */

.vs-hero-actions {
    display: flex;
    flex-direction: column;

    gap: 10px;

    min-width: 170px;
}

.vs-btn {
    min-height: 47px;

    padding: 12px 19px;

    border-radius: 9px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-weight: 650;

    transition: .25s ease;
}

.vs-btn-primary {
    color: white;
    background: var(--vs-primary);
}

.vs-btn-primary:hover {
    background: var(--vs-primary-dark);
    color: white;
}

.vs-btn-light {
    background: white;
    color: var(--vs-dark);
}


/* =========================================================
   NAVIGATION
========================================================= */

.vs-college-nav-wrapper {
    background: white;

    border-bottom: 1px solid var(--vs-border);

    position: sticky;

    top: 0;

    z-index: 30;
}

.vs-college-nav {
    display: flex;

    gap: 2px;

    overflow-x: auto;

    scrollbar-width: none;
}

.vs-college-nav::-webkit-scrollbar {
    display: none;
}

.vs-college-nav a {
    position: relative;

    flex: 0 0 auto;

    padding: 17px 18px;

    text-decoration: none;

    color: #475467;

    font-size: 14px;

    font-weight: 600;
}

.vs-college-nav a:hover,
.vs-college-nav a.active {
    color: var(--vs-primary);
}

.vs-college-nav a.active::after {
    position: absolute;

    content: "";

    height: 3px;

    left: 17px;
    right: 17px;
    bottom: 0;

    border-radius: 4px 4px 0 0;

    background: var(--vs-primary);
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.vs-main-section {
    padding: 34px 0 65px;
}

.vs-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 25px;

    align-items: start;
}

.vs-main-content {
    min-width: 0;
}


/* =========================================================
   STATS
========================================================= */

.vs-stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 24px;
}

.vs-stat-card {
    background: white;

    border: 1px solid var(--vs-border);

    border-radius: 13px;

    padding: 18px;

    display: flex;
    align-items: center;

    gap: 13px;
}

.vs-stat-icon {
    width: 42px;
    height: 42px;

    border-radius: 10px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--vs-primary-light);

    color: var(--vs-primary);

    font-size: 18px;
}

.vs-stat-label {
    display: block;

    font-size: 11px;

    color: var(--vs-muted);

    margin-bottom: 3px;
}

.vs-stat-card strong {
    display: block;

    font-size: 14px;

    color: var(--vs-dark);
}


/* =========================================================
   CONTENT CARDS
========================================================= */

.vs-content-card {
    background: white;

    border: 1px solid var(--vs-border);

    border-radius: var(--vs-radius);

    padding: 28px;

    margin-bottom: 24px;

    box-shadow:
        0 2px 10px rgba(16,24,40,.02);
}

.vs-section-heading {
    margin-bottom: 20px;
}

.vs-section-label {
    display: block;

    text-transform: uppercase;

    color: var(--vs-primary);

    font-size: 11px;

    font-weight: 750;

    letter-spacing: .8px;

    margin-bottom: 6px;
}

.vs-section-heading h2 {
    margin: 0;

    font-size: 24px;

    line-height: 1.3;

    color: var(--vs-dark);
}

.vs-description {
    font-size: 15px;

    line-height: 1.8;

    color: #475467;
}

.vs-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   COURSES
========================================================= */

.vs-course-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.vs-course-card {
    border: 1px solid var(--vs-border);

    border-radius: 13px;

    padding: 20px;

    transition: .25s ease;

    background: white;
}

.vs-course-card:hover {
    border-color: #b9caf2;

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(16,24,40,.07);
}

.vs-course-top {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    align-items: flex-start;

    padding-bottom: 16px;

    border-bottom: 1px solid #eef0f3;
}

.vs-course-type {
    color: var(--vs-primary);

    font-size: 11px;

    font-weight: 700;
}

.vs-course-top h3 {
    margin: 5px 0 0;

    font-size: 17px;

    line-height: 1.35;
}

.vs-course-top h3 a {
    color: var(--vs-dark);

    text-decoration: none;
}

.vs-apply-btn {
    flex: 0 0 auto;

    padding: 7px 13px;

    border-radius: 7px;

    background: var(--vs-primary-light);

    color: var(--vs-primary);

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;
}

.vs-course-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    padding: 17px 0;

    gap: 10px;
}

.vs-course-detail {
    padding-right: 8px;

    border-right: 1px solid #eceff3;
}

.vs-course-detail:last-child {
    border-right: 0;
}

.vs-course-detail span {
    display: block;

    color: var(--vs-muted);

    font-size: 10px;

    margin-bottom: 4px;
}

.vs-course-detail strong {
    display: block;

    color: var(--vs-dark);

    font-size: 13px;

    word-break: break-word;
}

.vs-exam-box {
    padding: 11px 13px;

    border-radius: 8px;

    background: #f8fafc;

    display: flex;

    justify-content: space-between;

    gap: 10px;

    font-size: 12px;
}

.vs-exam-box span {
    color: var(--vs-muted);
}

.vs-exam-box strong {
    color: var(--vs-dark);
}

.vs-course-more {
    margin-top: 12px;
}

.vs-course-more summary {
    cursor: pointer;

    color: var(--vs-primary);

    font-size: 12px;

    font-weight: 650;
}

.vs-course-more div {
    margin-top: 12px;

    color: var(--vs-muted);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   ADMISSION STEPS
========================================================= */

.vs-admission-steps {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.vs-step {
    border: 1px solid var(--vs-border);

    border-radius: 12px;

    padding: 18px;

    display: flex;

    gap: 14px;
}

.vs-step > span {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--vs-primary-light);

    color: var(--vs-primary);

    border-radius: 50%;

    font-size: 12px;

    font-weight: 750;
}

.vs-step h3 {
    margin: 0 0 6px;

    color: var(--vs-dark);

    font-size: 15px;
}

.vs-step p {
    margin: 0;

    color: var(--vs-muted);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   FACILITIES
========================================================= */

.vs-facility-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;
}

.vs-facility {
    min-height: 90px;

    border: 1px solid var(--vs-border);

    border-radius: 11px;

    padding: 15px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 8px;

    text-align: center;
}

.vs-facility i {
    color: var(--vs-primary);

    font-size: 21px;
}

.vs-facility span {
    color: var(--vs-dark);

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   FAQ
========================================================= */

.vs-faq-item {
    border-bottom: 1px solid var(--vs-border);

    padding: 15px 0;
}

.vs-faq-item:first-child {
    padding-top: 0;
}

.vs-faq-item:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}

.vs-faq-item summary {
    cursor: pointer;

    font-weight: 650;

    color: var(--vs-dark);

    font-size: 14px;
}

.vs-faq-item p {
    color: var(--vs-muted);

    line-height: 1.7;

    margin: 12px 0 0;

    font-size: 13px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.vs-sidebar {
    position: sticky;

    top: 85px;
}

.vs-counselling-card,
.vs-location-card {
    background: white;

    border: 1px solid var(--vs-border);

    border-radius: var(--vs-radius);

    padding: 23px;

    margin-bottom: 18px;

    box-shadow: var(--vs-shadow);
}

.vs-side-badge {
    display: inline-block;

    margin-bottom: 11px;

    padding: 6px 10px;

    border-radius: 6px;

    background: #eaf2ff;

    color: var(--vs-primary);

    font-size: 10px;

    font-weight: 750;

    text-transform: uppercase;
}

.vs-counselling-card h3,
.vs-location-card h3 {
    margin: 0 0 9px;

    font-size: 20px;

    line-height: 1.35;

    color: var(--vs-dark);
}

.vs-counselling-card > p {
    margin-bottom: 19px;

    color: var(--vs-muted);

    font-size: 13px;

    line-height: 1.6;
}


/* FORM */

.vs-field {
    margin-bottom: 12px;
}

.vs-field label {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;

    font-weight: 600;

    color: #475467;
}

.vs-field input,
.vs-field select,
.vs-field textarea {
    width: 100%;

    min-height: 43px;

    padding: 10px 12px;

    border: 1px solid #d0d5dd;

    border-radius: 8px;

    background: white;

    font-size: 13px;

    outline: none;
}

.vs-field input:focus,
.vs-field select:focus,
.vs-field textarea:focus {
    border-color: var(--vs-primary);

    box-shadow:
        0 0 0 3px rgba(24,86,216,.08);
}

.vs-submit-btn {
    width: 100%;

    border: 0;

    border-radius: 9px;

    min-height: 47px;

    background: var(--vs-primary);

    color: white;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.vs-submit-btn:hover {
    background: var(--vs-primary-dark);
}

.vs-counselling-features {
    margin-top: 15px;

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.vs-counselling-features span {
    color: var(--vs-muted);

    font-size: 11px;
}

.vs-location-card p {
    display: flex;

    gap: 7px;

    margin: 0;

    color: var(--vs-muted);

    font-size: 13px;

    line-height: 1.6;
}


/* EMPTY */

.vs-empty-state {
    grid-column: 1 / -1;

    padding: 30px;

    border-radius: 10px;

    background: var(--vs-light);

    text-align: center;
}

.vs-empty-state h3 {
    margin: 0 0 6px;

    color: var(--vs-dark);
}

.vs-empty-state p {
    margin: 0;

    color: var(--vs-muted);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .vs-layout {
        grid-template-columns:
            minmax(0, 1fr)
            290px;
    }

    .vs-stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 991px) {

    .vs-hero-content {
        grid-template-columns:
            100px
            minmax(0, 1fr);

        gap: 20px;
    }

    .vs-college-logo {
        width: 95px;
        height: 95px;
    }

    .vs-hero-actions {
        grid-column: 1 / -1;

        flex-direction: row;

        padding-left: 120px;
    }

    .vs-layout {
        grid-template-columns: 1fr;
    }

    .vs-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 18px;
    }

    .vs-counselling-card,
    .vs-location-card {
        margin-bottom: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .vs-college-cover {
        min-height: auto;
    }

    .vs-cover-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7,19,45,.65),
                rgba(7,19,45,.96)
            );
    }

    .vs-hero-content {
        padding: 90px 0 28px;

        grid-template-columns: 1fr;

        text-align: left;
    }

    .vs-college-logo {
        width: 82px;
        height: 82px;
    }

    .vs-college-heading h1 {
        font-size: 27px;
    }

    .vs-hero-actions {
        grid-column: auto;

        padding-left: 0;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        width: 100%;
    }

    .vs-college-nav a {
        padding:
            14px 13px;
    }

    .vs-main-section {
        padding-top: 20px;
    }

    .vs-stats-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 9px;
    }

    .vs-stat-card {
        padding: 13px;

        align-items: flex-start;
    }

    .vs-stat-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        font-size: 14px;
    }

    .vs-content-card {
        padding: 20px;

        border-radius: 13px;
    }

    .vs-section-heading h2 {
        font-size: 20px;
    }

    .vs-course-grid {
        grid-template-columns: 1fr;
    }

    .vs-admission-steps {
        grid-template-columns: 1fr;
    }

    .vs-facility-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .vs-sidebar {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .vs-hero-actions {
        grid-template-columns: 1fr;
    }

    .vs-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vs-stat-card {
        display: block;
    }

    .vs-stat-icon {
        margin-bottom: 9px;
    }

    .vs-course-details {
        grid-template-columns: 1fr;
    }

    .vs-course-detail {
        border-right: 0;

        border-bottom: 1px solid #eef0f3;

        padding: 9px 0;
    }

    .vs-course-detail:last-child {
        border-bottom: 0;
    }

}