/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #222;
}

/* =========================================
   TOP HEADER BANNER & SPREAD LOGO LAYOUT
========================================= */

.top-header-banner {
    background: #ffffff;
    border-bottom: 2px solid #061a3d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.header-logo {
    height: 125px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.03);
}

.header-society-name {
    color: #d97706;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.header-college-title {
    color: #061a3d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin: 4px 0 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.header-sub-info {
    font-size: 13px;
    margin-bottom: 3px;
}

.header-dist {
    color: #0284c7;
    font-weight: 700;
}

.header-badge {
    color: #d97706;
    font-weight: 800;
}

.header-affiliation {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================
   MAIN NAVIGATION BAR (PROJECT NAVY BLUE & GOLD)
========================================= */

.main-nav-bar {
    background: #061a3d !important;
    border-bottom: 3px solid #f4b400;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
}

.main-nav-bar .nav-link {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.main-nav-bar .nav-link:hover,
.main-nav-bar .nav-link:focus {
    background: #0a2657 !important;
    color: #f4b400 !important;
    border-bottom-color: #f4b400;
}

.main-nav-bar .nav-link.active {
    background: #0a2657 !important;
    color: #f4b400 !important;
    border-bottom-color: #f4b400;
}

.main-nav-bar .dropdown-menu {
    background: #061a3d;
    border: 1px solid rgba(244, 180, 0, .3);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    margin-top: 0;
    padding: 6px 0;
}

.main-nav-bar .dropdown-item {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.main-nav-bar .dropdown-item:hover {
    background: #0a2657;
    color: #f4b400;
    padding-left: 24px;
}

/* Enable Hover Dropdown on Desktop */
@media (min-width: 992px) {
    .main-nav-bar .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }
    
    .main-nav-bar .dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
    }
    
    .main-nav-bar .dropdown:hover > .nav-link {
        background: #0a2657 !important;
        color: #f4b400 !important;
        border-bottom-color: #f4b400;
    }
}

.main-nav-bar .navbar-toggler {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
}

@media (max-width: 991px) {
    .header-logo {
        height: 95px;
    }
    .header-college-title {
        font-size: 19px;
    }
    .main-nav-bar .nav-link {
        padding: 10px 15px !important;
        border-bottom: none;
    }
}

/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(4, 22, 53, .98),
            rgba(7, 39, 83, .91)
        ),
        url('college-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(244, 180, 0, .07);
    top: -250px;
    right: -150px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.admission-script {
    color: #f4b400;
    font-size: 55px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
}

.hero-title {
    font-size: 75px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 4px 5px 10px rgba(0, 0, 0, .4);
}

.hero-title span {
    color: #fff;
}

.hero-line {
    width: 130px;
    height: 3px;
    background: #f4b400;
    display: inline-block;
    vertical-align: middle;
}

.hero-icon {
    color: #f4b400;
    font-size: 35px;
    margin: 0 15px;
}

.hero-description {
    font-size: 18px;
    font-weight: 500;
}

.apply-btn {
    background: #f4b400;
    color: #061a3d;
    border: none;
    padding: 14px 35px;
    font-size: 19px;
    font-weight: 800;
    border-radius: 8px;
    transition: .3s;
}

.apply-btn:hover {
    background: #fff;
    color: #061a3d;
    transform: translateY(-3px);
}

/* =========================================
   COLLEGE SLIDER
========================================= */

.college-slider {
    border: 3px solid #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .4);
}

.college-slider .carousel-item {
    height: 390px;
}

.college-slider img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.college-slider .carousel-item:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

.carousel-caption {
    z-index: 3;
    text-align: left;
    bottom: 30px;
}

.carousel-caption h3 {
    color: #f4b400;
    font-size: 24px;
    font-weight: 800;
}

.carousel-caption p {
    color: #fff;
    font-size: 15px;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
}

/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    text-align: center;
    color: #061a3d;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 35px;
}

.section-title:after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #f4b400;
    margin: 12px auto;
    border-radius: 10px;
}

/* =========================================
   ABOUT US
========================================= */

.about-section {
    background: #f5f7fb;
}

.about-card,
.principal-card {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(6, 26, 61, .06);
    transition: .3s;
}

.about-card:hover,
.principal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 26, 61, .12);
    border-color: #f4b400;
}

.about-icon,
.principal-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf0fa;
    color: #061a3d;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-card h3,
.principal-card h3 {
    color: #061a3d;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-card p,
.principal-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #061a3d;
    color: #fff;
    padding: 16px 18px;
    border-radius: 10px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.6;
}

.about-highlight i {
    color: #f4b400;
    font-size: 25px;
}

/* =========================================
   PRINCIPAL PHOTO
========================================= */

.principal-photo-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 22px;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4b400, #061a3d);
    box-shadow: 0 8px 25px rgba(6, 26, 61, .20);
}

.principal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 4px solid #fff;
    display: block;
}

.principal-card {
    text-align: center;
    border-top: 5px solid #f4b400;
}

.principal-card .principal-icon {
    margin: 0 auto 15px;
}

.principal-card h3 {
    margin-bottom: 8px;
}

.principal-name {
    color: #061a3d !important;
    font-size: 17px !important;
    font-weight: 800;
    margin-bottom: 18px !important;
}

.principal-contact {
    text-align: left;
    background: #f8fafc;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.principal-contact-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.principal-contact-item i {
    color: #f4b400;
    width: 25px;
    margin-right: 8px;
}

/* =========================================
   LEADERSHIP SECTION
========================================= */

.leadership-section {
    background: #f5f7fb;
}

.leadership-intro,
.mission-intro {
    max-width: 750px;
    margin: -20px auto 40px;
    color: #64748b;
    font-size: 15px;
}

.leader-card {
    height: 100%;
    min-height: 400px;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .4s;
    box-shadow: 0 12px 35px rgba(6, 26, 61, .10);
}

.founder-profile {
    background: linear-gradient(145deg, #fffdf5, #f8edc8);
    border: 2px solid #f4b400;
}

.president-profile {
    background: linear-gradient(145deg, #ffffff, #e8eef8);
    border: 2px solid #274c77;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(6, 26, 61, .18);
}

.founder-photo-wrap {
    width: 170px;
    height: 170px;
    padding: 5px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4b400, #061a3d, #f4b400);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .20);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    display: block;
}

.founder-label {
    color: #061a3d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.founder-label i {
    color: #f4b400;
    margin-right: 6px;
}

.leader-card h3 {
    color: #061a3d;
    font-size: 23px;
    line-height: 1.5;
    font-weight: 800;
    margin: 0;
}

/* =========================================
   MISSION & VISION
========================================= */

.mission-vision-section {
    background: #fff;
}

.mission-card,
.vision-card {
    height: 100%;
    padding: 35px;
    border-radius: 18px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: .3s;
}

.mission-card {
    background: #061a3d;
    color: #fff;
    border-left: 5px solid #f4b400;
    box-shadow: 0 12px 30px rgba(6, 26, 61, .15);
}

.vision-card {
    background: #f8fafc;
    color: #222;
    border: 1px solid #dbe3ef;
    border-top: 5px solid #f4b400;
    box-shadow: 0 12px 30px rgba(6, 26, 61, .08);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-6px);
}

.mission-icon,
.vision-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.mission-icon {
    background: #f4b400;
    color: #061a3d;
}

.vision-icon {
    background: #061a3d;
    color: #f4b400;
}

.mission-label,
.vision-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.mission-label {
    color: #f4b400;
}

.vision-label {
    color: #061a3d;
}

.mission-card h3,
.vision-card h3 {
    font-size: 25px;
    font-weight: 800;
    margin: 5px 0 15px;
}

.mission-card h3 {
    color: #fff;
}

.vision-card h3 {
    color: #061a3d;
}

.mission-card p,
.vision-card p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.mission-card p {
    color: #dbe5f2;
}

.vision-card p {
    color: #555;
}

/* =========================================
   COURSE CARDS
========================================= */

.course-card {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    transition: .4s;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: #f4b400;
    box-shadow: 0 15px 35px rgba(6, 26, 61, .12);
}

.course-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #eaf0fa;
    color: #061a3d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 32px;
}

.course-card h3 {
    color: #061a3d;
    font-weight: 800;
    margin-top: 18px;
}

.course-btn {
    background: #061a3d;
    color: #fff;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 600;
}

.course-btn:hover {
    background: #f4b400;
    color: #061a3d;
}

/* =========================================
   COURSES HIGHLIGHT
========================================= */

.courses-highlight {
    padding: 25px 30px;
    background: #061a3d;
    border-radius: 16px;
    text-align: center;
}

.courses-highlight h4 {
    color: #f4b400;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
}

.course-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.course-badges span {
    background: #f4b400;
    color: #061a3d;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
}

.course-badges i {
    margin-right: 5px;
}

/* =========================================
   MANAGEMENT & COMMITTEES
========================================= */

.management-section {
    background: #fff;
}

.committee-card {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(6, 26, 61, .06);
    transition: .3s;
    height: 100%;
}

.committee-card:hover {
    box-shadow: 0 15px 35px rgba(6, 26, 61, .12);
    border-color: #f4b400;
}

.committee-header {
    background: #061a3d;
    color: #fff;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.committee-header i {
    font-size: 22px;
    color: #f4b400;
}

.committee-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
}

.committee-table thead th {
    background: #f1f5f9;
    color: #061a3d;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.committee-table tbody td {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.committee-table tbody tr:hover {
    background: #f8fafc;
}

.committee-table tbody tr:last-child td {
    border-bottom: none;
}

.committee-table .sn-col {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: #64748b;
}

.committee-table .designation-badge {
    background: #eaf0fa;
    color: #061a3d;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================
   FACULTY & STAFF
========================================= */

.staff-section {
    background: #f5f7fb;
}

.faculty-card {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    transition: .3s;
    height: 100%;
    box-shadow: 0 8px 25px rgba(6, 26, 61, .05);
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(6, 26, 61, .12);
    border-color: #f4b400;
}

.faculty-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061a3d, #274c77);
    color: #f4b400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    font-weight: 800;
}

.faculty-card h5 {
    color: #061a3d;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 5px;
}

.faculty-card .faculty-subject {
    color: #f4b400;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 3px;
}

.faculty-card .faculty-designation {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.faculty-card .faculty-email {
    font-size: 12px;
    color: #274c77;
}

.faculty-card .faculty-email a {
    color: #274c77;
    text-decoration: none;
}

.faculty-card .faculty-email a:hover {
    color: #f4b400;
}

.staff-list-card {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    transition: .3s;
}

.staff-list-card:hover {
    border-color: #f4b400;
    box-shadow: 0 5px 15px rgba(6, 26, 61, .08);
}

.staff-list-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eaf0fa;
    color: #061a3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    min-width: 45px;
}

.staff-list-card h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #061a3d;
}

.staff-list-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* =========================================
   LIBRARY SECTION
========================================= */

.library-section {
    background: #fff;
}

.library-card {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(6, 26, 61, .06);
    transition: .3s;
    height: 100%;
}

.library-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 26, 61, .12);
    border-color: #f4b400;
}

.library-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.library-icon.primary {
    background: #061a3d;
    color: #f4b400;
}

.library-icon.secondary {
    background: #f4b400;
    color: #061a3d;
}

.library-card h4 {
    color: #061a3d;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.library-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.library-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.library-feature:last-child {
    border-bottom: none;
}

.library-feature i {
    color: #f4b400;
    font-size: 18px;
    min-width: 25px;
}

.library-feature span {
    font-size: 14px;
    color: #334155;
}

/* =========================================
   SPORTS & CULTURAL
========================================= */

.sports-section {
    background: #061a3d;
}

.sports-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(244, 180, 0, .2);
    border-radius: 18px;
    padding: 35px;
    transition: .3s;
    height: 100%;
}

.sports-card:hover {
    background: rgba(255, 255, 255, .08);
    border-color: #f4b400;
    transform: translateY(-5px);
}

.sports-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: #f4b400;
    color: #061a3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.sports-card h4 {
    color: #f4b400;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.sports-card p {
    color: #dbe5f2;
    font-size: 14px;
    line-height: 1.8;
}

.sports-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sports-list li {
    color: #e5eaf2;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sports-list li:last-child {
    border-bottom: none;
}

.sports-list li i {
    color: #f4b400;
    margin-right: 10px;
    font-size: 16px;
}

/* =========================================
   BENEFITS
========================================= */

.benefits-box {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 15px;
    padding: 25px;
}

.benefit {
    padding: 12px 5px;
    font-size: 16px;
    font-weight: 500;
}

.benefit i {
    color: #061a3d;
    margin-right: 10px;
}

/* =========================================
   WHY CHOOSE
========================================= */

.choose-box {
    background: #fff;
    border: 1px solid #d8e1ed;
    border-radius: 15px;
    height: 100%;
    padding: 25px 10px;
    text-align: center;
}

.choose-box h2 {
    color: #061a3d;
    font-size: 30px;
    font-weight: 800;
}

.choose-box i {
    font-size: 35px;
    color: #061a3d;
    margin-bottom: 10px;
}

.choose-box p {
    margin: 0;
    font-size: 14px;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    background: #061a3d;
    color: #fff;
    padding: 40px 0;
}

.contact-title {
    color: #f4b400;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item i {
    color: #f4b400;
    width: 30px;
}

.phone {
    color: #f4b400;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.phone:hover {
    color: #fff;
}

.office-hours {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(244, 180, 0, .2);
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 10px;
}

.office-hours-title {
    color: #f4b400;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 5px;
}

.office-hours p {
    color: #dbe5f2;
    font-size: 13px;
    margin: 0;
}

/* =========================================
   APPLY BOX
========================================= */

.apply-box {
    border: 2px dashed #f4b400;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
}

.apply-box h3 {
    color: #f4b400;
    font-size: 20px;
    font-weight: 800;
}

.call-btn {
    background: #f4b400;
    color: #061a3d !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 22px;
    border: 2px solid #f4b400;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.call-btn:hover,
.call-btn:focus {
    background: #ffffff;
    color: #061a3d !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.35);
}

.online-btn {
    background: #ffffff;
    color: #061a3d !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 22px;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.online-btn:hover,
.online-btn:focus {
    background: #f4b400;
    color: #061a3d !important;
    border-color: #f4b400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.4);
}

.course-btn {
    background: #061a3d;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 22px;
    border: 2px solid #061a3d;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.course-btn:hover,
.course-btn:focus {
    background: #f4b400;
    color: #061a3d !important;
    border-color: #f4b400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.4);
}

/* =========================================
   MAP
========================================= */

.map-box {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    padding: 5px;
}

.map-box iframe {
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: 10px;
}

.map-btn {
    background: #061a3d;
    color: #ffffff !important;
    border: 2px solid #f4b400;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.map-btn:hover,
.map-btn:focus {
    background: #f4b400;
    color: #061a3d !important;
    border-color: #f4b400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.4);
}

/* =========================================
   FOUNDER SECTION
========================================= */

.founder-section {
    background: #061a3d;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
}

.founder-section:before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(244, 180, 0, .07);
    right: -100px;
    top: -150px;
}

.founder-card {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 25px;
    border: 1px solid rgba(244, 180, 0, .35);
    border-radius: 15px;
    background: rgba(255, 255, 255, .04);
}

.founder-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4b400;
    color: #061a3d;
    font-size: 30px;
}

.founder-label {
    display: block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.founder-card h3 {
    color: #fff;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 700;
}

.mission-box {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 10px 20px;
}

.mission-box h3 {
    color: #f4b400;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 18px;
}

.mission-box h3 i {
    margin-right: 8px;
}

.mission-box p {
    color: #e5eaf2;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   FOOTER
========================================= */

footer {
    background: #030d20;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 4px;
    color: #cbd5e1;
}

.footer-links a {
    color: #f4b400;
    text-decoration: none;
    margin: 0 12px;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
    .college-name {
        font-size: 17px;
    }
    .college-subtitle {
        font-size: 11px;
    }
    .logo {
        width: 65px;
        height: 65px;
    }
    .hero {
        padding: 45px 15px;
        text-align: center;
    }
    .admission-script {
        font-size: 40px;
    }
    .hero-title {
        font-size: 55px;
    }
    .college-slider {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .committee-card {
        margin-bottom: 20px;
    }
    .committee-table {
        font-size: 12px;
    }
    .committee-table thead th,
    .committee-table tbody td {
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .college-name {
        font-size: 14px;
    }
    .college-subtitle {
        font-size: 9px;
    }
    .logo {
        width: 55px;
        height: 55px;
    }
    .admission-script {
        font-size: 32px;
    }
    .hero-title {
        font-size: 45px;
    }
    .hero-description {
        font-size: 15px;
    }
    .college-slider .carousel-item {
        height: 280px;
    }
    .college-slider img {
        height: 280px;
    }
    .carousel-caption h3 {
        font-size: 18px;
    }
    .carousel-caption p {
        font-size: 12px;
    }
    .section-title {
        font-size: 27px;
    }
    .leader-card {
        min-height: 350px;
        padding: 30px 20px;
    }
    .founder-photo-wrap {
        width: 140px;
        height: 140px;
    }
    .leader-card h3 {
        font-size: 20px;
    }
    .mission-card,
    .vision-card {
        padding: 25px 20px;
        flex-direction: column;
    }
    .mission-icon,
    .vision-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 23px;
    }
    .about-card,
    .principal-card {
        padding: 25px 20px;
    }
    .about-card h3,
    .principal-card h3 {
        font-size: 20px;
    }
    .about-card p,
    .principal-card p,
    .mission-box p {
        font-size: 14px;
    }
    .founder-section {
        padding: 20px;
        border-radius: 15px;
    }
    .mission-box {
        padding: 10px 0;
    }
    .mission-box h3 {
        font-size: 21px;
    }
    .founder-card h3 {
        font-size: 19px;
    }
    .library-card {
        padding: 25px 20px;
    }
    .sports-card {
        padding: 25px 20px;
    }
}

/* =========================================
   PDF DOCUMENT & EXTRACTED IMAGE STYLING
========================================= */

.pdf-doc-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(6, 26, 61, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pdf-doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(6, 26, 61, 0.12);
    border-color: #f4b400;
}

.pdf-doc-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.pdf-doc-img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.pdf-doc-card:hover .pdf-doc-img-wrap img {
    transform: scale(1.05);
}

.pdf-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #061a3d;
    color: #f4b400;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pdf-doc-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pdf-doc-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: #061a3d;
    margin-bottom: 8px;
}

.pdf-doc-body p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
    flex-grow: 1;
}

.pdf-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #061a3d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.pdf-doc-btn:hover {
    background: #f4b400;
    color: #061a3d;
}

.extracted-img-banner {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(6, 26, 61, 0.08);
    background: #ffffff;
    border: 2px solid #f4b400;
}

.extracted-img-banner img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;

}

.emergency-card-pdf {
    background: linear-gradient(135deg, #061a3d 0%, #0f3068 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 12px 30px rgba(6, 26, 61, 0.15);
}

.emergency-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #f4b400;
}

.emergency-icon {
    font-size: 24px;
    color: #f4b400;
    min-width: 35px;
    text-align: center;
}

/* =========================================
   FACULTY PHOTO CARDS
========================================= */

.faculty-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(6, 26, 61, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(6, 26, 61, 0.12);
    border-color: #f4b400;
}

.faculty-photo-wrap {
    width: 120px;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #f4b400;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-photo-wrap img {
    transform: scale(1.06);
}

.faculty-card h5 {
    color: #061a3d;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 6px;
}

.faculty-subject {
    color: #f4b400;
    background: #061a3d;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.faculty-designation {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
    flex-grow: 1;
}

.faculty-email {
    font-size: 12px;
    color: #061a3d;
    word-break: break-all;
}

.faculty-email a {
    color: #061a3d;
    text-decoration: none;
    font-weight: 600;
}

.faculty-email a:hover {
    color: #f4b400;
}

/* =========================================
   NEWS & NOTICES SIDEBAR WIDGETS
========================================= */

.news-widget-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(6, 26, 61, 0.05);
    overflow: hidden;
    height: 100%;
}

.news-widget-header {
    background: #061a3d;
    color: #f4b400;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-widget-list li {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background 0.2s ease;
}

.news-widget-list li:last-child {
    border-bottom: none;
}

.news-widget-list li:hover {
    background: #f8fafc;
}

.news-widget-list li i {
    color: #f4b400;
    margin-top: 3px;
    min-width: 14px;
}

.news-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 6px;
}



/* ===== Shared page-header (was duplicated in each page's <style>) ===== */
.page-header {
    background: linear-gradient(90deg, rgba(4,22,53,.98), rgba(7,39,83,.91));
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}
.page-header h1 { font-size: 38px; font-weight: 800; }
.page-header p { color: #94a3b8; font-size: 16px; max-width: 650px; margin: 10px auto 0; }

/* =========================================
   ACADEMIC PROGRAM LIST FORMAT & TABLE STYLES
========================================= */

.program-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 950px;
    margin: 0 auto;
}

.program-list-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(6, 26, 61, 0.06);
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.program-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(6, 26, 61, 0.12);
    border-color: #f4b400;
}

.program-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 18px;
}

.program-list-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #061a3d;
    color: #f4b400;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(6, 26, 61, 0.15);
}

.program-level-badge {
    background: #061a3d;
    color: #f4b400;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 4px;
}

.program-list-title {
    color: #061a3d;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.program-list-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px 30px;
}

.program-detail-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.program-detail-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #061a3d;
    font-size: 17px;
}

.program-detail-text span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.program-detail-text strong {
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
}

/* Fallback styling for course-table */
.course-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.course-table th {
    background: #061a3d;
    color: #f4b400;
    padding: 14px 18px;
    font-weight: 700;
    text-align: left;
    font-size: 14px;
}

.course-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
}

.course-table tbody tr:last-child td {
    border-bottom: none;
}

.course-table tbody tr:hover {
    background: #f8fafc;
}

