/* Menu and flash update */
:root {
    --primary-blue: #0b4a8b;
    --header-blue: #0d5bb5;
    --nav-blue: #468cae;
    --nav-hover: #357393;
    --accent-orange: #f37021;
    --bg-light: #f5f7fa;
    --text-dark: #2c3e50;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header Layout */
.header-container {
    color: #000;
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 100;
    gap: 12px;
}

.branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

    .branding img {
        height: 52px;
        width: 52px;
        object-fit: contain;
        background: white;
        padding: 3px;
        border-radius: 6px;
        flex-shrink: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.branding-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

    .branding-text h1 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
        white-space: normal;
        word-wrap: break-word;
    }

    .branding-text p {
        font-size: 12px;
        opacity: 0.9;
        margin-top: 2px;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lang-switch {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

    .lang-switch:hover {
        background-color: #d95e14;
    }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #642727;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

/* Nav Bar & Multi-Level Dropdown Styling */
.nav-bar {
    background-color: #274699;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 90;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0 3%;
    margin: 0;
}

    .menu > li {
        position: relative;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 9px 6px;
        color: white;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
    }

    .menu li:hover > a {
        background-color: var(--nav-hover);
    }

/* First Level Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #ffffff;
    list-style: none;
    display: none;
    border-top: 3px solid var(--accent-orange);
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

    .submenu li {
        position: relative;
        border-bottom: 1px solid #000000;
    }

    .submenu a {
        color: #555;
        padding: 2px 15px;
        font-size: 13px;
        font-weight: 500;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .submenu li:hover > a {
        background-color: #f0f4f8;
        color: var(--primary-blue);
    }

/* Display Submenu on Hover */
.menu li:hover > .submenu {
    display: block;
}

/* Second Level Submenu (Multi-menu flyout) */
.submenu .nested-submenu {
    position: absolute;
    top: -3px;
    left: 100%;
    width: 220px;
    background: #ffffff;
    list-style: none;
    display: none;
    border-left: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-orange);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
}

.submenu li:hover > .nested-submenu {
    display: block;
}

/* =========================================================
   BANNER SLIDER SECTION (FIXED)
   ========================================================= */
/* =========================================================
   BANNER SLIDER SECTION (TRANSFORM TRANSLATE COMPATIBLE)
   ========================================================= */
.slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Track ko horizontal flex grid banana zaroori hai */
.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Har slide ki width exactly 100% honi chahiye aur hidden nahi honi chahiye */
.slide-item {
    display: block !important;
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

    .slide-item img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

/* Glassmorphism Title Overlay */
.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 5%;
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-orange, #f37021);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 80%;
    pointer-events: none;
}

    .slide-caption h2 {
        color: #ffffff;
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        margin: 0;
        line-height: 1.3;
    }

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background 0.3s ease;
}

    .slider-btn:hover {
        background: var(--accent-orange, #f37021);
    }

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Indicator Dots */
.dots-container {
    position: absolute;
    bottom: 12px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background-color: var(--accent-orange, #f37021);
        width: 22px;
        border-radius: 5px;
    }

/* Ticker Pause Class Override */
.ticker-track.paused {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .slide-item img {
        height: 260px;
    }

    .slide-caption {
        bottom: 20px;
        left: 10px;
        padding: 8px 14px;
        max-width: 90%;
    }

        .slide-caption h2 {
            font-size: 14px;
        }
}

.ticker-container {
    background: #fff8e1;
    border-bottom: 2px solid #ffe082;
    display: flex;
    align-items: center;
    padding: 8px 4%;
    font-size: 13.5px;
    overflow: hidden;
    position: relative;
}

.ticker-title {
    background: #d9534f;
    color: white;
    padding: 3px 10px;
    font-weight: 700;
    margin-right: 12px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    position: relative;
}



.ticker-item {
    color: var(--text-dark, #2c3e50);
    text-decoration: none;
    font-weight: 500;
    padding: 0 5px;
}

    .ticker-item:hover {
        color: var(--accent-orange, #f37021);
        text-decoration: underline;
    }

.ticker-sep {
    color: #d9534f;
    font-weight: bold;
    margin: 0 10px;
}

/* Ticker Scrolling Animation & Hover Control Rules */
.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 75s linear infinite; /* Speed ko slow karne ke liye 25s ya 30s karein */
}

/* Pause ticker on hover (Desktop) */
.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

/* Horizontal Scroll Keyframes */
@keyframes tickerScroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile View Fixes */
@media (max-width: 768px) {
    .header-container {
        padding: 8px 10px;
        gap: 8px;
    }

    .branding {
        gap: 8px;
    }

        .branding img {
            height: 42px;
            width: 42px;
            padding: 2px;
            border-radius: 4px;
        }

    .branding-text h1 {
        font-size: 13px;
        line-height: 1.25;
    }

    .branding-text p {
        font-size: 9.5px;
    }

    .header-actions {
        gap: 6px;
    }

    .lang-switch {
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 4px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-bar {
        display: none;
    }

        .nav-bar.active {
            display: block;
        }

    .menu {
        flex-direction: column;
        padding: 0;
    }

        .menu > li {
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

    .submenu {
        position: static;
        width: 100%;
        background-color: #3b7693;
        border-top: none;
        box-shadow: none;
    }

        .submenu a {
            color: white;
            padding-left: 25px;
        }

        .submenu .nested-submenu {
            position: static;
            width: 100%;
            background-color: #2e6079;
            border-left: none;
            border-top: none;
            box-shadow: none;
        }

            .submenu .nested-submenu a {
                padding-left: 40px;
            }

    .slide-item img {
        max-height: 230px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* मोबाइल के लिए कैप्शन की साइज कम करना */
    .slide-caption {
        bottom: 25px;
        left: 10px;
        padding: 6px 12px;
    }

        .slide-caption h2 {
            font-size: 13px;
        }
}

@media (max-width: 420px) {
    .branding img {
        height: 36px;
        width: 36px;
    }

    .branding-text h1 {
        font-size: 11.5px;
    }

    .branding-text p {
        font-size: 8.5px;
    }

    .lang-switch {
        padding: 4px 6px;
        font-size: 10px;
    }

        .lang-switch i {
            font-size: 11px;
        }
}

/* news section */

/* Cards Section Layout */
.cards-section {
    padding: 30px 4%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: #f4f6f9;
    align-items: stretch; /* Ensures equal height for all columns */
}

/* Base Card Styling */
.card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 562px; /* Fixed height for equal alignment */
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.card-icon {
    font-size: 22px;
    color: #0b5bb5;
}

/* Auto-Scrolling (Marquee) Container */
.scroll-container {
    height: 425px;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    animation: scrollUp 12s linear infinite;
}

/* Pause scroll on hover */
.scroll-container:hover .scroll-content {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.card-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.card-item {
    border-bottom: 1px solid #eef2f5;
    padding: 12px 0;
}

.item-date {
    font-size: 11px;
    color: #f37021;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.item-link {
    text-decoration: none;
    color: #333;
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 500;
    display: block;
    transition: color 0.2s;
}

    .item-link:hover {
        color: #0b5bb5;
    }

.badge-new {
    background-color: #d9534f;
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    margin-left: 5px;
}

.btn-view-all {
    margin-top: 15px;
    background-color: #0b5bb5;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    align-self: center;
    transition: background 0.3s;
    width: 100%;
}

    .btn-view-all:hover {
        background-color: #07386d;
    }

/* Student's Grievance Cell Form Styling */
.grievance-card {
    background: #7a638b;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 562px;
    box-sizing: border-box;
}

.grievance-header {
    border-bottom: 2px solid #a28cb3;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

    .grievance-header h2 {
        color: #ffffff;
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

.grievance-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

    .grievance-form input,
    .grievance-form select {
        width: 100%;
        padding: 7px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 12px;
        background-color: rgba(255, 255, 255, 0.9);
        box-sizing: border-box;
        outline: none;
    }

        .grievance-form input::placeholder {
            color: #777;
        }

.btn-submit-enquiry {
    margin-top: auto;
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

    .btn-submit-enquiry:hover {
        background-color: #0097a7;
    }

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-section {
        grid-template-columns: 1fr;
    }

    .card, .grievance-card {
        height: auto;
        min-height: 450px;
    }
}

/* Staff section */

.staff-slider-wrapper {
    background-color: #e9eef5;
    padding: 15px 3%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.slider-arrow {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #1a3e68;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 5;
    font-weight: bold;
    transition: color 0.2s;
}

    .slider-arrow:hover {
        color: #0b5bb5;
    }

.staff-slider-container {
    background: #ffffff;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    scroll-behavior: smooth;
}

.staff-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: scrollRightToLeft 25s linear infinite;
    padding: 15px 0;
}

/* Mouse hover par running scroll ko roke */
.staff-slider-container:hover .staff-track {
    animation-play-state: paused;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Clickable Staff Card Link */
.staff-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    max-width: 340px;
    background: linear-gradient(135deg, #ffffff 70%, #f0f4f8 100%);
    padding: 8px 15px;
    border-radius: 6px;
    flex-shrink: 0;
    text-decoration: none; /* Removes link underline */
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

    .staff-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }

.staff-img-box {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

    .staff-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.staff-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: normal;
}

.staff-name {
    font-size: 15px;
    font-weight: 700;
    color: #0d5bb5;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.staff-designation {
    font-size: 12px;
    color: #555555;
    margin: 0;
    line-height: 1.3;
}

.floating-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 10;
}

.action-btn {
    background-color: #1d4382;
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 16px;
}

/* about us */

/* About College Section Layout */
.about-college-section {
    background-color: #e9eef5; /* हल्का नीला बैकग्राउंड जैसा स्क्रीनशॉट में है */
    padding: 12px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    box-sizing: border-box;
}

/* Left Content Area */
.about-content {
    flex: 1.2;
    max-width: 650px;
}

.about-tag {
    font-size: 26px;
    font-weight: 800;
    color: #1a3e68;
    margin: 0 0 10px 0;
}

.about-heading {
    font-size: 22px;
    font-weight: 600;
    color: #2c4266;
    line-height: 1.3;
    margin-bottom: 15px;
}

.about-description {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

/* Bullet Points List */
.about-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

    .about-list li {
        font-size: 14px;
        color: #333333;
        position: relative;
        padding-left: 20px;
        margin-bottom: 8px;
        line-height: 1.4;
        font-weight: 500;
    }

        .about-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #333333;
            font-size: 18px;
            line-height: 1;
            top: 0;
        }

/* Red Know More Button */
.btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e52d27; /* Red Color */
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(229, 45, 39, 0.3);
}

    .btn-know-more:hover {
        background-color: #c01914;
        transform: translateY(-2px);
    }

/* Right Image Area Design */
.about-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    /* Back Accent Box (Right Light Blue Block) */
    .about-image-wrapper::before {
        content: "";
        position: absolute;
        right: -15px;
        top: -20px;
        width: 60%;
        height: 110%;
        background-color: #d1dbe8;
        z-index: 1;
        border-radius: 4px;
    }

/* Image Container */
.about-image-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 480px;
    width: 100%;
}

    .about-image-card img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 2px;
    }

/* Bottom Left Red Accent Line */
.image-red-border {
    position: absolute;
    left: -15px;
    bottom: -15px;
    width: 60px;
    height: 60px;
    border-left: 4px solid #e52d27;
    border-bottom: 4px solid #e52d27;
    z-index: 3;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-college-section {
        flex-direction: column;
        padding: 40px 5%;
    }

    .about-content {
        max-width: 100%;
    }

    .about-image-wrapper {
        width: 100%;
        margin-top: 20px;
    }

        .about-image-wrapper::before {
            display: none;
        }
}

/* gallery */

/* Photo Gallery Section Wrapper */
.gallery-section {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4px;
    padding: 0 20px;
}

.gallery-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff9a9e, #fecfef, #a1c4fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
}

.gallery-subtitle {
    font-size: 15px;
    color: #d1d5db;
    font-weight: 300;
}

.gallery-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

    /* Side Blur Vignette Effect */
    .gallery-slider-container::before,
    .gallery-slider-container::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 5;
        pointer-events: none;
    }

    .gallery-slider-container::before {
        left: 0;
        background: linear-gradient(to right, rgba(15, 32, 39, 1), rgba(15, 32, 39, 0));
    }

    .gallery-slider-container::after {
        right: 0;
        background: linear-gradient(to left, rgba(44, 83, 100, 1), rgba(44, 83, 100, 0));
    }

.gallery-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: galleryContinuousScroll 30s linear infinite;
}

/* Mouse Over पर स्क्रॉल रोकने के लिए */
.gallery-slider-container:hover .gallery-track {
    animation-play-state: paused;
}

@keyframes galleryContinuousScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Equal Height & Equal Design Card Structure */
.gallery-card {
    display: flex;
    flex-direction: column;
    width: 280px;
    height: 280px; /* फिक्स्ड कुल हाइट */
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-card:hover {
        transform: translateY(-6px);
        border-color: #ff9a9e;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    }

/* Upper Image Part */
.gallery-img-box {
    width: 100%;
    height: 170px; /* इमेज की निश्चित हाइट */
    overflow: hidden;
    flex-shrink: 0;
}

    .gallery-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.gallery-card:hover .gallery-img-box img {
    transform: scale(1.08);
}

/* Lower Content Portion (Fixed Equal Height & Alignment) */
.gallery-content {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 110px; /* नीचे के कंटेंट बॉक्स की निश्चित समान हाइट */
    background: rgba(15, 23, 42, 0.6); /* डार्क ट्रांसपेरेंट शेड */
    box-sizing: border-box;
}

/* Date Styling */
.gallery-date {
    font-size: 11px;
    color: #ff9a9e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

/* Title Line Limiter (टाइटल कितना भी बड़ा हो 2 लाइन में ही रहेगा ताकि सब बराबर दिखें) */
.gallery-card-title {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    margin: 4px 0 0 0;
    /* Multiline Ellipsis for Equal Height */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* अधिकतम 2 लाइन */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-footer {
    text-align: center;
    margin-top: 35px;
}

.btn-view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
}

    .btn-view-gallery:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 65, 108, 0.6);
    }

/* principal desk */

/* Section Main Layout */
.principal-section {
    background-image: url('../../images/principal-bg.png');
    background-position: 50%;
    background-size: cover;
    padding: 18px 5%;
    position: relative;
    font-family: 'Poppins', 'Open Sans', sans-serif;
    color: #ffffff;
}

.principal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Left Side Profile Card */
.principal-profile-card {
    flex: 0 0 360px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #dfa234; /* Gold Frame accent */
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

    .image-wrapper img {
        width: 100%;
        height: 380px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.principal-profile-card:hover .image-wrapper img {
    transform: scale(1.04);
}

/* Experience Badge */
.badge-experience {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 34, 57, 0.9);
    border: 1px solid #dfa234;
    padding: 6px 14px;
    border-radius: 30px;
    color: #dfa234;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

    .badge-experience span {
        display: block;
        font-size: 14px;
        color: #fff;
    }

.principal-meta {
    margin-top: 18px;
}

.principal-name {
    font-size: 20px;
    font-weight: 700;
    color: #040404;
    margin: 0 0 4px 0;
}

.principal-designation {
    font-size: 13px;
    color: #0065cb;
    font-weight: 700;
    margin: 0;
}

.gold-divider {
    width: 50px;
    height: 3px;
    background: #dfa234;
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* Right Side Message Card */
.principal-message-card {
    flex: 1;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: rgba(223, 162, 52, 0.15);
    color: rgba(0, 0, 0, 0.4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(223, 162, 52, 0.3);
    margin-bottom: 12px;
}

.principal-heading {
    font-size: 34px;
    font-weight: 800;
    color: #060606;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.quote-symbol {
    font-size: 60px;
    line-height: 1;
    color: #000000;
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: -20px;
}

.principal-text {
    font-size: 15px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 16px;
    text-align: justify;
}

.principal-footer {
    margin-top: 28px;
}

/* Red Glorified Read More Button */
.btn-glorify-red {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e52d27 0%, #b31217 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(229, 45, 39, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-glorify-red:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(229, 45, 39, 0.6);
        background: linear-gradient(135deg, #ff3b35 0%, #c9141a 100%);
    }

    .btn-glorify-red i {
        transition: transform 0.3s ease;
    }

    .btn-glorify-red:hover i {
        transform: translateX(5px);
    }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .principal-container {
        flex-direction: column;
        gap: 40px;
    }

    .principal-profile-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 400px;
    }

    .principal-heading {
        font-size: 26px;
    }
}

/* external links */

.ext-links-section {
    background-color: #eaf3fa;
    padding: 13px 0;
    text-align: center;
    overflow: hidden;
    font-family: 'Open Sans', Arial, sans-serif;
}

.ext-links-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d3c6c;
    margin-bottom: 22px;
}

/* Slider Container */
.ext-links-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0 20px 0;
}

/* Track Animation */
.ext-links-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollLeft 20s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hover & Touch Pause Fix */
.ext-links-slider:hover .ext-links-track,
.ext-links-track:hover,
.ext-links-track.paused {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
}

/* Card Styling Matching Screenshot 1 */
.ext-card {
    width: 200px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 60px 15px 20px 15px;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

    .ext-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

/* Top Overlapping Logo Box */
.ext-icon-box {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #eef2f7;
}

.ext-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Body Text */
.ext-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.ext-card-sub {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0 0 15px 0;
}

.ext-arrow {
    color: #e52d27;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.ext-card:hover .ext-arrow {
    transform: translateX(5px);
}

/* footer */

/* =========================================================
   PREMIUM COLLEGE FOOTER
========================================================= */

.snkp-footer {
    position: relative;
    width: 100%;
    background: linear-gradient( 135deg, rgba(8, 20, 40, 0.7), rgba(19, 32, 55, 0.7) ), url('../../images/footer-strip.jpg') center center / cover no-repeat;
    color: #ffffff;
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    margin-top: 40px;
    overflow: hidden;
}


/* Background Overlay */

.footer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 15% 20%, rgba(111, 59, 168, 0.22), transparent 35% ), radial-gradient( circle at 85% 80%, rgba(0, 123, 255, 0.16), transparent 35% );
    pointer-events: none;
}


/* =========================================================
   MAIN FOOTER CONTAINER
========================================================= */

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: auto;
    padding: 55px 25px 45px;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.2fr;
    gap: 55px;
}


/* =========================================================
   COMMON BLOCK
========================================================= */

.footer-block {
    position: relative;
}


/* =========================================================
   COLLEGE INFO
========================================================= */

.footer-info {
    text-align: left;
}


/* Logo */

.footer-logo {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}


    .footer-logo:hover {
        transform: translateY(-5px) scale(1.04);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    }


    .footer-logo img {
        width: 76px;
        height: 76px;
        object-fit: contain;
        border-radius: 50%;
    }


/* College Name */

.footer-college-name {
    max-width: 470px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
}


/* =========================================================
   OFFICIAL PORTAL
========================================================= */

.footer-portal {
    max-width: 430px;
    margin-bottom: 28px;
}


    .footer-portal a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 17px;
        background: #ffffff;
        color: #6f3ba8;
        border-radius: 45px;
        text-decoration: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
        transition: all 0.3s ease;
    }


        .footer-portal a:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
        }


/* Globe */

.portal-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1eaff;
    color: #6f3ba8;
    flex-shrink: 0;
}


.portal-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


    .portal-text strong {
        font-size: 14px;
        margin-bottom: 2px;
    }


    .portal-text small {
        font-size: 13px;
        font-weight: 700;
        word-break: break-word;
    }


.portal-arrow {
    margin-left: auto;
    font-size: 13px;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social {
    margin-top: 20px;
}


.social-heading {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #d9c8ec;
    margin-bottom: 10px;
}


.social-icons {
    display: flex;
    gap: 10px;
}


.social-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


    .social-btn:hover {
        transform: translateY(-5px) scale(1.08);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    }


.facebook {
    background: #1877f2;
}


.youtube {
    background: #ff0000;
}


.instagram {
    background: linear-gradient( 135deg, #833ab4, #fd1d1d, #fcb045 );
}


.twitter {
    background: #000000;
}


/* =========================================================
   HEADINGS
========================================================= */

.footer-heading {
    position: relative;
    margin: 3px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}


    .footer-heading span {
        display: inline-block;
        width: 38px;
        height: 3px;
        background: #9c5ee0;
        margin-right: 8px;
        vertical-align: middle;
        border-radius: 10px;
    }


.heading-line {
    width: 48px;
    height: 3px;
    margin-top: 10px;
    margin-bottom: 25px;
    background: linear-gradient( 90deg, #9c5ee0, #ffffff );
    border-radius: 10px;
}


/* =========================================================
   CONTACT
========================================================= */
.footer-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    /* Logo Center */
    

        .footer-info .footer-logo img {
            display: block;
            margin: 0 auto;
        }

    /* College Name Center */
    .footer-info .footer-college-name {
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Official Portal Center */
    .footer-info .footer-portal {
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .footer-info .footer-portal > a {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: left;
        }

    /* Social Section Center */
    .footer-info .footer-social {
        width: 100%;
        text-align: center;
    }

    .footer-info .social-heading {
        text-align: center;
    }

    .footer-info .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

.footer-contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
}


    .footer-contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 20px;
    }


.contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c28cff;
    transition: all 0.3s ease;
}


.footer-contact-list li:hover .contact-icon {
    background: #6f3ba8;
    color: #ffffff;
    transform: translateY(-2px);
}


.contact-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


    .contact-content small {
        color: #aeb8c8;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }


    .contact-content a,
    .contact-content span {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.5;
        word-break: break-word;
    }


        .contact-content a:hover {
            color: #c38df1;
            text-decoration: none;
        }


/* =========================================================
   GOOGLE MAP
========================================================= */

.map-card {
    position: relative;
    width: 100%;
    height: 235px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}


    .map-card iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }


/* Map Label */

.map-overlay-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}


    .map-overlay-label i {
        color: #d62828;
    }


/* =========================================================
   BOTTOM FOOTER
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(0, 0, 0, 0.25);
}


.footer-bottom-inner {
    max-width: 1250px;
    margin: auto;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.copyright {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #e4e4e4;
    font-size: 13px;
    line-height: 1.5;
}


    .copyright i {
        color: #c18bf0;
    }


.credits {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dddddd;
    font-size: 13px;
}


    .credits a {
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
    }


        .credits a:hover {
            color: #c18bf0;
            text-decoration: none;
        }


.admin-login {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}


    .admin-login:hover {
        background: #6f3ba8;
        color: #ffffff !important;
        transform: rotate(10deg);
    }


/* =========================================================
   SCROLL TOP
========================================================= */

.top-arrow-btn {
    position: fixed;
    right: 22px;
    bottom: 20px;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #7b42bb;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 9999;
}


    .top-arrow-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    .top-arrow-btn:hover {
        background: #7b42bb;
        color: #ffffff;
        transform: translateY(-4px);
    }


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 992px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-info {
        grid-column: 1 / -1;
    }

    .footer-college-name {
        max-width: 700px;
    }

    .footer-portal {
        max-width: 500px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    .snkp-footer {
        margin-top: 25px;
    }


    .footer-container {
        grid-template-columns: 1fr;
        padding: 40px 18px 35px;
        gap: 35px;
    }


    .footer-info {
        grid-column: auto;
        text-align: center;
    }



    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }


    .footer-college-name {
        max-width: 100%;
        font-size: 18px;
        line-height: 1.5;
    }


    .footer-portal {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }


    .social-icons {
        justify-content: center;
    }


    .footer-heading {
        font-size: 18px;
    }


    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding: 18px 15px;
    }


    .copyright {
        justify-content: center;
        flex-wrap: wrap;
    }


    .credits {
        justify-content: center;
        flex-wrap: wrap;
    }


    .map-card {
        height: 240px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px) {

    .footer-container {
        padding-left: 14px;
        padding-right: 14px;
    }


    .footer-college-name {
        font-size: 16px;
    }


    .footer-portal a {
        padding: 11px 12px;
        gap: 9px;
    }


    .portal-icon {
        width: 34px;
        height: 34px;
    }


    .portal-text strong {
        font-size: 12px;
    }


    .portal-text small {
        font-size: 10px;
    }


    .social-btn {
        width: 36px;
        height: 36px;
    }


    .footer-contact-list li {
        margin-bottom: 17px;
    }


    .contact-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }


    .contact-content a,
    .contact-content span {
        font-size: 13px;
    }


    .map-card {
        height: 220px;
    }


    .top-arrow-btn {
        right: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }
}

/* Top Header Bar Container */

/* Top Header Bar Styling */
.top-header-bar {
    background-color: #eaf2ff; /* Light soft blue background matching image */
    border-bottom: 1px solid #d0e1fd;
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    width: 100%;
    padding: 8px 0;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Left & Right Link Containers */
.top-links-left, .top-links-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* General Nav Links */
.top-header-bar .nav-link {
    color: #1e3a8a; /* Soft Navy Blue */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

    .top-header-bar .nav-link:hover {
        color: #0369a1;
        text-decoration: underline;
    }

/* Highlighted Link (PM Surya Ghar Yojna) */
.top-header-bar .highlight-link {
    color: #f59e0b !important; /* Golden Orange color */
    font-weight: 700;
}

/* Layout & Container Alignment */
.top-links-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .top-links-right .nav-link {
        color: #1e3a8a;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        transition: color 0.2s;
    }

        .top-links-right .nav-link:hover {
            color: #0284c7;
            text-decoration: underline;
        }

/* Vertical Separator Line */
.vertical-divider {
    width: 1px;
    height: 18px;
    background-color: #cbd5e1;
    margin: 0 4px;
}

/* Toolbar List reset */
.accessibility-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 1. High Contrast Icon Button */
.contrast-btn {
    background: transparent;
    border: none;
    color: #1d4ed8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: transform 0.2s ease;
}

    .contrast-btn:hover {
        transform: scale(1.1);
    }

/* 2. Pill Language Switcher (Exact Match with Image) */
.lang-pill-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 14px;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
}

    .lang-pill-btn:hover {
        border-color: #3b82f6;
        box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
    }

.lang-opt {
    font-size: 13px;
    font-weight: 700;
    color: #3b82f6;
    opacity: 0.5;
    transition: opacity 0.2s;
}

    .lang-opt.active {
        opacity: 1;
        color: #1d4ed8;
    }

.lang-sep {
    font-size: 12px;
    color: #94a3b8;
}

/* 3. Font Resizer Boxed Buttons (Exact Match with Image) */
.font-controls {
    display: flex;
    align-items: center;
    gap: 3px;
}

.font-btn {
    background-color: #e2e8f0; /* Soft light gray/blue matching screenshot */
    color: #1e3a8a;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s, color 0.2s;
}

    .font-btn:hover {
        background-color: #cbd5e1;
        color: #0f172a;
    }

/* Contrast Mode Global Styles (Dark High Contrast Theme) */
body.high-contrast {
    background-color: #121212 !important;
    color: #ffffff !important;
}

    body.high-contrast a,
    body.high-contrast button {
        color: #ffff00 !important; /* Accessibility Yellow */
    }

    body.high-contrast .lang-pill-btn,
    body.high-contrast .font-btn {
        background-color: #000000 !important;
        border-color: #ffffff !important;
    }

/* Responsive Mobile & Tablet Layout */
@media (max-width: 992px) {
    .top-header-container {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        gap: 25px;
        padding: 2px 15px;
        -webkit-overflow-scrolling: touch;
    }

        /* Hide Scrollbar for cleaner look */
        .top-header-container::-webkit-scrollbar {
            height: 3px;
        }

        .top-header-container::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }
}

/* Start-logo Right Side Button */
.logo-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    margin-right: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8b0000, #c62828);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .logo-menu-btn:hover {
        background: linear-gradient(135deg, #c62828, #8b0000);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.25);
        color: #fff !important;
    }

    .logo-menu-btn i {
        font-size: 15px;
    }

/* 1. Google Translate Top Frame / Banner Hide */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe[id=":1.container"],
iframe[id^=":"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

/* 2. Body top margin reset (Google Body को नीचे खिसका देता है) */
body {
    top: 0px !important;
    position: static !important;
}

/* 3. Translation Tooltip and Hover Effects Hide */
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
    box-shadow: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 4. Extra Space Fix */
.skiptranslate {
    display: none !important;
}

    .skiptranslate.goog-te-gadget {
        display: none !important;
    }
/* Container reset */
.social-media-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Base Social Button Styling */
.social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%; /* गोल शेप के लिए (अगर चौकोर चाहिए तो 6px करें) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    /* Icon Alignment */
    .social-btn i {
        line-height: 1;
    }

    /* Hover Effect - हल्का ऊपर उठेगा और चमक बढ़ेगी */
    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        color: #ffffff !important;
    }

    /* Individual Brand Colors & Gradients */
    .social-btn.facebook {
        background-color: #1877f2;
    }

    .social-btn.youtube {
        background-color: #ff0000;
    }

    .social-btn.instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }

    .social-btn.twitter {
        background-color: #000000; /* X (Twitter) Official Dark Color */
    }
/* ==========================================================
   MOBILE VIEW (ऊपर लिंक्स और नीचे आइकॉन्स)
   ========================================================== */
@media (max-width: 768px) {
    .top-header-container {
        flex-direction: column; /* एक के नीचे एक दिखाएगा */
        justify-content: center;
        gap: 8px;
        padding: 8px 10px;
    }

    /* डेस्कटॉप वाली वर्टिकल लाइन छुपाएं */
    .header-v-divider {
        display: none;
    }

    /* 1. ऊपर वाली लाइन (ऑनलाइन एडमिशन, CPGRAMS आदि) */
    .top-links-left {
        width: 100%;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap; /* स्क्रीन छोटी पड़ने पर आपस में एडजस्ट हो जाएंगे */
    }

    .header-link {
        font-size: 12px;
    }

    /* 2. नीचे वाली लाइन (सोशल आइकॉन्स + लैंग्वेज बटन) */
    .top-links-right {
        width: 100%;
        justify-content: center;
    }

    .accessibility-toolbar {
        gap: 8px;
    }

    .social-btn {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }
}

.no-data-found {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 15px;
    margin: 30px 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

    .no-data-found i {
        font-size: 1.3rem;
        color: #d39e00;
    }

    .no-data-found strong {
        font-weight: 700;
        letter-spacing: 0.8px;
    }

.top-arrow-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 44px;
    height: 44px;
    border: 2px solid #8b5cf6;
    border-radius: 10px;
    background: #ffffff;
    color: #8b5cf6;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

    .top-arrow-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .top-arrow-btn:hover {
        background: #8b5cf6;
        color: #ffffff;
        transform: translateY(-3px);
    }