/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== COMMON COMPONENT STYLES ===== */

/* Card Styles */
.results-card,
.gallery-card,
.news-card {
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.results-card:hover,
.gallery-card:hover,
.news-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Background Colors */
.bg-light {
    background-color: #f8fafc;
}

.bg-dark {
    background-color: #1e293b !important;
}

/* Text Colors */
.text-primary {
    color: #3b82f6;
}

.text-dark {
    color: #1e293b;
}

.text-accent {
    color: #f59e0b;
}

/* ===== NAVIGATION TABS ===== */
.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.nav-tabs .nav-link {
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    color: #6b7280;
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.nav-tabs .nav-link.active::before {
    width: 100%;
}

.nav-tabs .nav-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

/* ===== TAB CONTENT STYLES ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== CHART CONTAINERS ===== */
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.back-to-top.show {
    opacity: 1;
}

/* ===== EXPORT BUTTONS ===== */
.export-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE TABLE ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Table Styling */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

th {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

tr:hover {
    background-color: #f8fafc;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ===== PASS BADGES ===== */
.pass-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pass-excellent {
    background-color: #dcfce7;
    color: #166534;
}

.pass-good {
    background-color: #fef9c3;
    color: #854d0e;
}

.pass-average {
    background-color: #fee2e2;
    color: #991b1b;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ===== BUTTON STYLES ===== */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

/* ===== NEWS CONTENT STYLES ===== */
.news-content {
    line-height: 1.8;
    font-size: 1.125rem;
    overflow: visible !important;
    max-height: none !important;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content-container {
    overflow: visible;
    max-height: none;
}

.news-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== GALLERY STYLES ===== */
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(59, 130, 246, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: #3b82f6;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== TAB BUTTONS ===== */
.tab-button {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-button:hover:not(.active) {
    color: #4b5563;
    border-bottom-color: #d1d5db;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.filter-btn:hover:not(.active) {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: #3b82f6;
}

/* ===== EVENT CARD STYLES ===== */
.event-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.counter-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== NEWS CONTENT SCROLL ===== */
.news-content-scroll {
    max-height: 120px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.news-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.news-content-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.news-content-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.news-content-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== SHORT DESCRIPTION BOX ===== */
.short-description-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .export-buttons {
        flex-direction: column;
    }
    
    .export-buttons button,
    .export-buttons .btn {
        width: 100%;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tabs .nav-link {
        margin: 4px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .gallery-image,
    .video-container {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .nav-tabs .nav-link {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hidden {
    display: none;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .back-to-top,
    .export-buttons,
    .nav-tabs {
        display: none !important;
    }
}





 .download-card {
            border: 2px solid #e5e7eb;
            transition: all 0.3s ease;
            background: white;
        }
        
        .download-card:hover {
            border-color: #3b82f6;
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .bg-light {
            background-color: #f8fafc;
        }
        
        .bg-dark {
            background-color: #1e293b !important;
        }
        
        .text-primary {
            color: #3b82f6;
        }
        
        .text-dark {
            color: #1e293b;
        }
        
        .text-accent {
            color: #f59e0b;
        }
        
        .file-icon {
            font-size: 3rem;
            color: #3b82f6;
        }
        
        .download-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
            border: none;
            border-radius: 25px;
            padding: 10px 25px;
            color: white;
            transition: all 0.3s ease;
        }
        
        .download-btn:hover {
            transform: scale(1.05);
            color: white;
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
        }
        
        .stats-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }
        
        .stats-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #3b82f6;
            margin-bottom: 0;
        }
        
        .stats-label {
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 1000;
        }
        
        .back-to-top.show {
            opacity: 1;
        }

        .file-extension {
            background: #3b82f6;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: bold;
            margin-left: 8px;
        }
        
        
        
     