/* Force the Lightbox to sit on top of the Sticky Header */
.elementor-lightbox {
    z-index: 9999999 !important;
}


/* June 3 */
/* Force Desktop to have standard solid colors and NO glass effect */
@media (min-width: 768px) {
    .master-header-wrapper,
    .glass-logo-area,
    .glass-logo-area .e-con-inner,
    .solid-nav-area {
        background-color: #ffffff !important; /* Change this to your preferred desktop background color */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}
@media (max-width: 767px) {
    /* 1. Make the master wrapper transparent */
    .master-header-wrapper {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* 2. Top Section (Logo area): White Glassmorphism */
    .glass-logo-area {
        background-color: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
    }
    
    /* Force inner containers of the logo area to be transparent */
    .glass-logo-area .e-con-inner,
    .glass-logo-area .elementor-container {
        background: transparent !important;
    }

    /* 3. Bottom Section (Nav Menu): Pure Solid White */
    .solid-nav-area,
    .solid-nav-area > .e-con-inner {
        background-color: #ffffff !important;
        /* Forcibly strip any glass effect */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* June 4 */

@media (max-width: 1024px) {
    /* 1. The Menu Panel: Push links down AND force it above the page content */
    .custom-mobile-menu-panel {
        padding-top: 135px !important; /* Keeps links below the header */
        z-index: 99998 !important; /* Forces it over the lower sections */
    }

    /* 2. The Header: Force it to sit at the absolute top of the sandwich */
    .elementor-location-header,
    .elementor-3112 .elementor-element-d4aa7fb {
        z-index: 99999 !important; 
    }
}
/* Force hide the Quote Button when mobile menu opens */
body.mobile-menu-open .elementor-element-a1413da,
body.mobile-menu-open .custom_button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* june 5 */

/* june 5 - LIGHTBOX FIX */
/* Hide EVERYTHING header-related when lightbox is open */
.dialog-lightbox-active .elementor-sticky,
.dialog-lightbox-active .elementor-location-header,
.dialog-lightbox-active .master-header-wrapper,
.dialog-lightbox-active .hide-header-btn,
.dialog-lightbox-active .glass-logo-area,
.dialog-lightbox-active .solid-nav-area,
.dialog-lightbox-active header,
.dialog-lightbox-active .elementor-header,
.dialog-lightbox-active [data-elementor-type="header"],
.dialog-lightbox-body .elementor-sticky,
.dialog-lightbox-body .elementor-location-header,
.dialog-lightbox-body .master-header-wrapper,
.dialog-lightbox-body .hide-header-btn,
.dialog-lightbox-body .glass-logo-area,
.dialog-lightbox-body .solid-nav-area,
.dialog-lightbox-body header,
.dialog-lightbox-body .elementor-header,
.dialog-lightbox-body [data-elementor-type="header"],
.fancybox-active .elementor-sticky,
.fancybox-active .elementor-location-header,
.fancybox-active .master-header-wrapper,
.fancybox-active .hide-header-btn,
.fancybox-active .glass-logo-area,
.fancybox-active .solid-nav-area,
.fancybox-active header,
.fancybox-active .elementor-header,
.fancybox-active [data-elementor-type="header"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Lightbox absolutely on top */
.elementor-lightbox,
.dialog-lightbox-widget,
.dialog-type-lightbox,
div.elementor-lightbox {
    z-index: 2147483647 !important; /* maximum 32-bit int */
}