﻿/* Import Google Fonts for Punjabi/Gurmukhi support */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gurmukhi:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukti:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Thambi+2:wght@400;500;600;700&display=swap');

/* Enhanced Punjabi text styling - Base styling only */
/* Note: Font-size is defined per-section to avoid conflicts */
.punjabi-text {
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', 'Mukti', 'Raavi', sans-serif !important;
    font-weight: 600;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Punjabi Text Boost */
body.punjabi {
    font-size: 110%;
    /* Makes all relative units 10% larger */
}


/* Language switch helper classes */
.lang-en {
    display: block;
}

.lang-pa {
    display: none;
}

body.punjabi .lang-en {
    display: none;
}

body.punjabi .lang-pa {
    display: block;
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', sans-serif;
}

/* =====================================================
   SECTION-SPECIFIC PUNJABI TEXT SIZING
   Punjabi text needs to be ~10-15% larger for readability
   Using specific classes to avoid conflicts
   ===================================================== */

/* =====================================================
   PUNJABI TEXT OVERRIDES FOR INDEX.ASPX
   Override MasterPage's .punjabi-text { font-size: inherit !important; }
   ===================================================== */

/* 
   MasterPage adds these when language switches to Punjabi:
   - lang="pa" attribute to element
   - .punjabi-text class to element
   
   MasterPage CSS has: .punjabi-text { font-size: inherit !important; }
   We need higher specificity to override this.
*/

/* Font family for all Punjabi text */
h2.punjabi-section-header.punjabi-text,
p.punjabi-section-header.punjabi-text,
h2[lang="pa"],
p[lang="pa"],
.section-header h2.punjabi-text,
.section-header p.punjabi-text {
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', sans-serif !important;
    text-shadow: none !important;
}

/* Override for h2 headers in section headers */
/* Specificity: 0,3,1 or higher to beat .punjabi-text (0,1,0) */
h2.punjabi-section-header.punjabi-text,
h2.punjabi-section-header[lang="pa"],
.section-header h2.punjabi-text,
.section-header h2[lang="pa"],
.announcements-section h2.punjabi-text,
.announcements-section h2[lang="pa"],
.announcements-section .section-header h2.punjabi-text,
.announcements-section .section-header h2[lang="pa"],
.uni-achievements-section .section-header h2.punjabi-text,
.uni-achievements-section .section-header h2[lang="pa"],
.clubs-events-section .section-header h2.punjabi-text,
.clubs-events-section .section-header h2[lang="pa"] {
    font-size: 2rem !important;
    /* Managed to match other sections 2rem */
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.4 !important;
    text-align: left !important;
    display: inline-block !important;
    /* Ensure it stays inline-block like others */
}

/* Override for p tags in section headers */
p.punjabi-section-header.punjabi-text,
p.punjabi-section-header[lang="pa"],
.section-header p.punjabi-text,
.section-header p[lang="pa"],
.announcements-section p.punjabi-text,
.announcements-section p[lang="pa"],
.announcements-section .section-header p.punjabi-text,
.announcements-section .section-header p[lang="pa"],
.uni-achievements-section .section-header p.punjabi-text,
.uni-achievements-section .section-header p[lang="pa"],
.clubs-events-section .section-header p.punjabi-text,
.clubs-events-section .section-header p[lang="pa"] {
    font-size: 1.1rem !important;
    /* Match other sections 1.1rem */
    line-height: 1.7 !important;
    font-weight: 500 !important;
    text-align: left !important;
    margin-top: 15px !important;
}

/* Specific Section Overrides for h3/h4 */
.uni-achievements-section h3.punjabi-text,
.uni-achievements-section h4.punjabi-text,
.uni-achievements-section h3[lang="pa"],
.uni-achievements-section h4[lang="pa"] {
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', sans-serif !important;
    font-size: 1.4rem !important;
}

.clubs-events-section h3.punjabi-text,
.clubs-events-section h4.punjabi-text,
.clubs-events-section h3[lang="pa"],
.clubs-events-section h4[lang="pa"] {
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', sans-serif !important;
    font-size: 1.4rem !important;
}






/* Marquee scrolling styles */
marquee {
    height: 200px;
    overflow: hidden;
}

.css-marquee {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.css-marquee-content {
    animation: scrollUp 20s linear infinite;
    position: absolute;
    width: 100%;
}

.css-marquee:hover .css-marquee-content {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.news-link-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-link-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.news-link-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.news-link-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Stats Section Styles */
.stats-parallax-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-box h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.stat-box h4 {
    color: #f8f9fa;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.stat-box p {
    color: #e9ecef;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 5px 0;
}

/* ====== COMMENTED OUT - Related to removed news/tabbed-announcements sections ======
   Tabbed Section Styles
.tabbed-announcements-section {
    background: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

.tabbed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tabbed-announcements-header {
    text-align: center;
    margin-bottom: 30px;
}

.tabbed-announcements-header h2 {
    color: #1e3c72;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.tabbed-announcements-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 25px;
    margin: 0 5px;
    border-radius: 25px;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #1e3c72;
    background: rgba(30, 60, 114, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.tab-content-wrapper {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 400px;
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.scrolling-content {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.scrolling-marquee {
    animation: scrollUp 20s linear infinite;
    padding: 20px;
}

.scrolling-marquee:hover {
    animation-play-state: paused;
}
====== END COMMENTED OUT ====== */

/* Latest Events Section */
.latest-events-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 40px;
}

.events-header {
    text-align: center;
    margin-bottom: 50px;
}

.events-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
}

.events-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 2px;
}

.events-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

.events-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.events-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    width: max-content;
}

.event-card {
    flex: 0 0 calc((1200px - 60px) / 3);
    width: calc((1200px - 60px) / 3);
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-date {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #007bff;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #007bff;
    color: white;
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

/* About GNDU Section */
.about-gndu.section {
    padding: 60px 0;
}

.about-gndu .about-gndu-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.about-gndu h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #10243E;
    margin-bottom: 50px;
}

.about-gndu .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-gndu .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.about-gndu .media-two img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(16, 36, 62, .15);
}

.about-gndu .details p {
    font-family: Arial, sans-serif;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-align: justify;
}

.about-gndu .view-more a {
    display: inline-block;
    padding: 10px 18px;
    background: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.about-gndu .view-more a:hover {
    background: #0b5ed7;
}

/* Tabs Box Section - Vice Chancellor */
.tabs-box {
    padding: 45px 0;
}

.tabs-box .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.tabs-box .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.tabs-box .col-md-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
    padding: 0 12px;
}

.tabs-box .col-md-5 {
    flex: 0 0 41.667%;
    max-width: 41.667%;
    padding: 0 12px;
}

.tabs-box .media {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: start;
}

.tabs-box .principal_heading img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.tabs-box .principal_heading h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10243E;
    margin: 12px 0 2px;
}

.tabs-box .principal_heading_b {
    display: block;
    color: #4b5563;
    font-weight: 600;
}

.tabs-box .media-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10243E;
    margin-bottom: 8px;
}

.tabs-box .media-body p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

.tabs-box .view-more a {
    display: inline-block;
    padding: 10px 16px;
    background: #0d6efd;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.tabs-box .view-more a:hover {
    background: #0b5ed7;
}

/* Tab Navigation for Vice Chancellor section */
.tabs-box .nav-tabs {
    background: #10243E;
    border-radius: 4px 4px 0 0;
    padding: 0;
    border: none;
    display: flex;
    list-style: none;
    margin: 0;
}

.tabs-box .nav-tabs .nav-item {
    flex: 1;
}

.tabs-box .nav-tabs .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 12px 14px;
    border: none;
    opacity: .85;
    cursor: pointer;
    background: transparent;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tabs-box .nav-tabs .nav-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.tabs-box .nav-tabs .nav-link.active {
    background: #14437F;
    color: #ffffff;
    opacity: 1;
}

.tabs-box .tab-content {
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 20px;
    max-height: 440px;
    overflow-y: auto;
    background: #fff;
}

.tabs-box .tab-pane {
    display: none;
}

.tabs-box .tab-pane.active {
    display: block;
}

.tabs-box .tab-content .media {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.tabs-box .tab-content .media img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.tabs-box .tab-content .media h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #10243E;
}

.tabs-box .tab-content .media a {
    color: #0d6efd;
    text-decoration: none;
}

.tabs-box .tab-content .media a:hover {
    text-decoration: underline;
}

/* Important Links List */
.tabs-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tabs-box ul li {
    position: relative;
    padding: 8px 8px 8px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.tabs-box ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 8px;
    color: #16a34a;
    font-weight: 700;
    font-size: 1.2rem;
}

.tabs-box ul li a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.tabs-box ul li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {

    .tabs-box .col-md-7,
    .tabs-box .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tabs-box .col-md-5 {
        margin-top: 30px;
    }

    .tabs-box .media {
        grid-template-columns: 140px 1fr;
    }
}

@media (max-width: 768px) {
    .about-gndu .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .tabs-box .media {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex: 0 0 calc(100vw - 40px);
        width: calc(100vw - 40px);
    }

    .carousel-nav {
        display: none;
    }
}

/* View All Button */
.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}



/* =====================================================
   FIXED COLUMN WIDTHS FOR DESKTOP VIEW ON MOBILE
   These override Bootstrap's responsive breakpoints to maintain
   desktop layout when "Request Desktop View" is enabled on mobile.
   ===================================================== */

/* University Achievements Section - col-xl-8/col-md-4 split */
.uni-achievements-section .row>.col-xl-8,
.uni-achievements-section .row>.col-lg-8 {
    flex: 0 0 66.666% !important;
    max-width: 66.666% !important;
}

.uni-achievements-section .row>.col-md-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}

/* Clubs & Events Section - col-xl-4/col-md-8 split */
.clubs-events-section .row>.col-xl-4,
.clubs-events-section .row>.col-lg-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}

.clubs-events-section .row>.col-md-8 {
    flex: 0 0 66.666% !important;
    max-width: 66.666% !important;
}

/* Announcements Section - col-xl-4/col-xl-8 split */
.announcements-section .row>.col-xl-4,
.announcements-section .row>.col-lg-5 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}

.announcements-section .row>.col-xl-8,
.announcements-section .row>.col-lg-7 {
    flex: 0 0 66.666% !important;
    max-width: 66.666% !important;
}

/* Responsive override for ACTUAL mobile view (not "Request Desktop Site")
   When "Request Desktop Site" is enabled, viewport is typically 980px+
   When in normal mobile view, viewport is ~360-414px
   Using 600px as threshold to distinguish between these modes */
@media (max-width: 600px) {

    /* University Achievements Section */
    .uni-achievements-section .row>.col-xl-8,
    .uni-achievements-section .row>.col-lg-8,
    .uni-achievements-section .row>.col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Clubs & Events Section */
    .clubs-events-section .row>.col-xl-4,
    .clubs-events-section .row>.col-lg-4,
    .clubs-events-section .row>.col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Announcements Section */
    .announcements-section .row>.col-xl-4,
    .announcements-section .row>.col-lg-5,
    .announcements-section .row>.col-xl-8,
    .announcements-section .row>.col-lg-7 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}



/* =====================================================
   ANNOUNCEMENTS & NOTICES SECTION STYLES
   ===================================================== */

.announcements-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 50%, #dce5f0 100%);
    position: relative;
}

.announcements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a3a6e 0%, #14437F 50%, #f47207 100%);
}

.announcements-section .section-header {
    text-align: left;
    margin-bottom: 45px;
}

.announcements-section .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #10243E;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    text-transform: none;
    /* Explicitly remove uppercase */
}

.announcements-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f47207, #ff9800);
    border-radius: 2px;
}

.announcements-section .section-header p {
    color: #5a6a7d;
    font-size: 1.05rem;
    margin-top: 20px;
}


/* Announcement Wrapper Styles - With Colored Borders */
.announcement-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    overflow: hidden;
    border: 1px solid #1a3a6e;
    transition: all 0.3s ease;
}

.announcement-wrapper:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Left wrapper - Uses default blue border now to unify theme */

/* Solid Professional Tab Navigation */
.ann-tab-nav {
    display: flex;
    background: #e9ecef;
    /* Light gray track */
    border-bottom: none;
    padding: 0;
    gap: 1px;
    /* Separator line */
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.ann-tab-btn {
    flex: 1;
    background: #1a3a6e;
    border: none;
    padding: 14px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    /* Dark gray text */
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    white-space: nowrap;
    margin: 0;
}

.ann-tab-btn:hover {
    background: #dee2e6;
    color: #212529;
}

.ann-tab-btn i {
    margin-right: 8px;
    font-size: 1rem;
    color: #ffffff;
}

/* Active State - Blue Theme (Right Section) */
.ann-tab-btn.active {
    background: #fbb205;
    /* Solid Navy Blue */
    color: #ffffff;
    font-weight: 700;
    border: none;
}

.ann-tab-btn.active i {
    color: #ffffff;
}

.ann-tab-btn.active::after {
    display: none;
}

/* Left Section (Tenders/Quotations) - Orange Theme */
.ann-tab-nav.orange {
    background: #fff3e0;
    /* Very light orange track */
}

.ann-tab-nav.orange .ann-tab-btn {
    background: #ffe0b2;
    color: #e65100;
}

.ann-tab-nav.orange .ann-tab-btn:hover {
    background: #ffcc80;
}

.ann-tab-nav.orange .ann-tab-btn.active {
    background: #f47207;
    /* Solid Orange */
    color: #ffffff;
}

.ann-tab-nav.orange .ann-tab-btn.active i {
    color: #ffffff;
}

.ann-tab-nav.orange .ann-tab-btn i {
    color: #ef6c00;
}

/* Punjabi Font Styling for Tab Buttons and Accordion Headers */
/* Override MasterPage's .punjabi-text { font-size: inherit !important; } */
.ann-tab-btn span.punjabi-text,
.ann-tab-btn span[lang="pa"],
.announcements-section .ann-tab-btn span.punjabi-text,
.announcements-section .ann-tab-btn span[lang="pa"] {
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.mobile-accordion-header span.punjabi-text,
.mobile-accordion-header span[lang="pa"],
.announcements-section .mobile-accordion-header span.punjabi-text,
.announcements-section .mobile-accordion-header span[lang="pa"] {
    font-family: 'Noto Sans Gurmukhi', 'Baloo Thambi 2', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
}


/* Tab Content Area */
.ann-tab-content {
    display: none;
    padding: 0;
}

.ann-tab-content.active {
    display: block;
}

/* Scroll Container */
.ann-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: #1a3a6e #e9ecef;
}

.ann-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.ann-scroll-container::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.ann-scroll-container::-webkit-scrollbar-thumb {
    background: #1a3a6e;
    border-radius: 3px;
}

.ann-scroll-container.orange-scroll::-webkit-scrollbar-thumb {
    background: #f47207;
}

/* News Item with Date Box (Left Section) */
.news-item-dated {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-item-dated:hover {
    background: #fff;
    border-color: #f47207;
    box-shadow: 0 4px 15px rgba(244, 114, 7, 0.12);
    transform: translateY(-2px);
}

.news-item-dated:last-child {
    margin-bottom: 0;
}

/* Date Box Styling - Similar to VC Section Press Releases */
.date-box {
    flex: 0 0 72px;
    min-width: 72px;
    height: 72px;
    text-align: center;
    background: linear-gradient(145deg, #1a3a6e 0%, #0d2240 100%);
    color: #fff;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(16, 36, 62, 0.25);
    position: relative;
    overflow: hidden;
}

.date-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ffa500;
}

.date-box.orange {
    /* background: linear-gradient(145deg, #f47207 0%, #d4740e 100%); */
    box-shadow: 0 4px 12px rgba(244, 114, 7, 0.3);
}

.date-box.orange::before {
    background: #ffa500;
}

.date-box .day {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.date-box .month-year {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 4px;
    display: block;
}

/* News Content */
.news-content {
    flex: 1;
    min-width: 0;
}

.news-text-content {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #0d6efd;
    text-decoration: none;
    padding: 4px 10px;
    background: #e7f1ff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.news-link:hover {
    background: #0d6efd;
    color: #fff;
}

.news-link i {
    font-size: 0.7rem;
}

.last-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #dc3545;
    font-weight: 600;
    padding: 4px 10px;
    background: #ffebee;
    border-radius: 15px;
}

.last-date-badge i {
    font-size: 0.7rem;
}

/* Simple News Item (Right Section without Date Box) */
.news-item-simple {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid #1a3a6e;
}

.news-item-simple:hover {
    background: #eef2f7;
    transform: translateX(3px);
}

.news-item-simple:last-child {
    margin-bottom: 0;
}

/* Load More Button */
.load-more-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #f47207 0%, #e06000 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #e06000 0%, #cc5500 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 114, 7, 0.3);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.load-more-btn i {
    font-size: 0.8rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.empty-state p {
    margin: 0;
    font-size: 1rem;
}

/* Mobile Accordion Styles - Match Desktop Tab Colors */
.mobile-accordion-header {
    display: none;
    padding: 14px 16px;
    background: #1a3a6e;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-accordion-header:hover {
    background: #2a4a7e;
    color: #ffffff;
}

.mobile-accordion-header:first-of-type {
    border-radius: 6px 6px 0 0;
}

.mobile-accordion-header.orange {
    background: #1a3a6e;
}

.mobile-accordion-header.orange:hover {
    background: #2a4a7e;
    color: #ffffff;
}

.mobile-accordion-header span i {
    margin-right: 10px;
    color: #ffffff;
}

.mobile-accordion-header.orange span i {
    color: #ffffff;
}

.mobile-accordion-header::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
    opacity: 0.8;
    color: #ffffff;
}

.mobile-accordion-header.active::after {
    transform: rotate(180deg);
    color: #333;
}

.mobile-accordion-header.orange.active::after {
    color: #333;
}

/* Active State - Gold/Yellow like desktop tabs */
.mobile-accordion-header.active {
    background: #fbb205;
    color: #ffffff;
}

.mobile-accordion-header.orange.active {
    background: #fbb205;
    color: #ffffff;
}

.mobile-accordion-header.active span i {
    color: #ffffff;
}

.mobile-accordion-header.orange.active span i {
    color: #ffffff;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .announcements-section {
        padding: 40px 0;
    }

    .announcements-section .section-header h2 {
        font-size: 1.5rem;
    }

    .announcement-wrapper.left-wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {

    /* Hide desktop tabs, show accordion headers */
    .ann-tab-nav {
        display: none !important;
    }

    .mobile-accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* All tab contents hidden by default on mobile */
    .ann-tab-content {
        display: none;
    }

    /* Show content when accordion is active */
    .ann-tab-content.active {
        display: block;
    }

    .announcement-wrapper {
        border-radius: 8px;
        overflow: hidden;
    }

    .ann-scroll-container {
        max-height: 350px;
    }

    .news-item-dated {

        align-items: flex-start;
        display: flex
    }

    .date-box {
        flex-direction: row;
        gap: 8px;
        width: auto;
        padding: 6px 12px;
    }

    .date-box .day {
        font-size: 1.1rem;
    }

    .date-box .month-year {
        font-size: 0.7rem;
    }

    .news-text-content {
        font-size: 0.85rem;
    }

    .news-meta {
        gap: 6px;
    }

    .news-link {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .last-date-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .ann-scroll-container {
        max-height: 300px;
        padding: 12px;
    }

    .news-item-dated,
    .news-item-simple {
        padding: 10px;
        margin-bottom: 10px;
    }

    .load-more-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
}