/* Custom CSS for simplified header layout */
.nav-header.header-layout1 {
    position: relative;
    z-index: 40;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}

.breadcumb-wrapper {
    position: relative;
    z-index: 30;
    margin-top: 0;
    padding-top: 80px;
}

/* Ensure text colors are correct for the white background */
.header-layout1 .main-menu > ul > li > a {
    color: #333;
}

.header-layout1 .main-menu > ul > li > a:before {
    border-color: #333;
}

.header-layout1 .main-menu > ul > li > a:hover:before {
    background: #333;
}

.header-layout1 .sidebar-btn {
    color: #333;
}

.header-layout1 .sidebar-btn:before,
.header-layout1 .sidebar-btn:after {
    background: #333;
}

/* Ensure sticky header maintains white background */
.header-layout1 .sticky-wrapper {
    background-color: #fff;
}

.header-layout1 .sticky-wrapper.sticky {
    background-color: #fff;
}

/* Clean header layout with proper spacing */
.header-layout1 .sticky-wrapper .menu-area {
    padding: 15px 0;
}

.header-layout1 .sticky-wrapper.sticky .menu-area {
    padding: 12px 0;
}

/* Logo styling */
.header-layout1 .header-logo img {
    max-height: 50px;
    width: auto;
}

/* CTA Button styling */
.header-layout1 .btn.style3 {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .header-layout1 .sticky-wrapper .menu-area {
        padding: 12px 0;
    }
    
    .header-layout1 .header-logo img {
        max-height: 40px;
    }
    
    /* Apply the same styling as homepage menu button */
    .sidebar-btn {
        padding: 8px 12px;
        font-size: 14px;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        padding-right: 12px;
    }
    
    .sidebar-btn .menu-text {
        margin-right: 8px;
    }
    
    /* Hide the decorative lines that cause overlap for all layouts */
    .sidebar-btn:before,
    .sidebar-btn:after {
        display: none !important; /* Hide the decorative lines that cause overlap */
    }
}

/* Side menu styling */
.sidemenu-wrapper .closeButton {
    cursor: pointer;
    z-index: 999;
    position: relative;
    display: block;
}

.sidemenu-wrapper.body-visible {
    visibility: visible;
    opacity: 1;
    z-index: 999;
}