/* =========================================================
   ACADEMICS FEATURE BANNER
========================================================= */

.academics-banner-section {
    padding: 35px 0 70px;
    background: #ffffff;
}


.academics-banner {
    position: relative;
    height: 390px;
    overflow: hidden;
    border-radius: 24px;
    background: #073b4c;
    box-shadow: 0 18px 45px rgba(5,45,55,.10);
}


    .academics-banner img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }


    .academics-banner:hover img {
        transform: scale(1.025);
    }


/* =========================================================
   OVERLAY
========================================================= */

.academics-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7,59,76,.90) 0%, rgba(7,59,76,.62) 40%, rgba(7,59,76,.10) 78% );
}


/* =========================================================
   CONTENT
========================================================= */

.academics-banner-content {
    position: absolute;
    left: 50px;
    bottom: 43px;
    max-width: 590px;
}


    .academics-banner-content span {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #55c3c6;
        font-size: 12px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .academics-banner-content span::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .academics-banner-content h2 {
        margin: 0 0 10px;
        color: #ffffff;
        font-size: clamp(34px, 4vw, 52px);
        font-weight: 850;
        line-height: 1.04;
        letter-spacing: -1px;
    }


    .academics-banner-content p {
        max-width: 520px;
        margin: 0;
        color: rgba(255,255,255,.67);
        font-size: 13px;
        line-height: 1.7;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .academics-banner-section {
        padding: 25px 0 55px;
    }


    .academics-banner {
        height: 340px;
        border-radius: 18px;
    }


    .academics-banner-content {
        left: 25px;
        right: 25px;
        bottom: 28px;
    }


        .academics-banner-content h2 {
            font-size: 34px;
        }
}
/* =========================================================
   ACADEMIC OVERVIEW
========================================================= */

.academics-overview-section {
    padding: 75px 0;
    background: #f7f9fa;
}


/* =========================================================
   HEADING
========================================================= */

.academics-overview-heading {
    max-width: 650px;
    margin-bottom: 30px;
}


    .academics-overview-heading .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 10px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .academics-overview-heading .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .academics-overview-heading h2 {
        margin: 0 0 10px;
        color: #073b4c;
        font-size: clamp(32px, 4vw, 45px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.8px;
    }


        .academics-overview-heading h2 span {
            color: #0b858d;
        }


    .academics-overview-heading p {
        margin: 0;
        color: #71818a;
        font-size: 13px;
        line-height: 1.7;
    }


/* =========================================================
   COUNTER CARD
========================================================= */

.academic-counter-card {
    position: relative;
    height: 100%;
    min-height: 235px;
    padding: 25px;
    border-radius: 17px;
    background: #ffffff;
    border: 1px solid #e4eaec;
    box-shadow: 0 8px 25px rgba(5,45,55,.035);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}


    .academic-counter-card:hover {
        transform: translateY(-5px);
        border-color: rgba(11,133,141,.20);
        box-shadow: 0 16px 35px rgba(5,45,55,.08);
    }


/* =========================================================
   ICON
========================================================= */

.academic-counter-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #eef8f8;
    color: #0b858d;
    font-size: 15px;
}


/* =========================================================
   NUMBER
========================================================= */

.academic-counter-number {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 5px;
}


.academic-counter {
    color: #073b4c;
    font-size: 38px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -1px;
}


.academic-counter-number small {
    color: #e0ae25;
    font-size: 19px;
    font-weight: 800;
}


/* =========================================================
   TEXT
========================================================= */

.academic-counter-card h3 {
    margin: 0 0 8px;
    color: #073b4c;
    font-size: 14px;
    font-weight: 750;
}


.academic-counter-card p {
    max-width: 270px;
    margin: 0;
    color: #87949a;
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .academics-overview-section {
        padding: 60px 0;
    }


    .academic-counter-card {
        min-height: auto;
        padding: 22px;
    }


    .academic-counter {
        font-size: 34px;
    }
}
/* =========================================================
   ACADEMIC DEPARTMENTS — DARK SECTION
========================================================= */

.academic-departments-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient( 135deg, #062f3d 0%, #073b4c 55%, #052c38 100% );
    overflow: hidden;
}


    /* subtle background decoration */

    .academic-departments-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        top: -220px;
        right: -150px;
        border-radius: 50%;
        background: rgba(11,133,141,.10);
        pointer-events: none;
    }


    .academic-departments-section::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        bottom: -180px;
        left: -130px;
        border-radius: 50%;
        background: rgba(229,184,61,.06);
        pointer-events: none;
    }


    .academic-departments-section .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   HEADING
========================================================= */

.academic-departments-heading {
    max-width: 720px;
    margin-bottom: 40px;
}


    .academic-departments-heading .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #58c5ca;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .academic-departments-heading .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .academic-departments-heading h2 {
        margin: 0 0 12px;
        color: #ffffff;
        font-size: clamp(34px, 4vw, 48px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.8px;
    }


        .academic-departments-heading h2 span {
            color: #58c5ca;
        }


    .academic-departments-heading p {
        max-width: 650px;
        margin: 0;
        color: rgba(255,255,255,.68);
        font-size: 14px;
        line-height: 1.75;
    }


/* =========================================================
   DEPARTMENT CARD
========================================================= */

.academic-department-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 23px;
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 12px 35px rgba(0,0,0,.14);
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}


    .academic-department-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #0b858d;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
    }


    .academic-department-card:hover {
        transform: translateY(-6px);
        background: rgba(255,255,255,.085);
        border-color: rgba(88,197,202,.30);
        box-shadow: 0 20px 45px rgba(0,0,0,.22);
    }


        .academic-department-card:hover::before {
            transform: scaleX(1);
        }


    /* =========================================================
   FEATURED COMPUTER SCIENCE CARD
========================================================= */

    .academic-department-card.featured {
        background: linear-gradient( 145deg, rgba(11,133,141,.18), rgba(255,255,255,.055) );
        border-color: rgba(88,197,202,.20);
    }


        .academic-department-card.featured::before {
            background: #e5b83d;
        }


/* =========================================================
   CARD TOP
========================================================= */

.department-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}


.department-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(88,197,202,.12);
    color: #58c5ca;
    font-size: 15px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}


.academic-department-card:hover
.department-icon {
    background: #0b858d;
    color: #ffffff;
    transform: scale(1.05);
}


.department-number {
    color: rgba(255,255,255,.25);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
}


/* =========================================================
   TITLE
========================================================= */

.department-card-title {
    margin-bottom: 16px;
}


    .department-card-title > span {
        display: block;
        margin-bottom: 5px;
        color: #58c5ca;
        font-size: 7px;
        font-weight: 850;
        letter-spacing: 1.5px;
    }


    .department-card-title h3 {
        margin: 0;
        color: #ffffff;
        font-size: 19px;
        font-weight: 800;
        line-height: 1.25;
    }


/* =========================================================
   PROGRAMS
========================================================= */

.department-programs {
    flex: 1;
    padding-top: 3px;
}


    .department-programs a {
        position: relative;
        display: block;
        padding: 9px 0 9px 16px;
        border-bottom: 1px solid rgba(255,255,255,.075);
        color: rgba(255,255,255,.65);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.55;
        text-decoration: none;
        transition: color .2s ease, padding-left .2s ease;
    }


        .department-programs a:first-child {
            border-top: 1px solid rgba(255,255,255,.075);
        }


        .department-programs a::before {
            content: "";
            position: absolute;
            left: 0;
            top: 15px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #e5b83d;
        }


        .department-programs a:hover {
            padding-left: 20px;
            color: #ffffff;
        }


/* =========================================================
   DEPARTMENT LINK
========================================================= */

.department-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 19px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: color .2s ease;
}


    .department-link i {
        color: #e5b83d;
        font-size: 12px;
        transition: transform .2s ease;
    }


    .department-link:hover {
        color: #58c5ca;
    }


        .department-link:hover i {
            transform: translateX(5px);
        }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .academic-departments-section {
        padding: 70px 0;
    }
}


@media (max-width: 767px) {

    .academic-departments-section {
        padding: 60px 0;
    }


    .academic-department-card {
        padding: 20px;
    }


    .department-card-title h3 {
        font-size: 18px;
    }
}
/* =========================================================
   ACADEMIC SUPPORT / CENTERS & OFFICES
========================================================= */

.academic-support-section {
    position: relative;
    padding: 85px 0;
    background: #ffffff;
    overflow: hidden;
}


.academic-support-content {
    max-width: 600px;
}


/* =========================================================
   HEADING
========================================================= */

.academic-support-section .section-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: #0b858d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2px;
}


    .academic-support-section .section-eyebrow::before {
        content: "";
        width: 28px;
        height: 2px;
        border-radius: 5px;
        background: #e5b83d;
    }


.academic-support-section h2 {
    margin: 0 0 17px;
    color: #073b4c;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -.8px;
}


    .academic-support-section h2 span {
        color: #0b858d;
    }


.academic-support-section .section-description {
    max-width: 570px;
    margin: 0 0 22px;
    color: #71818a;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   CENTERS LIST
========================================================= */

.centers-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 24px;
}


    .centers-list a {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 43px;
        padding: 9px 11px;
        border-radius: 10px;
        background: #f7f9fa;
        border: 1px solid #e5ebed;
        color: #52656d;
        font-size: 12px;
        font-weight: 650;
        line-height: 1.4;
        text-decoration: none;
        transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
    }


        .centers-list a > i:first-child {
            width: 25px;
            height: 25px;
            flex: 0 0 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 7px;
            background: #eef8f8;
            color: #0b858d;
            font-size: 12px;
        }


        .centers-list a span {
            flex: 1;
        }


    .centers-list .center-external {
        width: auto !important;
       /* height: auto !important;*/
        flex: 0 0 auto !important;
        background: transparent !important;
        color: #b5c0c4 !important;
        font-size: 8px !important;
    }


    .centers-list a:hover {
        transform: translateX(3px);
        background: #ffffff;
        border-color: rgba(11,133,141,.22);
        color: #0b858d;
        box-shadow: 0 7px 20px rgba(5,45,55,.06);
    }


        .centers-list a:hover .center-external {
            color: #0b858d !important;
        }


/* =========================================================
   IMAGE
========================================================= */

.academic-feature-image {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 22px;
    background: #073b4c;
    box-shadow: 0 18px 40px rgba(5,45,55,.10);
}


    .academic-feature-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .6s ease;
    }


    .academic-feature-image:hover img {
        transform: scale(1.035);
    }


.academic-image-accent {
    position: absolute;
    width: 110px;
    height: 110px;
    right: -28px;
    top: -28px;
    border-radius: 50%;
    background: rgba(229,184,61,.18);
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.academic-image-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 13px;
    background: rgba(7,59,76,.90);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}


    .academic-image-label > i {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(85,195,198,.10);
        color: #55c3c6;
        font-size: 12px;
    }


    .academic-image-label span {
        display: block;
        margin-bottom: 3px;
        color: #55c3c6;
        font-size: 7px;
        font-weight: 850;
        letter-spacing: 1.4px;
    }


    .academic-image-label strong {
        display: block;
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .academic-support-section {
        padding: 70px 0;
    }
}


@media (max-width: 767px) {

    .academic-support-section {
        padding: 60px 0;
    }


    .centers-list {
        grid-template-columns: 1fr;
    }


    .academic-feature-image {
        height: 330px;
        border-radius: 18px;
    }
}
/* =========================================================
   COURSE CATALOG — DARK
========================================================= */

.course-catalog-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient( 135deg, #062f3d 0%, #073b4c 55%, #052c38 100% );
    overflow: hidden;
}


    /* subtle decoration */

    .course-catalog-section::before {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        right: -180px;
        top: -220px;
        border-radius: 50%;
        background: rgba(11,133,141,.10);
        pointer-events: none;
    }


    .course-catalog-section::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        left: -130px;
        bottom: -160px;
        border-radius: 50%;
        background: rgba(229,184,61,.055);
        pointer-events: none;
    }


    .course-catalog-section .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   CONTENT
========================================================= */

.course-catalog-content {
    max-width: 590px;
}


    .course-catalog-content .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #58c5ca;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .course-catalog-content .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .course-catalog-content h2 {
        margin: 0 0 18px;
        color: #ffffff;
        font-size: clamp(35px, 4vw, 50px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.9px;
    }


        .course-catalog-content h2 span {
            color: #58c5ca;
        }


    .course-catalog-content p {
        margin: 0 0 14px;
        color: rgba(255,255,255,.64);
        font-size: 13px;
        line-height: 1.8;
    }


/* =========================================================
   RESOURCE FEATURES
========================================================= */

.course-catalog-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin: 25px 0;
}


.course-resource-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}


    .course-resource-item:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,.065);
        border-color: rgba(88,197,202,.22);
    }


.course-resource-icon {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(88,197,202,.10);
    color: #58c5ca;
    font-size: 11px;
}


.course-resource-item strong {
    display: block;
    color: #ffffff;
    font-size: 10px;
    font-weight: 750;
}


.course-resource-item span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.43);
    font-size: 8px;
    line-height: 1.5;
}


/* =========================================================
   IMAGE
========================================================= */

.course-catalog-image {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 22px;
    background: #0b858d;
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}


    .course-catalog-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .65s ease;
    }


    .course-catalog-image:hover img {
        transform: scale(1.035);
    }


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.course-catalog-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7,59,76,.02) 30%, rgba(7,59,76,.84) 100% );
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.course-catalog-image-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 15px;
    border-radius: 13px;
    background: rgba(7,59,76,.90);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}


.course-catalog-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(229,184,61,.11);
    color: #e5b83d;
    font-size: 13px;
}


.course-catalog-image-label span {
    display: block;
    margin-bottom: 3px;
    color: #58c5ca;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 1.4px;
}


.course-catalog-image-label strong {
    display: block;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .course-catalog-section {
        padding: 70px 0;
    }

    .course-catalog-image {
        height: 390px;
    }
}


@media (max-width: 767px) {

    .course-catalog-section {
        padding: 60px 0;
    }

    .course-catalog-image {
        height: 330px;
        border-radius: 18px;
    }

    .course-catalog-features {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PROGRAMME LEVEL FILTER (Academics page, Lahore)
========================================================= */

.dept-filters {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 12px;
}

.dept-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

    .dept-filter-btn:hover {
        border-color: #e3b33d;
    }

    .dept-filter-btn[aria-pressed="true"] {
        border-color: #e3b33d;
        background: #e3b33d;
        color: #073b4c;
    }

    .dept-filter-btn .n {
        min-width: 22px;
        padding: 1px 7px;
        border-radius: 999px;
        background: rgba(255,255,255,.16);
        font-size: 11px;
        text-align: center;
    }

    .dept-filter-btn[aria-pressed="true"] .n {
        background: rgba(7,59,76,.15);
    }

.dept-filter-note {
    position: relative;
    z-index: 1;
    margin: 0 0 26px;
    color: rgba(255,255,255,.6);
    font-size: 13px;
    text-align: center;
}

/* Filtered-out programmes and empty department cards */
.department-programs a[hidden],
#depts > div[hidden] {
    display: none !important;
}
