/* Frontend Header & Footer Builder Styles (Dreams Builder) */

.doccure-hfb-header-wrap .hfb-navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.doccure-hfb-header-wrap .hfb-slot {
    display: flex;
    align-items: center;
}

.doccure-hfb-header-wrap .hfb-slot-left {
    justify-content: flex-start;
}

.doccure-hfb-header-wrap .hfb-slot-center {
    justify-content: center;
    flex-grow: 1;
}

.doccure-hfb-header-wrap .hfb-slot-right {
    justify-content: flex-end;
}

/* Header Topbar Info */
.doccure-hfb-header-wrap .topbar-info p {
    font-size: 13px;
    color: inherit;
}

/* Header Search */
.doccure-hfb-header-wrap .header-search .form-control {
    width: 180px;
    border-radius: 20px;
}

/* Responsive Rules */
@media (max-width: 991.98px) {
    .doccure-hfb-header-wrap .hfb-slot-center {
        display: none !important;
    }
}

/* Footer Top Banner Bar (Row 1) */
.footer-top .footer-top-banner {
    position: relative;
    z-index: 2;
}
.footer-top .footer-top-banner .footer-logo img {
    max-height: 45px;
    height: auto;
}
.footer-top .footer-top-banner .footer-logo {
    margin-bottom: 0 !important;
}

/* Header Wrapper Layout Rules */
.doccure-hfb-header-wrap {
    position: relative;
    width: 100%;
    z-index: 999;
    display: block !important;
}

/* Transparent Overlay Header Wrapper Support */
.doccure-hfb-header-wrap:has(.header-fourteen),
.doccure-hfb-header-wrap:has(.home-menu),
.doccure-hfb-header-wrap:has(.header_transparent),
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-8,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-3,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-4,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-9 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    pointer-events: none;
    background: transparent !important;
}

.doccure-hfb-header-wrap:has(.header-fourteen) > *,
.doccure-hfb-header-wrap:has(.home-menu) > *,
.doccure-hfb-header-wrap:has(.header_transparent) > *,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-8 > *,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-3 > *,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-4 > *,
.doccure-hfb-header-wrap.doccure-hfb-header-wrap-layout-9 > * {
    pointer-events: auto;
}

/* Scope relative positioning only for explicit relative headers */
.doccure-hfb-header-wrap .header.header-relative:not(.header-fourteen):not(.fixed):not(.home-menu):not(.header-cardio):not(.header-seven):not(.header-sixteen):not(.header-seventeen):not(.header-eighteen):not(.header_transparent) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 90 !important;
}

/* Layout 8 / 14 Transparent & Fixed Header Rules */
.doccure-hfb-header-wrap .header.header-fourteen:not(.fixed) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.doccure-hfb-header-wrap .header.header-fourteen.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    box-shadow: 0px 4px 34px 0px rgba(206, 206, 206, 0.25) !important;
    border-bottom: none !important;
}

/* Header Menu Flex Alignment */
.doccure-hfb-header-wrap .header-menu,
.doccure-hfb-header-wrap .main-menu-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
}

.doccure-hfb-header-wrap .header-nav .main-nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}

.doccure-hfb-header-wrap .header-nav .main-nav > li {
    display: inline-flex;
    align-items: center;
}

/* Header Topbar & Bottombar Styling */
.doccure-hfb-header-wrap .header-topbar,
.doccure-hfb-header-wrap .header-top-bar {
    position: relative !important;
    z-index: 100 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.doccure-hfb-header-wrap .header-topbar .topbar-info,
.doccure-hfb-header-wrap .header-top-bar .topbar-info {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    min-height: 38px;
    padding: 4px 0;
}

.doccure-hfb-header-wrap .header-topbar p,
.doccure-hfb-header-wrap .header-top-bar p {
    margin-bottom: 0;
    font-size: 13px;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.doccure-hfb-header-wrap .header-topbar .header-info,
.doccure-hfb-header-wrap .header-top-bar .header-info,
.doccure-hfb-header-wrap .header-topbar .header-info-group,
.doccure-hfb-header-wrap .header-top-bar .header-info-group {
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.doccure-hfb-header-wrap .header-topbar .social-header,
.doccure-hfb-header-wrap .header-top-bar .social-header {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
}

.doccure-hfb-header-wrap .header-topbar .social-icon,
.doccure-hfb-header-wrap .header-top-bar .social-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.doccure-hfb-header-wrap .header-topbar .social-icon a,
.doccure-hfb-header-wrap .header-top-bar .social-icon a {
    color: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

.doccure-hfb-header-wrap .header-topbar .social-icon a:hover,
.doccure-hfb-header-wrap .header-top-bar .social-icon a:hover {
    opacity: 0.8;
}

.doccure-hfb-header-wrap .header-topbar a,
.doccure-hfb-header-wrap .header-top-bar a {
    color: inherit;
    text-decoration: none;
}

.doccure-hfb-header-wrap .header-topbar .container,
.doccure-hfb-header-wrap .header-topbar .container-fluid,
.doccure-hfb-header-wrap .header-top-bar .container,
.doccure-hfb-header-wrap .header-top-bar .container-fluid {
    width: 100%;
}

.doccure-hfb-header-wrap .header-bottombar,
.doccure-hfb-header-wrap .header-bottom-bar {
    position: relative;
    z-index: 90;
    width: 100%;
    display: block;
}

.doccure-hfb-header-wrap .header-bottombar .container,
.doccure-hfb-header-wrap .header-bottombar .container-fluid,
.doccure-hfb-header-wrap .header-bottom-bar .container,
.doccure-hfb-header-wrap .header-bottom-bar .container-fluid {
    width: 100%;
}

.doccure-hfb-header-wrap .header-bottombar p,
.doccure-hfb-header-wrap .header-bottom-bar p {
    margin-bottom: 0;
    font-size: 14px;
    color: inherit;
}

.doccure-hfb-header-wrap .header-bottombar a,
.doccure-hfb-header-wrap .header-bottom-bar a {
    color: inherit;
    text-decoration: none;
}

.doccure-hfb-header-wrap .header-bottombar .main-menu-wrapper,
.doccure-hfb-header-wrap .header-bottom-bar .main-menu-wrapper {
    display: flex;
    align-items: center;
}

.doccure-hfb-header-wrap .header-bottombar .main-nav,
.doccure-hfb-header-wrap .header-bottom-bar .main-nav {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}

.doccure-hfb-header-wrap .header-bottombar .main-nav > li,
.doccure-hfb-header-wrap .header-bottom-bar .main-nav > li {
    margin-right: 20px;
    position: relative;
}

.doccure-hfb-header-wrap .header-bottombar .main-nav > li:last-child,
.doccure-hfb-header-wrap .header-bottom-bar .main-nav > li:last-child {
    margin-right: 0;
}

.doccure-hfb-header-wrap .social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doccure-hfb-header-wrap .social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.doccure-hfb-header-wrap .header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.doccure-hfb-header-wrap .header-info p {
    margin-bottom: 0;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

/* ==========================================
   Responsive Device Visibility Utilities
   ========================================== */
@media (min-width: 992px) {
    .hfb-hide-desktop,
    li.hfb-hide-desktop,
    .d-desktop-none {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hfb-hide-tablet,
    li.hfb-hide-tablet,
    .d-tablet-none {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .hfb-hide-mobile,
    li.hfb-hide-mobile,
    .d-mobile-none {
        display: none !important;
    }
}


