/*=========================================================
    UNIVERSITY / COLLEGE TABLE SECTION
=========================================================*/

.university_college_list_section {

    width: 100%;

    padding: 85px 8%;

    background: #f7fbff;

}


/*=========================================================
    CONTAINER
=========================================================*/

.university_college_list_container {

    max-width: 1300px;

    margin: auto;

}


/*=========================================================
    HEADING
=========================================================*/

.university_college_heading {

    text-align: center;

    margin-bottom: 45px;

}


.university_college_heading h1 {

    position: relative;

    display: inline-block;

    color: #243b68;

    font-size: 38px;

    font-weight: 700;

    padding-bottom: 13px;

    margin: 0 0 12px;

}


/* Modern orange underline */

.university_college_heading h1::after {

    content: "";

    position: absolute;

    width: 205px;

    height: 4px;

    left: 50%;

    bottom: 0;

    transform: translateX(-50%);

    background: #ff8a00;

    border-radius: 20px;

}


.university_college_heading p {

    font-size: 16px;

    color: #666;

    line-height: 1.7;

    margin: 0;

}


.university_college_heading .disc {

    font-size: 16px;

    color: #1d8cf8;

    margin-top: 5px;

}


/*=========================================================
    TABLE WRAPPER
=========================================================*/

.college_table_wrapper {

    position: relative;

    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border-radius: 16px;

    border: 1px solid #e4ebf5;

    box-shadow:
        0 8px 25px rgba(36, 59, 104, 0.08);

    scrollbar-width: thin;

    scrollbar-color: #1d8cf8 #edf4fc;

}


/* Small orange top accent */

.college_table_wrapper::before {

    content: "";

    display: block;

    width: 100%;

    height: 4px;

    background: linear-gradient(
        90deg,
        #243b68,
        #1d8cf8,
        #ff8a00
    );

}


/*=========================================================
    TABLE
=========================================================*/

.university_college_table {

    width: 100%;

    min-width: 900px;

    border-collapse: separate;

    border-spacing: 0;

}


/*=========================================================
    TABLE HEADER
=========================================================*/

.university_college_table thead {

    background: #12327a;

    color: #ffffff;

}


.university_college_table th {

    padding: 18px 20px;

    font-size: 15px;

    font-weight: 600;

    text-align: left;

    white-space: nowrap;

    border-bottom: 3px solid #ff8a00;

}


/* First header cell */

.university_college_table th:first-child {

    border-top-left-radius: 0;

}


/* Last header cell */

.university_college_table th:last-child {

    border-top-right-radius: 0;

}


/*=========================================================
    TABLE BODY
=========================================================*/

.university_college_table td {

    padding: 17px 20px;

    color: #444;

    font-size: 15px;

    line-height: 1.5;

    border-bottom: 1px solid #e7edf5;

    vertical-align: middle;

}


/* Remove border from last row */

.university_college_table tbody tr:last-child td {

    border-bottom: none;

}


/*=========================================================
    TABLE ROW
=========================================================*/

.university_college_table tbody tr {

    background: #ffffff;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


/* Alternating rows */

.university_college_table tbody tr:nth-child(even) {

    background: #fbfdff;

}


/* Hover */

.university_college_table tbody tr:hover {

    background: #eef6ff;

}


/*=========================================================
    COLLEGE / UNIVERSITY NAME
=========================================================*/

.university_college_table td:first-child {

    color: #243b68;

    font-weight: 600;

}


/*=========================================================
    VIEW BUTTON
=========================================================*/

.university_college_table td a {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 19px;

    background: #1d8cf8;

    color: #ffffff;

    text-decoration: none;

    border-radius: 25px;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 4px 10px rgba(29, 140, 248, 0.18);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;

}


/* Button hover */

.university_college_table td a:hover {

    background: #12327a;

    transform: translateY(-2px);

    box-shadow:
        0 7px 15px rgba(18, 50, 122, 0.20);

}


/*=========================================================
    TABLE SCROLLBAR
=========================================================*/

.college_table_wrapper::-webkit-scrollbar {

    height: 7px;

}


.college_table_wrapper::-webkit-scrollbar-track {

    background: #edf4fc;

    border-radius: 10px;

}


.college_table_wrapper::-webkit-scrollbar-thumb {

    background: #1d8cf8;

    border-radius: 10px;

}


.college_table_wrapper::-webkit-scrollbar-thumb:hover {

    background: #12327a;

}


/*=========================================================
    TABLET
=========================================================*/

@media screen and (max-width: 992px) {

    .university_college_list_section {

        padding: 70px 5%;

    }


    .university_college_heading h1 {

        font-size: 34px;

    }


    .university_college_table th {

        padding: 16px 17px;

    }


    .university_college_table td {

        padding: 15px 17px;

    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media screen and (max-width: 768px) {

    .university_college_list_section {

        padding: 60px 5%;

    }


    /* Heading */

    .university_college_heading {

        margin-bottom: 30px;

    }


    .university_college_heading h1 {

        font-size: 28px;

        padding-bottom: 11px;

    }


    .university_college_heading p {

        font-size: 14px;

        line-height: 1.6;

    }


    .university_college_heading .disc {

        font-size: 14px;

    }


    /* Table wrapper */

    .college_table_wrapper {

        border-radius: 12px;

    }


    /* Keep horizontal scrolling */

    .university_college_table {

        min-width: 850px;

    }


    .university_college_table th {

        padding: 14px 15px;

        font-size: 14px;

    }


    .university_college_table td {

        padding: 14px 15px;

        font-size: 14px;

    }


    /* View button */

    .university_college_table td a {

        padding: 8px 15px;

        font-size: 13px;

    }

}


/*=========================================================
    SMALL MOBILE
=========================================================*/

@media screen and (max-width: 480px) {

    .university_college_list_section {

        padding: 45px 12px;

    }


    .university_college_heading {

        margin-bottom: 25px;

    }


    .university_college_heading h1 {

        font-size: 24px;

    }


    .university_college_heading p {

        font-size: 13px;

    }


    .university_college_heading .disc {

        font-size: 13px;

    }


    .college_table_wrapper {

        border-radius: 10px;

    }


    .university_college_table {

        min-width: 800px;

    }


    .university_college_table th {

        padding: 13px;

        font-size: 13px;

    }


    .university_college_table td {

        padding: 13px;

        font-size: 13px;

    }


    .university_college_table td a {

        padding: 7px 13px;

        font-size: 12px;

    }

}