/*==================================================
    Department Page
==================================================*/
.department-page {
    background: #f7f9fc;
    padding: 60px 0;
}

/*==========================================
    Sidebar
==========================================*/
.department-sidebar {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    position: sticky;
    top: 110px;
}

/*==========================================
    Sidebar Header
==========================================*/
.sidebar-header {
    background: linear-gradient(135deg, #0b3d91, #1957b8);
    padding: 28px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 18px;
}

.sidebar-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.sidebar-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.sidebar-header p {
    margin: 6px 0 0;
    opacity: .9;
    font-size: 14px;
}

/*==========================================
    Menu
==========================================*/
.department-menu {
    margin: 0;
    padding: 15px;
    list-style: none;
}

.department-menu li {
    margin-bottom: 10px;
}

.department-menu li:last-child {
    margin-bottom: 0;
}

.department-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 15px 18px;
    border-radius: 12px;
    color: #444;
    font-weight: 600;
    transition: .35s;
    position: relative;
}

.department-menu li a span {
    font-size: 20px;
}

.department-menu li a:hover {
    background: #eef5ff;
    color: #0b3d91;
    transform: translateX(6px);
}

.department-menu li.active a {
    background: #0b3d91;
    color: #fff;
}

.department-menu li.active a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    border-radius: 20px;
    background: #f58220;
}

/*==========================================
Banner
==========================================*/
.department-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    margin-bottom: 35px;
}

.department-banner img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: .5s;
}

.department-banner:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .05));
}

.dept-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 40px;
    background: #f58220;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-overlay h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 700;
}

.banner-overlay p {
    color: #fff;
    font-size: 18px;
    margin: 0;
    opacity: .95;
}

/*==========================================
Content Card
==========================================*/
.department-card {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    margin-bottom: 30px;
    transition: .35s;
}

.department-card:hover {
    transform: translateY(-4px);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.section-heading span {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #eef5ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
}

.section-heading h3 {
    margin: 20px 0;
    color: #0b3d91;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.section-heading h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 90px;
    height: 3px;
    border-radius: 20px;
    background: #f58220;
}

.department-card p {
    margin-top: 22px;
    color: #555;
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}

/*==========================================
Department Establishment Highlights
==========================================*/

.department-establishment {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin: 28px 0 32px;

}


/*==========================================
Establishment Item
==========================================*/

.establishment-item {

    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px 22px;

    background: #f8fbff;

    border: 1px solid #e8eef9;

    border-left: 5px solid #f58220;

    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(11, 61, 145, .07);

    transition: .35s ease;

}


/*==========================================
Hover
==========================================*/

.establishment-item:hover {

    transform: translateY(-4px);

    background: #eef5ff;

    border-left-color: #0b3d91;

    box-shadow: 0 14px 30px rgba(11, 61, 145, .12);

}


/*==========================================
Icon
==========================================*/

.establishment-icon {

    width: 48px;

    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eef5ff;

    color: #0b3d91;

    font-size: 23px;

}


/*==========================================
Content
==========================================*/

.establishment-content {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    column-gap: 8px;

    row-gap: 3px;

    line-height: 1.6;

}


/*==========================================
Label
==========================================*/

.establishment-label {

    width: 100%;

    color: #0b3d91;

    font-size: 14px;

    font-weight: 700;

}


/*==========================================
Title
==========================================*/

.establishment-title {

    color: #333;

    font-size: 17px;

    font-weight: 600;

}


/*==========================================
Year
==========================================*/

.establishment-year {

    color: #f58220;

    font-size: 17px;

    font-weight: 700;

    white-space: nowrap;

}


/*==========================================
Responsive
==========================================*/

@media(max-width:991px) {

    .department-establishment {

        grid-template-columns: 1fr;

    }

}


@media(max-width:767px) {

    .department-establishment {

        gap: 15px;

        margin: 22px 0 28px;

    }

    .establishment-item {

        padding: 16px;

        gap: 14px;

    }

    .establishment-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;

        font-size: 20px;

    }

    .establishment-title {

        font-size: 15px;

    }

    .establishment-year {

        font-size: 15px;

    }

}

/*==========================================
Statistics Cards
==========================================*/
.stats-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .35s;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-8px);
}

.stats-icon {
    width: 75px;
    height: 75px;
    margin: auto;
    border-radius: 50%;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 18px;
}

.stats-card h4 {
    color: #0b3d91;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stats-card p {
    margin: 0;
    color: #666;
}

/*==========================================
Achievements
==========================================*/
.achievement-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.achievement-item {
    background: #f8fbff;
    border-left: 5px solid #f58220;
    padding: 22px;
    border-radius: 14px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    transition: .35s;
}

.achievement-item:hover {
    background: #eef5ff;
    transform: translateY(-5px);
}

/*==========================================
Achievement Ordered List
==========================================*/

.achievement-order-list {
    margin: 15px 0 0;
    padding-left: 25px;
}

.achievement-order-list li {
    margin-bottom: 10px;
    padding-left: 5px;
    color: #555;
    line-height: 1.7;
}

.achievement-order-list li:last-child {
    margin-bottom: 0;
}

.achievement-order-list li::marker {
    color: #0b3d91;
    font-weight: 700;
}

/*==========================================
Responsive
==========================================*/
@media(max-width:991px) {
    .department-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .department-banner img {
        height: 330px;
    }

    .banner-overlay {
        padding: 25px;
    }

    .banner-overlay h2 {
        font-size: 30px;
    }

    .section-heading h3 {
        font-size: 28px;
    }

    .achievement-list {
        grid-template-columns: 1fr;
    }
}

@media(max-width:767px) {
    .department-page {
        padding: 35px 0;
    }

    .sidebar-header {
        padding: 20px;
    }

    .department-menu li a {
        padding: 14px;
    }

    .department-banner img {
        height: 240px;
    }

    .banner-overlay {
        padding: 20px;
    }

    .banner-overlay h2 {
        font-size: 24px;
    }

    .banner-overlay p {
        font-size: 15px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h3 {
        font-size: 22px;
    }

    .department-card {
        padding: 22px;
    }

    .department-card p {
        font-size: 15px;
    }

    .stats-card {
        padding: 22px;
    }

    .stats-card h4 {
        font-size: 26px;
    }

    .gallery-item img {

        height: 190px;

    }

    .gallery-overlay {

        height: 190px;

    }

    .gallery-caption {

        font-size: 15px;

        padding: 10px 8px 8px;

        line-height: 1.4;

    }

    .achievement-order-list {
        padding-left: 22px;
    }

    .achievement-order-list li {
        font-size: 15px;
        line-height: 1.7;
    }
}

/*=========================================
Scroll Animation
=========================================*/
.department-card,
.stats-card,
.achievement-item {
    opacity: 0;
    transform: translateY(45px);
    transition: .7s;
}

.department-card.show,
.stats-card.show,
.achievement-item.show {
    opacity: 1;
    transform: translateY(0);
}

/*=========================================
Faculty Members
Keep Faculty Cards Always Visible
=========================================*/

#faculty,
#faculty.department-card {
    opacity: 1;
    transform: none;
}

#faculty .faculty-card {
    opacity: 1;
    transform: none;
}

/*==========================================
Empty State
==========================================*/
.empty-state {
    text-align: center;
    padding: 70px 30px;
    background: #f8fbff;
    border: 2px dashed #d8e6ff;
    border-radius: 18px;
}

/*==========================================
SUB HEADING
==========================================*/
.sub-head {
    background: #f8fbff;
}

.sub-head h4 {
    margin: 20px 0;
    color: #0b3d91;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.empty-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: #eef5ff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(11, 61, 145, .08);
}

.empty-state h4 {
    color: #0b3d91;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.empty-state p {
    max-width: 700px;
    margin: auto;
    color: #666;
    font-size: 17px;
    line-height: 1.9;
}

/* Mobile */
@media(max-width:767px) {
    .empty-state {
        padding: 45px 20px;
    }

    .empty-icon {
        width: 70px;
        height: 70px;
        font-size: 38px;
    }

    .empty-state h4 {
        font-size: 22px;
    }

    .empty-state p {
        font-size: 15px;
    }
}

/*==========================================
Faculty Members
==========================================*/
.faculty-grid {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.faculty-card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 25px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #edf2fb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    transition: .35s;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(11, 61, 145, .12);
}

.faculty-image {
    width: 180px;
    flex-shrink: 0;
}

.faculty-image img {
    width: 100%;
    aspect-ratio: 1/1.1;
    object-fit: cover;
    border-radius: 16px;
    border: 5px solid #eef5ff;
}

.faculty-content {
    flex: 1;
}

.faculty-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #eef5ff;
    color: #0b3d91;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.faculty-content h4 {
    color: #0b3d91;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

.faculty-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faculty-info li {
    margin-bottom: 12px;
    color: #555;
    font-size: 17px;
}

.faculty-info strong {
    color: #222;
}

.faculty-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 22px;
    background: #f58220;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
}

.faculty-btn:hover {
    background: #0b3d91;
    color: #fff;
}

/*=====================================
Faculty Responsive
=====================================*/
@media (max-width:991px) {
    .faculty-card {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 22px;
    }

    .faculty-image {
        width: 180px;
        margin: 0 auto;
    }

    .faculty-content {
        width: 100%;
        text-align: left;
    }

    .faculty-content h4 {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .faculty-info {
        width: 100%;
    }

    .faculty-info li {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        flex-wrap: wrap;
    }

    .email-link {
        width: 100%;
        word-break: break-word;
    }

    .faculty-btn {
        width: 100%;
        text-align: center;
    }

}

@media (max-width:767px) {
    .faculty-card {
        padding: 18px;
        border-radius: 16px;
    }

    .faculty-image {
        width: 150px;
    }

    .faculty-image img {
        border-radius: 14px;
    }

    .faculty-content {
        text-align: left;
    }

    .faculty-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .faculty-content h4 {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 15px;
    }

    .faculty-info li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .faculty-info strong {
        min-width: 95px;
        display: inline-block;
    }

    .email-link {
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .email-link span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .faculty-btn {
        width: 100%;
        padding: 13px;
        margin-top: 18px;
        font-size: 15px;
    }
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b3d91;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f8f9fc;
    border: 1px solid #dfe8f7;
    transition: .3s ease;
}

.email-link img {
    width: 18px;
    height: 18px;
}

.email-link:hover {
    background: #0b3d91;
    color: #fff;
    border-color: #0b3d91;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 61, 145, .18);
}

.email-link:hover img {
    filter: brightness(0) invert(1);
}

/*=========================================
Programme Section
=========================================*/
.programme-intro {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.programme-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.programme-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8eef9;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
    transition: .35s;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(11, 61, 145, .12);
}

.programme-header {
    background: linear-gradient(135deg, #0b3d91, #1957b8);
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.programme-header h4 {
    color: #fff;
    margin: 10px 0 0;
    font-size: 30px;
    font-weight: 700;
}

.programme-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #f58220;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.programme-badge.phd {
    background: #17a2b8;
}

.programme-table {
    width: 100%;
    border-collapse: collapse;
}

.programme-table tr {
    border-bottom: 1px solid #edf2fb;
}

.programme-table tr:last-child {
    border-bottom: none;
}

.programme-table th {
    width: 240px;
    padding: 18px 22px;
    background: #f8fbff;
    color: #0b3d91;
    font-weight: 700;
}

.programme-table td {
    padding: 18px 22px;
    color: #555;
}

.programme-table tr:hover {
    background: #f9fcff;
}

/* Mobile */
@media (max-width:767px) {

    .programme-card {
        overflow-x: auto;
    }

    .programme-table {
        min-width: 550px;
    }

    .programme-header {
        padding: 18px;
    }

    .programme-header h4 {
        font-size: 22px;
    }

    .programme-table th {
        width: 180px;
    }

    .programme-table th,
    .programme-table td {
        padding: 14px;
        font-size: 14px;
    }
}

/*=========================================
Programme Apply Online
=========================================*/

.programme-action {

    padding: 20px 22px;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    background: #fff;

    border-top: 1px solid #edf2fb;

}


.programme-apply-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-width: 160px;

    padding: 12px 22px;

    background: #f58220;

    color: #fff;

    border-radius: 10px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    box-shadow: 0 7px 18px rgba(245, 130, 32, .20);

    transition: all .3s ease;

}


.programme-apply-btn:hover {

    background: #0b3d91;

    color: #fff;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(11, 61, 145, .20);

}


.apply-arrow {

    font-size: 20px;

    line-height: 1;

    transition: transform .3s ease;

}


.programme-apply-btn:hover .apply-arrow {

    transform: translateX(5px);

}

/*=========================================
Syllabus
=========================================*/
.syllabus-intro {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.syllabus-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.syllabus-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8eef9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    transition: .35s;
}

.syllabus-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 61, 145, .12);
}

.syllabus-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.syllabus-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef5ff;
    font-size: 30px;
}

.syllabus-left h4 {
    color: #0b3d91;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.syllabus-left p {
    margin: 0;
    color: #777;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 10px;
    background: #f58220;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    transition: .35s;
}

.download-btn:hover {
    background: #0b3d91;
    color: #fff;
    transform: translateY(-2px);
}

.download-btn svg {
    transition: .3s;
}

.download-btn:hover svg {
    transform: translateY(2px);
}

/*=========================
Responsive
=========================*/
@media(max-width:991px) {
    .syllabus-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media(max-width:767px) {
    .syllabus-item {
        padding: 20px;
    }

    .syllabus-left {
        gap: 15px;
    }

    .syllabus-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .syllabus-left h4 {
        font-size: 20px;
    }

    .syllabus-left p {
        font-size: 14px;
    }

    .download-btn {
        width: 100%;
        padding: 13px;
        font-size: 15px;
    }
}

/*=========================
Classroom Gallery
==========================*/

.classroom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    background: #fff;
    padding: 8px;
    border: 1px solid #edf2fb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .35s;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(11, 61, 145, .15);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    flex-shrink: 0;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/*=========================
Popup
==========================*/
.gallery-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
}

.gallery-popup.active {
    display: flex;
}

.popup-image {
    position: relative;
    z-index: 1;
    max-width: 85%;
    max-height: 85%;
    transition: .3s;
    transform: scale(1);
    cursor: grab;
}

.close-gallery {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #0b3d91;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;
    transition: .3s;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #f58220;
}

.zoom-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.zoom-controls button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #f58220;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: .3s;
}

.zoom-controls button:hover {
    background: #0b3d91;
}

/* Mobile */

@media(max-width:767px) {

    .popup-image {
        max-width: 82%;
        max-height: 70%;
    }

    .gallery-prev,
    .gallery-next {
        width: 44px;
        height: 44px;
        font-size: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999999;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .zoom-controls {
        bottom: 20px;
    }

    .close-gallery {
        top: 15px;
        right: 15px;
        font-size: 34px;
    }

    .gallery-item img {
        height: 190px;
    }
}

/*=========================================
Gallery Hover Overlay
=========================================*/
/* .gallery-overlay {
    position: absolute;
    inset: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 61, 145, .55);
    opacity: 0;
    transition: .35s;
    border-radius: 14px;
    pointer-events: none;
} */

.gallery-overlay {

    position: absolute;

    top: 8px;
    left: 8px;
    right: 8px;

    height: 240px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(11, 61, 145, .55);

    opacity: 0;

    transition: .35s;

    border-radius: 14px;

    pointer-events: none;

    z-index: 4;

}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #0b3d91;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transform: scale(.5);
    transition: .35s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

/*=========================================
Gallery Caption
=========================================*/

.gallery-caption {

    position: relative;

    z-index: 5;

    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 12px 10px 8px;

    margin: 0;

    text-align: center;

    background: #fff;

    color: #0b3d91;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.5;

    border-radius: 0 0 14px 14px;

}

.gallery-caption::before {

    content: "";

    display: block;

    width: 45px;

    height: 3px;

    margin: 0 auto 8px;

    background: #f58220;

    border-radius: 20px;

}