/* ==========================================================================
   Nav
   ========================================================================== */
img {
    width: 100%;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

.sc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all .3s;
    padding: 0px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sc-header.active {
    background: var(--color-bg-primary);
}

.sc-header:has(.nav-item[data-menu]:hover) {
    background: var(--color-bg-primary);
}

.sc-header .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 12px 40px; */
    transition: all .3s;
}

/* .sc-header.active .topbar {
    padding: 8px 40px;
} */

.sc-header .logo img {
    display: block;
    height: 38px;
    width: auto;
}

.sc-header .sc-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sc-header .nav-item {
    position: static;
}

.sc-header .nav-link {
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 24px 0;
    cursor: pointer;
    transition: color .2s ease;
    background: none;
    border: none;
    font-family: inherit;
}

.sc-header .nav-link:hover {
    color: var(--color-primary);
}

.sc-header .caret {
    transition: transform .3s ease;
}

.sc-header .nav-item.open .caret {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* full-width submenu */
.sc-header .dropdown {
    position: fixed;
    top: var(--header-h, 72px);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-bg-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    /* transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s; */
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 20px 20px;
    /* max-height: 0; */
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform-origin: top center;
    transition:
        clip-path .55s cubic-bezier(.22, 1, .36, 1),
        opacity .25s ease,
        visibility .25s;
}

.sc-header .nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 0 0);
    /* transform: translateY(0); */

}

.mega-item {
    opacity: 0;
    /* transform: translatey(-18px); */
    filter: blur(8px);
}

.sc-header .dropdown-inner {
    /* max-width: 1400px; */
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 42px 16px;
}

.sc-header .service-dpdn .dropdown-group {
    background: var(--color-bg-secondary);
    padding: 20px 12px 12px;
    border-radius: 24px;
}

.sc-header .service-dpdn .dropdown-inner-right .dropdown-group {
    background: var(--color-bg-secondary);
    padding: 30px;
    border-radius: 24px;
}

.sc-header .service-dpdn .dropdown-inner {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
}

.industries-dpdn .dropdown-inner {
    padding: 30px 16px;
    background: var(--color-bg-secondary);
    border-radius: 24px;
}


.sc-header .dropdown-group h4 {
    margin: 0 0 12px;
}

.sc-header .dropdown-group h4 a {
    font-weight: 600;
    letter-spacing: .4px;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    padding: 0;
    padding: 0 14px;
}

.sc-header .dropdown-group h4 a:hover {
    color: var(--color-primary);
    background: none;
}

.sc-header .dropdown a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 14px;
    transition: background .15s ease, color .15s ease;
}


.sc-header .dropdown a:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--color-text-white);
}

.dropdown-inner-right .dropdown-group {
    background: var(--color-bg-primary) !important;
    height: 100%;
    max-width: 500px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
    z-index: 0;
}

.dropdown-inner-right .dropdown-group h4 {
    padding: 0;
}

.dropdown-inner-right .dropdown-group h3 {
    font-size: 22px;
}

.dropdown-inner-right .dropdown-group p {
    margin: 20px 0;
}

.dropdown-inner-right .dropdown-group img {
    width: 100%;
    display: block;
    margin: 30px 0;
}

.dropdown-inner-right .dropdown-group button {
    display: block;
}

.dropdown-inner-right .dropdown-group a {
    width: 100%;
}

.dropdown-inner-right .dropdown-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: 0.3;
    background: url('../images/vectors/sm-gradient-bg.webp') center / cover no-repeat;
    z-index: -1;
}

.cards-dpdn .dropdown-inner a {
    padding: 30px;
    min-height: 350px;
    background-color: var(--color-bg-secondary);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.solutions-dpdn .dropdown-inner a {
    min-height: 400px !important;
    padding-bottom: 0;
}
.solutions-dpdn .dropdown-inner a:hover img {
    transform: scale(1.02);
}

.cards-dpdn .dropdown-inner a h4 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
}

.cards-dpdn .dropdown-inner a p {
    font-size: 15px;
    width: 70%;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cards-dpdn .dropdown-inner a img {
    margin-top: 24px;
    /*position: absolute;*/
    left: 50%;
    /*transform: translateX(-50%);*/
    /*bottom: -15%;*/
    transition: all .3s;
}


.resources-dpdn .dropdown-inner a {
    position: relative;
    z-index: 0;
    display: block;
}

.resources-dpdn .dropdown-inner a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: 0.3;
    z-index: -1;
}

.resources-dpdn .dropdown-inner a:nth-child(1)::before {
    background: url('../images/insights/article-cover-img.webp') center / cover no-repeat;
}

.resources-dpdn .dropdown-inner a:nth-child(2)::before {
    background: url('../images/insights/impact-cover-img.webp') center / cover no-repeat;
}

.resources-dpdn .dropdown-inner a:nth-child(3)::before {
    background: url('../images/insights/perspective-cover-img.webp') center / cover no-repeat;
}

.resources-dpdn .dropdown-inner a:nth-child(4)::before {
    background: url('../images/insights/playbook-cover-img.webp') center / cover no-repeat;
}

/* right = nav + divider + cta button, grouped together */
.sc-header .right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sc-header .divider {
    width: 1px;
    height: 26px;
    background: var(--stroke-color);
}

.sc-header .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.sc-header .burger span {
    width: 24px;
    height: 2px;
    background: var(--color-text-white);
    transition: transform .2s ease, opacity .2s ease;
}

.sc-header .burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sc-header .burger.open span:nth-child(2) {
    transform: rotate(-45deg);
}

.sc-header .spacer {
    height: 72px;
}

.industries-dpdn .dropdown-inner {
    padding: 30px 16px;
    gap: 24px;
}

.industries-dpdn .dropdown-inner a {
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.industries-dpdn .dropdown-inner a strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.industries-dpdn .dropdown-inner a span {
    display: block;
    font-size: 15px;
    color: var(--color-text-paragraph);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.industries-dpdn .dropdown-inner {
    /* max-width: 1400px; */
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px 16px;
}

.industry-icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    stroke-width: 1.7;
}

/* LeaderShip Dropdown style */
/* @media (min-width: 1024px) {

    .leader-ship-nav {
        position: relative !important;
        width: fit-content;
    }

    .leader-ship-nav .dropdown {
        width: fit-content;
        position: absolute;
        left: 0;
        right: unset;
    }

    .leader-ship-nav .dropdown .dropdown-inner {
        gap: 2px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .leader-ship-nav .dropdown .dropdown-inner a{
            white-space: nowrap;
        }
} */

/* About dropdown  */

.company-dpdn .dropdown-inner a h4 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
}

.company-dpdn .dropdown-inner a p {
    font-size: 15px;
    width: 70%;
    margin-bottom: 24px;
}

.company-dpdn .dropdown-inner a {
    position: relative;
    z-index: 0;
}

.company-dpdn .dropdown-inner .about-dpdn-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: .9;
    z-index: -1;
    /*background: url(/assets/images/vectors/logo-mockup.webp) center / cover no-repeat;*/
    background: url('../images/vectors/logo-mockup.webp') center / cover no-repeat;
}

.company-dpdn .dropdown-inner .portfolio-dpdn-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: .9;
    z-index: -1;
    background: url('../images/vectors/portfolio-mockup.webp') center / cover no-repeat;
}

.company-dpdn .dropdown-inner .career-dpdn-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: .9;
    z-index: -1;
    /*background: url(/assets/images/vectors/career-mockup.webp) center / cover no-repeat;*/
    background: url('../images/vectors/career-mockup.webp') center / cover no-repeat;
}


/* ===== Responsive ===== */
@media (max-width:1024px) {
    .sc-header .topbar {
        padding: 12px 0px;
    }

    .sc-header .burger {
        display: flex;
    }

    /* whole right block (nav+divider+btn) hides, burger reveals it as one panel */
    .sc-header .right#desktopCta {
        display: none;
        justify-content: space-between;
        padding-bottom: 170px !important;
    }

    .sc-header .right#desktopCta.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        position: fixed;
        top: var(--header-h, 64px);
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 12px 20px;
        background: var(--color-bg-primary);
        overscroll-behavior: contain;
        height: calc(100vh - 63px);
    }

    .sc-header .right#desktopCta.mobile-open nav#mainNav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .sc-header .nav-item {
        border-bottom: 1px solid var(--stroke-color);
    }

    .sc-header .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 16px 0px;
    }

    .sc-header .dropdown {
        position: static;
        box-shadow: none;
        border-bottom: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        clip-path: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        background: transparent;
        padding: 0;
    }

    .sc-header .nav-item.open .dropdown {
        max-height: fit-content;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* overscroll-behavior: contain; */
    }

    .sc-header .dropdown-inner {
        grid-template-columns: 1fr;
        padding: 8px 0px 16px;
        gap: 24px;
    }

    .sc-header .service-dpdn .dropdown-inner {
        gap: 12px;
    }

    .sc-header .dropdown-group h4 {
        padding: 0 4px;
    }

    .sc-header .divider {
        display: none;
    }

    .sc-header .dropdown a {
        padding: 8px 10px;
    }

    .dropdown-inner-right {
        display: none;
    }

    .cards-dpdn .dropdown-inner a img {
        display: none;
    }

    .cards-dpdn .dropdown-inner {
        gap: 0px;
        padding: 0;
        padding-bottom: 16px;
    }

    .cards-dpdn .dropdown-inner a {
        min-height: unset;
        padding: 8px 4px;
        border-radius: 16px;
        overflow: unset;
        background-color: transparent;
    }

    .cards-dpdn .dropdown-inner a h4 {
        font-size: 16px;
        margin: 0;
        color: var(--color-text-paragraph);
    }

    .cards-dpdn .dropdown-inner a p {
        display: none;
    }

    .cards-dpdn .dropdown-inner a span {
        display: none;
    }

    .solutions-dpdn .dropdown-inner a {
        min-height: unset !important;
    }

    .mobile-open {
        position: relative;
    }

    .company-dpdn .dropdown-inner a::before {
        display: none !important;
    }

    .h-bottom {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 20px 20px 12px 20px;
        left: 0;
        background: #111;
        background: linear-gradient(0deg, rgba(17, 17, 17, 1) 75%, rgba(17, 17, 17, 0) 100%);
    }

    .sc-header .sc-btn-primary {
        justify-content: center;
        width: 100%;
        margin-bottom: 12px;
    }

    .header-copyright-text {
        text-align: center;
        width: 100%;
        font-size: 12px;
        color: var(--color-text-paragraph);
    }

    .industries-dpdn .dropdown-inner a {
        padding: 8px 10px;
        align-items: center;
    }

    .industries-dpdn .dropdown-inner a span {
        display: none;
    }

    .industries-dpdn .dropdown-inner a strong {
        margin: 0;
        font-weight: 400;
    }

    .resources-dpdn .dropdown-inner a::before {
        display: none;
    }

    .industries-dpdn .dropdown-inner {
        gap: 0px;
        padding: 12px 12px;
        margin-bottom: 16px;
    }

    .mega-item {
        opacity: 1;
        /* transform: translatey(-18px); */
        filter: blur(0px);
    }
    
    .sc-header .dropdown-group h4 a {
        padding: 0;
    }
}