/* Static site fixes - force visibility for WPBakery/VC animated elements */
.wpb_animate_when_almost_visible,
.wpb_start_animation,
.wpb_content_element,
.vc_row,
.vc_column-inner,
.vc_column_container,
.wpb_wrapper {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

/* Force WPB fadeIn elements visible */
.fadeInUp, .fadeIn, .fadeInDown, .fadeInLeft, .fadeInRight,
.slideInUp, .slideInDown, .slideInLeft, .slideInRight,
.bounceIn, .bounceInUp, .bounceInDown, .bounceInLeft, .bounceInRight,
.zoomIn, .zoomInUp, .zoomInDown {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* RevSlider - hide broken dynamic slider */
#rev_slider_1_1_wrapper,
.rs-module-wrap,
[id^="rev_slider"] {
    display: none !important;
}

/* Fix any hidden elements that should be visible */
[data-animate], [data-animation] {
    opacity: 1 !important;
    transform: none !important;
}

/* Fix text justification inconsistencies */
h1, h2, h3, h4, h5, h6 {
    text-align: left !important;
    hyphens: none !important;
    word-break: normal !important;
}

/* Fix H1 title wrapping next to form on city pages */
.vc_col-sm-8 h1,
.vc_col-sm-8 .vc_custom_heading h1 {
    font-size: clamp(36px, 5vw, 65px) !important;
    line-height: 1.1 !important;
    word-break: normal !important;
}

/* Ensure body text is left-aligned (not justify) for better readability */
.wpb_text_column p,
.wpb_wrapper p {
    text-align: left !important;
}

/* Fix form section not overlapping content */
.vc_col-has-fill {
    position: relative;
    z-index: 2;
}

/* Parallax row backgrounds (replaces WPBakery JS parallax) */
.vc_parallax,
[data-vc-parallax] {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    position: relative !important;
}

/* Dark overlay for parallax hero rows */
.vc_parallax::before,
[data-vc-parallax]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* Ensure content sits above the overlay */
.vc_parallax > .wpb_column,
.vc_parallax > .vc_column_container,
[data-vc-parallax] > .wpb_column,
[data-vc-parallax] > .vc_column_container {
    position: relative;
    z-index: 1;
}

/* Remove the parallax content-moving div that WPBakery creates (empty bg holder) */
.vc_parallax .vc_parallax-inner {
    display: none !important;
}
