/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #007bff, #00c6ff);
    text-align: center;
    padding: 50px;
    color: white;
    border-radius: 10px;
}

.hero-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 18px;
}

/* Section Container */
.section-container {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Video Container */
.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

/* Video Box */
.video-box {
    width: 23%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.video-box:hover {
    transform: scale(1.05);
}

.video-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.video-title {
    padding: 10px;
    font-size: 16px;
    text-align: center;
    color: #333;
}

/* Categories */
.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    text-align: center;
}

.category-box {
    background: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.category-box a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.category-box:hover {
    background: #0056b3;
}

/* Search Bar */
.search-container {
    text-align: center;
    margin-top: 20px;
}

.search-container input {
    width: 60%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-container button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.search-container button:hover {
    background: #0056b3;
}

/* Watch Lecture Page */
.video-player {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

.video-player video {
    width: 100%;
    border-radius: 10px;
}

.video-description {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}




.search-container {
    text-align: center;
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.search-container input {
    width: 60%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.video-box {
    width: 23%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.video-box:hover {
    transform: scale(1.05);
}

.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-title {
    padding: 10px;
    font-size: 16px;
    text-align: center;
    color: #333;
}


/* Responsive Design */
@media (max-width: 900px) {
    .video-box {
        width: 48%;
    }
}

@media (max-width: 600px) {
    .video-box {
        width: 100%;
    }

    .search-container input {
        width: 80%;
    }
}
