/* Sticky Header Base */
.elementor-location-header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: all 0.3s ease-in-out;
    background-color: transparent; /* Start color - adjust as needed */
}

/* Base height - can be adjusted */
.elementor-location-header > .elementor-container,
.elementor-location-header > .e-con,
.elementor-location-header > .e-container {
    min-height: 100px;
    transition: min-height 0.3s ease-in-out;
}

/* Shrinked state (Height & Background) */
.elementor-location-header.shrink {
    background-color: #ffffff; /* Scrolled color - adjust as needed */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: adds subtle shadow */
}

.elementor-location-header.shrink > .elementor-container,
.elementor-location-header.shrink > .e-con,
.elementor-location-header.shrink > .e-container {
    min-height: 70px;
}

/* Logo specific transitions */
.elementor-location-header .elementor-widget-theme-site-logo img,
.elementor-location-header .elementor-widget-image img {
    transition: max-height 0.3s ease-in-out, max-width 0.3s ease-in-out;
    max-height: 80px; /* fallback starting max-height */
    width: auto;
}

/* Shrinked logo size */
.elementor-location-header.shrink .elementor-widget-theme-site-logo img,
.elementor-location-header.shrink .elementor-widget-image img {
    max-height: 50px;
}
