/* Video Background Styles */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly transparent overlay */
}

/* Video Play Button for Mobile */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(231, 76, 60, 0.8);
    color: white;
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background-color: rgba(231, 76, 60, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive Video Adjustments */
@media (max-width: 768px) {
    #hero-video {
        height: 100%;
        width: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #hero-video {
        width: 100%;
        height: auto;
    }
}

@media (min-aspect-ratio: 16/9) {
    #hero-video {
        width: auto;
        height: 100%;
    }
}
