* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000;
}
 
/* Container */
.container {
    max-width: 1440px;
    margin: auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #C21717;
    color: #fff;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.top-left {
    font-weight: 300;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.top-right a {
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}

/* Google Translate dropdown */
#google_translate_element select {
    padding: 3px 6px;
    border-radius: 4px;
    border: none;
    font-size: 12px;
    cursor: pointer;
}

/* Header */
.header-main {
    border-bottom: 1px solid #eee;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}

.logo img {
    height: 100px;
}

.college-text {
    flex: 1;
    text-align: center;
}

.college-text h1 {
    color: #C21717;
    font-size: 26px;
    font-weight: 800;
}

.college-text span {
    font-size: 14px;
}

.college-text p {
    font-size: 13px;
}

.header-badges img {
    height: 50px;
    margin-left: 10px;
}

/* Nav */
.main-nav {
    border-top: 2px solid #C21717;
    border-bottom: 2px solid #C21717;
    
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 12px 0;
    
}

.nav-links a {
    font-weight: 500;
    color: #000;
    text-decoration: none !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: #000;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    margin-top: 50px;
}

/* Hide Google branding */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}

/* Responsive */
@media (max-width: 768px) {

    .college-text {
        display: none;
    }

    .header-badges {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
    }

    .nav-links {
        flex-direction: column;
    }
}
/* ===== STICKY HEADER ===== */
body.has-sticky {
    padding-top: 0;
}

.sticky-wrapper {
    position: relative;
    z-index: 999;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    animation: slideDown 0.3s ease;
}

/* Hide top bar when sticky */
.sticky .top-bar {
    display: none;
}

/* Animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
/* Remove underline from top menu links */
.top-bar a {
    text-decoration: none;
}

/* Optional: clean hover effect */
.top-bar a:hover {
    text-decoration: none;
    opacity: 0.9;
}
/* ===== DROPDOWN MENU ===== */
.has-submenu {
    position: relative;
}

.has-submenu > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 340px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 10px 0;
    display: none;
    z-index: 999;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #000;
    white-space: nowrap;
}

.submenu a:hover {
    background: #f5f5f5;
    color: #C21717;
}

/* Desktop Hover */
@media (min-width: 769px) {
    .has-submenu:hover .submenu {
        display: block;
    }
}
/* Mobile submenu */
@media (max-width: 768px) {
    .submenu {
        position: static;
        box-shadow: none;
        min-width: 100%;
        display: none;
    }

    .submenu.open {
        display: block;
    }
}
/* ===== MEGA MENU ===== */
.has-mega {
    position: relative;
}

.has-mega > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mega dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 20px;
    display: none;
    z-index: 999;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mega-menu ul {
    list-style: none;
}

.mega-menu a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    color: #000;
    border-radius: 4px;
}

.mega-menu a:hover {
    background: #f5f5f5;
    color: #C21717;
}

/* Desktop hover */
@media (min-width: 769px) {
    .has-mega:hover .mega-menu {
        display: grid;
    }
}
/* Remove underline from all menu links */
.top-bar a,
.main-menu a,
.mega-menu a {
    text-decoration: none;
}

/* Keep underline removed on hover */
.top-bar a:hover,
.main-menu a:hover,
.mega-menu a:hover {
    text-decoration: none;
}
.submenu {
    min-width: 320px;
}
/* ===== SUB SUB MENU ===== */
.has-sub-submenu {
    position: relative;
}

.sub-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 260px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 6px 0;
    display: none;
    z-index: 1000;
}

.sub-submenu li {
    list-style: none;
}

.sub-submenu a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.sub-submenu a:hover {
    background: #f5f5f5;
    color: #C21717;
}

/* Desktop hover */
@media (min-width: 769px) {
    .has-sub-submenu:hover .sub-submenu {
        display: block;
    }
}
@media (max-width: 768px) {
    .sub-submenu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 15px;
    }

    .sub-submenu.open {
        display: block;
    }
}
/* ===== Accessibility Toolbar ===== */
.accessibility-tools {
    display: flex;
    gap: 6px;
}

.accessibility-tools button {
    background: #f3f3f3;
    border: 1px solid #ddd;
    padding: 4px 8px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

.accessibility-tools button:hover {
    background: #C21717;
    color: #fff;
}

/* High contrast mode */
body.high-contrast {
    background: #000;
    color: #fff;
}

body.high-contrast a {
    color: #FFD700;
}

body.high-contrast header,
body.high-contrast nav {
    background: #000;
}

/* Mobile */
@media (max-width: 768px) {
    .accessibility-tools {
        display: none;
    }
}
/* ===== MAIN NAV BAR ===== */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
}

.main-nav .container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}
.main-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.main-menu li {
    list-style: none;
    position: relative;
}
.main-menu > li > a {
    font-size: 14.5px;
    font-weight: 600;
    color: #111;
    padding: 8px 4px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline animation (modern) */
.main-menu > li > a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #C21717;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.main-menu > li:hover > a {
    color: #C21717;
}

.main-menu > li:hover > a::after {
    width: 100%;
}
.submenu,
.mega-menu,
.sub-submenu {
    animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.submenu a,
.mega-menu a,
.sub-submenu a {
    font-size: 13.5px;
    font-weight: 500;
}
.main-nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .main-menu {
        flex-direction: column;
        background: #fff;
        width: 100%;
        padding: 15px;
        border-radius: 8px;
    }

    .main-menu li a {
        padding: 12px 10px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-menu li:last-child a {
        border-bottom: none;
    }
}
/* ===== REMOVE UNDERLINE FROM MAIN NAV ===== */
.main-menu > li > a::after {
    display: none !important;
}
.main-menu a,
.submenu a,
.mega-menu a,
.sub-submenu a {
    text-decoration: none !important;
}
/* Remove underline from parent nav items */
.main-menu > li > a {
    text-decoration: none !important;
}

.main-menu > li > a::after {
    display: none !important;
}
<i class="fa fa-chevron-down"></i>
<i class="fa fa-angle-right"></i>
/* Hide dropdown arrow icons in main nav */
.main-menu > li > a i {
    display: none !important;
}
/* ================================
   REMOVE UNDERLINE FROM MAIN NAV
================================ */

/* Kill underline / hover line */
.main-menu > li > a,
.main-menu > li > a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Remove underline pseudo element */
.main-menu > li > a::before,
.main-menu > li > a::after {
    content: none !important;
    display: none !important;
}
/* ================================
   REMOVE DROPDOWN ARROWS
================================ */

.main-menu > li > a::after {
    display: none !important;
    content: none !important;
}
.has-submenu::after,
.menu-item-has-children::after {
    display: none !important;
    content: none !important;
}
/* Smooth transition for main nav links */
.main-menu > li > a {
    transition: 
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}
/* Hover effect */
.main-menu > li:hover > a {
    color: #C21717;
    transform: translateY(-2px);
}
/* Dropdown animation */
.submenu,
.mega-menu,
.sub-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}
.has-submenu:hover .submenu,
.has-mega:hover .mega-menu,
.has-sub-submenu:hover .sub-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

/* ================= LATEST ANNOUNCEMENT ================= */
.announcement-bar {
    width: 100%;
    background: #f9f9f9;
    border-top: 2px solid #C21717;
    border-bottom: 2px solid #C21717;
}

.announcement-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.announcement-title {
    background: #C21717;
    color: #fff;
    padding: 14px 24px;
    font-weight: 700;
    white-space: nowrap;
    font-size: 14px;
}

.announcement-marquee {
    flex: 1;
    overflow: hidden;
    padding: 0 20px;
}

.announcement-track {
    display: flex;
    gap: 60px;
    animation: scrollAnnouncement 22s linear infinite;
    align-items: center;
}

.announcement-track span {
    font-size: 14px;
    color: #111;
    white-space: nowrap;
    text-align: center;
}

/* Animation */
@keyframes scrollAnnouncement {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-title {
        font-size: 12px;
        padding: 12px 16px;
    }

    .announcement-track span {
        font-size: 13px;
    }
}
/* Right side Read All */
.announcement-read {
    background: #fff;
    padding: 0 20px;
    white-space: nowrap;
}

.announcement-read a {
    color: #C21717;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-read a:hover {
    color: #000;
}

/* Layout fix */
.announcement-container {
    display: flex;
    align-items: center;
}

/* Pause on hover (already works, reinforced) */
.announcement-bar:hover .announcement-track {
    animation-play-state: paused;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .announcement-read {
        display: none;
    }
}
/* Individual announcement item */
.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* Date box styling */
.date-box {
    background: transparent;
    color: #C21717;              /* Website main color */
    font-size: 13px;
    font-weight: 700;            /* Bold date */
    min-width: 95px;             /* Constant width */
    text-align: center;
    padding: 4px 6px;
    border-right: 2px solid #C21717;
}

/* Announcement text */
.announcement-text {
    font-size: 14px;
    font-weight: 500;
    color: #111;
}
/* ===== Announcement Label (Modern Ribbon) ===== */
.announcement-label {
    background: #C21717;
    padding: 0 24px;
    display: flex;
    align-items: center;
    position: relative;
}

.announcement-label span {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 44px;
}

/* Ribbon arrow effect */
.announcement-label::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 18px solid #C21717;
}
/* ================= NOTICE / BULLETIN SECTION ================= */

.notice-section {
    background: #fdeee4;
    padding: 60px 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: auto;
}

.notice-card {
    background: #fff;
    border-radius: 14px;
    padding: 0 25px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.notice-header {
    background: #1f3d44;
    color: #fff;
    padding: 16px;
    margin: 0 -25px 15px;
    text-align: center;
    border-radius: 14px 14px 0 0;
}

.notice-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.notice-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.notice-tabs span {
    cursor: pointer;
}

.notice-tabs .active {
    color: #c21717;
}

.notice-item,
.event-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.date-box {
    background: #f1d5b5;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    min-width: 70px;
}

.date-box strong {
    display: block;
    font-size: 22px;
    color: #9b5c00;
}

.date-box span {
    font-size: 12px;
    font-weight: 600;
}

.notice-item p,
.event-item p {
    font-size: 14px;
    line-height: 1.4;
}

.bulletin-list {
    list-style: none;
    padding-left: 0;
}

.bulletin-list li {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.btn-read {
    margin: auto;
    margin-top: 25px;
    background: #1f3d44;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-read:hover {
    background: #163036;
}

/* Responsive */
@media (max-width: 992px) {
    .notice-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== NOTICE TABS ===== */
.notice-tabs span {
    cursor: pointer;
    position: relative;
    padding-bottom: 6px;
}

.notice-tabs .active {
    color: #c21717;
}

.notice-tabs .active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #c21717;
    left: 0;
    bottom: 0;
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* LEFT SIDE */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principal-card,
.ranking-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.principal-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.principal-card h4 {
    margin: 10px 0 5px;
}

.principal-card span {
    font-size: 14px;
    color: #777;
}

.btn-outline {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    border-radius: 30px;
    background: #d6b65c;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.ranking-card img {
    width: 100%;
    border-radius: 12px;
}

.ranking-card p {
    font-size: 20px;
    margin-top: 10px;
}

/* RIGHT SIDE */
.about-right h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.7;
    font-size: 15px;
    color: #333;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #d6b65c;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    margin-bottom: 40px;
}

/* FEATURES */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    background: #fff;
    border-radius: 14px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
}

.feature-box img {
    width: 48px;
    margin-bottom: 10px;
}

.feature-box p {
    font-weight: 600;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===============================
   ABOUT SECTION (BEAUTIFIED)
================================ */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* LEFT COLUMN */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.principal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.principal-card:hover {
    transform: translateY(-6px);
}

.principal-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

.principal-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.principal-card span {
    font-size: 14px;
    color: #666;
}

.ranking-card {
    background: linear-gradient(135deg, #b51212, #e1b75a);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ranking-card img {
    width: 60%;
    margin-bottom: 10px;
}

/* RIGHT COLUMN */
.about-right .section-tag {
    display: inline-block;
    background: #f5e6d1;
    color: #9c6b0b;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-right h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-right p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: #C21717;
    color: #fff;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #a81414;
}

.btn-outline {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 22px;
    border: 2px solid #C21717;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #C21717;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #C21717;
    color: #fff;
}

/* FEATURES */
.about-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    background: #ffffff;
    padding: 22px 10px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-box img {
    width: 42px;
    margin-bottom: 10px;
}

.feature-box span {
    font-size: 14px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}
.principal-card .btn-outline {
    display: inline-block;   /* ensures block-like behavior */
    margin-top: 16px;        /* spacing from text */
}
.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-decoration: none;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.quick-link img {
    width: 38px;
    height: auto;
}

.quick-link span {
    font-size: 16px;
    white-space: nowrap;
}

/* Hover effect */
.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    color: #c21717;
}
/* ==============================
   FACILITIES SECTION
============================== */

.facilities-section {
    padding: 80px 0;
    background: #fff6ec;
}

.facilities-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* LEFT IMAGE */
.facility-preview {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.facility-preview img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* RIGHT CONTENT */
.facility-list .section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.facility-list .section-subtitle {
    color: #666;
    margin-bottom: 25px;
}

/* FACILITY ITEM */
.facility-item {
    padding: 18px 22px;
    background: #fff;
    border-radius: 14px;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    border-left: 4px solid transparent;
}

.facility-item h4 {
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
}

.facility-item p {
    font-size: 14px;
    color: #555;
}

.facility-item:hover,
.facility-item.active {
    transform: translateX(6px);
    border-left-color: #c21717;
    background: #fffdfb;
}

/* Hover image zoom */
.facility-item:hover ~ .facility-preview img {
    transform: scale(1.04);
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facility-preview img {
        height: 300px;
    }
}
/* ===============================
   INNER PAGE HERO
================================ */
.inner-hero {
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.inner-hero-overlay {
    background: rgba(0,0,0,0.45);
    height: 100%;
    display: flex;
    align-items: center;
}

.inner-hero h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.inner-hero h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    max-width: 900px;
}

/* ===============================
   INNER CONTENT
================================ */
.inner-content {
    background: #f1f3f6;
    padding: 60px 0;
}

.content-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.content-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

/* Highlight box */
.highlight-box {
    background: #eef5ff;
    border-left: 5px solid #2f6fed;
    padding: 20px 25px;
    margin-top: 25px;
    border-radius: 8px;
}

.highlight-box p {
    margin-bottom: 10px;
    font-size: 15px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .inner-hero {
        height: 260px;
    }

    .inner-hero h1 {
        font-size: 24px;
    }

    .content-card {
        padding: 25px;
    }
}
.inner-hero-overlay {
    background: rgba(0,0,0,0.45);
    height: 100%;
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: flex-start; /* LEFT align horizontally */
}

.inner-hero .container {
    text-align: left;        /* ensure text is left aligned */
}
/* ===============================
   PRINCIPAL MESSAGE PAGE
================================ */

.principal-message-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* LEFT PROFILE CARD */
.principal-profile {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.principal-profile img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.principal-profile h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.principal-profile .designation {
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
}

/* MESSAGE CONTENT */
.principal-message {
    background: #fff;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.principal-message h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
}

.principal-message p {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 16px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .principal-message-wrapper {
        grid-template-columns: 1fr;
    }

    .principal-profile {
        max-width: 360px;
        margin: auto;
    }
}
/* ===============================
   VISION & MISSION PAGE
================================ */

.vision-mission-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Card */
.vm-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Icon */
.vm-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Headings */
.vm-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #111;
}

/* Text */
.vm-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .vision-mission-wrapper {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 30px 25px;
    }
}
/* ===============================
   GOALS & OBJECTIVES CARD
================================ */

.vm-goals-card {
    margin-top: 50px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 45px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.vm-goals-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

/* List styling */
.goals-list {
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: auto;
}

.goals-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* Custom bullet */
.goals-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #C21717;
    font-weight: bold;
}
/* ===============================
   GOVERNING BODY PAGE
================================ */

.gb-block {
    margin-top: 30px;
}

.gb-block summary {
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 15px;
    background: #f4f6f9;
    border-radius: 8px;
}

.gb-block[open] summary {
    background: #e9eef5;
}

/* Table */
.gb-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.gb-table th,
.gb-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.gb-table th {
    background: #f1f3f6;
    font-weight: 700;
}

/* List */
.gb-list {
    margin-top: 15px;
    padding-left: 20px;
}

.gb-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .gb-table {
        font-size: 13px;
    }

    .gb-block summary {
        font-size: 16px;
    }
}
/* ===============================
   ALL PRINCIPAL NAMES PAGE
================================ */

.principal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.principal-table th,
.principal-table td {
    border: 1px solid #ddd;
    padding: 12px 14px;
    vertical-align: top;
}

.principal-table th {
    background: #f1f3f6;
    font-weight: 700;
}

.principal-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Profile link */
.profile-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #C21717;
    text-decoration: none;
}

.profile-link:hover {
    text-decoration: underline;
}

/* Responsive table */
.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .principal-table {
        font-size: 14px;
    }
}
/* ===============================
   PAGE VIDEO SECTION
================================ */

.page-video-section {
    padding: 70px 0;
    background: #f1f3f6;
}

.video-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    max-width: 1000px;
    margin: auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    text-align: center;
}

.video-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
}

/* Responsive iframe */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 14px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* ===============================
   SOCIETIES & FORUMS PAGE
================================ */

.page-intro {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

.society-item {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.society-item:last-child {
    border-bottom: none;
}

.society-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.society-item p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
/* ===============================
   ACADEMIC MANAGEMENT COMMITTEES
================================ */

.committee-block {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.committee-block:last-child {
    border-bottom: none;
}

.committee-block h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}

.committee-block p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.committee-block ul {
    padding-left: 22px;
}

.committee-block ul li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 4px;
}
/* ===============================
   STAFF TABLE
================================ */

.staff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.staff-table th {
    background: #C21717;
    color: #fff;
    padding: 12px;
    font-size: 14px;
    text-align: left;
}

.staff-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.staff-table tr:nth-child(even) {
    background: #fafafa;
}

.staff-table tr:hover {
    background: #fff3f3;
}

/* Mobile */
@media (max-width: 768px) {
    .staff-table th,
    .staff-table td {
        font-size: 13px;
        padding: 8px;
    }
}
/* ===============================
   INNER CONTENT STYLES
================================ */

.inner-content {
    padding: 70px 0;
    background: #f6f7fb;
}

.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.content-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.content-card h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.info-list,
.bullet-list,
.sub-bullet-list,
.cca-list {
    padding-left: 18px;
    margin-top: 10px;
}

.bullet-list li,
.sub-bullet-list li,
.cca-list li {
    margin-bottom: 8px;
    font-size: 15px;
}

.sub-bullet-list {
    margin-top: 8px;
}

.muted-text {
    font-size: 14px;
    color: #666;
}

.highlight-card {
    border-left: 6px solid #C21717;
    background: #fff8f8;
}

/* Mobile */
@media (max-width: 768px) {
    .content-card {
        padding: 20px;
    }

    .content-card h2 {
        font-size: 20px;
    }
}
/* ===============================
   SUBJECT CODE DISPLAY
================================ */

.subject-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: start;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f9f9fb;
    border-radius: 6px;
}

.subject-code {
    font-weight: 700;
    color: #C21717;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px 0;
    font-size: 14px;
}

.subject-name {
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

/* Mobile */
@media (max-width: 768px) {
    .subject-row {
        grid-template-columns: 60px 1fr;
    }

    .subject-code {
        font-size: 13px;
    }

    .subject-name {
        font-size: 14px;
    }
}
.subject-row{
    display:grid;
    grid-template-columns:80px 1fr;
    gap:12px;
    padding:8px 12px;
    background:#f9f9fb;
    border-radius:6px;
    margin-bottom:6px;
}
.subject-code{
    font-weight:700;
    color:#C21717;
    text-align:center;
    background:#fff;
    border:1px solid #ddd;
    border-radius:4px;
    padding:6px 0;
}
.subject-name{
    font-size:15px;
    line-height:1.6;
}
/* ===============================
   POST GRADUATION
================================ */

.pg-programme-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pg-card {
    background: #f9f9fb;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.pg-number {
    display: inline-block;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 50%;
    background: #C21717;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.pg-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .pg-card {
        padding: 20px;
    }
}
/* ===============================
   BVOC PROGRAMMES
================================ */

.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.download-link {
    display: inline-block;
    padding: 12px 18px;
    background: #f9f9fb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #111;
    transition: all 0.3s ease;
}

.download-link:hover {
    background: #C21717;
    color: #fff;
    border-color: #C21717;
    transform: translateX(4px);
}

/* Mobile */
@media (max-width: 768px) {
    .download-link {
        font-size: 14px;
        padding: 10px 14px;
    }
}
/* ===============================
   CERTIFICATE COURSES
================================ */

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.certificate-item {
    background: #f9f9fb;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.course-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
    font-size: 15px;
}

.course-info div {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    .certificate-item {
        padding: 15px;
        font-size: 14px;
    }
}
/* ===============================
   RUSA PAGE
================================ */

.rusa-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.rusa-list li {
    background: #f9f9fb;
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 14px;
    line-height: 1.6;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.rusa-link {
    display: inline-block;
    margin-left: 6px;
    font-weight: 600;
    color: #C21717;
    text-decoration: none;
}

.rusa-link:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .rusa-list li {
        padding: 14px;
        font-size: 14px;
    }
}
/* ===============================
   FACULTY PROFILES
================================ */

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: #fff;
    border-radius: 14px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.faculty-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.faculty-card h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.faculty-card .designation {
    font-size: 14px;
    color: #666;
}

.view-profile-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: #C21717;
    color: #fff;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
}

/* ===== PROFILE PAGE ===== */

.faculty-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.faculty-left {
    text-align: center;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.faculty-left img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.faculty-left h2 {
    font-size: 22px;
}

.faculty-left .designation {
    color: #777;
    margin-bottom: 12px;
}

.contact-info p {
    font-size: 14px;
}

.faculty-right {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section h3 {
    color: #C21717;
    margin-bottom: 8px;
    font-size: 17px;
}

.profile-section ul {
    padding-left: 18px;
}

/* Mobile */
@media (max-width: 768px) {
    .faculty-profile {
        grid-template-columns: 1fr;
    }
}
.page-section {
    padding: 60px 0;
    background: #fafafa;
}

.page-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.committee-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.committee-card h3 {
    color: #c21717;
    margin-bottom: 10px;
    font-size: 20px;
}

.committee-card ul {
    padding-left: 18px;
}

.committee-card ul li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.tdc-center-image {
    display: flex;
    justify-content: left;
    align-items: left;
    margin: 40px 0;
}

.tdc-center-image img {
    max-width: 100%;
    width: 800px;           /* adjust if needed */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
/* Admission Hero */
.admission-hero {
    background: linear-gradient(120deg, #c21717, #7a0f0f);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.admission-hero h1 {
    font-size: 38px;
    font-weight: 800;
}

.admission-hero h2 {
    font-size: 28px;
    margin: 10px 0;
}

.admission-hero p {
    max-width: 700px;
    margin: 15px auto 30px;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background: #fff;
    color: #c21717;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
}

/* Admission Cards */
.admission-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.admission-card h2 {
    color: #c21717;
    margin-bottom: 20px;
}

.roadmap li {
    margin-bottom: 10px;
    font-size: 16px;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
}

.doc-table th, .doc-table td {
    border: 1px solid #eee;
    padding: 12px;
}

.doc-table th {
    background: #f8f8f8;
}

.highlight {
    background: #fff7f0;
    border-left: 6px solid #c21717;
}

.why-list li {
    margin-bottom: 8px;
}

.note {
    background: #fff4e5;
    padding: 15px;
    border-radius: 8px;
}

.contact-box p {
    margin: 6px 0;
}
.hero-slider img {
    filter: none !important;
    transform: none !important;
}
/* ===============================
   PHOTO GALLERY
================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}
/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Animation */
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.faculty-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 15px;
}

.faculty-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.faculty-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.view-profile {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}
.profile-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.profile-header {
    text-align: center;
}

.profile-header img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-section {
    margin-top: 30px;
}

.profile-section h3 {
    border-bottom: 2px solid #eef1f5;
    padding-bottom: 6px;
}
.profile-back-wrapper {
    max-width: 900px;
    margin: 30px auto 10px;
    padding: 0 20px;
}

.back-to-dept {
    display: inline-block;
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.back-to-dept:hover {
    text-decoration: underline;
}
.faculty-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* GRID */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* CARD */
.faculty-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* IMAGE */
.faculty-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* TEXT */
.faculty-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
}
m
.faculty-info p {
    margin: 0 0 8px;
    color: #444;
}

/* BUTTON */
.view-profile {
    display: inline-block;
    padding: 6px 14px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }
}
/* Hide top bar on mobile */
@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
}
/* ===== FORCE MOBILE MENU VISIBILITY FIX ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .main-nav[style*="block"] {
        display: block !important;
    }
}
@media (max-width: 768px) {
    .submenu.open,
    .sub-submenu.open,
    .mega-menu.open {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: white;
    transition: 0.3s;
    z-index: 9999;
}

.mobile-nav.open {
    right: 0;
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
        width: 100%;
        background: #fff;
    }

    .main-nav.open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        padding: 15px;
    }
}
/* ===============================
   BEST PRACTICES PAGE STYLES
================================ */

.content-card h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #C21717;
}

.content-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px;
    color: #222;
}

.content-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #444;
}

.content-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    text-align: justify;
}

.content-card ul {
    margin: 10px 0 18px 22px;
    padding-left: 10px;
}

.content-card ul li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 6px;
    color: #333;
}

/* Highlight section titles */
.content-card h1:first-of-type {
    border-bottom: 3px solid #C21717;
    padding-bottom: 8px;
}

/* Section separation */
.content-card h2 {
    border-left: 4px solid #C21717;
    padding-left: 10px;
}

/* Improve long reading comfort */
.content-card {
    max-width: 1200px;
    margin: auto;
}

/* Mobile readability */
@media (max-width: 768px) {
    .content-card h1 {
        font-size: 22px;
    }

    .content-card h2 {
        font-size: 18px;
    }

    .content-card h3 {
        font-size: 16px;
    }

    .content-card p,
    .content-card ul li {
        font-size: 14px;
    }
}
.icon-links-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.icon-links-container {
    max-width: 1440px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.icon-card {
    background: #fff;
    padding: 30px 10px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    cursor: pointer;
}

.icon-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.icon-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}
/* ===============================
   RECENT EVENTS SECTION
================================ */

.events-section {
    padding: 70px 0;
    background: #f6f7fb;
}

.events-section .section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 6px;
}

.events-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-card h3 {
    font-size: 18px;
    font-weight: 700;
    padding: 16px 18px 10px;
    flex: 1;
}

.event-link {
    margin: 0 18px 18px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: #C21717;
    text-decoration: none;
}

.event-link:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card img {
        height: 200px;
    }
}
/* View All Events Button */
.events-view-all {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 34px;
    background: #C21717;
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #a81414;
    transform: translateY(-2px);
}
