body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #222222;
    margin: 0;
    padding: 0;
}

/* HEADER WITH VIDEO BACKGROUND */
.video-header {
    position: relative;
    height: 120px; /* adjust as needed */
    overflow: hidden;
    background: black;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Background Video */
#headerVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 2;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 16px;
    font-weight: bold;
}

/* Optional dark overlay for readability */
.video-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}


#videoContainer {
    width: 80%;
    max-width: 1080px;
    margin: auto;
}

@media (max-width: 768px) {
    #videoContainer {
        width: 100%;
    }
}

/* Main Video */
#mainVideoWrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    margin-bottom: 10px;
}

#mainVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Title */
#videoTitle {
    padding: 20px 0;
    background-color: black;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.listCon{
    width: 100%;
    margin-bottom: 20px;
}

/* Thumbnails */
#videoList {
    width: 98%;
    max-width: 1080px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    margin: 0 auto;
    padding: 10px;
    justify-content: center;
    background: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

@media (max-width: 768px) {
    #videoList{
        width: 70%;
    }
}

.videoItem {
    width: calc(25% - 10px);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.videoItem:hover {
    transform: scale(1.02);
}

.videoItem img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.videoItem p {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .videoItem {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .videoItem {
        width: 100%;
    }
}


.footer-content{
    color: white;
}

.footer-content a{
    color: white;
}