* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
}

body.case-bd {
    font-family: Arial, Helvetica, sans-serif;
    background: #dfe7ef;
    color: #222;
    padding-top: 140px;
}

/* ===== FIXED HEADER ===== */
.fixed-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

.site-title {
    width: 100%;
    margin: 0;
    padding: 0;
}

.main-banner {
    width: 100%;
    min-height: 95px;
    background: #00538b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    margin: 0;
}

.banner-left {
    width: auto;
    flex: 0 0 auto;
}

.banner-left img {
    max-height: 60px;
    width: auto;
    display: block;
}

.banner-center {
    flex: 1;
    text-align: center;
}

.banner-center h1 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.banner-right {
    width: auto;
}

/* ===== MENU ===== */
.menu-holder {
    width: 100%;
    background: #1f1f1f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.top-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.top-menu > li {
    position: relative;
}

.top-menu > li > a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.top-menu > li > a:hover,
.top-menu > li:hover > a,
.active-menu > a {
    background: #2f6fb0;
    color: #fff;
}

/* ===== SUBMENU ===== */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.submenu li {
    position: relative;
}

.submenu li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    background: #fff;
}

.submenu li a:hover {
    background: #2f6fb0;
    color: #fff;
}

.has-submenu:hover > .submenu {
    display: block;
}

.submenu-right {
    top: 0;
    left: 100%;
}

/* ===== PAGE ===== */
.page-wrap {
    width: 100%;
    background: #fff;
}

.content-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 22px 40px;
    background: #f3f3f3;
}

/* ===== SLIDER ===== */
.header-banner.slider-banner {
    position: relative;
    width: 100%;
    max-width: 1040px;
    margin: 20px auto 18px;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.header-banner.slider-banner .slides {
    display: none;
    width: 100%;
    height: 400px;
    background: #f3f3f3;
    position: relative;
    overflow: hidden;
}

.header-banner.slider-banner .slides.active {
    display: block;
}

.header-banner.slider-banner .slides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 59, 92, 0.82);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: 0.3s ease;
}

.slide-btn:hover {
    background: #0f3b5c;
    transform: translateY(-50%) scale(1.06);
}

.slide-btn.prev {
    left: 14px;
}

.slide-btn.next {
    right: 14px;
}

.slide-dots {
    position: absolute;
    left: 0;
    bottom: 14px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.slide-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: 2px solid #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.slide-dots .dot.active-dot,
.slide-dots .dot:hover {
    background: #0f3b5c;
    transform: scale(1.08);
}

/* ===== INFO CARD ===== */
.info-card {
    background: #ffffff;
    border-radius: 12px;
    margin: 0 auto 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #2f6fb0;
}

.program-card {
    max-width: 1040px;
}

.program-card h3 {
    margin: 0 0 10px;
    color: #0f3b5c;
    font-size: 18px;
    font-weight: 700;
}

.program-card p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
}

.program-coordinator {
    max-width: 1040px;
    margin: 8px auto 0;
    padding: 0 2px;
}

.program-coordinator p {
    margin: 0;
    color: #0f3b5c;
    font-size: 16px;
    font-weight: 600;
}

/* ===== GENERAL CONTENT ===== */
.content-wrap p {
    color: #333;
}

.content-wrap strong {
    color: #1f4e79;
}

/* ===== MARQUEE ===== */
.marquee-wrap {
    margin: 10px 0 20px;
}

.marquee-wrap marquee {
    color: #2c5aa0;
    font-size: 16px;
    font-weight: 700;
}

/* ===== FACULTY ===== */
.faculty-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 30px 70px;
    background: #f4f4f4;
}

.faculty-heading-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 32px;
    border-left: 6px solid #2f6fb0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.faculty-heading-card h2 {
    margin: 0;
    color: #184f86;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.faculty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 22px 24px;
    text-align: center;
    text-decoration: none;
    border-top: 5px solid #2f6fb0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 430px;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.faculty-card img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 22px;
    border: 6px solid #f1f5f9;
    background: #d9d9d9;
}

.faculty-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.35;
    color: #0d6672;
    font-weight: 700;
}

.faculty-card .designation {
    margin: 0 0 12px;
    font-size: 19px;
    color: #222;
    line-height: 1.6;
    font-weight: 500;
}

.faculty-card .email {
    margin-top: auto;
    font-size: 17px;
    color: #4b5563;
    line-height: 1.6;
    word-break: break-word;
}

.faculty-card .email span {
    font-weight: 700;
    color: #1f2937;
}

.faculty-card .email a {
    color: #1d4f91;
    text-decoration: none;
}

.faculty-card .email a:hover {
    text-decoration: underline;
}

/* ===== STUDENT TABLE ===== */
.student-data {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin-top: 25px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.student-data th,
.student-data td {
    border: 1px solid #e0e6ed;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.student-data th {
    background: #0b5c96;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.student-data tr:nth-child(even) {
    background: #f7f9fc;
}

.student-data tr:hover {
    background: #eef5ff;
}

.student-data td:nth-child(1) {
    width: 60px;
}

.student-data td:nth-child(2) {
    width: 160px;
}

.student-data td:nth-child(3) {
    width: 130px;
    color: #1f4e79;
    font-weight: bold;
}

.student-data td:nth-child(4) {
    text-align: left;
    font-weight: 600;
}

.student-data td:nth-child(5) {
    text-align: left;
    word-break: break-word;
    font-size: 14px;
}

.st-image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #e5ecf3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
}

.XSP_MAIN_PANEL {
    padding: 25px;
}

/* ===== STUDENT CARDS ===== */
.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.student-card {
    background: #0f3b5c;
    color: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.student-card img {
    width: 160px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 12px;
    display: block;
}

.student-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.4;
    color: #7ff3e8;
    font-weight: 700;
}

.student-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #dbe7f3;
}

.student-card p strong {
    color: #ffffff;
}
.student-link {
    color: #7ff3e8;   /* same as student name */
    text-decoration: none;
}

.student-link:hover {
    text-decoration: underline;
    color: #ffffff;
}
/* ===== CURRICULUM ===== */
.curriculum-section {
    background: #ffffff;
    padding: 28px 30px;
    border-radius: 14px;
    margin-bottom: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #2f6fb0;
}

.curriculum-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f4e79;
    margin-bottom: 15px;
}

.curriculum-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #2f6fb0;
    margin-bottom: 10px;
}

.curriculum-text {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 15px;
}

.curriculum-list {
    padding-left: 22px;
    margin-bottom: 10px;
}

.curriculum-list li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.8;
}

.highlight-box {
    background: linear-gradient(135deg, #eaf3ff, #ffffff);
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 12px;
    border-left: 4px solid #2f6fb0;
}

.cour-tb,
.below-course {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.cour-tb th,
.below-course th {
    background: #0b5c96 !important;
    color: #fff !important;
    font-size: 15px;
}

.cour-tb td,
.below-course td {
    font-size: 15px;
}

.cour-tb tr:nth-child(even),
.below-course tr:nth-child(even) {
    background: #f5f8fc;
}

.cour-tb tr:hover,
.below-course tr:hover {
    background: #eaf2ff;
}

.note-box {
    background: #fff4e6;
    border-left: 5px solid #ff9800;
    padding: 18px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* ===== FOOTER ===== */
#footer {
    background: linear-gradient(135deg, #0f3b5c, #154f78);
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 40px;
    width: 100%;
    clear: both;
}

#footer * {
    box-sizing: border-box;
}

#footer .footer-top {
    width: 100%;
}

#footer .footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#footer .single-footer {
    width: 100%;
}

#footer .footer-center {
    max-width: 700px;
    margin: 0 auto;
}

#footer .h4-sec {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
}

#footer .adress-inner,
#footer .email-sec,
#footer .copyright {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
}

#footer .ft-link {
    color: #ffffff;
    text-decoration: none;
}

#footer .ft-link:hover {
    text-decoration: underline;
}

#footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    width: 85%;
    margin: 25px auto 15px;
}

#footer .footer-bottom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#footer .copyright {
    margin-bottom: 12px;
}

#footer .social-media {
    text-align: center;
}

#footer .social-media a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
}

#footer .social-media a:hover {
    background: #f4c400;
    color: #000000;
}

/* ===== RESPONSIVE ===== */
/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    margin: 10px auto;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 4px;
    background: #ffffff;
    margin: 6px 0;
    border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .faculty-grid {
        grid-template-columns: repeat(3, minmax(240px, 1fr));
    }
}

@media (max-width: 991px) {
    body.case-bd {
        padding-top: 185px;
    }

    .main-banner {
        flex-direction: column;
        text-align: center;
        padding: 14px 18px;
        margin-bottom: 0;
    }

    .banner-left,
    .banner-center,
    .banner-right {
        width: 100%;
    }

    .banner-left {
        text-align: center;
        margin-bottom: 10px;
    }

    .banner-center h1 {
        font-size: 25px;
    }

    .content-wrap,
    .faculty-page {
        padding: 22px 16px 35px;
    }

    .header-banner.slider-banner .slides {
        height: 380px;
    }

    .faculty-heading-card h2 {
        font-size: 28px;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 24px;
    }

    .faculty-card {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    body.case-bd {
        padding-top: 0;
    }

    .page-wrap {
        padding-top: 165px;
    }

    .fixed-header-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
    }

    .main-banner {
        flex-direction: column;
        text-align: center;
        padding: 12px 12px;
        margin-bottom: 0 !important;
    }

    .banner-left,
    .banner-center,
    .banner-right {
        width: 100%;
    }

    .banner-left {
        margin-bottom: 8px;
        text-align: center;
    }

    .banner-left img {
        max-height: 42px;
        margin: 0 auto;
    }

    .banner-center h1 {
        font-size: 16px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .mobile-menu-toggle {
        display: block;
        width: 100%;
        background: #dfe7ef;
        padding: 8px 12px;
        margin: 0;
        text-align: right;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 34px;
        height: 4px;
        background: #000000;
        margin: 5px 0 5px auto;
        border-radius: 2px;
    }

    .menu-holder {
        width: 100%;
        background: #1f1f1f;
        border-top: 1px solid #cfcfcf;
    }

    .top-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1f1f1f;
    }

    .top-menu.active {
        display: flex;
    }

    .top-menu > li {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .top-menu > li > a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }

    .submenu,
    .submenu-right {
        position: static;
        display: none;
        min-width: 100%;
        border: none;
        box-shadow: none;
        background: #2a2a2a;
    }

    .has-submenu:hover > .submenu {
        display: block;
    }

    .submenu li a {
        color: #ffffff;
        padding: 10px 12px;
        font-size: 13px;
        white-space: normal;
        background: #2a2a2a;
    }

    .submenu li a:hover {
        background: #2f6fb0;
        color: #ffffff;
    }

    .header-banner.slider-banner {
        margin: 14px auto;
        border-radius: 14px;
    }

    .header-banner.slider-banner .slides {
        height: 300px;
    }

    .slide-btn {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .content-wrap,
    .faculty-page {
        padding: 16px 10px 24px;
    }

    .program-card h3 {
        font-size: 16px;
    }

    .program-card p,
    .program-coordinator p {
        font-size: 14px;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .faculty-card {
        min-height: auto;
    }

    .faculty-card h3 {
        font-size: 22px;
    }

    .faculty-card .designation,
    .faculty-card .email {
        font-size: 15px;
    }

    .st-image {
        width: 90px;
        height: 115px;
    }
}