﻿/* --- CSS VARIABLES (कलर थीम) --- */
:root {
    --primary-green: #1b4d3e; /* गहरा हरा - प्रकृति और खेती का प्रतीक */
    --accent-gold: #e6b800; /* सुनहरा/पीला - फसलों और समृद्धि का प्रतीक */
    --light-bg: #f9fbf9; /* हल्का बैकग्राउंड */
    --white: #ffffff;
    --text-dark: #222222;
    --transition: all 0.3s ease;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
}

/* --- NAVBAR STYLES --- */
.navbar {
    background-color: var(--primary-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* कॉलेज लोगो और नाम */
/* =======================================================
   COLLEGE LOGO FRAME OVERHAUL CONTROLLER
   ======================================================= */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    height: 100%; /* Symmetrical vertical boundary alignments */
}

/* SMART LOGO SCALER FRAME: 45px se badha kar crisp bold look setup kar diya */
.custom-nav-logo {
    height: 85px !important; /* Optimal height to make details fully visible */
    width: auto !important; /* Auto scales width accurately without squeezing elements */
    max-height: 70px !important;
    display: inline-block;
    object-fit: contain; /* Keeps original dimensions vector safe */
    margin-right: 12px;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.15)); /* Soft shadow for readability */
    transition: transform 0.3s ease;
}

    .custom-nav-logo:hover {
        transform: scale(1.03); /* Subtle premium interaction feedback */
    }

/* Mobile viewport support configurations rules */
@media screen and (max-width: 768px) {
    .custom-nav-logo {
        height: 50px !important; /* Slightly responsive downsizer so screen does not leak padding */
    }
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--accent-gold);
    display: block;
    text-transform: uppercase;
}

/* नेविगेशन लिंक्स */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 14px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

    .nav-link:hover, .nav-item.active .nav-link {
        color: var(--accent-gold);
    }

/* ड्रॉपडाउन मेनू (Alumni के लिए) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-gold);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 0 0 4px 4px;
}

    .dropdown-menu li a {
        display: block;
        padding: 12px 20px;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 0.9rem;
        transition: var(--transition);
    }

        .dropdown-menu li a:hover {
            background-color: #f1f5f2;
            color: var(--primary-green);
            padding-left: 25px;
        }

/* होवर करने पर ड्रॉपडाउन दिखना */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link i {
    font-size: 0.8rem;
    margin-left: 4px;
}

/* CTA बटन (Apply Now / Downloads) */
.nav-btn {
    background-color: var(--accent-gold);
    color: var(--primary-green) !important;
    font-weight: 600 !important;
    border-radius: 4px;
    padding: 8px 16px !important;
    margin-left: 10px;
    border: none !important;
}

    .nav-btn:hover {
        background-color: var(--white);
        color: var(--primary-green) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

/* मोबाइल हैमबर्गर आइकॉन */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
}

/* --- RESPONSIVE STYLES (MOBILE-FRIENDLY) --- */
/* --- RESPONSIVE STYLES (MOBILE & TABLET FRIENDLY) --- */
@media screen and (max-width: 1024px) {


    /* मोबाइल और टैबलेट पर हैमबर्गर आइकॉन दिखाएं */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        color: #ffffff; /* White */
        font-size: 1.5rem;
        z-index: 1001;
    }

    /* मुख्य मेनू को मोबाइल ड्रॉर (Drawer) में बदलें */
    .nav-menu {
        position: fixed;
        top: 75px; /* नेविगेशन बार की हाइट के अनुसार */
        left: -100%; /* शुरुआत में स्क्रीन से बाहर (छिपा हुआ) */
        flex-direction: column;
        background-color: #1b4d3e; /* Deep Green */
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        overflow-y: auto; /* अगर लिंक्स ज़्यादा हों तो स्क्रॉल हो सके */
        padding-top: 20px;
        z-index:-1;
        padding-bottom: 40px;
    }

        /* जब JS क्लास 'active' जोड़ेगा, तब मेनू स्क्रीन पर आएगा */
        .nav-menu.active {
            left: 0;
        }

    .nav-item {
        width: 100%;
        margin: 8px 0;
    }

    .nav-link {
        padding: 8px;
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    /* मोबाइल पर ड्रॉपडाउन (Alumni) को हमेशा दिखाना या क्लिक पर सेट करना */
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.08); /* हल्का पारदर्शी बैकग्राउंड */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: none; /* शुरुआत में बंद रहेगा */
        border-top: none;
    }

    /* मोबाइल पर होवर की जगह क्लिक या आसान विज़िबिलिटी के लिए */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: #ffffff;
        padding: 12px;
        font-size: 1rem;
    }

    /* Downloads बटन को मोबाइल में सेंटर और थोड़ा छोटा करना */
    .nav-btn {
        display: inline-block !important;
        width: auto;
        margin: 15px auto;
        padding: 10px 25px !important;
    }
}

/* =========================================
   SCROLL TO TOP BUTTON STYLES
   ========================================= */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #e6b800; /* Gold Color Theme matching */
    color: #1b4d3e; /* Deep Green Text */
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Button hover effects */
    #scrollToTopBtn:hover {
        background-color: #1b4d3e;
        color: #ffffff;
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(27, 77, 62, 0.3);
    }

    /* Logic class to reveal button via JS */
    #scrollToTopBtn.show {
        opacity: 1;
        visibility: visible;
    }

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* =========================================
   1. HERO SLIDER CSS
   ========================================= */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 89vh;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
    }

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(27, 77, 62, 0.45), rgba(0, 0, 0, 0.75));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #ffffff;
    max-width: 650px;
    z-index: 10;
}

.slide-tag {
    background-color: #e6b800; /* Gold */
    color: #1b4d3e; /* Deep Green */
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.slide-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: #e6b800;
    color: #1b4d3e;
}

    .btn-gold:hover {
        background-color: #ffffff;
        color: #1b4d3e;
    }

.btn-white {
    border: 2px solid #ffffff;
    color: #ffffff;
}

    .btn-white:hover {
        background-color: #ffffff;
        color: #1b4d3e;
    }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 11;
    transition: 0.3s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-arrow:hover {
        background: #e6b800;
        color: #1b4d3e;
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 11;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

    .dot.active {
        background: #e6b800;
        width: 25px;
        border-radius: 10px;
    }

/* =========================================
   2. WELCOME SECTION CSS
   ========================================= */
.welcome-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sub-heading {
    color: #e6b800;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.main-heading {
    color: #1b4d3e;
    font-size: 2.2rem;
    margin-top: 5px;
    font-weight: 700;
}

.heading-border {
    width: 60px;
    height: 4px;
    background-color: #e6b800;
    margin: 15px 0 25px 0;
}

.welcome-p {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    background-color: rgba(27, 77, 62, 0.1);
    color: #1b4d3e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-info h4 {
    color: #1b4d3e;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-info p {
    color: #666666;
    font-size: 0.95rem;
}

.image-wrapper {
    position: relative;
    padding-bottom: 20px;
}

.main-welcome-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #1b4d3e;
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    left: -20px;
    background-color: #e6b800;
    color: #1b4d3e;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

    .experience-badge h3 {
        font-size: 2rem;
        font-weight: 800;
    }

    .experience-badge p {
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
    }

/* =========================================
   RESPONSIVE LAYOUTS
   ========================================= */
@media screen and (max-width: 992px) {
    .hero-slider-section {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .welcome-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-wrapper {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-badge {
        left: 10px;
    }
}

@media screen and (max-width: 576px) {
    .hero-slider-section {
        height: 50vh;
    }

    .slide-content {
        left: 5%;
        right: 5%;
    }

        .slide-content h2 {
            font-size: 1.6rem;
        }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        text-align: center;
    }

    .main-heading {
        font-size: 1.8rem;
    }
}

/* =========================================
   4. PRINCIPAL / DEAN MESSAGE CSS (FIXED DIRECTION)
   ========================================= */
.dean-message-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.dean-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.dean-img-block {
    width: 100%;
}

.dean-text-block {
    width: 100%;
}

.dean-card {
    width: 100%;
    max-width: 100%;
}

.quote-wrapper {
    background-color: rgba(27, 77, 62, 0.04);
    border-left: 4px solid #1b4d3e;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.quote-icon {
    font-size: 1.8rem;
    color: rgba(27, 77, 62, 0.15);
    position: absolute;
    top: 15px;
    left: 20px;
}

.dean-quote {
    color: #1b4d3e;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
    text-indent: 10px;
}

.dean-p {
    color: #666666;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 30px;
}

.dean-sign h4 {
    color: #1b4d3e;
    font-size: 1.2rem;
    font-weight: 700;
}

.dean-sign span {
    color: #e6b800;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Dean Image Block */
/*.dean-card {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}*/

.dean-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.dean-info-badge {
    background-color: #e6b800;
    color: #1b4d3e;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: -20px;
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* =========================================
   DEAN TEXT MAX-LINES LIMIT CONTROL
   ========================================= */
.clamp-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 13;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 25px !important;
}

/* Responsive adjustment for Mobile screens */
/* Responsive adjustment for Mobile screens */
@media screen and (max-width: 992px) {
    .dean-container {
        grid-template-columns: 1fr; /* Mobile par single column vertical flow */
        gap: 35px;
        display: flex !important; /* Flexbox stack order manage karne ke liye best hai */
        flex-direction: column; /* Vertical alignment stack */
    }
}
/* =========================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================= */
@media screen and (max-width: 992px) {
    .about-short-container, .dean-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-short-img-block, .dean-img-block {
        order: 2; /* <-- Ye image ko niche bhej raha hai */
    }
}

/* =========================================
   5. QUICK STATISTICS CSS
   ========================================= */
.stats-section {
    padding: 60px 20px;
    background-color: #1b4d3e; /* Deep Green background for visual impact */
    color: #ffffff;
    position: relative;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

.stat-icon-box {
    font-size: 2.5rem;
    color: #e6b800; /* Gold */
    margin-bottom: 15px;
}

.stat-count {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    font-weight: 600;
}

/* =========================================
   6. DEPARTMENTS SECTION CSS
   ========================================= */
.departments-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.dept-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Center Heading Utility */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.title-line-center {
    width: 60px;
    height: 4px;
    background-color: #e6b800;
    margin: 15px auto 0 auto;
}

/* Grid Layout */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dept-card {
    background-color: #f9fbf9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(27, 77, 62, 0.05);
    display: flex;
    flex-direction: column;
}

    .dept-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(27, 77, 62, 0.12);
    }

.dept-img-box {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.dept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dept-card:hover .dept-img {
    transform: scale(1.1);
}

.dept-short-name {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #e6b800;
    color: #1b4d3e;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.dept-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dept-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.dept-icon {
    font-size: 1.4rem;
    color: #1b4d3e;
    background: rgba(27, 77, 62, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}


.dept-content h3 {
    color: #1b4d3e;
    font-size: 1.3rem;
    font-weight: 700;
}

.dept-desc {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.5;
    /* === 2 Lines Limit Setup === */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Forcefully locks to 2 lines */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* FIXED: Height ko 3em kiya (line-height 1.5 * 2 lines = 3em) */
    height: 3em !important;
    margin-bottom: 15px;
}

.dept-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 15px;
}

.dept-hod {
    font-size: 0.88rem;
    color: #444444;
}

.dept-link {
    color: #1b4d3e;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

    .dept-link:hover {
        color: #e6b800;
    }
/* =========================================
   DEPARTMENTS SHOW MORE BUTTON HOVER EFFECTS
   ========================================= */
.btn-show-more:hover {
    background-color: #e6b800 !important;
    color: #1b4d3e !important;
    box-shadow: 0 6px 18px rgba(230, 184, 0, 0.35) !important;
    transform: translateY(-2px);
}

    .btn-show-more:hover i {
        transform: translateX(5px); /* Arrow subtly slides right on mouse hover */
    }
/* =========================================
   RESPONSIVE STYLES (MOBILE & TABLET)
   ========================================= */
@media screen and (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .stat-count {
        font-size: 2.2rem;
    }
}

/* =========================================
   NEWS SECTION VIEW ALL BUTTON HOVER
   ========================================= */
/* Notice board styles layout architecture overrides */
.notice-strip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fdfdfd;
    border-left: 4px solid #1b4d3e;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

    .notice-strip-item:hover {
        transform: translateX(4px);
        background: #ffffff;
        box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    }

.notice-badge-important {
    background-color: #d9534f;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: noticeBlink 1.5s infinite;
}

@keyframes noticeBlink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.btn-notice-download {
    background: #e6b800;
    color: #1b4d3e;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s;
}

    .btn-notice-download:hover {
        background: #1b4d3e;
        color: #ffffff;
    }

.notice-content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-height: 1.6;
}

    .notice-content.expanded {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

.read-more-btn {
    display: none;
    margin-top: 8px;
    color: #1b4d3e;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.btn-show-more-news:hover {
    background-color: #e6b800 !important; /* Gold Fallback trigger */
    color: #1b4d3e !important;
    box-shadow: 0 6px 18px rgba(230, 184, 0, 0.35) !important;
    transform: translateY(-2px);
}

    .btn-show-more-news:hover i {
        transform: translateX(5px);
    }

.btn-show-more-events:hover {
    background-color: #e6b800 !important;
    color: #1b4d3e !important;
    box-shadow: 0 6px 18px rgba(230, 184, 0, 0.35) !important;
    transform: translateY(-2px);
}

    .btn-show-more-events:hover i {
        transform: translateX(5px);
    }

/* =========================================
   CAMPUS ACHIEVEMENTS CAROUSEL SLIDER CSS
   ========================================= */
.achievements-slider-section {
    padding: 80px 20px;
    background-color: #fcfdfe; /* Ultra soft background contrast */
    width: 100%;
    overflow: hidden;
}

.achievements-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.achieve-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 0 10px;
}

/* SMART LAYOUT BALANCER: Single card hone par auto center karega layout balance */
.achieve-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    justify-content: center; /* Centers single/double rows beautifully */
}

/* Individual Premium Cards */
.achieve-card-item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 360px; /* Constrains growth beautifully */
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft dynamic depth shadow */
    border: 1px solid rgba(27, 77, 62, 0.06);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

    .achieve-card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(27, 77, 62, 0.12);
    }

.achieve-img-box {
    position: relative;
    height: 240px; /* Optimal balanced container height */
    width: 100%;
    overflow: hidden;
    background-color: #f4f6f4;
}

.achieve-img {
    width: 100%;
    height: 100%;
    /* FIXED: contain se hata kar cover kiya taaki khali sides khatam ho jayein aur proper center focus bane */
    object-fit: cover !important;
    object-position: center top !important; /* Certificate ka header aur logo hamesha card par dikhega */
    padding: 0 !important; /* Fixed whitespace spacing leaks */
    box-sizing: border-box;
    transition: transform 0.4s ease;
}

/* Hover Zoom Glass overlay layout */
.achieve-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 77, 62, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .achieve-hover-overlay i {
        color: #ffffff;
        font-size: 2rem;
    }

.achieve-card-item:hover .achieve-hover-overlay {
    opacity: 1;
}

.achieve-body {
    padding: 22px 20px;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.03);
}

    .achieve-body h3 {
        color: #1b4d3e;
        font-size: 1.15rem;
        font-weight: 700;
        line-height: 1.4;
        margin: 0;
    }

/* Control buttons adjustments rules */
.achieve-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: #1b4d3e;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .achieve-nav-btn.show-arrows {
        display: flex;
    }

    .achieve-nav-btn:hover {
        background-color: #e6b800;
        color: #1b4d3e;
    }

.a-prev {
    left: -25px;
}

.a-next {
    right: -25px;
}

.achieve-dots-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.a-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(27, 77, 62, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .a-dot.active {
        background-color: #1b4d3e;
        width: 25px;
        border-radius: 20px;
    }

/* =========================================
   NEW DYNAMIC ACHIEVEMENTS LIGHTBOX CSS
   ========================================= */
.ach-lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

    .ach-lightbox-modal.active {
        opacity: 1;
    }

.ach-lightbox-content {
    max-width: 700px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ach-lightbox-modal.active .ach-lightbox-content {
    transform: scale(1);
}

.ach-lightbox-content img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    background: #fdfdfd;
    padding: 15px;
    box-sizing: border-box;
}

.ach-lightbox-caption {
    background: #1b4d3e;
    padding: 15px 20px;
    text-align: center;
}

    .ach-lightbox-caption h4 {
        color: #ffffff;
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

.ach-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.2s;
}

    .ach-lightbox-close:hover {
        color: #e6b800;
    }

/* Responsive Bounds overrides */
@media screen and (max-width: 992px) {
    .achieve-carousel-track {
        justify-content: flex-start;
    }

    .achieve-card-item {
        flex: 0 0 calc(50% - 15px);
        max-width: 100%;
    }

    .a-prev {
        left: -10px;
    }

    .a-next {
        right: -10px;
    }
}

@media screen and (max-width: 650px) {
    .achieve-card-item {
        flex: 0 0 100%;
    }

    .achieve-nav-btn.show-arrows {
        display: none !important;
    }
}
/* =========================================
   7. LATEST NEWS SECTION CSS
   ========================================= */
.news-section {
    padding: 80px 20px;
    background-color: #f9fbf9; /* Alternating section color */
}

.news-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(27, 77, 62, 0.1);
    }

.news-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1b4d3e;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title-text {
    color: #1b4d3e;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-summary {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-readmore-btn {
    color: #e6b800; /* Gold */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease, color 0.2s ease;
}

    .news-readmore-btn:hover {
        color: #1b4d3e;
        gap: 12px;
    }

/* =========================================
   8. UPCOMING EVENTS SECTION CSS
   ========================================= */
.events-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.events-wrapper {
    max-width: 1000px; /* Kept concise for clean horizontal display */
    margin: 0 auto;
}

.events-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-strip-card {
    display: flex;
    align-items: center;
    background-color: #f9fbf9;
    border-left: 4px solid #1b4d3e;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

    .event-strip-card:hover {
        box-shadow: 0 8px 20px rgba(27, 77, 62, 0.08);
        background-color: #f1f6f2;
    }

.event-date-badge {
    background-color: #1b4d3e;
    color: #ffffff;
    width: 70px;
    height: 75px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.event-day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #e6b800;
}

.event-thumb-box {
    width: 110px;
    height: 75px;
    margin-left: 20px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.event-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info-block {
    margin-left: 25px;
    flex-grow: 1;
}

.event-type-tag {
    color: #e6b800;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.event-title-text {
    color: #1b4d3e;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.event-meta-items {
    display: flex;
    gap: 20px;
    color: #666666;
    font-size: 0.88rem;
}

    .event-meta-items span i {
        color: #1b4d3e;
        margin-right: 5px;
    }

.event-action-box {
    margin-left: 20px;
}

.btn-event-view {
    background-color: transparent;
    border: 2px solid #1b4d3e;
    color: #1b4d3e;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

    .btn-event-view:hover {
        background-color: #1b4d3e;
        color: #ffffff;
    }

/* =========================================
   RESPONSIVE LAYOUTS
   ========================================= */
@media screen and (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .event-strip-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 25px;
    }

    .event-thumb-box {
        margin-left: 0;
        width: 100%;
        height: 150px;
    }

    .event-info-block {
        margin-left: 0;
    }

    .event-meta-items {
        flex-direction: column;
        gap: 8px;
    }

    .event-action-box {
        margin-left: 0;
        width: 100%;
    }

    .btn-event-view {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   9. LATEST GALLERY SECTION CSS
   ========================================= */

/* =========================================
   Dafault Lightbox Premium Overlay Frame CSS
   ========================================= */
.g-lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Deep matte premium black glass background */
    z-index: 99999; /* Enforces always staying on top layer */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

    /* Show class trigger handle with visibility animation styles */
    .g-lightbox-modal.show-lightbox {
        display: flex;
        opacity: 1;
    }

.g-lightbox-content {
    position: relative;
    max-width: 850px;
    width: 100%;
    background: #101010;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomInFrame 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomInFrame {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.g-lightbox-content img {
    width: 100%;
    max-height: 70vh; /* Auto bound constraint preventing overflowing viewport boundaries */
    display: block;
    object-fit: contain;
    background: #050505;
}

/* Captions block bar overlay beneath image context */
.g-lightbox-caption-panel {
    background-color: #161616;
    padding: 20px 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

    .g-lightbox-caption-panel h4 {
        color: #e6b800; /* Matching core college golden design accent theme colors */
        margin: 0 0 6px 0;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .g-lightbox-caption-panel p {
        color: #b0b0b0;
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.5;
    }

/* Close action system node */
.g-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 100000;
}

    .g-lightbox-close:hover {
        color: #e6b800;
    }

/* Small Device Screen Optimizations */
@media screen and (max-width: 768px) {
    .g-lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .g-lightbox-caption-panel {
        padding: 15px;
    }

        .g-lightbox-caption-panel h4 {
            font-size: 1.05rem;
        }
}

.gallery-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 77, 62, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: #ffffff;
    width: 100%;
}

    .gallery-info h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 5px;
        color: #e6b800; /* Gold text */
    }

    .gallery-info p {
        font-size: 0.88rem;
        opacity: 0.9;
        margin-bottom: 12px;
        line-height: 1.4;
    }

.gallery-zoom-btn {
    background-color: #e6b800;
    color: #1b4d3e;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.2s;
}

    .gallery-zoom-btn:hover {
        background-color: #ffffff;
    }

/* Outer wrapper ko content ke hisab se set karein */
.gallery-slider-outer-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1200px; /* Aapke content ke according width */
    margin: 0 auto 40px auto;
    padding: 0 50px; /* Arrows ke liye side mein space */
    box-sizing: border-box;
}

/* TRACK: Isko single line mein lane ke liye main fix */
.gallery-filter-wrapper {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important; /* Single line horizontal scroll enable karega */
    scroll-behavior: smooth !important;
    white-space: nowrap !important; /* Content ko niche line mein tootne se rokega */
    width: 100% !important;
    padding: 15px 5px !important;
    flex-wrap: nowrap !important; /* CRITICAL FIX: Multiple lines ko bilkul block karega */
}

/* Buttons ko unki natural size mein rakhne ke liye */
.g-filter-btn {
    flex: 0 0 auto !important; /* Button text squeeze/compress nahi hoga */
    display: inline-block !important;
}

/* Ugly Scrollbar ko hide karne ke liye */
.gallery-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-filter-wrapper {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Left-Right Arrows Styling */
.cat-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #1b4d3e;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .cat-slide-btn:hover {
        background-color: #e6b800;
        color: #1b4d3e;
    }

.c-prev {
    left: 0;
}

.c-next {
    right: 0;
}
/* =========================================
   GALLERY CATEGORIES HORIZONTAL SLIDER CSS
   ========================================= */
.gallery-slider-outer-wrapper {
    display: flex;
    align-items: center;
    padding: 0 45px; /* Space for arrows */
}

/* Modifying your wrapper into a clean seamless scrollable track */
.gallery-filter-wrapper {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important; /* Touch swipe enable */
    scroll-behavior: smooth !important;
    white-space: nowrap !important;
    width: 100% !important;
    padding: 10px 5px !important;
    justify-content: flex-start !important; /* Avoid break centering */
}

    /* Hide native ugly scrollbars across browsers */
    .gallery-filter-wrapper::-webkit-scrollbar {
        display: none;
    }

.gallery-filter-wrapper {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Premium Navigation Arrows styling */
.cat-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-color: #1b4d3e;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .cat-slide-btn:hover {
        background-color: #e6b800;
        color: #1b4d3e;
    }

.c-prev {
    left: 0;
}

.c-next {
    right: 0;
}

/* Keep your existing buttons shape identical */
.g-filter-btn {
    flex: 0 0 auto !important; /* Prevent squeezing text */
    display: inline-block !important;
}

/* Handle mobile viewport responsive hides if touch scroll is easy */
@media screen and (max-width: 600px) {
    .gallery-slider-outer-wrapper {
        padding: 0 10px; /* More space for tracks on phones */
    }

    .cat-slide-btn {
        display: none; /* Mobile par swipe asan hota hai, arrows hide kiye */
    }
}

/* =========================================
   10. ALUMNI SECTION CSS
   ========================================= */
.alumni-section {
    padding: 80px 20px;
    background-color: #f9fbf9; /* Alternating light background */
}

.alumni-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.alumni-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    position: relative;
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.alumni-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: rgba(27, 77, 62, 0.06);
}

.alumni-text {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.alumni-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.alumni-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e6b800;
}

.alumni-meta h4 {
    color: #1b4d3e;
    font-size: 1.1rem;
    font-weight: 700;
}

    .alumni-meta h4 span {
        font-size: 0.85rem;
        color: #666666;
        font-weight: 500;
    }

.alumni-meta p {
    color: #e6b800;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 2px;
}

/* =========================================
   RESPONSIVE LAYOUTS
   ========================================= */
@media screen and (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .alumni-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .alumni-card {
        padding: 25px;
    }
}

/* =========================================
   11. CONTACT HOME SECTION CSS
   ========================================= */
.contact-home-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.contact-home-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    margin-top: 20px;
}

.panel-title {
    color: #1b4d3e;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.panel-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Info Side Styling */
.contact-info-panel {
    background-color: #f9fbf9;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid #1b4d3e;
}

.info-items-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    background-color: #1b4d3e;
    color: #e6b800; /* Gold icon styling */
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    color: #1b4d3e;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-text p {
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form Side Styling */
.contact-form-panel {
    background-color: #ffffff;
    padding: 20px 10px;
}

.query-form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field-half {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 25px;
}

.contact-form-panel label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(27, 77, 62, 0.2);
    border-radius: 6px;
    background-color: #f9fbf9;
    color: #222222;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .form-input:focus, .form-textarea:focus {
        outline: none;
        border-color: #1b4d3e;
        background-color: #ffffff;
        box-shadow: 0 0 8px rgba(27, 77, 62, 0.1);
    }

.btn-form-submit {
    background-color: #1b4d3e;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-form-submit:hover {
        background-color: #e6b800;
        color: #1b4d3e;
        box-shadow: 0 5px 15px rgba(230, 184, 0, 0.3);
    }

/* =========================================
   RESPONSIVE LAYOUTS (MOBILE & TABLET)
   ========================================= */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-panel {
        padding: 30px;
    }
}

@media screen and (max-width: 600px) {
    .query-form-group {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 0;
    }

    .form-field-half {
        width: 100%;
        margin-bottom: 20px;
    }

    .btn-form-submit {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   ABOUT US FULL PAGE (ZIG-ZAG LAYOUT)
   ========================================= */

/* Top Header Banner */
.inner-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('../images/about_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 70, 52, 0.65); /* Ekdum halka color tint */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

    .banner-content h2 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .banner-content p {
        font-size: 1rem;
        color: #e6b800; /* Gold */
        font-weight: 600;
    }

        .banner-content p a {
            color: #ffffff;
            text-decoration: none;
            transition: color 0.2s;
        }

            .banner-content p a:hover {
                color: #e6b800;
            }

/* Alternate Rows Container Setup */
.about-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 90px; /* Generous gap between section blocks */
}

.about-page-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* === DYNAMIC 16 LINES CLAMP SYSTEM RULES === */
.clamp-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out; /* Smooth slide opening animation */
}

/* 1.5 line-height * 16 lines = 24em max-height threshold matrix */
.clamp-active {
    max-height: 30em !important;
}

    /* Gradient mask screen overlay when text overflows */
    .clamp-active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(transparent, #ffffff);
        pointer-events: none;
        transition: opacity 0.3s;
    }

/* Hides gradient fade once fully expanded */
.clamp-expanded::after {
    opacity: 0 !important;
}

/* Beautiful interactive toggle button design link */
.btn-about-toggle {
    display: inline-block;
    margin-top: 15px;
    color: #1b4d3e;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

    .btn-about-toggle:hover {
        color: #e6b800;
    }

    .btn-about-toggle i {
        margin-left: 5px;
        transition: transform 0.2s;
    }

/* MAGIC TRICK: Even numbers automatically flip direction (Text Left, Image Right) */
.about-page-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Column Flex Sizing */
.about-row-img-col {
    width: 50%;
    position: relative;
}

.about-row-text-col {
    width: 50%;
}

.row-display-img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    border-bottom: 4px solid #1b4d3e;
    transition: transform 0.3s ease;
}

.about-page-row:hover .row-display-img {
    transform: scale(1.02);
}

/* Inner Text Elements Mapping Schema styling */
.row-tag {
    color: #e6b800;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.row-title {
    color: #1b4d3e;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.row-line {
    width: 45px;
    height: 4px;
    background-color: #e6b800;
    margin: 12px 0 22px 0;
}

.row-desc {
    color: #555555;
    font-size: 1.02rem;
    line-height: 1.7;
}

    .row-desc p {
        margin-bottom: 15px;
    }

        .row-desc p:last-child {
            margin-bottom: 0;
        }

/* =========================================
   RESPONSIVE STYLES (MOBILE & TABLET)
   ========================================= */
@media screen and (max-width: 992px) {
    .about-page-container {
        gap: 60px;
        padding: 50px 20px;
    }

    .about-page-row, .about-page-row:nth-child(even) {
        flex-direction: column; /* Collapses to single vertical column grid */
        gap: 30px;
    }

    .about-row-img-col, .about-row-text-col {
        width: 100%;
    }

    .row-display-img {
        height: 280px;
    }

    .row-title {
        font-size: 1.75rem;
    }

    .banner-content h2 {
        font-size: 2.2rem;
    }
}

/* =========================================
   12. MAIN FOOTER CSS
   ========================================= */
.main-footer {
    background-color: #113329; /* Extra Deep Green tone for dark footer aesthetic */
    color: #ffffff;
    width: 100%;
    position: relative;
    font-size: 0.95rem;
}

.footer-top {
    padding: 70px 20px 50px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Column 1 Specifics (Brand) */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .footer-logo i {
        font-size: 1.8rem;
        color: #e6b800; /* Gold Icon */
    }

    .footer-logo h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #ffffff;
    }

.footer-tagline {
    color: #b3c2be;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

    .footer-socials a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

        .footer-socials a:hover {
            background-color: #e6b800;
            color: #1b4d3e;
            transform: translateY(-3px);
        }

/* Utilities for Titles */
.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-line {
    width: 35px;
    height: 3px;
    background-color: #e6b800;
    margin-bottom: 20px;
}

/* Link Lists styling */
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links-list li a {
        color: #b3c2be;
        text-decoration: none;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.9rem;
    }

        .footer-links-list li a i {
            font-size: 0.7rem;
            transition: transform 0.2s;
        }

        .footer-links-list li a:hover {
            color: #e6b800;
            padding-left: 5px;
        }

            .footer-links-list li a:hover i {
                transform: translateX(3px);
            }

/* Contact Info Column specific styling */
.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .footer-contact-info li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: #b3c2be;
        font-size: 0.9rem;
        line-height: 1.5;
    }

        .footer-contact-info li i {
            color: #e6b800;
            font-size: 1.05rem;
            margin-top: 3px;
            flex-shrink: 0;
        }

/* Footer Bottom (Copyright) */
.footer-bottom {
    background-color: #0c251e; /* Darkest layer */
    padding: 20px;
    color: #8fa39e;
    font-size: 0.85rem;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links a {
    color: #8fa39e;
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-bottom-links a:hover {
        color: #e6b800;
    }

/* =========================================
   RESPONSIVE LAYOUTS (MOBILE & TABLET)
   ========================================= */
@media screen and (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 600px) {
    .footer-top {
        padding: 50px 20px 30px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* =========================================
   DEPARTMENTS PAGE PREVENTIVE STYLING
   ========================================= */
.dept-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('../images/department-bg.png') no-repeat top center/cover !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dept-page-section {
    padding: 80px 20px;
    background-color: #f4f7f5; /* Light subtle greyish green backdrop */
}

.dept-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle-text {
    max-width: 600px;
    margin: 10px auto 0 auto;
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
}

/* 3-Column Grid */
.dept-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

/* Premium Card Wrap with Zoom-Rotation Effect triggers */
.dept-premium-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(27, 77, 62, 0.05);
    display: flex;
    flex-direction: column;
}

    .dept-premium-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(27, 77, 62, 0.12);
    }

/* Media Box Zoom Overlay Effect */
.dept-media-header {
    position: relative;
    height: 220px;
    width: 100%;
}

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 12px 12px 0 0;
}

.dept-premium-card:hover .card-bg-img {
    transform: scale(1.1);
}

.dept-badge-code {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1b4d3e;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Floating Icon Round badge with Rotation Effect */
.dept-icon-circle {
    position: absolute;
    bottom: -20px;
    right: 25px;
    background-color: #e6b800; /* Gold */
    color: #1b4d3e;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 15px rgba(230, 184, 0, 0.4);
    z-index: 10;
    transition: transform 0.5s ease;
}

.dept-premium-card:hover .dept-icon-circle {
    transform: rotate(360deg) scale(1.1);
}

/* Body Content Elements */
.dept-body-content {
    padding: 30px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dept-main-title {
    color: #1b4d3e;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.dept-main-desc {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Leadership Content Card Slot */
.hod-profile-box {
    background-color: #f9fbf9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 3px solid #e6b800;
}

    .hod-profile-box h5 {
        color: #888888;
        font-size: 0.75rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

.hod-name {
    color: #1b4d3e;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

    .hod-name i {
        color: #e6b800;
        margin-right: 4px;
    }

    .hod-name span {
        color: #666666;
        font-weight: 500;
    }

.hod-contact-links {
    display: flex;
    gap: 15px;
}

    .hod-contact-links a {
        color: #444444;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .hod-contact-links a i {
            color: #1b4d3e;
        }

        .hod-contact-links a:hover {
            color: #e6b800;
        }

/* Action Controls button row */
.dept-action-row {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 15px;
    text-align: center;
}

.btn-view-faculty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1b4d3e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

    .btn-view-faculty:hover {
        color: #e6b800;
    }

/* =========================================
   RESPONSIVE RENDERING BREAKPOINTS
   ========================================= */
@media screen and (max-width: 1024px) {
    .dept-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 680px) {
    .dept-page-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .dept-page-section {
        padding: 50px 15px;
    }
}

/* =========================================
   FACULTY / PROFESSORS PAGE CSS
   ========================================= */
.faculty-banner {
    background: url('../images/professor-bg.png') no-repeat left center/cover !important;
}

.faculty-page-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.faculty-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive 3-Column Profile Grid */
.faculty-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 50px;
}

/* Card Wrap Box */
.faculty-profile-card {
    background-color: #f9fbf9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .faculty-profile-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(27, 77, 62, 0.1);
    }

/* Image Wrapper with Hover Effect triggers */
.faculty-image-holder {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
    background-color: #e3ede6;
}

.faculty-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover Slide Up Glassmorphism Overlay */
.faculty-hover-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 77, 62, 0.8), rgba(27, 77, 62, 0.2));
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom 0.4s ease;
}

.faculty-profile-card:hover .faculty-hover-overlay {
    bottom: 0;
}

.faculty-profile-card:hover .faculty-avatar-img {
    transform: scale(1.05);
}

/* Social Circular LinkedIn Trigger */
.faculty-social-link {
    width: 45px;
    height: 45px;
    background-color: #e6b800; /* Gold */
    color: #1b4d3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .faculty-social-link:hover {
        background-color: #ffffff;
        transform: scale(1.1);
    }

/* Top-Left Experience Tag Floating */
.faculty-exp-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1b4d3e;
    color: #e6b800;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Details Section Layout */
.faculty-card-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.faculty-name {
    color: #1b4d3e;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.faculty-designation {
    color: #e6b800;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.faculty-qualification {
    color: #666666;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .faculty-qualification i {
        color: #1b4d3e;
    }

.faculty-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.06);
    margin: 15px 0;
}

.faculty-specialization {
    color: #444444;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Contact Footer Area Links */
.faculty-contact-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
}

    .faculty-contact-footer a {
        color: #1b4d3e;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: color 0.2s;
    }

        .faculty-contact-footer a:hover {
            color: #e6b800;
        }

/* =========================================
   RESPONSIVE GRID LAYOUT COLLAPSE
   ========================================= */
@media screen and (max-width: 992px) {
    .faculty-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .faculty-main-grid {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }

    .faculty-profile-card {
        display: flex !important;
        flex-direction: row !important; /* Image aur Text aamne-samne horizontally */
        align-items: center;
        padding: 15px;
        gap: 15px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    .faculty-image-holder {
        flex: 0 0 90px; /* Mobile par image size fix kar di */
        height: 90px;
        border-radius: 50%; /* Perfect round avatar shape */
        overflow: hidden;
    }

    .faculty-avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Crop logic without distortion */
    }

    .faculty-card-details {
        flex: 1;
        padding: 0 !important;
        text-align: left !important;
    }

    .faculty-name {
        font-size: 1.05rem !important;
        margin-bottom: 4px !important;
    }

    .faculty-designation {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .faculty-contact-footer {
        justify-content: flex-start !important;
        gap: 15px !important;
        border-top: none !important;
        padding-top: 0 !important;
    }
}
/* =======================================================
   TABLET RESPONSIVE REPAIR (600px se 990px ke liye - FIXED)
   ======================================================= */
@media screen and (min-width: 601px) and (max-width: 991px) {
    .faculty-main-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 15px;
    }

    .faculty-profile-card {
        max-width: 100% !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
    }

    /* FIXED: Height ko aspect ratio par badal diya taaki chest aur face sahi proportion me aayein */
    .faculty-image-holder {
        width: 100% !important;
        height: auto !important; /* Fixed height block ko hataya */
        aspect-ratio: 4 / 3 !important; /* Perfect standard landscape photo ratio */
        overflow: hidden !important;
        position: relative;
        background: #f4f6f4;
    }

    .faculty-avatar-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important; /* Wapas center par default safe lock */
    }

    .faculty-card-details {
        padding: 15px !important;
        flex-grow: 1;
    }

    .faculty-name {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }

    .faculty-designation {
        font-size: 0.82rem !important;
        margin-bottom: 12px !important;
    }
}

/* =========================================
   PAGINATION CONTROLS STYLING
   ========================================= */
.pagination-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px; /* Spacing between buttons */
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: #1b4d3e; /* Deep Green text */
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50%; /* Rounded circles */
    border: 1px solid rgba(27, 77, 62, 0.1);
    transition: all 0.3s ease;
    background-color: transparent;
}

/* Hover Effect */
.page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: rgba(27, 77, 62, 0.08);
    color: #1b4d3e;
    border-color: #1b4d3e;
}

/* Active Page Style */
.page-item.active .page-link {
    background-color: #1b4d3e; /* Deep Green */
    color: #ffffff;
    border-color: #1b4d3e;
    box-shadow: 0 4px 10px rgba(27, 77, 62, 0.25);
}

/* Disabled/Unavailable State (e.g., Previous when on page 1) */
.page-item.disabled .page-link {
    color: #cccccc;
    border-color: #eeeeee;
    cursor: not-allowed;
    pointer-events: none; /* Clicks disable ho jayenge */
}

/* Mobile Responsiveness for Pagination */
@media screen and (max-width: 480px) {
    .pagination-list {
        gap: 5px;
        padding: 8px 15px;
    }

    .page-link {
        width: 35px;
        height: 35px;
        font-size: 0.88rem;
    }
}


/* =========================================
   NEWS & EVENTS PAGE CSS
   ========================================= */
.news-banner {
    background: url('../images/news-bg.png') no-repeat bottom center/cover !important;
}

.news-events-section {
    padding: 60px 20px 80px 20px;
    background-color: #f9fbf9;
}

.news-events-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tabs Buttons Wrapper */
.tab-control-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #1b4d3e;
    background-color: #ffffff;
    color: #1b4d3e;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

    .tab-btn.active, .tab-btn:hover {
        background-color: #1b4d3e;
        color: #ffffff;
        box-shadow: 0 5px 15px rgba(27, 77, 62, 0.2);
    }

/* Tab Panels Display Logic */
.tab-content-panel {
    display: none;
}

    .tab-content-panel.active {
        display: block;
        animation: fadeIn 0.5s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- TAB 1: NEWS LAYOUT STYLES --- */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-premium-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(27, 77, 62, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .news-premium-card:hover {
        transform: translateY(-6px);
    }

.news-media-box {
    position: relative;
    height: 200px;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(27, 77, 62, 0.9);
    color: #ffffff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

.news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    color: #1b4d3e;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-card-summary {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link-btn {
    color: #e6b800;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

    .news-link-btn:hover {
        gap: 10px;
        color: #1b4d3e;
    }

/* --- TAB 2: EVENTS LAYOUT STYLES --- */
.events-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 Column Layout for Events details */
    gap: 35px;
}

.event-premium-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.event-media-box {
    position: relative;
    height: 230px;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e6b800;
    color: #1b4d3e;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.event-body {
    display: flex;
    padding: 25px;
    gap: 20px;
    position: relative;
}

/* Side Date Ribbon */
.event-date-ribbon {
    background-color: #f4f7f5;
    border: 1px solid rgba(27, 77, 62, 0.1);
    width: 65px;
    height: 70px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ev-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1b4d3e;
    line-height: 1;
}

.ev-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #e6b800;
    margin-top: 2px;
}

.event-main-details {
    flex-grow: 1;
}

.event-meta-grid {
    margin: 15px 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .event-meta-grid p {
        font-size: 0.9rem;
        color: #555555;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .event-meta-grid p i {
            color: #1b4d3e;
            width: 15px;
        }

        .event-meta-grid p span {
            color: #999999;
        }

.btn-event-join {
    display: block;
    text-align: center;
    background-color: #1b4d3e;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

    .btn-event-join:hover {
        background-color: #e6b800;
        color: #1b4d3e;
    }

/* =========================================
   RESPONSIVE LAYOUT RESPONSES
   ========================================= */
@media screen and (max-width: 992px) {
    .news-page-grid, .events-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 650px) {
    .news-page-grid, .events-page-grid {
        grid-template-columns: 1fr;
    }

    .event-body {
        flex-direction: column;
        gap: 15px;
    }

    .event-date-ribbon {
        width: 100%;
        flex-direction: row;
        gap: 8px;
        height: 45px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* =========================================
   CAMPUS ACTIVITIES PAGE CSS
   ========================================= */
.activities-banner {
    background: url('../images/activities-bg.png') no-repeat center center/cover !important;
}

.activities-page-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.activities-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Filter Bar Styling */
.activity-filter-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important; /* FIXED: Buttons ko niche tutne se rokega, sabko ek line me rakhega */
    overflow-x: auto !important; /* FIXED: Touch slider scroll active karega mobile par */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Mobile responsive touch swipe bounce control */
    padding: 10px 5px;
    gap: 12px; /* Buttons ke beech consistent gap filter lock */
    scrollbar-width: none; /* Firefox se badsurat horizontal scrollbar hide karega */
}

    /* Chrome, Safari aur Opera se default line scrollbar hide karne ke liye */
    .activity-filter-wrapper::-webkit-scrollbar {
        display: none !important;
    }

.filter-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(27, 77, 62, 0.15);
    background-color: #f9fbf9;
    color: #1b4d3e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

    .filter-btn.active, .filter-btn:hover {
        background-color: #1b4d3e;
        color: #ffffff;
        border-color: #1b4d3e;
        box-shadow: 0 4px 12px rgba(27, 77, 62, 0.15);
    }

/* Main Cards Grid Layout */
.activities-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.activity-premium-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(27, 77, 62, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .activity-premium-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(27, 77, 62, 0.12);
    }

/* Image Aspect and Badges */
.activity-media-box {
    position: relative;
    height: 220px;
    width: 100%;
}

.activity-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e6b800; /* Gold Badge */
    color: #1b4d3e;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Body Content Mapping details */
.activity-body-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-date {
    color: #888888;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

    .activity-date i {
        color: #1b4d3e;
        margin-right: 4px;
    }

.activity-card-title {
    color: #1b4d3e;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.activity-card-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Animation on filtering trigger */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
   RESPONSIVE BREAKPOINTS GRID
   ========================================= */
@media screen and (max-width: 992px) {
    .activities-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 650px) {
    .activities-main-grid {
        grid-template-columns: 1fr;
    }

    .activity-filter-wrapper {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
}

@media screen and (max-width: 768px) {
    .cat-slide-btn {
        display: flex !important; /* FIXED: Mobile screen par slider control buttons force display active */
        z-index: 10;
        background-color: rgba(27, 77, 62, 0.9) !important; /* Green tone setup visibility protection */
        color: #ffffff !important;
        border: none;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
    }
}
/* =========================================
   CAMPUS GALLERY PAGE PREVIEW STYLES (FIXED)
   ========================================= */

/* Top Banner Specific - If image doesn't load, solid green theme fallback will show */
.gallery-banner {
    background-color: #1b4d3e !important;
    background-image: url('../images/gallery-bg.png') !important;
    background-repeat: no-repeat !important;
    background-position: bottom center !important;
    background-size: cover !important;
}

.gallery-page-section {
    padding: 80px 20px;
    background-color: #ffffff !important;
    width: 100% !important;
    display: block !important;
}

.gallery-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filter-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important; /* Buttons ko niche wali line me tootne se rokega */
    overflow-x: auto !important; /* Mobile swipe touch slider support active */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px;
    gap: 12px;
    margin: 20px 0 40px 0;
    width: 100%;
    scrollbar-width: none; /* Firefox native bar display strip logic */
}

    /* Chrome, Safari aur Opera se default line scrollbar clean space protection */
    .gallery-filter-wrapper::-webkit-scrollbar {
        display: none !important;
    }

/* Individual Filter Button Matrix Protection */
.g-filter-btn {
    flex-shrink: 0 !important; /* Buttons text compression tightly disabled */
    white-space: nowrap !important; /* Text wrapping single line standard validation */
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(27, 77, 62, 0.2) !important;
    background-color: #f9fbf9 !important;
    color: #1b4d3e !important;
    border-radius: 50px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .g-filter-btn.active, .g-filter-btn:hover {
        background-color: #1b4d3e !important;
        color: #ffffff !important;
        border-color: #1b4d3e !important;
        box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
    }

/* Arrow control buttons safety layout grid */
.gallery-slider-outer-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Mobile viewport navigation arrows display logic overwrite */
@media screen and (max-width: 768px) {
    .cat-slide-btn {
        display: flex !important; /* Mobile screens par dynamic navigation arrows active rules */
        z-index: 10;
        background-color: rgba(27, 77, 62, 0.9) !important;
        color: #ffffff !important;
        border: none;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
    }
}
/* 3-Column Responsive Image Layout Grid - FIXED DISPLAY OVERLAP */
.gallery-main-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    clear: both;
}

.gallery-premium-item {
    background-color: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
    position: relative;
}

.g-image-wrapper {
    position: relative !important;
    height: 260px !important;
    width: 100% !important;
    overflow: hidden !important;
}

.g-display-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease-in-out !important;
}

/* Modern Slide Up Hover Overlay Card - FIXED ACCESSIBILITY */
.g-hover-card {
    position: absolute !important;
    bottom: -100% !important; /* Kept outside parent boundary layout initially */
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(27, 77, 62, 0.98) 40%, rgba(0, 0, 0, 0.4)) !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 25px !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Hover Event States triggers fixed */
.gallery-premium-item:hover .g-display-img {
    transform: scale(1.08) !important;
}

.gallery-premium-item:hover .g-hover-card {
    bottom: 0 !important; /* Slide up triggered flawlessly */
}

/* Overlay Text details elements */
.g-card-info {
    color: #ffffff !important;
    width: 100% !important;
    text-align: left !important;
}

    .g-card-info h4 {
        color: #e6b800 !important; /* Premium Gold Titles */
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        padding: 0 !important;
    }

    .g-card-info p {
        color: #ffffff !important;
        font-size: 0.88rem !important;
        opacity: 0.9 !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }

/* Zoom Expansion circular link icon */
.g-preview-btn {
    width: 38px !important;
    height: 38px !important;
    background-color: #e6b800 !important;
    color: #1b4d3e !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

    .g-preview-btn:hover {
        background-color: #ffffff !important;
        transform: scale(1.08) !important;
    }

/* Entry Animation Keyframe for filtering transition */
@keyframes galleryPop {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE DESIGN SYSTEM BREAKPOINTS
   ========================================= */
@media screen and (max-width: 992px) {
    .gallery-main-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media screen and (max-width: 600px) {
    .gallery-main-grid {
        grid-template-columns: 1fr !important;
    }

    .g-image-wrapper {
        height: 220px !important;
    }

    .g-filter-btn {
        padding: 8px 18px !important;
        font-size: 0.88rem !important;
    }
}

/* =========================================
   RE-ENGINEERED SEPARATE ALUMNI PAGES CSS
   ========================================= */
.alumni-banner {
    background: url('../images/alumniregister-bg.png') no-repeat center center/cover !important;
}

.alumni-list {
    background: url('../images/alumnilist-bg.png') no-repeat center center/cover !important;
}

.alumni-page-section {
    padding: 80px 20px;
    background-color: #f4f7f5;
    width: 100%;
}

/* 1. REGISTRATION PAGE UTILITIES */
.alumni-single-form-container {
    max-width: 750px; /* Kept center unified for data entry efficiency */
    margin: 0 auto;
}

.alumni-form-panel {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(27, 77, 62, 0.05);
}

.panel-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.panel-icon {
    font-size: 2.2rem;
    color: #1b4d3e;
    margin-bottom: 8px;
}

.panel-header h3 {
    color: #1b4d3e;
    font-size: 1.6rem;
    font-weight: 700;
}

.panel-line {
    width: 45px;
    height: 3.5px;
    background-color: #e6b800;
    margin-top: 8px;
}

.form-instructions {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.alumni-form-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.a-form-row {
    display: flex;
    gap: 20px;
}

.a-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

    .a-form-group.half {
        width: 50%;
    }

    .a-form-group label {
        font-size: 0.9rem;
        font-weight: 600;
        color: #333333;
    }

.a-form-control, .a-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(27, 77, 62, 0.18);
    border-radius: 6px;
    background-color: #f9fbf9;
    color: #222222;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.file-input {
    padding: 8px 12px;
    background-color: #ffffff;
}

.a-form-control:focus, .a-form-textarea:focus {
    outline: none;
    border-color: #1b4d3e;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(27, 77, 62, 0.1);
}

.btn-alumni-submit {
    background-color: #1b4d3e;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

    .btn-alumni-submit:hover {
        background-color: #e6b800;
        color: #1b4d3e;
        box-shadow: 0 6px 18px rgba(230, 184, 0, 0.35);
    }

/* 2. DIRECTORY LIST PAGE GRID UTILITIES */
.alumni-list-full-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.alumni-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.alumni-profile-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .alumni-profile-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(27, 77, 62, 0.08);
    }

.alumni-card-top {
    position: relative;
    height: 240px;
    width: 100%;
    background-color: #e8ede9;
}

.alumni-grid-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.batch-tag-year {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e6b800;
    color: #1b4d3e;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.alumni-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.alumni-grid-name {
    color: #1b4d3e;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.alumni-grid-job {
    color: #444444;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

    .alumni-grid-job i, .alumni-grid-loc i {
        color: #1b4d3e;
        margin-right: 4px;
    }

.alumni-grid-loc {
    color: #888888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.alumni-grid-divider {
    height: 1px;
    background-color: rgba(0,0,0,0.06);
    margin-bottom: 15px;
}

.alumni-grid-quote {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    flex-grow: 1;
}

.alumni-card-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 15px 25px;
    background-color: #f9fbf9;
    text-align: center;
}

.grid-li-link {
    color: #0077b5;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .grid-li-link:hover {
        text-decoration: underline;
    }

/* =========================================
   RESPONSIVE LAYOUT SYSTEMS
   ========================================= */
@media screen and (max-width: 992px) {
    .alumni-directory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 650px) {
    .alumni-directory-grid {
        grid-template-columns: 1fr;
    }

    .a-form-row {
        flex-direction: column;
        gap: 20px;
    }

    .a-form-group.half {
        width: 100%;
    }

    .alumni-form-panel {
        padding: 25px;
    }
}

/* =========================================
   CONTACT PAGE DESIGN INTEGRATION
   ========================================= */
.contact-banner {
    background: url('../images/contact-bg.png') no-repeat bottom center/cover !important;
}

.contact-page-section {
    padding: 80px 20px;
    background-color: #f4f7f5;
    width: 100%;
}

.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2-Column Main Balanced Grid Layout Split */
.contact-main-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Info side slightly narrower than Form side */
    gap: 40px;
    align-items: start;
}

.contact-details-panel, .contact-form-panel {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

/* Panel Header Utilities */
.c-panel-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.c-panel-icon {
    font-size: 2rem;
    color: #1b4d3e;
    margin-bottom: 6px;
}

.c-panel-header h3 {
    color: #1b4d3e;
    font-size: 1.45rem;
    font-weight: 700;
}

.c-panel-line {
    width: 35px;
    height: 3px;
    background-color: #e6b800;
    margin-top: 8px;
}

.c-panel-desc {
    color: #666666;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* --- LEFT SIDE: INFO CARDS & MAP --- */
.c-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.c-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #f9fbf9;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid #1b4d3e;
}

.c-icon-box {
    color: #e6b800; /* Gold Icon Accent */
    font-size: 1.25rem;
    margin-top: 2px;
}

.c-text-box h4 {
    color: #1b4d3e;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.c-text-box p {
    color: #444444;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-map-wrapper {
    width: 100% !important;
    min-height: 380px; /* FIXED: Map desktop height configuration */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(27, 77, 62, 0.1);
    position: relative;
    background-color: #f8f9fa; /* Map render hone tak standard backup color box */
}

/* Sabse important block: Jo database se aane wale dynamic iframe ko control karega */
.contact-map-wrapper iframe {
    width: 100% !important; /* FIXED: Google map boundaries se text elements bahar nahi katenge */
    height: 380px !important;
    display: block;
    border: 0;
}

/* --- RIGHT SIDE: INPUT FORM GRID --- */
.c-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

    .c-form-group label {
        font-size: 0.88rem;
        font-weight: 600;
        color: #333333;
    }

.c-form-input, .c-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(27, 77, 62, 0.18);
    border-radius: 6px;
    background-color: #f9fbf9;
    color: #222222;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .c-form-input:focus, .c-form-textarea:focus {
        outline: none;
        border-color: #1b4d3e;
        background-color: #ffffff;
        box-shadow: 0 0 8px rgba(27, 77, 62, 0.1);
    }

.btn-contact-submit {
    background-color: #1b4d3e;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start; /* Submits cleanly left aligned */
}

    .btn-contact-submit:hover {
        background-color: #e6b800;
        color: #1b4d3e;
        box-shadow: 0 5px 15px rgba(230, 184, 0, 0.35);
    }
    @media screen and (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr !important; /* Mobile streams stacking layer lock */
        gap: 30px;
    }
    
    .contact-details-panel, .contact-form-panel {
        padding: 30px; /* Excess spaces removal inside tablet view grid matrix */
    }
}

@media screen and (max-width: 768px) {
    /* Mobile screen standard checks */
    .contact-page-section {
        padding: 40px 15px; /* Side paddings filter adjustment */
    }
    
    .contact-details-panel, .contact-form-panel {
        padding: 20px; /* Small layout compatibility box padding rules */
    }

    .contact-map-wrapper {
        min-height: 280px; /* FIXED: Mobile standard view adjustment */
    }

    .contact-map-wrapper iframe {
        height: 280px !important; /* Map resolution downsizer logic */
    }
    
    .c-info-card {
        padding: 12px 15px; /* Text spaces control inside icons area */
    }
    
    .btn-contact-submit {
        width: 100% !important; /* Full width push matrix safety net button */
    }
}

/* =========================================
   EVENT DETAILS PAGE PREMIUM LAYOUT CSS
   ========================================= */
.event-detail-banner {
    background: url('../images/news-bg.png') no-repeat center center/cover !important;
    height: 340px !important;
}

.ed-banner-type {
    background-color: #e6b800;
    color: #1b4d3e;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.event-detail-section {
    padding: 80px 20px;
    background-color: #f4f7f5;
    width: 100%;
}

.event-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Master Structure Grid Split */
.event-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr; /* Left main body is wider than sidebar tracker */
    gap: 45px;
    align-items: start;
}

/* --- LEFT COLUMN COMPONENTS --- */
.event-main-content {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.event-feature-img-box {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #000;
}

.ed-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-main-content:hover .ed-featured-img {
    transform: scale(1.02);
}

.event-full-body {
    padding: 40px;
}

.ed-section-heading {
    color: #1b4d3e;
    font-size: 1.6rem;
    font-weight: 700;
}

.ed-heading-line {
    width: 40px;
    height: 3.5px;
    background-color: #e6b800;
    margin: 10px 0 25px 0;
}

.event-rich-text {
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.7;
}

    .event-rich-text p {
        margin-bottom: 20px;
    }

    .event-rich-text h4 {
        color: #1b4d3e;
        font-size: 1.2rem;
        font-weight: 700;
        margin: 30px 0 15px 0;
    }

.ed-custom-bullets {
    list-style: none;
    padding-left: 5px;
}

    .ed-custom-bullets li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 12px;
        font-size: 1rem;
    }

        .ed-custom-bullets li::before {
            content: "\f058"; /* Font Awesome Circle-check symbol hex */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 1px;
            color: #1b4d3e;
            font-size: 1.1rem;
        }

/* --- RIGHT SIDEBAR COMPONENTS --- */
.event-meta-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.widget-title {
    color: #1b4d3e;
    font-size: 1.2rem;
    font-weight: 700;
}

.widget-line {
    width: 30px;
    height: 3px;
    background-color: #e6b800;
    margin: 8px 0 20px 0;
}

.widget-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

    .widget-meta-list li {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

.w-icon {
    color: #1b4d3e;
    background-color: rgba(27, 77, 62, 0.06);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.w-text h5 {
    color: #888888;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.w-text p {
    color: #333333;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Action button area */
.widget-action-area {
    margin-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 20px;
}

.btn-sidebar-register {
    background-color: #1b4d3e;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(27, 77, 62, 0.15);
}

    .btn-sidebar-register:hover {
        background-color: #e6b800;
        color: #1b4d3e;
        box-shadow: 0 4px 12px rgba(230, 184, 0, 0.3);
    }

/* Alert/Notice widget styling adjustments */
.alert-widget {
    background-color: rgba(27, 77, 62, 0.04) !important;
    border-left: 4px solid #1b4d3e;
}

    .alert-widget h4 {
        color: #1b4d3e;
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .alert-widget p {
        color: #555555;
        font-size: 0.88rem;
        line-height: 1.6;
    }



/* =========================================
   RESPONSIVE DESIGN ADAPTABILITY SYSTEMS
   ========================================= */
@media screen and (max-width: 992px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .event-feature-img-box {
        height: 300px;
    }

    .event-full-body {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 600px) {
    .banner-content h2 {
        font-size: 1.8rem;
    }

    .inner-banner {
        height: 260px !important;
    }
}

/* =========================================
   NEWS DETAILS PAGE ARCHITECTURE CSS
   ========================================= */
.news-detail-banner {
    background: url('../images/news-bg.png') no-repeat center center/cover !important;
    height: 320px !important;
}

.nd-banner-date {
    background-color: rgba(255, 255, 255, 0.15);
    color: #e6b800; /* Gold */
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-detail-section {
    padding: 80px 20px;
    background-color: #f4f7f5;
    width: 100%;
}

.news-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Dual Grid Column Layout */
.news-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 45px;
    align-items: start;
}

/* --- LEFT COLUMN: MAIN ARTICLE TEXT BOX --- */
.news-main-content {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.news-feature-img-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.nd-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-full-body {
    padding: 40px;
}

/* Highlighted Summary Lead */
.nd-lead-summary {
    font-size: 1.2rem;
    color: #1b4d3e;
    font-weight: 600;
    line-height: 1.6;
}

.nd-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 25px 0;
}

/* Core Rich Text Content */
.news-rich-text {
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.75;
}

    .news-rich-text p {
        margin-bottom: 20px;
    }

    /* Styled Blockquote inside content column */
    .news-rich-text blockquote {
        background-color: #f9fbf9;
        border-left: 4px solid #e6b800; /* Gold Sidebar */
        padding: 20px 25px;
        margin: 30px 0;
        font-style: italic;
        font-size: 1.15rem;
        color: #1b4d3e;
        font-weight: 500;
        border-radius: 0 8px 8px 0;
    }

/* --- RIGHT COLUMN: SIDEBAR METADATA WIDGETS --- */
.news-meta-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.n-sidebar-widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.n-widget-title {
    color: #1b4d3e;
    font-size: 1.15rem;
    font-weight: 700;
}

.n-widget-line {
    width: 30px;
    height: 3px;
    background-color: #e6b800;
    margin: 8px 0 20px 0;
}

/* Meta list items setup */
.n-widget-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .n-widget-meta-list li {
        display: flex;
        align-items: center;
        gap: 12px;
    }

.nw-icon {
    color: #1b4d3e;
    font-size: 1.1rem;
    width: 25px;
}

.nw-text h5 {
    color: #888888;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
}

.nw-text p {
    color: #222222;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Tags Cloud System styling */
.news-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background-color: rgba(27, 77, 62, 0.05);
    color: #1b4d3e;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid rgba(27, 77, 62, 0.08);
    transition: all 0.2s;
}

    .tag-item:hover {
        background-color: #1b4d3e;
        color: #ffffff;
        border-color: #1b4d3e;
    }

/* Back Widget Action link styling */
.back-widget {
    padding: 20px 30px !important;
    text-align: center;
}

.btn-sidebar-back {
    color: #1b4d3e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

    .btn-sidebar-back:hover {
        color: #e6b800;
        gap: 12px;
    }

/* =========================================
   RESPONSIVE DESIGN BREAKPOINTS SYSTEM
   ========================================= */
@media screen and (max-width: 992px) {
    .news-detail-grid {
        grid-template-columns: 1fr; /* Collapses to single stream column on tablets */
        gap: 35px;
    }

    .news-feature-img-box {
        height: 280px;
    }

    .news-full-body {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 600px) {
    .banner-content h2 {
        font-size: 1.8rem;
    }
}

/* =========================================
   DEPARTMENT DETAILS PAGE INTERFACE CSS
   ========================================= */
.dept-detail-banner {
    background: url('../images/department-bg.png') no-repeat top center/cover !important;
    height: 320px !important;
}

.dd-banner-code {
    background-color: #e6b800; /* Gold Badge */
    color: #1b4d3e;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.dept-detail-section {
    padding: 80px 20px;
    background-color: #f4f7f5;
    width: 100%;
}

.dept-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2-Column Split Configuration Grid */
.dept-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 45px;
    align-items: start;
}

/* --- LEFT CONTENT INNER STYLING --- */
.dept-left-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dept-feature-img-box {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.dd-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dept-full-bio, .dept-faculty-stream {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.dd-block-title {
    color: #1b4d3e;
    font-size: 1.5rem;
    font-weight: 700;
}

.dd-heading-line {
    width: 35px;
    height: 3.5px;
    background-color: #e6b800;
    margin: 10px 0 25px 0;
}

.dept-rich-text {
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.7;
}

    .dept-rich-text p {
        margin-bottom: 15px;
    }

/* --- PROFESSOR LIST STRIP CARDS --- */
.dept-faculty-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dept-prof-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f9fbf9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1b4d3e;
    transition: transform 0.2s ease;
}

    .dept-prof-strip:hover {
        transform: translateX(4px);
        background-color: #f1f6f2;
    }

.dp-strip-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e6b800; /* Gold outline */
    flex-shrink: 0;
}

.dp-strip-details {
    flex-grow: 1;
}

    .dp-strip-details h4 {
        color: #1b4d3e;
        font-size: 1.15rem;
        font-weight: 700;
    }

        .dp-strip-details h4 span {
            font-size: 0.88rem;
            color: #666666;
            font-weight: 500;
        }

.dp-strip-desig {
    color: #e6b800;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.dp-strip-spec {
    color: #555555;
    font-size: 0.9rem;
    margin-top: 6px;
    line-height: 1.4;
}

.dp-strip-links {
    margin-top: 8px;
}

    .dp-strip-links a {
        color: #666666;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
    }

        .dp-strip-links a:hover {
            color: #1b4d3e;
            text-decoration: underline;
        }

/* --- RIGHT SIDEBAR STYLING --- */
.dept-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.d-sidebar-widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 77, 62, 0.04);
}

.dw-title {
    color: #1b4d3e;
    font-size: 1.2rem;
    font-weight: 700;
}

.dw-line {
    width: 30px;
    height: 3px;
    background-color: #e6b800;
    margin: 8px 0 20px 0;
}

/* Leadership Avatar Details widget styling */
.sidebar-hod-card {
    text-align: center;
    background-color: #f9fbf9;
    padding: 25px 15px;
    border-radius: 8px;
    border: 1px solid rgba(27, 77, 62, 0.05);
}

.hod-avatar-icon {
    font-size: 2.5rem;
    color: #1b4d3e;
    background-color: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

.sidebar-hod-card h4 {
    color: #1b4d3e;
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-hod-card span {
    font-size: 0.82rem;
    color: #888888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 15px;
}

.hod-sidebar-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 15px;
}

    .hod-sidebar-contacts a {
        color: #555555;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

        .hod-sidebar-contacts a:hover {
            color: #e6b800;
        }

/* Call to query redirection block widget styling */
.support-widget {
    background-color: #1b4d3e !important;
    color: #ffffff;
}

    .support-widget h4 {
        color: #e6b800;
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .support-widget p {
        font-size: 0.88rem;
        line-height: 1.5;
        opacity: 0.9;
        margin-bottom: 20px;
    }

.btn-sidebar-query {
    display: block;
    text-align: center;
    background-color: #e6b800;
    color: #1b4d3e;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

    .btn-sidebar-query:hover {
        background-color: #ffffff;
    }

/* =========================================
   RESPONSIVE RENDERING BREAKPOINTS LAYOUTS
   ========================================= */
@media screen and (max-width: 992px) {
    .dept-detail-grid {
        grid-template-columns: 1fr; /* Sidebar shifts to bottom flow */
        gap: 35px;
    }

    .dept-feature-img-box {
        height: 280px;
    }

    .dept-full-bio, .dept-faculty-stream {
        padding: 30px 20px;
    }
}


.act-details-section {
    padding: 60px 20px;
    background-color: #fafafa;
}

.act-details-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    padding: 40px;
}

.act-badge-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.act-badge-cat {
    background: #1b4d3e;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.act-badge-date {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
}

.act-main-title {
    color: #1b4d3e;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 25px 0;
}

.act-hero-media {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.act-full-content {
    color: #333333;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.act-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1b4d3e;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.2s;
}

    .act-back-btn:hover {
        color: #e6b800;
    }

@media (max-width: 768px) {
    .act-details-container {
        padding: 20px;
    }

    .act-main-title {
        font-size: 1.8rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center; /* FIXED: Logo image aur College Name ko vertically ek barabar line me rakhega */
    gap: 15px; /* Logo aur text ke beech me premium gap maintain karega */
    margin-bottom: 25px;
    width: 100%;
}

/* Naya Image Control Styles Wrapper */
.custom-foot-logo {
    height: 55px !important; /* Perfect global desktop height standard */
    width: auto !important;
    object-fit: contain; /* Logo ko squeeze ya chipta hone se rokega */
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.15)); /* Background dark green par logo ko sharp contrast dega */
    flex-shrink: 0; /* Responsive stretching block rules */
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}

/* --- RESPONSIVE / MOBILE SEGMENT (<= 1024px and <= 768px) --- */
@media screen and (max-width: 1024px) {
    .footer-logo {
        justify-content: center; /* Tablet aur mobile screens par footer branding content ko center align karega */
        text-align: left;
    }
}

@media screen and (max-width: 576px) {
    .footer-logo {
        flex-direction: column; /* Extra small screen par image upar aur text niche automatic line row lock ho jayega */
        text-align: center;
        gap: 10px;
    }

    .custom-foot-logo {
        height: 80px !important; /* Mobile view ke liye height thodi responsive downsizer matrix par set ki hai */
        margin-right: 0;
    }

    .footer-logo h3 {
        font-size: 1.1rem !important; /* Mobile readability scaling rules */
    }
}
