.home header.elementor-location-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	background-color: rgba(38, 44, 53, 0.55);
}

.home header.elementor-location-header.is-scrolled {
	position: fixed;
	background-color: #262C35;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Base header styles to ensure consistency */
header.elementor-location-header {
	background-color: #262C35;
}

/* Make sure the hero container doesn't jump when header becomes fixed */
body.home {
    padding-top: 0;
}

/* Tablet Adjustments */
@media (max-width: 1024px) {
    header.elementor-location-header {
        padding: 0 24px;
        min-height: 64px;
    }
    
    /* Hide desktop nav on tablet */
    .elementor-location-header .elementor-widget-icon-list {
        display: none !important;
    }
    
    /* Ensure brand text doesn't wrap awkwardly */
    .elementor-location-header .elementor-widget-e-heading {
        white-space: nowrap;
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    header.elementor-location-header {
        padding: 0 16px;
        min-height: 56px;
    }
    
    /* Hide CTA button in visible header on mobile */
    .elementor-location-header .elementor-widget-e-button {
        display: none !important;
    }
    
    /* Show mobile menu components (hamburger) */
    .elementor-location-header .elementor-widget-icon {
        display: block !important;
    }
}