@import url(../css/tab.css);

.menu-bg-box {
    position: fixed;
    inset: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
    background: var(--background-bg-body)
}

.menu-bg-box[style*="display: block"] {
    display: block !important
}

.day-night-switch {
    display: none !important
}

.menu-wraper {
    height: 100vh;
    display: flex;
    flex-direction: column
}

.menu-container {
    height: 100%;
    display: flex;
    overflow: auto
}

.menu-container .menu-container-in {
    width: 100%;
    display: flex
}

.menu-container .tab-content {
    width: 100%;
    padding: 40px;
    height: 100%;
    overflow: auto;
    background: var(--background-bg-block)
}

.full-header-menu {
    display: flex;
    position: static;
    align-items: center;
    justify-content: space-between;
    padding: 15px 32px;
    border-bottom: 1px solid var(--black-scale-700)
}

.last-menu {
    border-top: 1px solid var(--black-scale-700)
}

.menu-container-in .nav-tabs {
    border-right: 1px solid var(--black-scale-700);
    width: 300px;
    padding: 20px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 0
}

.menu-btn,
.menu-compnay a {
    font-size: 18px;
    align-items: center
}

.menu-container-in .nav-tabs li {
    margin-bottom: 10px
}

.menu-container-in .nav-tabs li a {
    font-family: var(--bold);
    font-size: 18px;
    padding: 10px 15px;
    display: flex;
    color: var(--black-scale-500);
    border-radius: 8px;
    gap: 15px;
    line-height: 29px
}

.menu-container-in .nav-tabs li a svg {
    width: 30px;
    height: 30px;
    fill: var(--white-scale-900)
}

.menu-container-in .nav-tabs li a:hover {
    background: var(--black-scale-700);
    color: var(--white-scale-900)
}

.menu-container-in .nav-tabs li a.active {
    background: linear-gradient(135deg, var(--primary-colors-pink), var(--primary-colors-purple)) !important;
    color: #fff !important;
    border-left: 5px solid var(--primary-colors-orange)
}

.menu-container-in .nav-tabs li a.active svg {
    fill: var(--fix-color-white)
}

.menu-btn {
    display: flex;
    padding: 10px;
    border-radius: 8px;
    gap: 8px;
    color: var(--black-scale-100)
}

.last-menu-in,
.menu-compnay a {
    color: var(--white-scale-900);
    gap: 10px;
    display: flex
}

.menu-btn svg {
    fill: var(--black-scale-100);
    width: 30px;
    height: 30px
}

.menu-btn:hover {
    background: var(--black-scale-700)
}

.menu-compnay a {
    position: relative;
    padding: 10px 10px 10px 30px;
    font-family: var(--medium)
}

.menu-compnay a:after {
    content: "\ea64";
    font-family: tabler-icons !important;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .4;
    height: 100%;
    display: flex;
    align-items: center
}

.menu-compnay a:hover {
    color: #ffb300;
    text-decoration: underline
}

.last-menu-in {
    padding: 5px 20px;
    align-items: center
}

.last-menu-in li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 33.33%;
    padding: 15px;
    gap: 20px
}

.last-menu-in li svg {
    width: 50px;
    height: 50px
}

.last-menu-in li:first-child svg {
    fill: var(--primary-colors-orange)
}

.last-menu-in li:nth-child(2) svg {
    fill: var(--primary-colors-blue)
}

.last-menu-in li:nth-child(3) svg {
    fill: var(--primary-colors-purple)
}

.last-menu-in li:nth-child(4) svg {
    fill: var(--primary-colors-pink)
}

.last-menu-in li:nth-child(5) svg {
    fill: var(--primary-colors-green)
}

.last-menu-in li div {
    color: var(--black-scale-400)
}

.last-menu-in li span {
    display: block;
    font-size: 24px;
    font-family: var(--bold);
    color: var(--black-scale-100)
}

body.light_theme .full-header-menu,
body.light_theme .last-menu,
body.light_theme .nav-tabs {
    border-color: #ececec
}

body.light_theme .menu-container-in .nav-tabs li a {
    color: #798195;
    border: none
}

body.light_theme .menu-container-in .nav-tabs li a svg {
    fill: #525c82
}

body.light_theme .menu-container-in .nav-tabs li a:hover {
    background: #eff1fb
}

body.light_theme .menu-container-in .nav-tabs li a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-colors-pink), var(--primary-colors-purple))
}

body.light_theme .menu-container-in .nav-tabs li a.active svg {
    fill: white
}

.menu-head-blk a,
.menu-head-blk h1 a,
.menu-head-blk h2 a {
    font-size: 26px;
    font-family: var(--bold);
    font-weight: 400;
    color: var(--primary-colors-pink)
}

body.light_theme .menu-container .tab-content {
    background: #f9fafb
}

.menu-services .menu-row {
    border-bottom: 1px solid var(--black-scale-700);
    padding-bottom: 40px;
    margin-bottom: 40px
}

.menu-services .menu-row:last-child {
    padding-bottom: 0;
    margin: 0;
    border: 0
}

body.light_theme .menu-row {
    border-color: #d8e0ea
}

.menu-full-li img {
    width: 30px
}

.menu-hire.foreth-line-menu .menu-full-li {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.menu-hire.foreth-line-menu .menu-full-li li {
    flex: 0 0 33.33%;
    max-width: 33.33%
}

.mobile-back-btn {
    display: none
}

@media (max-width:1199px) {
    .menu-hire.foreth-line-menu .menu-full-li li {
        flex: 0 0 50%;
        max-width: 50%
    }

    .col-3,
    .col-4,
    .col-lg-3,
    .col-lg-4,
    .col-md-3,
    .col-md-4,
    .col-sm-3,
    .col-sm-4,
    .col-xl-3,
    .col-xl-4,
    .col-xxl-3,
    .col-xxl-4 {
        flex: 0 0 auto;
        width: 50%
    }

    .last-menu-in li svg {
        width: 40px;
        height: 40px
    }

    .last-menu-in li {
        padding: 0
    }
}

@media (max-width:991px) {
    .menu-quote-btn {
        display: none
    }

    .menu-hire.foreth-line-menu .menu-full-li li {
        flex: 0 0 100%;
        max-width: 100%
    }

    .col-3,
    .col-4,
    .col-lg-3,
    .col-lg-4,
    .col-md-3,
    .col-md-4,
    .col-sm-3,
    .col-sm-4,
    .col-xl-3,
    .col-xl-4,
    .col-xxl-3,
    .col-xxl-4 {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%
    }

    .last-menu-in li svg {
        width: 30px;
        height: 30px
    }

    .last-menu-in li {
        padding: 0;
        gap: 10px
    }

    .last-menu-in li div {
        font-size: 12px
    }

    .last-menu-in li span {
        font-size: 20px
    }
}

@media (max-width:767px) {
    .nav-tabs>li {
        float: none
    }

    #myTab.hide-tabs,
    #myTabContent>.tab-pane,
    .last-menu-in li:last-child {
        display: none
    }

    #myTab,
    #myTabContent>.tab-pane.active-tab {
        display: block
    }

    .mobile-back-btn {
        position: sticky;
        z-index: 9;
        top: 0;
        background: var(--background-bg-block);
        display: block
    }

    .mobile-back-btn .btn {
        background: var(--background-bg-block);
        padding-left: 8px;
        font-size: 20px;
        color: var(--primary-colors-blue)
    }

    .menu-container-in .nav-tabs {
        width: 100%;
        min-width: 100%
    }

    .menu-container .tab-content {
        padding: 0
    }

    .last-menu-in li {
        width: 50%;
        flex-direction: column;
        justify-content: center
    }

    .full-header-menu,
    .menu-container-in .nav-tabs,
    .tab-pane {
        padding: 15px
    }

    .last-menu-in li div,
    .last-menu-in li span {
        text-align: center
    }

    .last-menu-in li svg {
        width: 40px;
        height: 40px
    }

    .menu-wraper {
        height: 100dvh
    }
}

.tab-content .tab-pane.active,
.tab-content .tab-pane.active-tab,
.tab-content .tab-pane.show {
    display: block !important;
    opacity: 1 !important
}

/* —— AI mega menu (header “Lets talk AI”) —— */
.ai-mega-wrap {
    position: relative;
    z-index: 1000
}

/* Nav links (About, Resources, …) must stack above .ai-mega-wrap so the fixed mega layer doesn’t steal clicks */
.header-menu > ul.d-flex.align-items-center {
    position: relative;
    z-index: 1001
}

.full-width-header .header-inner .header-right {
    position: relative;
    z-index: 1001
}

.ai-mega-wrap .ai-mega-trigger.button-effect1 {
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white-scale-900);
    font-family: var(--medium);
    font-size: var(--subtitle-2);
    line-height: 1.2;
    padding: 14px 14px;
    min-height: 44px;
    position: relative;
    z-index: 1002
}

/* Keep label + icons above the animated ::after ring (avoids hidden text) */
.ai-mega-wrap .ai-mega-trigger.button-effect1::after {
    z-index: 0;
    pointer-events: none
}

.ai-mega-wrap .ai-mega-trigger.button-effect1 > * {
    position: relative;
    z-index: 1
}

.ai-mega-wrap .ai-mega-trigger.button-effect1 .ai-mega-trigger-label {
    color: var(--white-scale-900)
}

.ai-mega-wrap .ai-mega-trigger.button-effect1 svg path {
    fill: var(--white-scale-900)
}

.ai-mega-chevron {
    font-size: 16px;
    opacity: .85;
    transition: transform .25s ease
}

.ai-mega-wrap:has(.ai-mega-dropdown.active) .ai-mega-chevron {
    transform: rotate(180deg)
}

.ai-mega-wrap:has(.ai-mega-dropdown.active) .ai-mega-trigger.button-effect1 {
    box-shadow: inset 0 -2px 0 var(--primary-colors-orange)
}

/*
 * Full-width fixed shell + negative margin “bridge” sat above the header and ate clicks on the AI link.
 * Shell: pointer-events none; only .ai-mega-inner receives clicks.
 * Narrow ::before under the trigger keeps hover while moving toward the panel.
 */
.ai-mega-wrap:has(.ai-mega-dropdown.active)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 56px;
    z-index: 1001;
    pointer-events: auto
}

body.fixed .ai-mega-wrap:has(.ai-mega-dropdown.active)::before {
    height: 28px
}

/* Outer shell: transparent + upward hitbox so hover isn’t lost in the gap under the header */
.ai-mega-dropdown.dropdown-box {
    display: none;
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box;
    top: 140px;
    padding: 0 !important;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    overflow: visible;
    pointer-events: none
}

.fixed .ai-mega-dropdown.dropdown-box {
    top: 90px;
}

.ai-mega-dropdown.dropdown-box.active {
    display: block;
    /* Invisible strip bridges button → panel (fixed menu doesn’t extend .ai-mega-wrap height) */
    padding-top: 56px !important;
    margin-top: -56px !important
}

body.fixed .ai-mega-dropdown.dropdown-box.active {
    padding-top: 28px !important;
    margin-top: -28px !important
}

.ai-mega-dropdown.dropdown-box.active .ai-mega-inner {
    border-top: 1px solid var(--white-scale-200);
    background: var(--background-bg-block);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
    overflow: hidden
}

@media (max-width: 1280px) {
    .ai-mega-dropdown.dropdown-box {
        top: 88px
    }
}

.ai-mega-inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(300px, 1.4fr) minmax(260px, 1fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0px 0px;
    min-height: 0;
    max-height: min(500px, 72vh);
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: auto
}

@media (max-width:1100px) {
    .ai-mega-inner {
        grid-template-columns: 1fr 1fr
    }

    .ai-mega-col--featured {
        grid-column: 1 / -1
    }
}

.ai-mega-col {
    padding: 28px 24px;
    border-right: 1px solid var(--black-scale-700);
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.ai-mega-col--lead .ai-mega-promo {
    margin-top: auto;
    flex-shrink: 0
}

.ai-mega-col--center {
    min-height: 0
}

.ai-mega-col:last-child {
    border-right: 0
}

@media (max-width:1100px) {
    .ai-mega-col--center {
        border-right: 0
    }
}

.ai-mega-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
    flex-shrink: 0
}

.ai-mega-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    margin: 0;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--medium);
    font-size: 15px;
    line-height: 1.35;
    color: var(--black-scale-100);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s
}

.ai-mega-nav-item i {
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s, transform .2s, color .2s;
    color: var(--primary-colors-blue)
}

.ai-mega-nav-item.is-active {
    background: rgba(10, 132, 255, .12);
    border-color: rgba(10, 132, 255, .28)
}

.ai-mega-nav-item.is-active i {
    opacity: 1;
    transform: translateX(0)
}

.ai-mega-nav-item[data-ai-mega-pane="agentic"].is-active {
    background: rgba(133, 105, 255, .14);
    border-color: rgba(133, 105, 255, .32)
}

.ai-mega-nav-item[data-ai-mega-pane="agentic"].is-active i {
    color: var(--primary-colors-purple)
}

.ai-mega-nav-item:not(.is-active):hover {
    background: rgba(255, 255, 255, .05)
}

.ai-mega-pane:not(.is-active) {
    display: none !important
}

.ai-mega-pane.is-active {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden
}

.ai-mega-feature-pane:not(.is-active) {
    display: none !important
}

.ai-mega-feature-stack {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.ai-mega-feature-card.ai-mega-feature-pane.is-active,
.ai-mega-feature-card.ai-mega-feature-card--static {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden
}

.ai-mega-service-list, .ai-mega-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
    min-height: 400px;
    padding-right: 6px;
    -webkit-overflow-scrolling: touch
}

.ai-mega-service-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--black-scale-700)
}

.ai-mega-service-list li:last-child {
    border-bottom: 0
}

.ai-mega-service-list a {
    display: block;
    padding: 12px 4px 12px 0;
    font-family: var(--medium);
    font-size: 15px;
    line-height: 1.35;
    color: var(--black-scale-100);
    text-decoration: none;
    transition: color .15s ease, padding-left .15s ease
}

.ai-mega-service-list a:hover {
    color: var(--primary-colors-orange);
    padding-left: 4px
}

.ai-mega-heading,
.ai-mega-subheading {
    margin: 0 0 16px;
    font-family: var(--bold);
    font-size: 18px;
    line-height: 1.3;
    color: var(--black-scale-100);
    flex-shrink: 0
}

.ai-mega-col--featured > .ai-mega-subheading {
    flex-shrink: 0
}

.ai-mega-subheading {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--black-scale-400);
    margin-bottom: 12px
}

.ai-mega-col-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-shrink: 0
}

.ai-mega-col-head .ai-mega-subheading {
    margin-bottom: 0
}

.ai-mega-view-all {
    font-size: 14px;
    font-family: var(--medium);
    color: var(--primary-colors-blue);
    white-space: nowrap
}

.ai-mega-view-all:hover {
    color: var(--primary-colors-orange)
}

.ai-mega-pill-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(10, 132, 255, .12);
    border: 1px solid rgba(10, 132, 255, .25);
    color: var(--black-scale-100);
    font-family: var(--medium);
    font-size: 15px;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s
}

.ai-mega-pill-link i {
    color: var(--primary-colors-blue);
    font-size: 18px
}

.ai-mega-pill-link:hover {
    background: rgba(10, 132, 255, .2);
    border-color: var(--primary-colors-blue);
    color: var(--white-scale-900)
}

.ai-mega-pill-link--secondary {
    background: rgba(133, 105, 255, .12);
    border-color: rgba(133, 105, 255, .28)
}

.ai-mega-pill-link--secondary i {
    color: var(--primary-colors-purple)
}

.ai-mega-pill-link--secondary:hover {
    background: rgba(133, 105, 255, .22);
    border-color: var(--primary-colors-purple)
}

.ai-mega-promo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding: 18px 16px;
    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(125deg, rgba(204, 255, 0, .18) 0%, rgba(208, 68, 121, .32) 28%, rgba(133, 105, 255, .38) 58%, rgba(10, 132, 255, .22) 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .2s ease, box-shadow .2s ease
}

.ai-mega-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(208, 68, 121, .25)
}

/* Dark copy on pastel gradient — theme “white-scale-900” is light text on dark UI */
.ai-mega-promo-kicker {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: var(--bold);
    color: rgba(15, 23, 42, .72)
}

.ai-mega-promo-title {
    font-size: 15px;
    line-height: 1.45;
    font-family: var(--medium);
    color: #0f172a
}

.ai-mega-promo-cta {
    font-size: 14px;
    font-family: var(--bold);
    color: var(--primary-colors-orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px
}

.ai-mega-promo-cta i {
    font-size: 16px
}

/* Dark mode: same card used a light-on-dark readable treatment (base uses dark slate for light-theme pastel) */
body:not(.light_theme) .ai-mega-promo {
    background: linear-gradient(125deg, rgba(204, 255, 0, .24) 0%, rgba(208, 68, 121, .42) 30%, rgba(133, 105, 255, .48) 58%, rgba(10, 132, 255, .32) 100%);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12)
}

body:not(.light_theme) .ai-mega-promo:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 40px rgba(0, 0, 0, .5)
}

body:not(.light_theme) .ai-mega-promo-kicker {
    color: rgba(255, 255, 255, .78)
}

body:not(.light_theme) .ai-mega-promo-title {
    color: var(--fix-color-white)
}

.ai-mega-blog-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--black-scale-700)
}

.ai-mega-blog-list li:last-child {
    border-bottom: 0
}

.ai-mega-blog-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px 12px 0;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease
}

.ai-mega-blog-row:hover {
    background: rgba(255, 255, 255, .04)
}

.ai-mega-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 54px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--primary-colors-blue), var(--primary-colors-purple))
}

.ai-mega-thumb--2 {
    background: linear-gradient(145deg, var(--primary-colors-pink), var(--primary-colors-purple))
}

.ai-mega-thumb--3 {
    background: linear-gradient(145deg, var(--primary-colors-green), var(--primary-colors-blue))
}

.ai-mega-thumb--4 {
    background: linear-gradient(145deg, var(--primary-colors-orange), var(--primary-colors-pink))
}

.ai-mega-thumb--has-img {
    background: var(--black-scale-700);
    overflow: hidden
}

.ai-mega-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 10px;
    display: block
}

.ai-mega-blog-title {
    font-size: 14px;
    line-height: 1.35;
    font-family: var(--medium);
    color: var(--black-scale-100)
}

.ai-mega-blog-row:hover .ai-mega-blog-title {
    color: var(--primary-colors-orange)
}

.ai-mega-feature-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--black-scale-700);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s
}

.ai-mega-feature-card:hover {
    border-color: var(--primary-colors-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2)
}

.ai-mega-feature-media {
    display: block;
    flex: 0 1 auto;
    max-height: min(200px, 30vh);
    aspect-ratio: 16 / 9;
    background: var(--black-scale-700);
    overflow: hidden
}

.ai-mega-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ai-mega-feature-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    background: var(--background-bg-block);
    flex-shrink: 0
}

.ai-mega-feature-title {
    font-size: 16px;
    line-height: 1.35;
    font-family: var(--bold);
    color: var(--black-scale-100)
}

.ai-mega-feature-link {
    font-size: 14px;
    font-family: var(--medium);
    color: var(--primary-colors-blue)
}

.ai-mega-feature-card:hover .ai-mega-feature-link {
    color: var(--primary-colors-orange)
}

/* —— AI mega: dark theme (default) — clearer borders, labels, scrollbars vs #131313 panel —— */
body:not(.light_theme) .ai-mega-dropdown.dropdown-box.active .ai-mega-inner {
    border-top-color: rgba(255, 255, 255, .14);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .65)
}

body:not(.light_theme) .ai-mega-col {
    border-right-color: rgba(255, 255, 255, .1)
}

body:not(.light_theme) .ai-mega-heading {
    color: var(--fix-color-white)
}

body:not(.light_theme) .ai-mega-subheading,
body:not(.light_theme) .ai-mega-col-head .ai-mega-subheading {
    color: rgba(255, 255, 255, .72)
}

body:not(.light_theme) .ai-mega-service-list li,
body:not(.light_theme) .ai-mega-blog-list li {
    border-bottom-color: rgba(255, 255, 255, .1)
}

body:not(.light_theme) .ai-mega-service-list a,
body:not(.light_theme) .ai-mega-blog-title {
    color: rgba(255, 255, 255, .92)
}

body:not(.light_theme) .ai-mega-nav-item {
    color: rgba(255, 255, 255, .92)
}

body:not(.light_theme) .ai-mega-nav-item:not(.is-active):hover {
    background: rgba(255, 255, 255, .08)
}

body:not(.light_theme) .ai-mega-blog-row:hover {
    background: rgba(255, 255, 255, .06)
}

body:not(.light_theme) .ai-mega-feature-card {
    border-color: rgba(255, 255, 255, .14)
}

body:not(.light_theme) .ai-mega-feature-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, .5)
}

body:not(.light_theme) .ai-mega-feature-title {
    color: rgba(255, 255, 255, .95)
}

body:not(.light_theme) .ai-mega-feature-body {
    background: rgba(255, 255, 255, .04)
}

body:not(.light_theme) .ai-mega-pill-link {
    color: rgba(255, 255, 255, .92)
}

body:not(.light_theme) .ai-mega-service-list,
body:not(.light_theme) .ai-mega-blog-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .28) rgba(255, 255, 255, .06)
}

body:not(.light_theme) .ai-mega-service-list::-webkit-scrollbar,
body:not(.light_theme) .ai-mega-blog-list::-webkit-scrollbar {
    width: 7px
}

body:not(.light_theme) .ai-mega-service-list::-webkit-scrollbar-track,
body:not(.light_theme) .ai-mega-blog-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .05);
    border-radius: 8px
}

body:not(.light_theme) .ai-mega-service-list::-webkit-scrollbar-thumb,
body:not(.light_theme) .ai-mega-blog-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .22);
    border-radius: 8px
}

body:not(.light_theme) .ai-mega-service-list::-webkit-scrollbar-thumb:hover,
body:not(.light_theme) .ai-mega-blog-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .32)
}

body.light_theme .ai-mega-dropdown.dropdown-box {
    background: transparent;
    box-shadow: none
}

body.light_theme .ai-mega-dropdown.dropdown-box.active .ai-mega-inner {
    background: #fff;
    border-top-color: #e5e7eb;
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12)
}

body.light_theme .ai-mega-col {
    border-right-color: #ececec
}

body.light_theme .ai-mega-heading {
    color: #1a1d26
}

body.light_theme .ai-mega-subheading {
    color: #6b7280
}

body.light_theme .ai-mega-blog-title {
    color: #1a1d26
}

body.light_theme .ai-mega-blog-list li {
    border-bottom-color: #ececec
}

body.light_theme .ai-mega-blog-row:hover {
    background: #f3f4f6
}

body.light_theme .ai-mega-pill-link {
    color: #1a1d26;
    background: rgba(10, 132, 255, .08);
    border-color: rgba(10, 132, 255, .2)
}

body.light_theme .ai-mega-pill-link:hover {
    color: #0f172a
}

body.light_theme .ai-mega-feature-body {
    background: #fff
}

body.light_theme .ai-mega-feature-card {
    border-color: #e5e7eb
}

body.light_theme .ai-mega-feature-title {
    color: #111827
}

body.light_theme .ai-mega-nav-item {
    color: #1a1d26
}

body.light_theme .ai-mega-nav-item:not(.is-active):hover {
    background: #f3f4f6
}

body.light_theme .ai-mega-service-list li {
    border-bottom-color: #ececec
}

body.light_theme .ai-mega-service-list a {
    color: #1a1d26
}

/* —— Header mega dropdowns (Services / Industries) —— */
.header-mega > .dropdown-toggel {
    user-select: none
}

/* Header nav: keep label + chevron on one line */
.header-menu ul li a,
.header-menu ul li span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.header-menu ul li i {
    line-height: 1
}

.header-menu ul li .ti-chevron-down {
    font-size: 16px;
    margin-top: 1px
}

.header-mega .header-mega-dropdown.dropdown-box {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 140px;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    padding: 0 !important;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    overflow: visible
}

.fixed .header-mega .header-mega-dropdown.dropdown-box {
    top: 90px
}

.header-mega .header-mega-dropdown.dropdown-box.active {
    display: block
}

.header-mega-shell {
    border-top: 1px solid var(--white-scale-200);
    background: var(--background-bg-block);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
    /* max-height: min(560px, 74vh); */
    overflow: auto;
    padding: 24px
}

body.light_theme .header-mega-shell {
    background: #fff;
    border-top-color: #e5e7eb;
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12)
}

/* Light theme: header dropdown text must be dark on white panels */
body.light_theme .header-mega-shell .menu-head-blk a,
body.light_theme .header-mega-shell .menu-full-li a,
body.light_theme .header-mega-shell .menu-compnay a,
body.light_theme .header-mega-shell .menu-compnay a:visited {
    color: #1a1d26
}

body.light_theme .header-mega-shell .menu-compnay a:after {
    opacity: .55
}

/* Light theme: regular header dropdowns (About/Resources) */
body.light_theme header .dropdown-box {
    background: #fff;
    border-color: #e5e7eb
}

body.light_theme header .dropdown-box a,
body.light_theme header .dropdown-box a:visited {
    color: #1a1d26
}

body.light_theme header .dropdown-box a:hover {
    color: var(--primary-colors-orange)
}

/* Slightly denser rows for header mega */
.header-mega-shell .menu-row {
    border-bottom: 1px solid var(--black-scale-700);
    padding-bottom: 22px;
    margin-bottom: 22px
}

.header-mega-shell .menu-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0
}

body.light_theme .header-mega-shell .menu-row {
    border-color: #ececec
}

.header-mega-shell .menu-head-blk a {
    font-size: 18px
}

/* —— Header responsive overrides (Insights header uses btn-orange) —— */
@media (max-width: 1700px) {
    .header-menu ul {
        gap: 32px
    }

    .header-menu {
        gap: 24px
    }

    .header-left {
        gap: 24px
    }

    header .btn.orange,
    header .btn.btn-orange {
        padding: 11px 16px
    }
}

@media (max-width: 1600px) {
    .header-menu ul {
        gap: 28px
    }

    .brand-box svg {
        width: 160px;
        height: auto
    }

    .ai-mega-wrap .ai-mega-trigger.button-effect1 {
        padding: 10px 12px;
        min-height: 42px
    }
}

@media (max-width: 1500px) {
    .header-menu ul {
        flex-wrap: nowrap
    }

    .header-menu ul li {
        flex-shrink: 0
    }

    .header-menu ul li a,
    .header-menu ul li span {
        white-space: nowrap
    }

    .header-menu ul {
        gap: 26px
    }

    .header-menu {
        gap: 22px
    }

    .header-left {
        gap: 22px
    }

    header .btn.orange,
    header .btn.btn-orange {
        white-space: nowrap
    }
    .btn, .btn-link-arrow{font-size: 15px;}
    .btn{padding: 10px 15px;}
}

@media (max-width: 1400px) {
    .header-left {
        gap: 18px
    }

    .header-menu {
        gap: 18px
    }

    .header-menu ul {
        gap: 22px
    }

    .header-menu ul li a,
    .header-menu ul li span {
        font-size: 15px
    }

    .ai-mega-wrap .ai-mega-trigger.button-effect1 {
        font-size: 15px;
        gap: 6px;
        padding: 10px 12px;
        min-height: 42px
    }

    .ai-mega-wrap .ai-mega-trigger.button-effect1 svg {
        width: 16px;
        height: 16px
    }

    .ai-mega-chevron {
        font-size: 14px
    }

    header .btn.orange,
    header .btn.btn-orange {
        padding: 10px 14px;
        font-size: 14px;
        white-space: nowrap
    }

    .brand-box svg {
        width: 152px;
        height: auto
    }
}

@media (max-width: 1366px) {
    header {
        padding: 14px 12px
    }

    .header-menu ul {
        gap: 18px
    }

    .header-menu ul li a,
    .header-menu ul li span {
        font-size: 15px
    }

    .ai-mega-wrap .ai-mega-trigger.button-effect1 {
        padding: 10px 10px;
        min-height: 42px
    }

    header .btn.orange,
    header .btn.btn-orange {
        padding: 9px 12px;
        font-size: 15px
    }

    .header-right {
        gap: 8px
    }
}

/* =============================================
   sv2 Two-Panel Mega Menu � Services & Industries
   ============================================= */
.header-mega-shell:has(.menu-services-v2) {
    padding: 0;
    overflow: hidden;
}

.header-mega-shell .menu-services-v2 {
    height: min(540px, 72vh);
}

/* Industries has more categories — taller shell */
.header-mega--industries .header-mega-shell .menu-services-v2 {
    height: min(580px, 78vh);
}
.header-mega--industries .header-mega-shell .sv2-nav-item {
    padding: 8px 11px;
    font-size: 13px;
}
.header-mega--industries .header-mega-shell .sv2-label {
    font-size: 13px;
}
body.light_theme .header-mega--industries .header-mega-shell .sv2-nav-item.active .sv2-label,
body.light_theme .header-mega--industries .header-mega-shell .sv2-nav-item.active .sv2-arrow {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.header-mega-shell .sv2-sidebar {
    width: 285px;
    min-width: 285px;
    padding: 12px 8px;
}

.header-mega-shell .sv2-nav-item {
    font-size: 14px;
    padding: 9px 11px;
    gap: 10px;
}

.header-mega-shell .sv2-label {
    font-size: 14px;
}

.header-mega-shell .sv2-icon {
    width: 26px;
    height: 26px;
    font-size: 14px;
}

.header-mega-shell .sv2-content {
    padding: 20px 24px;
}

.header-mega-shell .sv2-pane-header {
    margin-bottom: 16px;
    padding-bottom: 13px;
}

.header-mega-shell .sv2-pane-header a {
    font-size: 17px;
}

.header-mega-shell .sv2-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.header-mega-shell .sv2-link {
    font-size: 14px;
    padding: 9px 12px;
}

/* Light theme overrides for sv2 in header */
body.light_theme .header-mega-shell .sv2-sidebar {
    background: #f8f9fb;
    border-right-color: #e5e7eb;
}

body.light_theme .header-mega-shell .sv2-nav-item {
    color: #4b5563;
}

body.light_theme .header-mega-shell .sv2-nav-item .sv2-label {
    color: #4b5563;
    -webkit-text-fill-color: #4b5563;
}

body.light_theme .header-mega-shell .sv2-nav-item:hover .sv2-label {
    color: #111827;
    -webkit-text-fill-color: #111827;
}

body.light_theme .header-mega-shell .sv2-nav-item:hover {
    background: #eff1f5;
    color: #111827;
    border-color: #e0e3ea;
}

body.light_theme .header-mega-shell .sv2-nav-item.active {
    background: linear-gradient(135deg, var(--primary-colors-pink), var(--primary-colors-purple));
    color: #fff;
    border-color: transparent;
}
body.light_theme .header-mega-shell .sv2-nav-item.active .sv2-label,
body.light_theme .header-mega-shell .sv2-nav-item.active .sv2-arrow {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

body.light_theme .header-mega-shell .sv2-icon {
    background: rgba(0,0,0,0.06);
    color: #4b5563;
}

body.light_theme .header-mega-shell .sv2-nav-item.active .sv2-icon {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

body.light_theme .header-mega-shell .sv2-content {
    background: #fff;
}

body.light_theme .header-mega-shell .sv2-pane-header {
    border-bottom-color: #e5e7eb;
}

body.light_theme .header-mega-shell .sv2-pane-header a {
    background: linear-gradient(135deg, var(--primary-colors-pink), var(--primary-colors-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light_theme .header-mega-shell .sv2-pane-header a i {
    -webkit-text-fill-color: initial;
    color: var(--primary-colors-pink);
}

body.light_theme .header-mega-shell .sv2-link {
    border-color: #e5e7eb;
    color: #374151;
    background: #fff;
}

body.light_theme .header-mega-shell .sv2-link:hover {
    background: #f3f4f6;
    color: #111827;
    border-color: #d1d5db;
}

/* =============================================
   Services Two-Panel Layout (sv2) — Core
   ============================================= */
.menu-services-v2 {
    display: flex;
    height: 100%;
    min-height: 0;
    gap: 0;
}

/* ── Sidebar ──────────────────────────────── */
.sv2-sidebar {
    width: 300px;
    min-width: 300px;
    border-right: 1px solid var(--black-scale-700);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px 10px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.12);
    scrollbar-width: thin;
}

.sv2-sidebar::-webkit-scrollbar {
    width: 3px;
    height: 0;
}
.sv2-sidebar::-webkit-scrollbar-track { background: transparent; }
.sv2-sidebar::-webkit-scrollbar-thumb {
    background: var(--black-scale-600);
    border-radius: 4px;
}

.sv2-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sv2-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--medium);
    color: var(--black-scale-400);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    line-height: 1.3;
    border: 1px solid transparent;
    user-select: none;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.sv2-nav-item:hover {
    background: var(--black-scale-700);
    color: var(--white-scale-900);
    border-color: var(--black-scale-600);
}

.sv2-nav-item.active {
    background: linear-gradient(135deg, var(--primary-colors-pink), var(--primary-colors-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(220, 50, 120, 0.28);
}
.sv2-nav-item.active .sv2-label,
.sv2-nav-item.active .sv2-arrow {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* Icon box */
.sv2-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.07);
    transition: background 0.15s;
}

.sv2-nav-item:hover .sv2-icon {
    background: rgba(255,255,255,0.1);
}

.sv2-nav-item.active .sv2-icon {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* Label */
.sv2-label {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

/* Chevron arrow */
.sv2-arrow {
    font-size: 13px;
    opacity: 0;
    flex-shrink: 0;
    display: block;
    transition: opacity 0.15s, transform 0.15s;
    transform: translateX(-3px);
}

.sv2-nav-item:hover .sv2-arrow,
.sv2-nav-item.active .sv2-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Content Area ─────────────────────────── */
.sv2-content {
    flex: 1;
    overflow-y: auto;
    padding: 26px 30px;
    min-width: 0;
    scrollbar-width: thin;
}

.sv2-content::-webkit-scrollbar { width: 4px; }
.sv2-content::-webkit-scrollbar-track { background: transparent; }
.sv2-content::-webkit-scrollbar-thumb {
    background: var(--black-scale-600);
    border-radius: 4px;
}

/* Pane show/hide */
.sv2-pane {
    display: none;
}

.sv2-pane.active {
    display: block;
    animation: sv2FadeIn 0.2s ease;
}

@keyframes sv2FadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Pane header */
.sv2-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--black-scale-700);
    position: relative;
}

/* Accent underline */
.sv2-pane-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-colors-pink), var(--primary-colors-purple));
    border-radius: 2px;
}

.sv2-pane-header a {
    font-size: 20px;
    font-family: var(--bold);
    background: linear-gradient(135deg, var(--primary-colors-pink), var(--primary-colors-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv2-pane-header a:hover {
    opacity: 0.85;
}

.sv2-pane-header a i,
.sv2-pane-header > i {
    font-size: 16px;
    -webkit-text-fill-color: initial;
    color: var(--primary-colors-pink);
    opacity: 0.8;
    transition: transform 0.15s, opacity 0.15s;
    flex-shrink: 0;
}

.sv2-pane-header a:hover i,
.sv2-pane-header:hover > i {
    transform: translateX(4px);
    opacity: 1;
}

/* Links grid */
.sv2-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

/* Individual link */
.sv2-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--black-scale-700);
    color: var(--black-scale-300);
    font-size: 15px;
    font-family: var(--regular);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    line-height: 1.45;
    background: transparent;
}

.sv2-link::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-colors-pink);
    flex-shrink: 0;
    opacity: 0.65;
    transition: transform 0.15s, opacity 0.15s;
    margin-top: 1px;
}

.sv2-link:hover {
    background: var(--black-scale-700);
    color: var(--white-scale-900);
    border-color: var(--black-scale-600);
    transform: translateX(2px);
}

.sv2-link:hover::before {
    transform: scale(1.5);
    opacity: 1;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1200px) {
    .sv2-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .sv2-sidebar {
        width: 220px;
        min-width: 220px;
    }

    .sv2-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .menu-services-v2 {
        flex-direction: column;
        height: auto;
    }

    .sv2-sidebar {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--black-scale-700);
        padding: 12px;
        background: transparent;
    }

    .sv2-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sv2-nav-item {
        padding: 8px 10px;
        font-size: 12px;
        width: calc(50% - 3px);
        border-radius: 8px;
        gap: 7px;
    }

    .sv2-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sv2-arrow {
        display: none;
    }

    .sv2-content {
        padding: 16px;
    }

    .sv2-links {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}



