/* Temporary Global Styling */
body {
    background-color: rgba(237, 237, 237, 1);
}

body {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.fade-out {
    opacity: 0;
}

:root {
    --orangeMain: #e07e3c;
    --blueMain: #298fc2;
    --darkText: #25282a;
    --navGray: #63666b;
    --fontInter: "Inter";
    --fontWorkSans: "Work Sans";
    --fontRoboto: "Roboto";
}

/* Global Styling */
.global-padding {
    /* padding: 100px 8.33%; */
    padding: 100px 17.22%;
}

@media (max-width: 1199px) {
    .global-padding {
        /* padding: 70px 8.33%; */
        /* padding: 70px 30px; */
        padding: 70px 60px;
    }
}

@media (max-width: 767px) {
    .global-padding {
        /* padding: 50px 8.33%; */
        padding: 50px 20px;
        /* padding: 50px 40px; */
    }
}

.pure-w {
    background-color: #fff !important;
}

.pale {
    background-color: #f6f9fa !important;
}

.top-void {
    padding-top: 0 !important;
}

a.custom-btn {
    background-color: var(--orangeMain);
    padding: 10px 35px;
    border-radius: 50px;
    color: #fff !important;
    font-weight: 600;
    transition: background 0.3s ease;
    font-family: var(--fontInter);
    font-size: 14px;
}

a.custom-btn:hover {
    background-color: var(--blueMain);
}

/* div.mainNav nav#navWeb .navLinks a.custom-btn {
    font-size: 0.729vw;
} */

/* Topmost Lines */
#topLine {
    display: flex;
}

#topLine .line-color {
    height: 5px;
    display: block;
}

#topLine .line-color.line-blue {
    background: #298fc2;
    width: 50%;
}

.line-dblue {
    background: #233b74;
    width: 25%;
}

.line-orange {
    background: #e07e3c;
    width: 25%;
}

/* Nav Styling */
div.mainNav {
    position: fixed;
    top: 0;
    width: -webkit-fill-available;
    transition: background 0.3s ease;
    z-index: 2;
}

div.mainNav nav#navWeb a,
div.mainNav nav#navTabMobi a {
    color: #fff;
    text-decoration: none;
    font-family: var(--fontInter);
    font-size: 15px;
}

div.mainNav:hover nav#navWeb a,
div.mainNav.scrolled nav#navWeb a,
div.mainNav:hover nav#navTabMobi a,
div.mainNav.scrolled nav#navTabMobi a {
    color: #000;
    text-decoration: none;
}

div.mainNav:hover,
div.mainNav.scrolled {
    background: #fff;
}

/* div.mainNav:not(.scrolled) .popNav {
    display: none !important;
} */

div.mainNav.hover nav#navWeb a:not(:last-of-type),
div.mainNav.scrolled nav#navWeb a:not(:last-of-type) {
    color: #000;
}

div.mainNav nav#navWeb,
div.mainNav nav#navTabMobi {
    /* max-width: 1728px; */
    max-width: 1280px;
    height: 100vh;
    max-height: 80px;
    position: relative;
    margin: auto;
    padding: 16px 50px 30px 50px;
}

div.mainNav nav#navWeb,
div.mainNav nav#navTabMobi {
    display: flex;
    justify-content: space-between;
}

div.mainNav nav#navWeb .navLogo,
div.mainNav nav#navTabMobi .navLogo {
    display: flex;
}

div.mainNav nav#navWeb .navLogo img,
div.mainNav nav#navTabMobi .navLogo img {
    max-width: 70%;
    cursor: pointer;
}

div.mainNav nav#navWeb .navLinks,
div.mainNav nav#navTabMobi .navLinks {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

div.mainNav nav#navWeb .navLinks a,
div.mainNav nav#navTabMobi .navLinks a {
    display: flex;
}

div.mainNav nav#navWeb .navLinks a:not(:last-of-type)::after,
div.mainNav nav#navTabMobi .navLinks a:not(:last-of-type)::after {
    display: inline-block;
    content: "";
    vertical-align: -0.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 256 256' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M128,188a11.96187,11.96187,0,0,1-8.48535-3.51465l-80-80a12.0001,12.0001,0,0,1,16.9707-16.9707L128,159.0293l71.51465-71.51465a12.0001,12.0001,0,0,1,16.9707,16.9707l-80,80A11.96187,11.96187,0,0,1,128,188Z'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
    margin-top: 3px;
    margin-left: 6px;
    margin-right: auto;
    width: 1rem;
    height: 1rem;
    filter: invert(1);
}

div.mainNav:hover nav#navWeb .navLinks a:not(:last-of-type)::after,
div.mainNav.scrolled nav#navWeb .navLinks a:not(:last-of-type)::after,
div.mainNav:hover nav#navTabMobi .navLinks a:not(:last-of-type)::after,
div.mainNav.scrolled nav#navTabMobi .navLinks a:not(:last-of-type)::after {
    filter: unset;
}

#BigOutsourceLogoSolid,
#BigOutsourceLogoSolidMobi {
    display: none;
}

/* Nav Web SubMenus */
.popNav#subAbout,
.popNav#subIndustries,
.popNav#subServices,
.popNav#subSolutions,
.popNav#subResources {
    display: none;
}

/* TODO::Use Script Instead  */

.popNav {
    max-width: 1280px;
    position: relative;
    margin: auto;
    padding: 10px;
    transform: translateY(-10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/*For screens like ipad Mini - sideways*/
@media (max-height: 767px) {
    .popNav {
        max-height: 75vh;
        overflow: scroll;
    }
}

.popNav .navSub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}

.popNav#subResources .navSub {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* .popNav .navSub .nav-sub-item {
    display: flex;
    gap: 15px;
    padding: 10px;
} */
/*
.popNav .navSub .nav-sub-item p {
    margin-bottom: 0 !important;
    font-family: var(--fontInter);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--navGray);
}

.popNav .navSub .nav-sub-item a {
    font-family: var(--fontWorkSans);
    font-size: 18px;
    font-weight: 600;
    color: var(--blueMain);
    text-decoration: none;
}

.popNav .navSub .nav-sub-item > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popNav .navSub .nav-sub-item img {
    max-width: 70px;
} */

.popNav .navSub .nav-sub-item {
    display: flex;
    /* flex-direction: column; */
    /* justify-content: center; */
    justify-content: flex-start;
    text-decoration: none;
    font-family: var(--fontInter);
    color: inherit;
    gap: 15px;
}

.popNav .navSub .nav-sub-item .item-text {
    max-width: 250px;
}

.popNav .navSub .nav-sub-item .title {
    font-family: var(--fontWorkSans);
    font-size: 18px;
    font-weight: 600;
    color: var(--blueMain);
    margin-bottom: 4px;
    text-decoration: none;
}

.popNav .navSub .nav-sub-item p {
    margin-bottom: 0 !important;
    font-family: var(--fontInter);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #63666b;
}

.popNav .navSub .nav-sub-item img {
    max-width: 70px;
}

/* Nav Mobile  */
button#navMobi-btn {
    display: flex;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.popNavMobi {
    position: absolute;
    /* max-width: 400px; */
    max-width: 0;
    z-index: 2;
    background: #fff;
    /* border: solid 1px #298FC2; */
    height: 100vh;
    /* padding: 10px; */
    padding: 0px;
    top: 0;
    /*temporary*/
    /* overflow: scroll;  */
    overflow: hidden;
    transition: all 0.3s ease;
}

.close-btn-mobi {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

button#navMobi-close-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.sub-menu-title-mobi {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
}

.sub-menu-title-mobi a {
    color: #000;
    text-decoration: none;
    font-family: var(--fontInter);
}

button.show_sub {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
}

button.show_sub img {
    width: 5%;
}

/* .sub-menu-popout-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
} */

/* .sub-menu-popout-mobi {
    display: flex;
    gap: 15px;
    padding: 10px;
}

.sub-menu-popout-mobi .item-text a {
    font-family: var(--fontWorkSans);
    font-size: 18px;
    font-weight: 600;
    color: var(--blueMain);
    text-decoration: none;
}

.sub-menu-popout-mobi .item-text p {
    margin-bottom: 0 !important;
    font-family: var(--fontInter);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--navGray);
}

.sub-menu-popout-mobi img {
    max-width: 70px;
} */

.sub-menu-popout-mobi {
    display: flex;
    gap: 15px;
    padding: 10px;
    text-decoration: none;
    color: inherit;
}

.sub-menu-popout-mobi .title {
    font-family: var(--fontWorkSans);
    font-size: 18px;
    font-weight: 600;
    color: var(--blueMain);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.sub-menu-popout-mobi p {
    margin-bottom: 0 !important;
    font-family: var(--fontInter);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--navGray);
}

.sub-menu-popout-mobi img {
    max-width: 70px;
    flex-shrink: 0;
}

.group-about,
.group-industries,
.group-services,
.group-solutions,
.group-resources {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}

/* Nav Visibility */

@media (min-width: 992px) {
    div.mainNav nav#navWeb {
        display: flex;
    }
    div.mainNav nav#navTabMobi {
        display: none;
    }

    .popNavMobi {
        display: none;
    }
}

@media (max-width: 991px) {
    div.mainNav nav#navWeb {
        display: none;
    }
    div.mainNav nav#navTabMobi {
        display: flex;
    }
}

@media (max-width: 767px) {
    nav#navTabMobi .navLinks a.custom-btn {
        display: none !important;
    }
}

/* Footer Styling */
footer {
    background: #1c3062;
}

.footer-top {
    display: flex;
    margin-bottom: 30px;
}

.footer-top img {
    /* transform: scale(0.2); */
    max-width: 196px;
}

.footer-lower {
    display: flex;
    justify-content: space-between;
    gap: 5.208vw;
}

.footer-lower .content-left {
    max-width: 376px;
}

.footer-lower .content-left p {
    color: #fff;
    font-family: var(--fontInter);
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 30px;
}

.footer-lower .content-left p a.footer-blue-link {
    color: var(--blueMain);
    font-family: var(--fontInter);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    text-decoration: none;
}

.footer_logos {
    display: flex;
    /* justify-content: space-between; */
    margin-bottom: 30px;
    gap: 30px;
}

.footer_logos img {
    width: 100%;
    max-width: 28%;
    object-fit: contain;
}

p.footer_title {
    color: #fff;
    font-family: var(--fontInter);
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer_socials {
    display: flex;
    gap: 10px;
}

.footer_socials a {
    text-decoration: none;
}

.content-right {
    display: flex;
    /* justify-content: space-between; */
    gap: 5.208vw;
}

.footer_navigate {
    max-width: 478px;
}

.navigate_links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.navigate_links a {
    color: rgba(204, 204, 204, 1);
    text-decoration: none;
    font-family: var(--fontInter);
    font-size: 14px;
    line-height: 24px;
    transition: 0.3s ease;
}

.navigate_links a:hover {
    color: var(--orangeMain);
}

.links_a,
.links_b {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer_our_offices {
    max-width: 258px;
}

.offices_address p a {
    color: rgba(204, 204, 204, 1);
    font-family: var(--fontInter);
    font-size: 14px;
    line-height: 24px;
    text-decoration: none;
}

p.address-first {
    padding-bottom: 30px;
    border-bottom: 1px rgba(255, 255, 255, 0.22) solid;
    margin-bottom: 20px;
}

p.address-second {
    padding-bottom: 30px;
}

.footer-end {
    background: rgba(37, 40, 42, 1);
    color: #fff;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.footer-end p {
    margin: 0;
}

.footer-end p a {
    color: #fff;
}

.footer-end p a.xml-link {
    text-decoration: none;
}

@media (max-width: 991px) {
    .footer_logos {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .footer_logos {
        justify-content: flex-start;
    }

    .footer-lower {
        flex-direction: column;
    }

    .footer-lower .content-left {
        max-width: 100%;
    }

    .content-right {
        gap: 50px;
        flex-direction: column;
    }

    .navigate_links {
        gap: 20px;
        flex-direction: column;
    }

    .footer_our_offices {
        max-width: 100%;
    }

    .footer-end {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .navLinks a {
        width: auto;
    }

    .footer_logos {
        flex-wrap: wrap;
    }
}

@media (max-width: 450px) {
    .footer_logos {
        flex-direction: column;
        align-items: center;
    }

    .footer_logos img {
        width: -webkit-fill-available;
        max-width: fit-content;
    }
}

/* Homepage QA */
h1 {
    font-size: clamp(2.438rem, 2.25rem + 0.938vw, 3.375rem) !important;
    line-height: normal !important;
}

h2 {
    font-size: clamp(2.063rem, 1.875rem + 0.938vw, 3rem) !important;
    line-height: normal !important;
}

@media (max-width: 1199px) {
    .home div.mainNav nav#navWeb a.custom-btn {
        font-size: 1.25vw;
        padding: 10px 14px;
    }
    .home div.mainNav nav#navTabMobi a.custom-btn {
        font-size: 13px;
    }
}

@media (max-width: 1048px) {
    div.mainNav nav#navWeb a.custom-btn,
    div.mainNav nav#navTabMobi a.custom-btn {
        font-size: 12px;
        padding: 10px 15px;
    }
}

@media (max-width: 991px) {
    .transparent-bg {
        background: transparent !important;
    }

    .footer_navigate {
        max-width: fit-content;
    }

    .footer-lower {
        flex-direction: column;
    }

    .footer_our_offices {
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .footer_our_offices {
        max-width: fit-content;
    }
}

/* Side CTA */
section.sideCTA {
    width: 100vw;
    max-width: 330px;
    height: 100vh;
    max-height: 275px;
    background: var(--blueMain);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: block;
    position: fixed;
    z-index: 9999;
    bottom: 50px;
    /* right: 0; */
    right: -280px;
    padding: 17px;
    padding-left: 0;
    opacity: 0;
    transition:
        right 0.5s ease,
        opacity 0.5s ease;
    pointer-events: none; /* Prevent hover/click when hidden */
}

section.sideCTA .side-cta-contents {
    display: flex;
    /* justify-content: space-between; */
}

section.sideCTA .side-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

section.sideCTA .side-tag span {
    color: #fff;
    transform-origin: left top;
    writing-mode: vertical-rl;
    font-family: var(--fontWorkSans);
    font-weight: 600;
    line-height: 50px;
    font-size: 16px;
}

section.sideCTA .side-tag svg {
    color: rgba(35, 59, 116, 1);
    margin-top: 5px;
}

section.sideCTA .inside-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section.sideCTA img {
    display: block;
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: 0;
}

section.sideCTA .title-content {
    width: 100%;
    max-width: 170px;
}

section.sideCTA .title-content p {
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}

section.sideCTA .title-content p.quasi-h3 {
    color: #fff;
    font-family: var(--fontWorkSans);
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
}

section.sideCTA .button-content .button-container a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--fontWorkSans);
    font-size: 12px;
    line-height: 18px;
    background: var(--orangeMain);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    top: -6px;
    text-align: center;
}

section.sideCTA .button-content .button-container a:hover {
    top: -3px;
}

section.sideCTA .button-content .button-container {
    border: 3px solid var(--orangeMain);
    border-radius: 50px;
}

section.sideCTA .side-cta-outer {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: -webkit-fill-available; */
    left: -32px;
    height: 335px;
    top: -35px;
}

section.sideCTA .upper-blink {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

section.sideCTA .lower-blink {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

section.sideCTA .side-blink {
    position: relative;
}

section.sideCTA .side-blink.blink-1 {
    left: 15px;
}

section.sideCTA .side-blink.blink-3 {
    left: 10px;
}

section.sideCTA .side-blink.blink-5 {
    left: 15px;
}

.side-blink {
    animation: blinkCycle 4s infinite;
    opacity: 1;
}

.blink-1 {
    animation-delay: 0s;
}
.blink-2 {
    animation-delay: 1.2s;
}
.blink-3 {
    animation-delay: 2.4s;
}
.blink-4 {
    animation-delay: 0.6s;
}
.blink-5 {
    animation-delay: 1.8s;
}

@keyframes blinkCycle {
    0% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    } /* blink (short hide) */
    20% {
        opacity: 1;
    } /* return to visible */
    100% {
        opacity: 1;
    } /* stay visible */
}

/* Hovered State */
section.sideCTA.side-cta-hovered {
    width: 100vw;
    max-width: 330px;
    background: #223b75;
    right: 0;
}

section.sideCTA.side-cta-hovered .side-tag svg {
    color: var(--orangeMain);
    transform: scaleX(-1);
}

/* Scrolled State */
section.sideCTA.side-cta-visible {
    /* right: 0;         */
    opacity: 1;
    pointer-events: auto;
}

/* Side CTA */

/* Revisions September */
.global-padding {
    @media (min-width: 1200px) {
        padding: 100px 0;
    }

    > div {
        width: 100%;
        max-width: 1280px !important;
        position: relative;
        margin: 0 auto;

        @media (min-width: 1200px) and (max-width: 1440px) {
            padding-left: 60px;
            padding-right: 60px;
        }
    }
}

.page-id-117 {
    section.sideCTA {
        display: none;
    }
}

nav#navWeb {
    a#btn-careers {
        &::after {
            display: none;
        }
    }
}

.hidden {
    display: none;
}
.visible {
    display: block;
}

/* Revisions September - End */
