/* CSS for Index Page Responsiveness Refinements */

/* Ensure the video container has a stable height and professional look */
.video-container {
    position: relative !important;
    overflow: hidden !important;
    background: #000 !important;
    /* Forces black background if video fails */
    width: 100% !important;
}

.video-container video {
    width: 100% !important;
    display: block !important;
    min-height: 250px !important;
    /* Base height */
    object-fit: cover !important;
}

/* --- Intro Video Overlay --- */
.position {
    width: 90%;
    max-width: 1200px;
    background: transparent !important;
    /* No darkness on video */
    padding: 30px;
    border: none !important;
    z-index: 5 !important;
}

.position h1 {
    font-size: clamp(24px, 5vw, 38px);
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.5);
    /* Strong shadow for readability */
}

.position h3 {
    font-size: clamp(14px, 2.5vw, 20px);
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 500;
    color: #fff !important;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 1);
}

.position .a {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-left: 0 !important;
}

.position button {
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: auto !important;
    padding: 14px 28px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 50px !important;
    border: 2px solid #fff !important;
    background: rgba(255, 72, 0, 0.95) !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.position button img {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0) invert(1);
}

.position button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 72, 0, 0.5);
    border-color: #fff !important;
}

/* --- Global Section Padding for Mobile --- */
@media (max-width: 767px) {
    .index-top-banner {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .video-container {
        min-height: 440px !important;
        /* Force visibility height */
        background: #000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .video-container video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 1 !important;
    }

    .position {
        position: relative !important;
        z-index: 10 !important;
        width: 95% !important;
        padding: 15px !important;
        background: transparent !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        text-align: center !important;
    }

    .position h1 {
        font-size: clamp(20px, 7vw, 24px) !important;
        margin-bottom: 10px !important;
        text-shadow: 2px 2px 12px rgba(0, 0, 0, 1) !important;
    }

    .position h3 {
        font-size: clamp(13px, 4.5vw, 15px) !important;
        margin-bottom: 25px !important;
        line-height: 1.3 !important;
        text-shadow: 1px 1px 10px rgba(0, 0, 0, 1) !important;
        font-weight: 500 !important;
    }

    .position .a {
        flex-direction: column !important;
        align-items: stretch !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        gap: 12px !important;
    }

    .position button {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 15px !important;
        font-size: 13px !important;
        border-radius: 30px !important;
    }

    /* Carousel Fixes for Mobile */
    .banner-area .banner-content h1,
    .banner-area .banner-content h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }

    .banner-slider.owl-theme .owl-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 22px !important;
    }

    .head-line {
        width: 50px !important;
        margin: 15px auto !important;
    }
}