/* Ensure no global resets interfere */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.video-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.content-box {
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    color: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid white;
}

.video-player {
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
}

.content-text {
    font-size: 18px;
    margin-bottom: 15px;
}

.track-button {
    display: inline-block;
    background: #1e3a8a; /* Dark blue */
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.track-button:hover {
    background: #122b56; /* Slightly darker blue */
}

/* ---------- MEDIA QUERIES ---------- */

/* For tablets & smaller devices */
@media (max-width: 768px) {
    .video-section {
        height: 80vh; /* Reduce height slightly */
    }

    .video-content {
        width: 95%; /* Adjust width */
        padding: 15px;
    }

    .content-box {
        padding: 15px;
        font-size: 16px;
    }

    .video-player {
        max-width: 100%; /* Make the video player responsive */
    }

    .track-button {
        width: 100%; /* Full-width button */
        padding: 12px;
        font-size: 16px;
    }
}

/* For mobile devices */
@media (max-width: 480px) {
    .video-section {
        height: 70vh; /* Reduce height further */
    }

    .video-overlay {
        background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better text visibility */
    }

    .content-box {
        padding: 10px;
        font-size: 14px;
    }

    .content-text {
        font-size: 16px;
    }

    .track-button {
        font-size: 14px;
        padding: 10px;
    }
}
