    /* Base Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        line-height: 1.6;
        color: #333;
        background-color: #f8f9fa;
    }
    
    .video-hub-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    
    /* Header Styles */
    .video-hub-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .video-hub-header h1 {
        font-size: 2.5rem;
        color: #2c3e50;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }
    
    .video-hub-header p {
        font-size: 1.1rem;
        color: #7f8c8d;
        margin-bottom: 2rem;
    }
    
    /* Filter Controls */
    .video-filter-controls {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-tabs {
        display: flex;
        background: #fff;
        border-radius: 50px;
        padding: 0.25rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .filter-tab {
        padding: 0.75rem 1.5rem;
        border: none;
        background: transparent;
        cursor: pointer;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
        color: #7f8c8d;
    }
    
    .filter-tab.active, .filter-tab:hover {
        background: #3E6DAF;
        color: white;
    }
    
    .search-box {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .search-box input {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        border: 1px solid #ddd;
        border-radius: 50px;
        width: 250px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }
    
    .search-box input:focus {
        outline: none;
        border-color: #3E6DAF;
        box-shadow: 0 0 0 3px rgba(62, 109, 175, 0.1);
    }
    
    .search-box i {
        position: absolute;
        left: 1rem;
        color: #7f8c8d;
    }
    
    /* Video Grid */
    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .video-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    
    .video-thumbnail {
        position: relative;
        overflow: hidden;
        aspect-ratio: 16/9;
    }
    
    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .video-card:hover .video-thumbnail img {
        transform: scale(1.05);
    }
    
    .video-duration {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(0,0,0,0.7);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .video-info {
        padding: 1.25rem;
    }
    
    .video-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: #2c3e50;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .video-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.85rem;
        color: #7f8c8d;
    }
    
    /* Load More Button */
    .video-load-more {
        text-align: center;
        margin-top: 2rem;
    }
    
    #loadMoreVideos {
        background: #3E6DAF;
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(62, 109, 175, 0.3);
    }
    
    #loadMoreVideos:hover {
        background: #2c5599;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(62, 109, 175, 0.4);
    }
    
    /* Video Modal */
    .video-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.85);
        z-index: 1000;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .video-modal.show {
        display: flex;
        opacity: 1;
    }
    
    .modal-content {
        background: white;
        border-radius: 12px;
        width: 90%;
        max-width: 900px;
        max-height: 90vh;
        overflow: hidden;
        position: relative;
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }
    
    .video-modal.show .modal-content {
        transform: scale(1);
    }
    
    .close-modal {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        color: white;
        background: rgba(0,0,0,0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }
    
    .close-modal:hover {
        background: rgba(0,0,0,0.7);
        transform: rotate(90deg);
    }
    
    .video-container {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        background: #000;
    }
    
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    
    .video-info {
        padding: 1.5rem;
        max-height: 30vh;
        overflow-y: auto;
    }
    
    .video-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
        color: #2c3e50;
    }
    
    .video-info p {
        margin-bottom: 1rem;
        color: #34495e;
        line-height: 1.6;
    }
    
    .video-info .video-meta {
        display: flex;
        gap: 1rem;
        font-size: 0.9rem;
        color: #7f8c8d;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }
    
    /* Individual Video View Styles */
    .video-detail-view {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .video-player-container {
        margin-bottom: 2rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .video-detail-info h1 {
        font-size: 2rem;
        color: #2c3e50;
        margin-bottom: 1rem;
    }
    
    .video-detail-info .video-meta {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        color: #7f8c8d;
        font-size: 0.9rem;
    }
    
    .video-description {
        line-height: 1.7;
        color: #34495e;
        margin-bottom: 2rem;
        white-space: pre-line;
    }
    
    .back-to-videos {
        display: inline-flex;
        align-items: center;
        color: #3E6DAF;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    
    .back-to-videos:hover {
        color: #2c5599;
    }
    
    /* Loading animation for cards */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1;transform: translateY(0); }
    }

    .video-card {
        animation: fadeIn 0.5s ease;
    }

    /* Loading state for button */
    #loadMoreVideos.loading {
        position: relative;
        color: transparent;
    }

    #loadMoreVideos.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border: 3px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Scrollbar styling for modal content */
    .video-info::-webkit-scrollbar {
        width: 8px;
    }

    .video-info::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .video-info::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

    .video-info::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* No results message */
    .no-results {
        grid-column: 1 / -1;
        text-align: center;
        padding: 2rem;
        color: #7f8c8d;
        font-style: italic;
        display: none;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .video-filter-controls {
            flex-direction: column;
            align-items: center;
        }
        
        .filter-tabs {
            width: 100%;
            justify-content: center;
        }
        
        .search-box {
            width: 100%;
        }
        
        .search-box input {
            width: 100%;
        }
        
        .video-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .modal-content {
            width: 95%;
        }
        
        .video-info {
            padding: 1rem;
        }
        
        .video-info h3 {
            font-size: 1.2rem;
        }
        
        .video-info .video-meta {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .video-detail-info h1 {
            font-size: 1.5rem;
        }
        
        .video-detail-info .video-meta {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

    @media (max-width: 480px) {
        .video-grid {
            grid-template-columns: 1fr;
        }
        
        .video-hub-header h1 {
            font-size: 2rem;
        }
        
        .video-player-container iframe {
            height: 250px;
        }
    }



    /* Home Button Styles */
.home-btn {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    width: 45px;
    height: 45px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.home-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

/* Floating Home Button */
.floating-home-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
}

.floating-home-btn:hover {
    background: #1d4ed8;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.5);
}

.floating-home-btn span {
    position: absolute;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    top: -5px;
    right: -5px;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
    .home-btn {
        top: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
    }
}



/* Compact Hero Styles */
.compact-hero {
    background: #3388ff;
    color: white;
    /* padding: 1.5rem 0; */
    margin-bottom: 2rem;
}

.compact-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.explorer-header .page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb-container {
    flex: 1;
    min-width: 0;
}

.compact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.compact-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.compact-breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.compact-breadcrumb .divider {
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.compact-breadcrumb span:last-child {
    color: white;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .breadcrumb-container {
        width: 100%;
    }
    
    .compact-breadcrumb span:last-child {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .explorer-header .page-title {
        font-size: 1.75rem;
    }
    
    .compact-breadcrumb {
        font-size: 0.9rem;
    }
    
    .compact-breadcrumb span:last-child {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .compact-hero {
        padding: 1rem 0;
    }
    
    .explorer-header .page-title {
        font-size: 1.5rem;
    }
    
    .compact-breadcrumb {
        font-size: 0.85rem;
        gap: 0.25rem;
    }
    
    .compact-breadcrumb span:last-child {
        max-width: 120px;
    }
}

/* Temporary fix - add this to your CSS */
body {
    overflow: auto !important;
    position: static !important;
}

.video-modal {
    overflow-y: auto !important;
}