/* Banner */
.banner {
    position: relative;
    height: 300px; /* Adjust height as needed */
    background: url('../assets/active-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px; /* Add margin to account for navbar height */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-logo {
    height: 150px; /* Adjust logo size */
    border-radius: 10px;
}

.banner h1 {
    font-size: 36px; /* Adjust font size */
    margin: 10px 0 0;
    color: white;
}

/* Video Player Section */
.video-player-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Course Details and Upcoming Videos */
.course-details-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.course-details {
    flex: 1;
    background: #D32F2F; /* Dark red background */
    border-radius: 10px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 5px solid black; /* Thick black border */
}

.course-details h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #FFAE46; /* Golden color */
}

.course-details p {
    margin: 5px 0;
    font-size: 16px;
}

.progress-section {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin: 10px 0;
    border: 2px solid black; /* Thick black border */
}

.progress {
    height: 100%;
    background: #FFAE46; /* Golden color */
    border-radius: 5px;
}

/* Image Section */
.image-section {
    display: flex;
    flex-direction: column; /* Stack image items vertically */
    gap: 20px;
    margin-top: 20px;
}

.image-item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 95%; /* Take full width */
    border-radius: 10px;
    padding: 10px;
    border: 3px solid black; /* Thick black border */

}

.image-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.image-item p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    color: white;
}

/* Upcoming Videos */
.upcoming-videos {
    flex: 1;
    background: #D32F2F; /* Dark red background */
    border-radius: 10px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 5px solid black; /* Thick black border */
}

.upcoming-videos h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #FFAE46; /* Golden color */
}

.video-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    border: 3px solid black; /* Thick black border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card img {
    width: 100px;
    height: 60px;
    border-radius: 10px;
}

.video-card h3 {
    margin: 0;
    font-size: 18px;
}

.video-card p {
    margin: 5px 0;
    font-size: 14px;
}

/* Remove blue color from hyperlink */
.video-link {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-details-section {
        flex-direction: column;
    }

    .video-card {
        flex-direction: column;
        text-align: center;
    }

    .video-card img {
        width: 100%;
        height: auto;
    }
}

/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #D32F2F; /* Dark red background */
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid black; /* Thick black border */
    z-index: 1000;
}

.chat-icon:hover {
    background: #FF6659; /* Light red on hover */
}

/* Chatbox */
.chatbox {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: #D32F2F; /* Dark red background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 5px solid black; /* Thick black border */
    display: none; /* Hidden by default */
    z-index: 1000;
}

.chatbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #FF6659; /* Light red background */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 3px solid black; /* Thick black border */
}

.chatbox-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.chatbox-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.chatbox-body {
    padding: 10px;
    color: white;
}