#header {
    z-index: 999;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
}

.homepage #header {
    opacity: 0;
    transition: opacity .2s ease-in;
}

.homepage #header.header-visible {
    opacity: 1;
    transition: 0.3s ease-in;
    box-shadow: none;
}

.solid .homepage #header.header-visible {
    box-shadow: 0px 3px 6px #00000014;
}

.solid #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0px 3px 6px #00000014;
    transition: 0.3s ease-in;
}

.linksUl li a {
    font-size: 0.875rem;
    font-family: "Barlow-Semibold";
    text-align: left;
    letter-spacing: 0px;
    color: #000;
    text-transform: uppercase;
}

.post-type-archive-services.post-type-archive header .linksUl li a,
.post-type-archive-services.post-type-archive .country-title{
     color: #000;
}
.post-type-archive-services.post-type-archive .country-title:after{
   border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.whitelogo, .post-type-archive-services.post-type-archive .whitelogo{
    display: none;
}

.post-type-archive-services.post-type-archive .bluelogo{
    display: block;
}
.solid .linksUl li a {
    color: #000;
}

.linksWrapDiv {
    display: flex;
    gap: 30px;
}

.linksUl {
    gap: 30px;
    display: flex;
    align-items: center;
}

.linksWrap {
    gap: 30px;
}

.headercta {
    font-size: 0.875rem;
    font-family: "Barlow-Semibold";
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    background-color: #FF4B07;
    width: 110px;
    height: 39px;
    padding: 0;
}

.headercta:hover {
    transition: .3s ease-in;
    background-color: #1D47DB;
}

.linksUl li a:hover {
    transition: all ease-in;
    color: #ff4b07;
}

.mainHeader .row {
    padding: 10px 20px;
}


.brandLogoDiv {
    width: 150px;
}

/* hamburger and mobile menu */
.hamburger-menu {
    display: inline-block;
    height: auto;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: end;
    flex-direction: column;
    justify-content: center;
}

.hamburger-menu:hover {
    cursor: pointer;
}

.hamburger-menu .menu-item {
    background: #FF4B07;
    display: block;
    height: 2px;
    margin: 0 0 7px;
    transition: all 0.3s ease-in-out;
    width: 27px;
}

.hamburger-menu .menu-item:first-child,
.hamburger-menu .menu-item:nth-child(3) {
    width: 27px;
}

.hamburger-menu .menu-item:nth-child(3) {
    margin: 0;
}

.homepage .hamburger-menu .menu-item,
.page-template-template-careers .hamburger-menu .menu-item,
.page-template-template-contactus .hamburger-menu .menu-item,
.post-type-archive-blogs .hamburger-menu .menu-item,
.blogs-template-default .hamburger-menu .menu-item,
.tax-blog_tag .hamburger-menu .menu-item,
.tax-blog_category .hamburger-menu .menu-item,
.single-open-jobs .hamburger-menu .menu-item,
.post-type-archive-news .hamburger-menu .menu-item ,
.tax-case_study_services .hamburger-menu .menu-item ,
.post-type-archive .hamburger-menu .menu-item {
    background-color: #fff;
}

.homepage .whitelogo,
.page-template-template-careers .whitelogo,
.page-template-template-contactus .whitelogo,
.post-type-archive-blogs .whitelogo,
.blogs-template-default .whitelogo,
.tax-blog_tag .whitelogo,
.tax-blog_category .whitelogo,
.single-open-jobs .whitelogo,
.post-type-archive-news .whitelogo,
.tax-case_study_services .whitelogo,
.post-type-archive .whitelogo {
    display: block;
}

.homepage .bluelogo,
.page-template-template-careers .bluelogo,
.page-template-template-contactus .bluelogo,
.post-type-archive-blogs .bluelogo,
.blogs-template-default .bluelogo,
.tax-blog_tag .bluelogo,
.tax-blog_category .bluelogo,
.single-open-jobs .bluelogo,
.post-type-archive-news .bluelogo,
.tax-case_study_services .bluelogo,
.post-type-archive .bluelogo {
    display: none;
}

.homepage .whitelogo,
.page-template-template-contactus .whitelogo,
.page-template-template-careers .whitelogo,
.post-type-archive-blogs .whitelogo,
.blogs-template-default .whitelogo,
.tax-blog_tag .whitelogo,
.tax-blog_category .whitelogo,
.single-open-jobs .whitelogo,
.post-type-archive-news .whitelogo,
.tax-case_study_services .whitelogo,
.post-type-archive .whitelogo {
    display: block;
}

.homepage .bluelogo,
.page-template-template-contactus .bluelogo,
.page-template-template-careers .bluelogo,
.post-type-archive-blogs .bluelogo,
.blogs-template-default .bluelogo,
.tax-blog_tag .bluelogo,
.tax-blog_category .bluelogo,
.single-open-jobs .bluelogo,
.post-type-archive-news .bluelogo ,
.tax-case_study_services .bluelogo ,
.post-type-archive .bluelogo{
    display: none;
}

.post-type-archive.post-type-archive-open-jobs .whitelogo {
    display: none !important;
}
.post-type-archive.post-type-archive-open-jobs .bluelogo {
    display: block !important;
}

.post-type-archive.post-type-archive-open-jobs header .linksUl li a {
    color: #000 !important;
}

.homepage #header,
.page-template-template-contactus #header,
.page-template-template-careers #header,
.post-type-archive-blogs #header,
.blogs-template-default #header,
.tax-blog_tag #header,
.tax-blog_category #header,
.single-open-jobs #header,
.post-type-archive-news #header,
.tax-case_study_services #header,
.post-type-archive #header {
    box-shadow: none;
}

.homepage header .linksUl li a,
.page-template-template-contactus header .linksUl li a,
.page-template-template-careers header .linksUl li a,
.post-type-archive-blogs header .linksUl li a,
.blogs-template-default header .linksUl li a,
.tax-blog_tag header .linksUl li a,
.tax-blog_category header .linksUl li a,
.single-open-jobs header .linksUl li a,
.post-type-archive-news header .linksUl li a,
.tax-case_study_services .linksUl li a,
.post-type-archive header .linksUl li a {
    color: #fff;
}

.homepage header .linksUl .country-content li a,
.page-template-template-contactus header .linksUl .country-content li a,
.page-template-template-careers header .linksUl .country-content li a,
.post-type-archive-blogs header .linksUl .country-content li a,
.blogs-template-default header .linksUl .country-content li a,
.tax-blog_tag header .linksUl .country-content li a,
.tax-blog_category header .linksUl .country-content li a,
.single-open-jobs header .linksUl .country-content li a,
.post-type-archive-news header .linksUl .country-content li a,
.tax-case_study_services .linksUl .country-content li a,
.post-type-archive header .linksUl .country-content li a {
    color: #000;
}


.solid .homepage header .linksUl li a,
.solid .page-template-template-contactus header .linksUl li a,
.solid .page-template-template-careers header .linksUl li a,
.solid .post-type-archive-blogs header .linksUl li a,
.solid .blogs-template-default header .linksUl li a,
.solid .tax-blog_tag header .linksUl li a,
.solid .tax-blog_category header .linksUl li a,
.solid .single-open-jobs header .linksUl li a,
.solid .post-type-archive-news header .linksUl li a,
.solid .tax-case_study_services header .linksUl li a,
.solid .post-type-archive header .linksUl li a {
    color: #000;
}


.solid .homepage #header,
.solid .page-template-template-contactus #header,
.solid .page-template-template-careers #header,
.solid .post-type-archive-blogs #header,
.solid .blogs-template-default #header,
.solid .tax-blog_tag #header,
.solid .tax-blog_category #header,
.solid .single-open-jobs #header,
.solid .post-type-archive-news #header,
.solid .tax-case_study_services #header,
.solid .post-type-archive #header {
    box-shadow: 0px 3px 6px #00000014;
}

.solid .homepage .linksUl li a:hover,
.solid .page-template-template-contactus .linksUl li a:hover,
.solid .page-template-template-careers .linksUl li a:hover,
.solid .post-type-archive-blogs .linksUl li a:hover,
.solid .blogs-template-default .linksUl li a:hover,
.solid .tax-blog_tag .linksUl li a:hover,
.solid .tax-blog_category .linksUl li a:hover,
.solid .single-open-jobs .linksUl li a:hover,
.solid .post-type-archive-news .linksUl li a:hover,
.solid .tax-case_study_services .linksUl li a:hover,
.solid .post-type-archive .linksUl li a:hover {
    transition: all ease-in;
    color: #ff4b07;
}


.whitelogo {
    display: none;
}

.bluelogo {
    display: block;
}

.solid #header .bluelogo {
    display: block;
    transition: 0.3s ease-in;
}

.solid #header .whitelogo {
    display: none;
    transition: 0.3s ease-in;
}

.solid #header .hamburger-menu .menu-item {
    background-color: #FF4B07;
}

.closemegamenu {
    display: none;
}

.linksUl .sub-menu-wrapper {
    transform: translateY(-100%);
}

.openservicesPopup+.sub-menu-wrapper {
    position: fixed;
    top: 0px;
    right: 0;
    width: 400px;
    z-index: 999;
    transform: translateY(-200%);
    transition: transform 0.5s ease-in-out;
    background-color: #fff;
    display: block !important;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.servicesPopupVisible .openservicesPopup+.sub-menu-wrapper {
    transform: translateY(0%);
}

.closeservicesPopUp {
    filter: brightness(0) saturate(100%) invert(0%) sepia(2%) saturate(0%) hue-rotate(253deg) brightness(103%) contrast(100%);
    position: absolute;
    right: 20px;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.closeservicesPopUp img {
    width: 100%;
    height: 100%;
}

.servicespopup .popupHolder {
    padding: 0;
}


.openservicesPopup img {
    width: 15px;
    height: 15px;
    filter: brightness(0) saturate(100%) invert(36%) sepia(78%) saturate(2719%) hue-rotate(355deg) brightness(100%) contrast(106%);
    position: absolute;
    top: 30%;
    right: 0;
    display: none;
}

.openservicesPopup+.sub-menu-wrapper .sub-menu-item a {
    font-family: "Barlow-ExtraBold";
    color: #1d47db;
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 1px #1d47db;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 50px;
}

.openservicesPopup+.sub-menu-wrapper .hoverlinkWrap {
    line-height: normal;
    width: fit-content;
    color: #000;
}

.openservicesPopup+.sub-menu-wrapper .hover13.hoverlinkWrap.viewall {
    font-family: "Barlow-SemiBold";
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    line-height: 28px;
    color: #000;
    -webkit-text-fill-color: unset;
    -webkit-text-stroke: unset;
}

.openservicesPopup+.sub-menu-wrapper .sub-menu-item {
    padding: 15px 35px;
    border-top: 1px solid rgba(112, 112, 112, .2);
}

.sub-menu {
    margin: 50px 0 10px;
}

.country-dropdown {
    position: relative;
    display: inline-block;
}

.country-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: -webkit-fill-available;
    z-index: 1;
    right: 0px;
    padding: 10px 16px 10px 16px;
}

.country-title {
    font-size: 0.875rem;
    font-family: "Barlow-Semibold";
    text-align: left;
    letter-spacing: 0px;
    color: #000;
    text-transform: uppercase;
    /* background: #d9d4d426; */
    padding: 10px 30px 10px 10px;
    cursor: pointer;
}

.homepage .country-title,
.page-template-template-careers .country-title,
.page-template-template-contactus .country-title,
.post-type-archive-blogs .country-title,
.blogs-template-default .country-title,
.tax-blog_tag .country-title,
.tax-blog_category .country-title,
.single-open-jobs .country-title,
.post-type-archive-news .country-title,
.tax-case_study_services .country-title,
.post-type-archive .country-title {
    color: #fff;
}

.solid .country-title {
    color: #000;
}

.country-title:after {
    content: '';
    display: block;
    margin: 0;
    padding: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(135deg);
    position: absolute;
    right: 10px;
    bottom: 46%;
    font-family: "Barlow-Semibold";
}

.homepage .country-title:after,
.page-template-template-careers .country-title:after,
.page-template-template-contactus .country-title:after,
.post-type-archive-blogs .country-title:after,
.blogs-template-default .country-title:after,
.tax-blog_tag .country-title:after,
.tax-blog_category .country-title:after,
.single-open-jobs .country-title:after,
.post-type-archive-news .country-title:after,
.tax-case_study_services .country-title:after,
.post-type-archive .country-title:after {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.solid .country-title:after {
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}

.country-content li a {
    color: #000;
}

.homepage .country-content li a,
.page-template-template-careers .country-content li a,
.page-template-template-contactus .country-content li a,
.post-type-archive-blogs .country-content li a,
.blogs-template-default .country-content li a,
.tax-blog_tag .country-content li a,
.tax-blog_category .country-content li a,
.single-open-jobs .country-content li a,
.post-type-archive-news .country-content li a,
.tax-case_study_services .country-content li a,
.post-type-archive .country-content li a {
    color: #000;
}

.country-dropdown:hover .country-content {
    display: block;
}

.sub-menu-item img {
    display: none;
}

.viewall img {
    display: block;
}

@media (max-width: 767px) {
    header {
        top: 0;
        left: 0;
        margin: 0 auto;
        width: 100%;
        min-height: 60px;
        z-index: 999;
    }

    .mainHeader {
        padding: 1rem 1.25rem;
    }

    .linksWrap {
        display: block;
        position: fixed;
        width: 100%;
        max-width: 90%;
        height: 100%;
        top: auto;
        bottom: 0;
        left: 0;
        align-items: flex-start !important;
        padding: 20px 20px;
        flex-direction: column;
        z-index: 999;
    }

    .openMegamenu .linksWrap {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    }

    html.openMegamenu {
        overflow: hidden;
    }

    .closemegamenu {
        position: absolute;
        right: 0;
        top: 10px;
        right: 20px;
        width: 22px;
        height: 22px;
        cursor: pointer;
        display: block;
    }

    .closemegamenu img {
        width: 100%;
        height: 100%;
        filter: brightness(0) saturate(100%) invert(36%) sepia(78%) saturate(2719%) hue-rotate(355deg) brightness(100%) contrast(106%);
    }

    .brandLogoDiv {
        margin: 0;
    }

    .logoDiv {
        display: flex;
        z-index: 999;
        align-items: center;
        width: 100%;
        margin: 0;
        flex-direction: row;
        justify-content: space-between;
    }

    .linksUl {
        gap: 15px;
        display: block;
        height: 100%;
        width: 100%;
        margin: 75px 0 0 0;
    }

    .linksDiv {
        height: 100%;
        width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .openservicesPopup {
        width: 100%;
    }

    .linksWrapDiv {
        flex-direction: row-reverse;
    }

    .linksUl li {
        width: 100%;
        padding: 0;
        flex-wrap: wrap;
        padding-left: 0px;
        min-height: 60px;
        display: block;
    }

    .linksUl li a {
        font-weight: 800;
        color: #1D47DB;
        -webkit-text-fill-color: white;
        -webkit-text-stroke: 1px #1D47DB;
        font-size: 45px;
        line-height: 38px;
        font-family: "Barlow-ExtraBold";
    }

    .linksWrap:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-width: 90%;
        height: 100%;
        background: #fff;
        z-index: -1;
    }

    .mainHeader .linksWrap {
        transform: translateX(-100%);
        transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .mainHeader.openNavigation {
        border-bottom: 0.5px solid rgba(29, 71, 219, 0.2);
    }

    .mainHeader.openNavigation .linksWrap {
        transform: translateX(0vw);
        transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .headercta {
        width: 80px;
        height: 40px;
        font-size: 0.75rem;
        padding: 8px 0;
    }

    .mainHeader .row {
        padding: 0;
    }

    .brandLogo .img-fluid {
        max-width: 80%;
    }

    .linksUl .sub-menu-wrapper {
        padding: 0 20px;
        background-color: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
        margin: 0;
        display: block;
    }

    .linksWrap .sub-menu li a {
        font-size: 24px;
        line-height: 25px;
        margin: 10px 0;
    }

    .linksWrap .linksUl li {
        line-height: 40px;
        margin: 20px 0;
    }

    .linksWrap .linksUl .country-content li {
        margin: 0;
    }

    .linksWrap .sub-menu li a::before {
        content: url('../media/common/angle-arrow-down.png');
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        width: auto;
    }

    .sub-menu-item img {
        display: inline-block;
        width: 10px;
        height: 10px;
        filter: brightness(0) saturate(100%) invert(36%) sepia(78%) saturate(2719%) hue-rotate(355deg) brightness(100%) contrast(106%);
        rotate: 270deg;
        top: -6px;
        position: relative;

    }

    .openservicesPopup img {
        display: block;
    }

    body.active .openservicesPopup img {
        rotate: 180deg;
    }

    .openservicesPopup+.sub-menu-wrapper {
        position: relative;
        transform: unset;
        height: auto;
        top: unset;
        left: unset;
        bottom: unset;
        padding: 0;
    }

    .closeservicesPopUp {
        display: none;
    }

    .openservicesPopup+.sub-menu-wrapper .hover13.hoverlinkWrap.viewall {
        display: none;
    }

    .openservicesPopup+.sub-menu-wrapper .sub-menu-item:last-of-type {
        display: none;
    }

    .openservicesPopup+.sub-menu-wrapper .sub-menu-item a {
        font-size: 30px;
    }

    .openservicesPopup+.sub-menu-wrapper .sub-menu-item {
        border: none;
        word-break: break-word;
        padding: 0;
        display: flex;
        align-items: baseline;
        gap: 7px;
        flex-wrap: nowrap;
        margin: 0;
    }

    .sub-menu {
        margin: 0;
        padding-left: 20px;
    }

    .sub-menu-item .hoverlinklabel {
        margin: 0;
    }

    .country-title {
        display: none;
    }

    .country-content {
        display: block;
        padding: 0;
    }

}

@media all and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

    .homepage header .linksUl li a,
    .page-template-template-contactus header .linksUl li a,
    .page-template-template-careers header .linksUl li a,
    .post-type-archive-blogs header .linksUl li a,
    .blogs-template-default header .linksUl li a,
    .tax-blog_tag header .linksUl li a,
    .tax-blog_category header .linksUl li a,
    .single-open-jobs header .linksUl li a,
    .post-type-archive-news header .linksUl li a,
    .tax-case_study_services header .linksUl li a,
    .post-type-archive header .linksUl li a,
    .linksUl li a,
    .country-title {
        font-size: 12px;
    }
    .linksUl{
        gap: 20px;
    }
    .country-title{
        padding: 6px 30px 2px 10px;
    }
    .country-title:after{
        bottom: 35%;
    }
    .servicesPopupVisible .openservicesPopup+.sub-menu-wrapper {
        transform: translateY(0%);
    }
    
    .openservicesPopup+.sub-menu-wrapper {
        position: fixed;
        top: 0px;
        right: 0;
        width: 400px;
        z-index: 999;
        transform: translateY(-200%);
        transition: transform 0.5s ease-in-out;
        background-color: #fff;
        display: block !important;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }
}