/* Promo Video Section Specific Styles */
.video-section {
    background-color: #f0f4f8; /* Light blue background for video section */
    padding: 4rem 1.5rem;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Max width for the video player */
    margin: 2rem auto 0;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.promo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px; /* Apply border-radius to video element itself */
}

/* Custom Video Controls */
.video-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    color: white;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.video-controls button:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.video-controls input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none; /* Remove default styling for WebKit browsers */
    appearance: none;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.video-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.video-controls input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.video-controls span {
    font-family: monospace;
    font-size: 0.9rem;
    min-width: 45px; /* Ensure space for time display */
    text-align: right;
}

/* Responsive adjustments for video controls */
@media (max-width: 768px) {
    .video-controls {
        flex-wrap: wrap;
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .video-controls button {
        font-size: 1.3rem;
        padding: 0.4rem;
    }

    .video-controls input[type="range"] {
        width: 100%; /* Take full width */
        margin: 0.5rem 0;
    }

    .video-controls span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .video-controls {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .video-controls button {
        font-size: 1.2rem;
    }
}