/* Sticky Header - White Background */
/* Only make the header bar sticky, not the slider */
.site-header.sticky-header .pbmit-header-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    animation: slideDown 0.3s ease-out;
    width: 100% !important;
    height: auto !important;
    max-height: 110px !important;
}

/* Prevent header overlay from covering content */
.site-header.sticky-header {
    position: relative !important;
}

/* Keep slider in normal flow */
.site-header.sticky-header .pbmit-slider-area {
    position: relative !important;
    margin-top: 0 !important;
}

.site-header.sticky-header .pbmit-main-header-area {
    height: auto !important;
    min-height: auto !important;
    padding: 10px 0 !important;
}

/* Reduce vertical padding in header content */
.site-header.sticky-header .pbmit-header-content {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Smooth transition */
.site-header {
    transition: all 0.3s ease-in-out;
}

/* Disable sticky header on mobile */
@media (max-width: 768px) {
    .site-header.sticky-header .pbmit-header-overlay {
        position: relative !important;
        box-shadow: none !important;
        animation: none !important;
    }
}