/* =========================================================
   FEE STRUCTURE PAGE
========================================================= */

.fee-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background: linear-gradient( 135deg, #f5fafb 0%, #ffffff 52%, #f1f8f9 100% );
}


/* =========================================================
   PAGE HEADER
========================================================= */

.fee-page-header {
    background: linear-gradient( 135deg, #063b4d 0%, #07566a 55%, #0a6b78 100% );
}

    .fee-page-header::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -180px;
        bottom: -250px;
        border-radius: 50%;
        border: 1px solid rgba(227,179,61,.25);
    }


/* =========================================================
   SECTION HEADER
========================================================= */

.fee-section .section-header {
    max-width: 780px;
    margin: 0 auto 40px;
}

.fee-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #087f8c;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2px;
    text-transform: uppercase;
}

    .fee-section .section-tag::before {
        content: "";
        width: 28px;
        height: 2px;
        border-radius: 5px;
        background: #e3b33d;
    }

.fee-section .section-title {
    margin: 0 0 15px;
    color: #163b49;
    font-size: 42px;
    font-weight: 850;
    line-height: 1.12;
}

.fee-section .section-description {
    max-width: 700px;
    margin: 0 auto;
    color: #71838a;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   NOTICE
========================================================= */

.fee-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto 35px;
    padding: 18px 22px;
    border: 1px solid rgba(8,127,140,.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(20,55,67,.06);
}

.fee-notice-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: #e7f7f7;
    color: #087f8c;
    font-size: 19px;
}

.fee-notice strong {
    display: block;
    margin-bottom: 3px;
    color: #163b49;
    font-size: 15px;
}

.fee-notice p {
    margin: 0;
    color: #71838a;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.fee-table-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfeaec;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(20,55,67,.08);
}

    .fee-table-wrapper .table-responsive {
        overflow-x: auto;
    }


/* =========================================================
   TABLE
========================================================= */

.fee-table {
    width: 100%;
    min-width: 1050px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #405c67;
    font-size: 13px;
}

    .fee-table th,
    .fee-table td {
        padding: 16px 15px;
        border-right: 1px solid #e7edef;
        border-bottom: 1px solid #e7edef;
        vertical-align: middle;
    }

        .fee-table th:last-child,
        .fee-table td:last-child {
            border-right: 0;
        }


    /* =========================================================
   TABLE HEADER
========================================================= */

    .fee-table thead th {
        background: #0a5068;
        color: #fff;
        text-align: center;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .2px;
    }

    .fee-table thead tr:first-child th:first-child {
        border-top-left-radius: 21px;
    }

    .fee-table thead tr:first-child th:last-child {
        border-top-right-radius: 21px;
    }


/* =========================================================
   PROGRAM MAIN
========================================================= */

.program-main {
    width: 150px;
    background: #0a5068 !important;
    color: #fff;
    text-align: center;
    font-size: 15px;
}

.program-main-light {
    width: 150px;
    background: #f3edff;
    color: #56368a;
    text-align: center;
    font-size: 15px;
}

.program-number {
    display: block;
    margin-bottom: 9px;
    color: #e3b33d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.5px;
}


/* =========================================================
   CATEGORY COLORS
========================================================= */

.fee-table tr.undergraduate td {
    background: #f5fbfc;
}

.fee-table tr.pharmacy td {
    background: #fff9ee;
}

.fee-table tr.computer-science td {
    background: #f1f7ff;
}

.fee-table tr.engineering td {
    background: #fff4ef;
}

.fee-table tr.other-programs td {
    background: #f2faf3;
}

.fee-table tr.masters td {
    background: #f7f1ff;
}

.fee-table tr.graduate td {
    background: #edf3ff;
}


/* =========================================================
   CATEGORY CELL
========================================================= */

.program-category {
    text-align: left;
    color: #274d5b;
    font-size: 13px;
}

.undergraduate .program-category {
    background: #e8f7f7 !important;
    color: #087f8c;
}

.pharmacy .program-category {
    background: #fff0d5 !important;
    color: #a86e00;
}

.computer-science .program-category {
    background: #e6efff !important;
    color: #4566ae;
}

.engineering .program-category {
    background: #ffe9df !important;
    color: #b25c3a;
}

.other-programs .program-category {
    background: #e5f4e7 !important;
    color: #478052;
}


/* =========================================================
   TABLE HOVER
========================================================= */

.fee-table tbody tr {
    transition: background .25s ease;
}

    .fee-table tbody tr:hover td {
        background: #ffffff !important;
    }


/* =========================================================
   TOTAL
========================================================= */

.fee-total {
    color: #0a5068;
    font-weight: 850;
    white-space: nowrap;
}


/* =========================================================
   ADDITIONAL INFORMATION
========================================================= */

.fee-information-section {
    margin-top: 90px;
}

    .fee-information-section .section-header {
        margin-bottom: 30px;
    }


/* =========================================================
   INFORMATION CARDS
========================================================= */

.fee-info-card {
    position: relative;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid transparent;
    box-shadow: 0 15px 40px rgba(20,55,67,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .fee-info-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 25px 55px rgba(20,55,67,.12);
    }


/* Individual Pastels */

.admission-fee {
    background: #eef9f8;
    border-color: #d5efed;
}

.semester-fee {
    background: #fff8e9;
    border-color: #f3e5bd;
}

.degree-fee {
    background: #f5efff;
    border-color: #e4d8f8;
}


.fee-info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 15px;
    font-size: 20px;
}

.admission-fee .fee-info-icon {
    background: #d9f1ef;
    color: #087f8c;
}

.semester-fee .fee-info-icon {
    background: #ffebbb;
    color: #a97800;
}

.degree-fee .fee-info-icon {
    background: #e8dcff;
    color: #7750ae;
}


/* Number */

.fee-info-number {
    position: absolute;
    top: 27px;
    right: 27px;
    color: rgba(22,59,73,.20);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 2px;
}


.fee-info-card h3 {
    margin: 0 0 12px;
    color: #163b49;
    font-size: 20px;
    font-weight: 800;
}

.fee-info-card p {
    margin: 0;
    color: #687e87;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   MINI FEE ROW
========================================================= */

.fee-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.07);
    color: #5d727b;
    font-size: 11px;
}

    .fee-mini-row strong {
        color: #a97800;
        white-space: nowrap;
    }


/* =========================================================
   BOTTOM AREA
========================================================= */

.fee-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 35px;
    padding: 25px 28px;
    border-radius: 20px;
    background: linear-gradient( 135deg, #073b4d, #0a5068 );
    box-shadow: 0 18px 45px rgba(10,80,104,.18);
}


.fee-bottom-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fee-bottom-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: rgba(227,179,61,.15);
    color: #e3b33d;
    font-size: 18px;
}

.fee-bottom h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.fee-bottom p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 12px;
}


/* =========================================================
   DOWNLOAD BUTTON
========================================================= */

.fee-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 13px 20px;
    border-radius: 50px;
    background: #e3b33d;
    color: #163b49;
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

    .fee-download-btn:hover {
        color: #163b49;
        background: #f1c85d;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(227,179,61,.25);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .fee-section {
        padding: 80px 0;
    }

        .fee-section .section-title {
            font-size: 36px;
        }

    .fee-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .fee-download-btn {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 767px) {

    .fee-section {
        padding: 65px 0;
    }

        .fee-section .section-title {
            font-size: 32px;
        }

        .fee-section .section-description {
            font-size: 14px;
        }

    .fee-notice {
        align-items: flex-start;
        padding: 16px;
    }

    .fee-info-card {
        padding: 25px;
    }

    .fee-bottom {
        padding: 22px;
    }
}


@media (max-width: 480px) {

    .fee-section .section-title {
        font-size: 29px;
    }

    .fee-notice {
        gap: 12px;
    }

    .fee-notice-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .fee-bottom-content {
        align-items: flex-start;
    }
}
