/* ===========================
   Custom CSS for Demo Page
   Black & White Theme
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #555;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 12px;
}

.btn-dark {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.btn-outline-dark {
    background-color: transparent;
    border-color: #000;
    color: #000;
}

.btn-outline-dark:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-light {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}

.btn-light:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
    color: #000;
}

/* ===========================
   Header
   =========================== */

.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Top */
.header-top {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header-top-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.logo-link {
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    max-width: 80px;
    height: auto;
    display: block;
}

.logo-text {
    text-align: center;
}

.logo-text h1 {
    font-size: 17px;
    text-transform: uppercase !important;
    color: #000;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.logo-text p {
    font-size: 9px;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px dotted #000;
    padding: 8px 0;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: fit-content;
}

.header-actions .btn {
    font-size: 13px;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 6px;
    z-index: 1000;
    position: relative;
}

.menu-line {
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
    display: block;
    pointer-events: none;
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #000;
    font-weight: 500;
    height: 60px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.dropdown-toggle::after {
  
  border-top: 0 solid;}
 

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.nav-item.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-item .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #fff !important;
    min-width: 200px !important;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    border-top: 3px solid #000 !important;
    border-radius: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    display: block !important;
    float: none !important;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.dropdown-menu li {
    list-style: none !important;
}

.dropdown-menu a {
    display: block !important;
    padding: 12px 20px !important;
    color: #000 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8 !important;
    padding-left: 25px !important;
    color: #000 !important;
}

.dropdown-menu li:last-child a {
    border-bottom: none !important;
}
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
    padding: 100px 0 80px;
    background-color: #fff;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Features Section
   =========================== */

.features-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #000;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: #000;
    color: #fff;
    margin-top: 60px;
}

/* Footer Middle */
.footer-middle {
    padding: 60px 0 40px;
}

.single-footer {
    margin-bottom: 30px;
}

.single-footer h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.single-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-footer ul li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.single-footer ul li span {
    font-weight: 600;
    color: #fff;
}

.single-footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.single-footer .phone,
.single-footer .mail {
    color: #ccc;
    margin-bottom: 10px;
}

.single-footer .mail a {
    color: #ccc;
    text-decoration: none;
}

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

/* Mobile App Buttons */
.app-btn {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-btn li {
    margin-bottom: 15px;
}

.app-btn li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #222;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn li a:hover {
    background-color: #333;
}

.app-btn li a i {
    font-size: 28px;
}

.app-btn .small-title {
    display: block;
    font-size: 0.7rem;
    color: #ccc;
}

.app-btn .big-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #111;
    padding: 25px 0;
    border-top: 1px solid #333;
}

.footer-bottom .copyright {
    text-align: center;
}

.footer-bottom .copyright p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom .copyright a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

.footer-bottom .copyright a:hover {
    color: #ccc;
}

/* Social Links */
.socila {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.socila li {
    margin: 0;
}

.socila li span {
    color: #ccc;
    font-weight: 600;
}

.socila li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #222;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socila li a:hover {
    background-color: #fff;
    color: #000;
}

.socila li a i {
    font-size: 16px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-middle {
        padding: 40px 0 30px;
    }
    
    .single-footer {
        margin-bottom: 30px;
    }
    
    .single-footer h3 {
        font-size: 1.1rem;
    }
    
    .footer-bottom .copyright {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .socila {
        justify-content: center;
    }
    
    .app-btn li a {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .footer-middle {
        padding: 30px 0 20px;
    }
    
    .single-footer h3 {
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom .copyright p {
        font-size: 0.8rem;
    }
}

/* ===========================
   Main Content
   =========================== */

.main-content {
    min-height: calc(100vh - 200px);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .header-top-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .logo-section {
        width: 100%;
        justify-content: center;
    }

    .logo-text {
        flex: 1;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .header-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Navigation Toggle */
    .menu-toggle {
        display: flex !important;
        order: -1;
        z-index: 1000;
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #fff;
        border-bottom: 1px solid #f0f0f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        height: auto;
        padding: 15px 20px;
        border-bottom: none;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid #000 !important;
        transform: translateX(10px) !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        transform: translateX(0) !important;
    }

    .dropdown-menu a {
        padding-left: 30px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Features */
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        max-width: 60px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .header-actions .btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }
}

/* ===========================
   Utility Classes
   =========================== */

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 15px;
}

.gap-3 {
    gap: 20px;
}

/* ===========================
   Hero Banner with Slider (70-30 Layout)
   =========================== */

.hero-banner-section {
    background-color: #f8f8f8;
    padding: 0;
}

.container-full {
    max-width: 100%;
    padding: 0;
}

.hero-banner-wrapper {
    display: flex;
    min-height: 600px;
}

.hero-slider {
    flex: 0 0 70%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    display: none;
    position: relative;
    height: 600px;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.3);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.slider-btn:hover {
    background-color: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    width: 30px;
    border-radius: 10px;
}

/* Quick Links Sidebar (30%) */
.quick-links-sidebar {
    flex: 0 0 30%;
    background-color: #fff;
    padding: 40px 30px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.quick-links-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #000;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link-card:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quick-link-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #000;
    transition: color 0.3s ease;
}

.quick-link-card:hover i {
    color: #fff;
}

.quick-link-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease;
}

.quick-link-card:hover span {
    color: #fff;
}

/* ===========================
   Section Styling
   =========================== */

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.view-all-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #555;
}

/* ===========================
   Notice Board & Events Combined Section
   =========================== */

/* Uses original single-list styles from main.css */

.event-link:hover {
    color: #555;
}

/* ===========================
   About Institute Section
   =========================== */

.about-section {
    background-color: #fff;
}

.about-content-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 0 0 45%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ===========================
   Principal Message Section
   =========================== */

.principal-message-section {
    background-color: #f8f8f8;
}

.principal-content-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.principal-info {
    flex: 0 0 300px;
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.principal-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #000;
}

.principal-info .designation {
    color: #666;
    font-size: 1rem;
}

.principal-message {
    flex: 1;
}

.message-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.signature {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-top: 30px;
}

/* ===========================
   Admissions Section
   =========================== */

.admissions-section {
    background-color: #fff;
}

.admissions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.admission-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.admission-card:hover {
    background-color: #fff;
    border-color: #000;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.admission-icon {
    font-size: 3rem;
    color: #000;
    margin-bottom: 20px;
}

.admission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #000;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.course-list li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

/* ===========================
   Academics & Research Section
   =========================== */

.academics-section {
    background-color: #f8f8f8;
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.academic-card {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.academic-card i {
    font-size: 3rem;
    color: #000;
    margin-bottom: 20px;
}

.academic-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000;
}

.academic-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ===========================
   Campus Life Section
   =========================== */

.campus-life-section {
    background-color: #fff;
}

.campus-life-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.campus-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.campus-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.campus-image {
    height: 250px;
    overflow: hidden;
}

.campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campus-card:hover .campus-image img {
    transform: scale(1.1);
}

.campus-content {
    padding: 30px;
}

.campus-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #000;
}

.campus-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ===========================
   Media Section
   =========================== */

.media-section {
    background-color: #f8f8f8;
}

.media-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.media-tab {
    padding: 12px 30px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.media-tab:hover {
    background-color: #f5f5f5;
}

.media-tab.active {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.media-tab i {
    margin-right: 8px;
}

.media-content {
    display: none;
}

.media-content.active {
    display: block;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.media-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.media-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.video-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.video-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.video-placeholder i {
    font-size: 4rem;
    color: #000;
    margin-bottom: 15px;
}

.video-placeholder p {
    font-weight: 600;
    color: #000;
}

.podcast-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.podcast-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.podcast-item i {
    font-size: 2.5rem;
    color: #000;
}

.podcast-info {
    flex: 1;
}

.podcast-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000;
}

.podcast-info p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ===========================
   Alumni Section
   =========================== */

.alumni-section {
    background-color: #f8f8f8;
}

.alumni-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.alumni-text {
    width: 100%;
}

.alumni-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.alumni-highlights {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    justify-content: center;
}

.highlight-item {
    text-align: center;
}

.highlight-item i {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 10px;
}

.highlight-item h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #000;
}

.highlight-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.alumni-registration-form {
    flex: 0 0 400px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.alumni-registration-form h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #000;
}

.alumni-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.alumni-form input:focus {
    outline: none;
    border-color: #000;
}

.alumni-form button {
    width: 100%;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .hero-banner-wrapper {
        flex-direction: column;
    }
    
    .hero-slider {
        flex: 0 0 100%;
    }
    
    .quick-links-sidebar {
        flex: 0 0 100%;
    }
    
    .admissions-grid,
    .academics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content-wrapper,
    .principal-content-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 100%;
    }
    
    .principal-info {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .campus-life-grid {
        grid-template-columns: 1fr;
    }
    
    .admissions-grid,
    .academics-grid {
        grid-template-columns: 1fr;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats,
    .alumni-highlights {
        flex-direction: column;
        gap: 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-board-column,
    .events-column {
        padding: 20px;
    }
    
    .notice-card,
    .event-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .notice-date,
    .event-date-badge {
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title::before {
        font-size: 1.2rem;
    }
}

/* ===========================
   Notice, News & Events Section
   =========================== */

.notices-section {
    background-color: #fff;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.notices-section .row {
    display: flex;
    flex-wrap: wrap;
}

.notices-section .col-lg-4,
.notices-section .col-md-4,
.notices-section .col-12 {
    padding: 20px;
    width: 33.333333%;
    flex: 0 0 33.333333%;
}

.notice-card {
    padding: 0;
}

.section-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000;
    display: inline-block;
}

.items-list {
    margin-bottom: 20px;
}

.item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.item:last-child {
    border-bottom: none;
}

.item:hover {
    padding-left: 10px;
}

.item-title {
    margin-bottom: 8px;
}

.item-title a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
}

.item-title a:hover {
    color: #333;
    text-decoration: underline;
}

.item-date {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid #000;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
}

.view-more-btn:hover {
    background-color: #fff;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notices-section {
        padding: 40px 0;
    }
    
    .notices-section .col-lg-4,
    .notices-section .col-md-4,
    .notices-section .col-12 {
        width: 100%;
        flex: 0 0 100%;
        padding: 20px 0;
    }
    
    .section-heading {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .item {
        padding: 12px 0;
    }
    
    .item-title a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .notices-section {
        padding: 30px 0;
    }
    
    .section-heading {
        font-size: 1rem;
    }
    
    .item {
        padding: 10px 0;
    }
    
    .item-title a {
        font-size: 0.85rem;
    }
}

/* ===========================
   Contact Page
   =========================== */

.contact-page-section {
    padding: 80px 0;
}

.contact-info-wrapper {
    background-color: #f8f8f8;
    padding: 40px 30px;
    border-radius: 5px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.contact-details p {
    margin: 5px 0;
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #666;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
}

.contact-form .required {
    color: #ff0000;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form button[type="submit"] {
    padding: 12px 30px;
    font-size: 1rem;
    margin-top: 10px;
}

.contact-form button[type="submit"] i {
    margin-right: 8px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.alert i {
    margin-right: 8px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Map Section */
.map-section {
    margin: 60px 0;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Department Contacts */
.departments-contact-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.department-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.department-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.dept-icon {
    width: 70px;
    height: 70px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.department-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.department-card p {
    margin: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

.department-card p i {
    margin-right: 8px;
    color: #000;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-page-section {
        padding: 60px 0;
    }

    .contact-info-wrapper {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-map iframe {
        height: 350px;
    }

    .departments-contact-section {
        padding: 60px 0;
    }

    .department-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-page-section {
        padding: 40px 0;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 15px;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-form-wrapper h3 {
        font-size: 1.2rem;
    }

    .contact-map iframe {
        height: 300px;
    }

    .dept-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .department-card h4 {
        font-size: 1rem;
    }
}

/* ===========================
   Courses Page
   =========================== */

.courses-page-section {
    padding: 80px 0;
}

.courses-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
}

.course-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.courses-table thead {
    background-color: #000;
    color: #fff;
}

.courses-table thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #333;
}

.courses-table tbody td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    vertical-align: top;
    line-height: 1.6;
}

.courses-table tbody tr {
    transition: background-color 0.3s ease;
}

.courses-table tbody tr:hover {
    background-color: #f8f8f8;
}

.courses-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.courses-table tbody tr:nth-child(even):hover {
    background-color: #f5f5f5;
}

.courses-table tbody td strong {
    color: #000;
    font-weight: 600;
}

/* Courses Notes Section */
.courses-note {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.note-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    border-left: 4px solid #000;
}

.note-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.note-card h4 i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.note-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.note-card ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* CTA Section */
.courses-cta {
    text-align: center;
    background-color: #000;
    color: #fff;
    padding: 50px;
    border-radius: 5px;
    margin-top: 60px;
}

.courses-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.courses-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
}

.cta-buttons .btn-light {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.cta-buttons .btn-light:hover {
    background-color: #000;
    color: #fff;
    border-color: #fff;
}

/* Responsive Courses Page */
@media (max-width: 768px) {
    .courses-page-section {
        padding: 60px 0;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .courses-table {
        font-size: 0.85rem;
    }

    .courses-table thead th,
    .courses-table tbody td {
        padding: 10px;
    }

    .courses-note {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }

    .note-card {
        padding: 20px;
    }

    .courses-cta {
        padding: 40px 20px;
    }

    .courses-cta h3 {
        font-size: 1.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .courses-intro {
        font-size: 0.95rem;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .courses-table {
        font-size: 0.8rem;
    }

    .courses-table thead th,
    .courses-table tbody td {
        padding: 8px;
    }

    .note-card h4 {
        font-size: 1.05rem;
    }

    .courses-cta h3 {
        font-size: 1.2rem;
    }

    .courses-cta p {
        font-size: 0.95rem;
    }
}

/* ===========================
   Faculty Page
   =========================== */

.faculty-page-section {
    padding: 80px 0;
    background-color: #fff;
}

.faculty-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
}

.faculty-department {
    margin-bottom: 60px;
}

.department-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000;
}

.faculty-subject-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faculty-subject-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
}

.faculty-subject-btn {
    width: 100%;
    padding: 18px 25px;
    background-color: #000;
    color: #fff;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.faculty-subject-btn:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

.faculty-subject-btn .fa {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.subject-name {
    font-family: 'Manrope', sans-serif;
}

.faculty-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f8f8f8;
}

.faculty-list.active {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.faculty-member {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    margin: 15px;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.faculty-member:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faculty-member:last-child {
    border-bottom: none;
}

.faculty-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.faculty-info .designation {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.faculty-info .qualification {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.6;
}

.faculty-info .experience {
    font-size: 0.95rem;
    color: #000;
    font-weight: 600;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .faculty-page-section {
        padding: 50px 0;
    }

    .department-title {
        font-size: 1.5rem;
    }

    .faculty-subject-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faculty-member {
        padding: 20px;
        margin: 10px;
    }

    .faculty-info h4 {
        font-size: 1.1rem;
    }

    .faculty-info .designation {
        font-size: 0.9rem;
    }

    .faculty-info .qualification,
    .faculty-info .experience {
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 480px) {
    .faculty-page-section {
        padding: 40px 0;
    }

    .department-title {
        font-size: 1.3rem;
    }

    .faculty-subject-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .faculty-member {
        padding: 15px;
        margin: 8px;
    }

    .faculty-info h4 {
        font-size: 1rem;
    }
}

/* ===========================
   Faculty Details Page
   =========================== */

.faculty-details-page {
    padding: 80px 0;
    background-color: #fff;
}

.breadcrumb-section {
    margin-bottom: 30px;
}

.breadcrumb-section a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.breadcrumb-section a:hover {
    color: #666;
}

.department-description {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 5px;
    margin-bottom: 50px;
    border-left: 4px solid #000;
}

.department-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.department-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.faculty-table-section {
    margin-bottom: 50px;
}

.table-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000;
}

.faculty-details-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.faculty-details-table thead {
    background-color: #000;
    color: #fff;
}

.faculty-details-table thead th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #333;
}

.faculty-details-table tbody td {
    padding: 20px 12px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    vertical-align: middle;
    line-height: 1.6;
}

.faculty-details-table tbody tr:hover {
    background-color: #f8f8f8;
}

.faculty-details-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.faculty-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #000;
    margin: 0 auto;
}

.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-details-table tbody td strong {
    color: #000;
    font-weight: 600;
    font-size: 1.05rem;
}

.department-contact-cta {
    text-align: center;
    background-color: #000;
    color: #fff;
    padding: 50px;
    border-radius: 5px;
}

.department-contact-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.department-contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #fff;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .faculty-details-page {
        padding: 50px 0;
    }

    .department-description {
        padding: 25px;
    }

    .department-description h3 {
        font-size: 1.5rem;
    }

    .department-description p {
        font-size: 0.95rem;
    }

    .table-heading {
        font-size: 1.5rem;
    }

    .faculty-details-table {
        font-size: 0.85rem;
    }

    .faculty-details-table thead th,
    .faculty-details-table tbody td {
        padding: 10px 8px;
    }

    .faculty-photo {
        width: 80px;
        height: 80px;
    }

    .department-contact-cta {
        padding: 35px 20px;
    }

    .department-contact-cta h3 {
        font-size: 1.5rem;
    }

    .department-contact-cta p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .faculty-details-page {
        padding: 40px 0;
    }

    .department-description {
        padding: 20px;
    }

    .department-description h3 {
        font-size: 1.3rem;
    }

    .table-heading {
        font-size: 1.3rem;
    }

    /* Stack table on mobile */
    .faculty-details-table,
    .faculty-details-table thead,
    .faculty-details-table tbody,
    .faculty-details-table th,
    .faculty-details-table td,
    .faculty-details-table tr {
        display: block;
    }

    .faculty-details-table thead tr {
        display: none;
    }

    .faculty-details-table tbody tr {
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        overflow: hidden;
    }

    .faculty-details-table tbody td {
        text-align: left;
        padding: 12px 15px;
        position: relative;
        padding-left: 45%;
        border-bottom: 1px solid #e0e0e0;
    }

    .faculty-details-table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 40%;
        font-weight: 600;
        color: #000;
    }

    .faculty-photo {
        width: 100px;
        height: 100px;
        margin: 0;
    }

    .faculty-details-table tbody td:first-child {
        padding-left: 15px;
        text-align: center;
    }

    .department-contact-cta h3 {
        font-size: 1.2rem;
    }
}
