@media screen and (max-width: 990px) {
    .navbar-collapse {
        width: auto !important;
    }
}

@media screen and (max-width: 575px) {
    .banner-video-wrapper {
        height: 750px;
    }   
}

@media screen and (max-width: 1690px) {
    .banner-video-wrapper {
        height: 1020px;
    }  
}

@media screen and (max-width: 1207px) {
    .banner-video-wrapper {
        height: 1041px;
    }  
}

@media screen and (max-width: 980px) {
    .banner-video-wrapper {
        height: 1066px;
    }  
}

@media screen and (max-width: 660px) {
    .info-container {
        width: fit-content !important;
    }
}

@media screen and (max-width: 962px) { 
    .consultation-container .consultation-form {
        flex-direction: column;
    }
    .consultation-form > div:nth-child(1) {
        max-width: 100%;
    }
}

@media screen and (max-width: 620px) {
    .consultation-form {
        padding: 1.5rem !important;
    }

    .consulation-section-title > h1 {
        font-size: 33px;
        line-height: 44px;
    }
    
    .consultation-form form > div {
        flex-direction: column;
    }
}

@media screen and (max-width: 513px) {
    .consulation-section-title > h1 {
        font-size: 24px;
        line-height: 34px;
    }

    .consultation-form h6 {
        max-width: 62% !important;
    }
}

@media (max-width: 991.98px) {
    .ftco-navbar-light {
        background: transparent !important;
        position: relative;
        top: 0;
        margin-top: 0;
        padding: 7px 0;
    }
}

@media screen and (max-width: 798px) {
    .tattoos-section {
        max-width: 100%;
    }
}

@media screen and (max-width: 636px) { 
    .tattoos {
        padding-bottom: 0;
    }
}

@media screen and (max-width: 768px) { 
    .consultation-form > div:nth-child(1) {
        width: 100%;
    }
}

@media screen and (max-width: 670px) {
    .banner-video-wrapper > div {
        background-position: center;
    }
}

@media screen and (max-width: 800px) {
    .event-footer .absolute {
        font-size: 4.31vw;
        bottom: 50px;
    }

    .event-footer img {
        display: none;
    }

    .event-info h1 {
        font-size: 38px !important;
    }

    .book-event,
    .event-date {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 880px) {
    #skullViewer {
        z-index: 1 !important;
    }
    
    .ftco-intro h1 {
        font-size: 10.78vw !important;
    }

    .banner-content {
        z-index: 2 !important;
    }

    .banner-slogan h4 {
        line-height: 9vw !important;
        font-size: 7.5vw !important;
    }

    .banner-slogan-2 {
        top: 11.5rem !important;
    }

    .banner-slogan {
        bottom: 14rem !important;
    }

    .banner-slogan-2 h4 {
        line-height: 5.6vw;
        font-size: 4.3vw;
        text-align: end;
    }

    .introduction-story {
        left: 0 !important;
        bottom: -11rem !important;
    }

    .introduction-story-2 {
        bottom: -45rem !important;
    }

    .convention-award {
        left: 0 !important;
        padding: 0 25px !important;
    }

    .work-style {
        right: 0 !important;
        padding: 0 25px !important;
    }

    .video-banner,
    .tattoo-gun-wrapper,
    .words-animation {
        display: none !important;
    }

    .flying-letters {
        height: 21rem !important;
        margin-top: 8rem !important;
    }

    .navbar > div {
        justify-content: space-between;
        align-items: self-start !important;
        padding: 0 13px;
    }

    .navbar-nav > .nav-item > .nav-link {
        text-align: end;
        padding: 0 !important;
    }

    #navbarSupportedContent > div {
        align-items: end !important;
        flex-direction: column;
    }

}

@media screen and (max-width:500px) {
    .introduction-story {
        width: 100% !important;
    }

    .banner-slogan-2 {
        top: 14rem !important
    }
}

@media screen and (max-width: 995px) {
    .navbar > div {
        justify-content: space-between;
        align-items: self-start;
        padding: 0 25px;
    }
}

@media (max-width: 1200px) {
    .ftco-intro.banner { height: 120vw !important; }
    #skullViewer { height: 120vw !important; }
}

@media (max-width: 1024px) {
    .ftco-intro.banner { height: 130vw !important; }
    #skullViewer { height: 130vw !important; }
}

/* =====================================================
   MOBILE BANNER LAYOUT (≤768px)
   Converts all absolute-positioned content to a
   vertical flex stack so nothing overlaps.
   ===================================================== */
@media (max-width: 768px) {

    /* Section grows to fit stacked content */
    .ftco-intro.banner {
        height: auto !important;
        min-height: 100vh;
        display: block !important;
        padding-bottom: 3rem;
    }

    /* Skull stays viewport-height at the top, not stretching the whole section */
    #skullViewer {
        position: relative !important;
        inset: auto !important;
        height: 100vh !important;
        min-height: 500px !important;
        width: 100% !important;
        display: block;
    }

    /* Content box stacks vertically below the skull */
    .banner-content {
        position: relative !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem !important;
        padding: 1.5rem 1.25rem !important;
        overflow: visible !important;
    }

    /* Every direct child leaves absolute flow and stacks in order */
    .banner-content > * {
        position: relative !important;
        inset: auto !important;
        bottom: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Slogans: legible font on narrow screens */
    .banner-slogan h4,
    .banner-slogan-2 h4 {
        font-size: 5.5vw !important;
        line-height: 7vw !important;
        padding: 0 !important;
    }

    /* Intro text blocks */
    .introduction-story,
    .introduction-story-2 {
        font-size: 13px !important;
        padding: 0 !important;
    }

    /* The "10+ Years" badge inside introduction-story-2 */
    .introduction-story-2 > div:last-child {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: inline-block;
        margin-top: 0.75rem;
    }

    /* Convention award: image fills width */
    .convention-award {
        height: auto !important;
    }

    .convention-award img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        max-width: 100% !important;
    }
}