/* ======================================== ** Header CSS Start Here ** ========================================   */
.siteHeader {
    position: fixed;
    width: 100%;
    top: 32px;
    left: 0;
    z-index: 99;
    transition: all 0.4s ease-in-out;
}

.siteHeader.sticky {
    position: fixed;
    top: 0;
    background-color: var(--prBgColor);
    border-bottom: 1px solid rgb(255 255 255 / 20%);
}

header.siteHeader.sticky .headerNav {
    padding-left: 0;
    padding-right: 0;
}

.siteHeader .headerNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--prBgColor);
    background-color: var(--prBgColor);
    border-radius: 102px;
    padding: 12px 28px 12px 40px;
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.siteHeader .headerNav .custom-logo-link {
    display: block;
}

.headerNav .custom-logo-link>img {
    max-width: 75px;
    object-fit: contain;
    height: auto;
}

.navWrapper .menu .current-menu-item:not(.sub-menu)>a {
    color: var(--scBgColor) !important;
}

.headerNav .navWrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 25px;
}

.navWrapper .menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
    margin: 0;
    grid-gap: 50px;
}

.navWrapper .menu .menu-item>a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    transition: all 0.5s ease-in-out;
    padding: 10px 0;
    width: fit-content;
    position: relative;
}

.navWrapper .menu .menu-item:not(:nth-child(3)) a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: width 300ms ease;
    width: 0;
    height: 1px;
    border-bottom: 1px solid #fff;
}

.navWrapper .menu .current-menu-item>a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 300ms ease;
    border-bottom: 1px solid var(--scBgColor) !important;
}



.navWrapper .headerBtn {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.navWrapper .menu .menu-item-has-children {
    position: relative;
}

/* .navWrapper .menu .menu-item-has-children .sub-menu {
    position: absolute;
    top: 40px;
    transition: all 0.5s ease-in-out;
    transform: translateY(-10%);
    opacity: 0;
    visibility: hidden;
    width: max-content;
    height: 0;
    z-index: 1;
}

.navWrapper .menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    height: fit-content;
    transform: translateY(0);
}

.navWrapper .menu .menu-item-has-children .sub-menu li a {
    color: #0A0C1B;
    display: block;
    padding: 12px 8px;
    background-color: #fff;
    font-size: 14px;
} */
.navWrapper .menu .menu-item-has-children>.mobile-child-click::after {
    position: absolute;
    top: 50%;
    right: -19px;
    transform: translateY(-50%);
    content: "\f0d7";
    color: #fff;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navWrapper .menu .menu-item-has-children.current-menu-parent>.mobile-child-click::after {
    color: var(--scBgColor) !important;
}

.headerBtn .profileBtn img {
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: cover;
    max-width: 50px;
    object-position: center;
    border-radius: 100%;
}

.headerBtn .profileBtn>a {
    color: var(--scBgColor);
    font-size: clamp(12px, 4vw, 16px);
    font-weight: 300;
    line-height: 1.1;
}

.headerBtn .cBtn.scBtn:first-child {
    height: fit-content;
}

.headerBtn .profileBtn {
    position: relative;
    width: fit-content;
}

.headerBtn .profileBtn .logoutBtn {
    position: absolute;
    background-color: #20223E;
    top: calc(100% + 2px);
    display: none;
    width: clamp(180px, 4vw, 200px);
    right: 0;
    cursor: pointer;
    box-shadow: 0 0 5px #20223E;
    border-radius: 4px;
    transition: 0.8s ease-in-out;
}

.headerBtn .profileBtn .logoutBtn .perName {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    width: 100%;
    padding-top: 12px;
    line-height: 1.1;
    align-items: center;
    padding-bottom: 12px;
    grid-gap: clamp(15px, 4vw, 18px);
    DISPLAY: FLEX;
    padding-left: 8px;
    vertical-align: middle;
}

.perName>img {
    max-width: 35px !IMPORTANT;
}

.headerBtn .profileBtn .logoutBtn.active {
    display: block;
}

.headerBtn .profileBtn .logoutBtn>.logoutHover {
    font-size: clamp(12px, 4vw, 14px);
    font-weight: 600;
    line-height: 1.1;
    vertical-align: middle;
    padding-top: 12px;
    display: block;
    letter-spacing: 0.3px;
    padding-bottom: 12px;
    padding-left: 8px;
    color: var(--scBgColor);
}

@media(max-width:991px) {
    .headerBtn .profileBtn .logoutBtn {
        width: 100%;
        transform: translateX(0);
        left: 0;
        display: block;
    }

    .headerBtn .profileBtn .logoutBtn {
        background-color: transparent;
        box-shadow: none;
    }

    .headerBtn .profileBtn {
        width: 100%;
    }

    .headerBtn .profileBtn img {
        aspect-ratio: 1/1;
        width: 100%;
        object-fit: cover;
        max-width: 50px;
        object-position: center;
        border-radius: 100%;
    }

    .headerBtn .profileBtn .logoutBtn>.logoutHover,
    .headerBtn .profileBtn .logoutBtn .perName {
        width: 100%;
        padding-left: 20px;
    }
}

/* .current-menu-parent .mobile-child-click::before {
    background-image: url(../images/activesubmenu.svg);
    content: '';
    background-repeat: no-repeat;
    width: 12px;
    height: 15px;
    background-position: right;
    background-size: contain;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: -19px;
}

.current-menu-parent .mobile-child-click::after {
    content: 'none';
    display: none;
} */

@media (min-width: 992px) {


    /* .navWrapper .menu .menu-item-has-children .sub-menu::after {
        content: '';
        position: absolute;
        top: -5px;
        left: 20px;
        z-index: -1;
        height: 15px;
        width: 15px;
        transform: rotate(47deg);
        background-color: #fff;
    } */
}

.navWrapper .menu .menu-item-has-children .sub-menu li a {
    transition: auto;
}

@media(max-width: 1599px) {
    .navWrapper .menu .menu-item>a {
        padding: 10px 0;
        font-size: 15px;
        font-weight: 400;
    }

    .navWrapper .menu {
        grid-gap: 35px;
    }

    .navWrapper .menu .menu-item-has-children .sub-menu li a {
        font-size: 13px;
    }

    .navWrapper .headerBtn {
        gap: 16px;
    }

    .headerNav .navWrapper {
        grid-gap: 13px;
    }
}

@media(max-width: 1599px) {
    .navWrapper .menu .menu-item>a {
        padding: 10px 0;
        font-size: 13px;
    }

    .navWrapper .menu .menu-item-has-children>.mobile-child-click::after {
        right: -12px;
    }

    .navWrapper .menu {
        grid-gap: 25px;
    }

    .siteHeader .headerNav {
        padding: 12px 20px 13px 20px;
    }

    .navWrapper .menu .menu-item-has-children>a::after {
        transform: translateY(-41%);
        right: -8px;
    }

    .navWrapper .headerBtn {
        gap: 12px;
    }

    .cBtn::after {
        width: 22px;
        height: 22px;
        background-size: 22px;
    }

    .prBtn::after {
        width: 22px;
        height: 22px;
        background-size: 22px;
    }

    .headerNav .navWrapper {
        grid-gap: 8px;
    }
}

@media(max-width:1199px) {
    .navWrapper .menu .menu-item>a {
        font-size: 12px;
        height: fit-content !important;
        display: block;
    }

    .navWrapper .menu {
        grid-gap: 18px;
    }

    .headerBtn .cBtn {
        font-size: 13px;
        margin: 20px 0px 0 15px;
    }

    .headerNav .navWrapper {
        grid-gap: 5px;
    }

    .navWrapper .headerBtn {
        gap: 7px;
    }

    .navWrapper .menu .menu-item-has-children>.mobile-child-click::after {
        font-size: 14px;
        line-height: normal;
        text-rendering: auto;
    }
}

@media(max-width:991px) {
    .siteHeader .headerNav {
        opacity: 1;
    }

    .navWrapper .menu .menu-item-has-children .sub-menu.mobile-sub-open {
        display: block;
    }

    /* .current-menu-parent .mobile-child-click::before {
        content: 'none';
        display: none;
    }

    .current-menu-parent .mobile-child-click::after {
        content: '';
        display: block;
    } */

    .headerNav .navWrapper {
        position: fixed;
        top: 0;
        left: 0;
        display: block;
        overflow: auto;
        width: 100%;
        height: 100vh;
        max-width: 350px;
        z-index: 9;
        background-color: var(--bodyColor);
        opacity: 0;
        transform: translateX(-100%);
        visibility: hidden;
        transition: linear 0.5s;
    }

    .navWrapper .menu .menu-item-has-children .sub-menu li a {
        font-size: 17px;
    }

    .navWrapper.activeNav {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .navWrapper .menu {
        display: block;
    }

    ul.sub-menu.mobile-sub-open {
        display: none;
    }

    .navWrapper .headerBtn {
        border-top: 1px solid #ffffff45;
        display: block;
    }

    .profileBtn a {
        padding-left: 20PX;
        padding-bottom: 10px;
        display: block;
    }

    .headerBtn>.cBtn.scBtn {
        margin: 20px 0px 0 15px;
    }

    .headerBtn .profileBtn {
        display: block;
    }

    .menuToggle>img {
        width: 20px;
        filter: brightness(0.5) invert(1);
        object-fit: contain;
        object-position: center;
    }

    .navWrapper .menu .menu-item>a {
        font-size: 17px;
        padding: 15px 15px;
        width: fit-content;
        display: block;
    }

    .menuToggle,
    .menuClose {
        background: transparent;
        border-style: none;
    }

    .menuClose>img {
        width: 20px;
        filter: brightness(0.5) invert(1);
        object-fit: contain;
        object-position: center;
    }

    .navWrapper .menuClose {
        position: absolute;
        top: 10px;
        right: 13px;
    }

    body.activeNav {
        position: relative;
        overflow: hidden;
    }

    body.activeNav::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #000;
        z-index: 6;
        opacity: 0.5;
    }

    .navWrapper .menu .menu-item:not(:last-child) {
        border-bottom: 1px solid #ffffff26;
    }

    .headerNav .custom-logo-link>img {
        max-width: 60px;
    }

    .navWrapper .custom-logo-link {
        position: absolute;
        top: 125px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        opacity: 0.7;
    }

    .navWrapper .custom-logo-link>img {
        max-width: 300px;
        object-fit: contain;
        object-position: center;
    }

    .navWrapper .menu .menu-item-has-children .sub-menu {
        position: inherit;
        top: calc(100% + 32px);
        width: 100%;
        left: 0;
        border-radius: 0;

        display: none;
        padding: 0;
    }

    .navWrapper .menu .menu-item-has-children .sub-menu li a {
        color: #fff;
        padding-left: 40px;
        padding-top: 20px;
        width: auto;
        padding-bottom: 21px;
    }

    .navWrapper .menu .menu-item-has-children.mobile-sub-opened>.mobile-child-click::after {
        right: 15px;
        top: 26px;
        color: var(--scBgColor);
        transform: translateY(-50%) rotate(180deg);
    }

    .navWrapper .menu .menu-item-has-children>.mobile-child-click::after {
        right: 15px;
        top: 18px;
        height: 17px;
        color: #fff;
        transform: rotate(0);
        font-size: 20px;
    }

    .navWrapper.activeNav::after {
        content: '';
        position: absolute;
        background-image: url(../images/siteLogo.webp);
        background-repeat: no-repeat;
        background-size: auto;
        width: 300px;
        height: 200px;
        top: 99px;
        background-position: center;
        z-index: -1;
        opacity: 0.5;
    }

    .siteHeader {
        top: 20px;
    }

    span.mobile-child-click {
        width: 100%;
    }

    .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
    }
}

.navWrapper .menu .current-menu-parent a {
    color: var(--scBgColor) !important;
}



@media(min-width:991px) {
    .navWrapper .menu .current-menu-item>a:hover::after {
        width: 100%;
    }

    .navWrapper .menu .menu-item:not(:nth-child(3))>a:hover::after {
        width: 0;
    }

    .navWrapper .menu .menu-item:not(:nth-child(3))>a:hover::after {
        width: 100%;
    }

    .sub-menu {
        display: none;
    }


    .menu-item-has-children:hover .sub-menu {
        display: block;
    }

    .menu-item-has-children {
        position: relative;
        z-index: 0;
    }


    .sub-menu {
        position: absolute;
        z-index: 1;
        top: calc(100% + 4px);
        left: 0;
        width: 310px;
        background: #20223E;
        padding: 12px 14px;
        border-radius: 9px;
    }

}

@media(max-width:1399px) {
    .sub-menu {
        width: 250px;
    }
}

@media(max-width:991px) {

    .sub-menu {
        border-left: 5px solid #f3921d;
        margin-left: 14px;
        margin-bottom: 10px;
    }

    .navWrapper .menu .menu-item-has-children .sub-menu li a {
        padding: 8px 20px;
        font-size: 90%;
    }
}

.profileLogoutBtn {
    color: #fff;
    display: block;
    font-size: 14px;
}

.profileLogoutBtn:hover {
    text-decoration: underline;
}

/* ======================================== ** Header CSS Close Here ** ========================================   */