/* = Top Header css
-------------------------------------------------------------- */
.top-header {
    background-color: #362b21;
    color: #ffffff;
    line-height: 55px;
    position: relative;
    overflow: hidden;
}
.top-header a {
    color: #ffffff;
}
.top-left {
    float: left;
}
.top-left ul {
    margin: 0 !important;
}
.top-left li {
    display: inline-block;
    padding: 0;
}
.top-left li i {
    margin-right: 8px;
    color: #ffffff;
}
.top-right {
    float: right;
}
.top-right .phone {
    float: right;
    padding: 0;
    position: relative;
}
.top-right .phone i {
    font-size: 18px;
    margin-right: 5px;
    position: relative;
    top: 2px;
}
.top-right .social-icons {
    float: right;
    border-left: 1px solid #464646;
}

#slider {
    margin: 0 auto;
    padding: 0;
    position: relative;
}
#slider .top-bar {
    margin: 0;
    padding: 16px 0 20px;
    position: relative;
}
#slider .top-bar h2 {
    font:
        700 45px "Inter",
        sans-serif;
    padding: 25px 0 5px 0;
    text-transform: uppercase;
    line-height: 55px;
    text-shadow: 5px 1px 6px #000000;
}
#slider .top-bar h2 a {
    color: #ffffff;
}
#slider .top-bar h2 a:hover {
    color: #ffffff;
}
#slider .top-bar p {
    color: #ffffff;
    margin: 0 0 10px 0;
    padding: 5px 0 25px;
    border-radius: 0 0 5px 5px;
    font:
        400 14px/25px "Inter",
        sans-serif;
}
.main-container {
    margin: 0;
    padding: 0;
}
.container {
    width: 1160px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.header .header-inner .logo {
    margin: 4px 0 0;
    padding: 0;
}
.header .header-inner .logo h1,
.header .header-inner .logo .site-title {
    font-weight: 700;
    padding: 0;
    font-size: 30px;
}
.header .header-inner .logo a {
    font-family: "Inter", sans-serif;
}
.header .header-inner .logo p {
    font-size: 13px;
    font-family: "Inter", sans-serif;
    color: #ffffff;
    line-height: normal;
}
.toggle {
    display: none;
}
.header {
    width: 100%;
    position: relative;
    background-color: #263247;
    padding: 0;
}
.header-inner {
    width: 1160px;
    margin: 0 auto;
    position: relative;
}

/* = Navigation css
-------------------------------------------------------------- */
.sitenav {
    position: relative;
    z-index: 9999;
    float: left;
}
.sitenav ul {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.sitenav ul li {
    display: table-cell;
    position: relative;
    line-height: normal;
}
.sitenav ul li a {
    padding: 35px 14px;
    display: block;
    text-align: center;
    color: #ffffff;
    position: relative;
    transition: 0.5s all;
}
.sitenav ul li a:hover {
    color: #000000;
}

/* = Navigation hover and active menu css
-------------------------------------------------------------- */
.header_right {
    float: right;
}

/* = Navigation 2nd level css
-------------------------------------------------------------- */
.sitenav ul li ul {
    display: none;
    z-index: 9999;
    position: relative;
    background-color: #ffae00;
}
.sitenav ul li:hover > ul {
    display: block;
    width: 200px;
    position: absolute;
    left: 0px;
    top: 89px;
    text-align: left;
    -moz-animation: fadeInUp 0.3s ease-in-out;
    -webkit-animation: fadeInUp 0.3s ease-in-out;
    animation: fadeInUp 0.3s ease-in-out;
}
.sitenav ul li ul li {
    display: block;
    position: relative;
    float: none;
    top: 1px;
    line-height: 18px;
    margin-left: 0;
}
.sitenav ul li ul li a {
    display: block;
    padding: 10px;
    position: relative;
    top: 0;
    text-align: left;
}

/* = Navigation 3rd level css
-------------------------------------------------------------- */
.sitenav ul li:hover ul li:hover > ul {
    display: block;
    position: absolute;
    left: 200px;
    top: -1px;
    -moz-animation: fadeInRight 0.3s ease-in-out;
    -webkit-animation: fadeInRight 0.3s ease-in-out;
    animation: fadeInRight 0.3s ease-in-out;
}
@media screen and (min-width: 1000px) {
    .header .header-inner .logo {
        float: left;
    }
}

/* =====================================================================
   Premium navigation polish (desktop)
   ===================================================================== */

@media screen and (min-width: 1000px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #0e0e0e;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition:
            background-color 0.35s ease,
            box-shadow 0.35s ease,
            border-color 0.35s ease,
            backdrop-filter 0.35s ease;
    }

    /* WP Admin bar offset for sticky header on inner pages */
    .admin-bar .header {
        top: 32px;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: min(1320px, calc(100% - 48px));
        max-width: 1320px;
        margin: 0 auto;
        min-height: 84px;
    }

    .toggle,
    .toggleMenu {
        display: none !important;
    }

    .header .header-inner .logo {
        float: none;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header .header-inner .logo img {
        max-height: 52px;
        width: auto;
        transition: transform 0.3s ease;
    }

    .header .header-inner .logo:hover img {
        transform: scale(1.03);
    }

    .header .header-inner .logo p {
        font-size: 11px;
        letter-spacing: 0.04em;
        opacity: 0.72;
        max-width: 220px;
        line-height: 1.35;
        margin: 0;
        padding: 0;
    }

    .header_right {
        float: none;
        display: flex;
        align-items: center;
    }

    .sitenav {
        float: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sitenav ul {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 2px;
        font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.09em;
    }

    .sitenav ul li {
        display: block;
        flex: 0 0 auto;
    }

    .sitenav ul li a {
        padding: 12px 11px;
        color: rgba(255, 255, 255, 0.88);
        background: transparent !important;
        position: relative;
        white-space: nowrap;
        transition:
            color 0.25s ease,
            background 0.25s ease;
    }

    .sitenav ul li a::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 6px;
        height: 2px;
        background: #ffae00;
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .sitenav ul li a:hover,
    .sitenav ul li.current_page_item > a,
    .sitenav ul li.current-menu-item > a,
    .sitenav ul li.current_page_ancestor > a {
        color: #fff !important;
        background: transparent !important;
    }

    .sitenav ul li a:hover::after,
    .sitenav ul li.current_page_item > a::after,
    .sitenav ul li.current-menu-item > a::after,
    .sitenav ul li.current_page_ancestor > a::after {
        transform: scaleX(1);
    }

    /* Dropdown */
    .sitenav ul li ul {
        background-color: #141414 !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        padding: 8px 0;
        overflow: hidden;
    }

    .sitenav ul li:hover > ul {
        top: calc(100% + 4px);
        width: 230px;
    }

    .sitenav ul li ul li a {
        padding: 12px 18px;
        letter-spacing: 0.06em;
        color: rgba(255, 255, 255, 0.85) !important;
        background: transparent !important;
    }

    .sitenav ul li ul li a::after {
        display: none;
    }

    .sitenav ul li ul li a:hover {
        color: #ffae00 !important;
        background: rgba(255, 174, 0, 0.08) !important;
    }

    /* Facebook pill in nav */
    .wd-fb-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-left: 12px;
        padding: 9px 14px 9px 11px;
        border-radius: 999px;
        background: #0f66d9;
        color: #fff !important;
        text-decoration: none !important;
        font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        transition:
            background 0.25s ease,
            transform 0.25s ease,
            box-shadow 0.25s ease;
        box-shadow: 0 6px 16px rgba(24, 119, 242, 0.28);
    }

    .wd-fb-pill:hover {
        background: #0b4fa8;
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(24, 119, 242, 0.36);
    }

    .wd-fb-pill__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
    }

    .wd-fb-pill__icon svg {
        display: block;
    }

    .wd-fb-pill__label {
        text-transform: none;
    }

    .header.is-scrolled {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
        border-bottom-color: rgba(255, 174, 0, 0.18);
    }
}

/* =====================================================================
   Mobile header: logo left, hamburger right
   ===================================================================== */
@media screen and (max-width: 999px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #0e0e0e;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .admin-bar .header {
        top: 46px;
    }

    @media screen and (min-width: 783px) {
        .admin-bar .header {
            top: 32px;
        }
    }

    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        width: min(1320px, calc(100% - 32px));
        max-width: 1320px;
        margin: 0 auto;
        min-height: 64px;
        padding: 8px 0;
    }

    .header .header-inner .logo {
        float: none;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header .header-inner .logo img {
        max-height: 44px;
        width: auto;
    }

    .header .header-inner .logo h1,
    .header .header-inner .logo .site-title {
        font-size: 1.1rem;
        margin: 0;
        line-height: 1.2;
    }

    .header .header-inner .logo p {
        display: none;
    }

    .toggle {
        display: block;
        flex: 0 0 auto;
        margin: 0;
    }

    .toggleMenu {
        /* Beat parent JS inline `display:block` which skews the icon */
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        color: #fff;
        line-height: 0;
        font-size: 0;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        transition:
            background 0.2s ease,
            border-color 0.2s ease;
    }

    .toggleMenu:hover,
    .toggleMenu:focus-visible {
        background: rgba(255, 174, 0, 0.12);
        border-color: rgba(255, 174, 0, 0.45);
        outline: 3px solid #ffae00;
        outline-offset: 2px;
    }

    .toggleMenu.active {
        background: rgba(255, 174, 0, 0.16);
        border-color: rgba(255, 174, 0, 0.55);
    }

    .wd-hamburger {
        position: relative;
        display: block;
        width: 20px;
        height: 14px;
        flex: 0 0 auto;
    }

    .wd-hamburger__bar {
        position: absolute;
        left: 0;
        top: 50%;
        width: 20px;
        height: 2px;
        margin-top: -1px;
        border-radius: 1px;
        background: currentColor;
        transform-origin: center;
        transition:
            transform 0.25s ease,
            opacity 0.2s ease;
    }

    .wd-hamburger__bar:nth-child(1) {
        transform: translateY(-6px);
    }

    .wd-hamburger__bar:nth-child(2) {
        transform: translateY(0);
    }

    .wd-hamburger__bar:nth-child(3) {
        transform: translateY(6px);
    }

    .toggleMenu.active .wd-hamburger__bar:nth-child(1) {
        transform: rotate(45deg);
    }

    .toggleMenu.active .wd-hamburger__bar:nth-child(2) {
        opacity: 0;
    }

    .toggleMenu.active .wd-hamburger__bar:nth-child(3) {
        transform: rotate(-45deg);
    }

    .header_right {
        float: none;
        flex: 1 0 100%;
        width: 100%;
        padding: 0;
    }

    .sitenav {
        float: none;
        display: none;
        /* If jQuery restores display:flex from desktop, keep a column stack */
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
        width: 100%;
        margin: 0;
        position: relative;
        z-index: 9999;
    }

    .sitenav > ul {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        margin: 0;
        padding: 6px 0 10px;
        background: #141414;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .sitenav ul li {
        display: block;
        float: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        line-height: normal;
    }

    .sitenav ul li:first-child {
        border-top: 0;
    }

    .sitenav ul li a {
        display: block;
        padding: 14px 16px;
        text-align: left;
        color: rgba(255, 255, 255, 0.9) !important;
        background: transparent !important;
    }

    .sitenav ul li a:hover,
    .sitenav ul li.current_page_item > a,
    .sitenav ul li.current-menu-item > a {
        color: #ffae00 !important;
        background: rgba(255, 174, 0, 0.08) !important;
    }

    .sitenav ul li ul,
    .sitenav ul li:hover > ul {
        display: none !important;
        position: static;
        width: auto;
        animation: none;
    }

    .wd-fb-pill {
        display: inline-flex !important;
        flex: 0 0 auto;
        align-self: flex-start;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto;
        height: auto !important;
        margin: 0 0 4px;
        padding: 6px 10px 6px 8px;
        border-radius: 999px;
        background: #0f66d9;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1;
        box-shadow: none;
        writing-mode: horizontal-tb;
    }

    .wd-fb-pill__icon {
        display: inline-flex;
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
    }

    .wd-fb-pill__icon svg {
        width: 12px;
        height: 12px;
    }

    .wd-fb-pill__label {
        display: inline;
        white-space: nowrap;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1240px) {
    .header-inner {
        width: calc(100% - 32px);
    }

    .header .header-inner .logo p {
        display: none;
    }

    .sitenav ul {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .sitenav ul li a {
        padding-right: 8px;
        padding-left: 8px;
    }
}
