:root {
    --primary-orange: #FD933D;
    --text-dark: #000000;
    --text-light: #666666;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2 {
    font-family: 'Inter', sans-serif;
}

/* --- Header Styling --- */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: none;
}

.header-inner-pill {
    /* background: var(--header-bg); */
    padding: 10px 0;
    transition: none;
    width: 95%;
    margin: 0 auto;
}

header.sticky {
    top: 0;
}

header.sticky .header-inner-pill {
    width: 100%;
    border-radius: 0;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    background: transparent;
}

header.sticky .header-inner-pill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

header.sticky .header-inner-pill .container-fluid {
    width: 95% !important;
    margin: 0 auto !important;
}

.header-container-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo img {
    height: 3.5rem;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 45px;
    margin-bottom: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-orange);
    font-weight: 500;
    font-size: 1.3vw;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover {
    color: var(--primary-orange);
}


.main-nav .arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    vertical-align: middle;
    margin-top: -3px;
}

/* --- Mega Menu Styling --- */
.nav-item-services {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    padding-top: 20px;
}

/* Hover bridge to prevent menu from disappearing when moving cursor from link to menu */
.mega-menu::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.nav-item-services:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.nav-item-partners:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.nav-item-ai-solutions:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-icon{
    width: 20px;
    height: 20px;
}

.nav-item-services .mega-col ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px;
    row-gap: 10px;
    position: relative;
}

.nav-item-services .mega-col ul::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45%;
    width: 1px;
    background-color: #F2F2F2;
    transform: translateX(-50%);
}

.mega-menu-inner {
    display: flex;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mega-left {
    flex: 0 0 320px;
    background-color: var(--primary-orange);
    position: relative;
    padding: 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.mega-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mega-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    /* Adjusted opacity to let orange background show through as overlay */
}

.mega-left-content {
    position: relative;
    z-index: 2;
}

.mega-left h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.mega-left p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-mega {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #FD933D;
    padding: 10px 15px !important;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    width: fit-content;
    white-space: nowrap;
    line-height: 1;
}

.btn-mega img {
    height: 18px;
    width: auto;
    display: block;
}

.btn-mega span {
    color: #FD933D;
    font-size: 12px;
}

.btn-mega:hover {
    color: #FD933D;
    opacity: 0.9;
}

.mega-right {
    flex: 1;
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    padding: 30px;
    gap: 30px;
}

.nav-item-ai-solutions .mega-menu-inner{
    width: max-content;
}
.nav-item-ai-solutions .mega-menu {
    left: 60%;
}

.nav-item-ai-solutions .mega-left{
    flex: 0 0 300px;
}
.nav-item-services .mega-col ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    row-gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.right-ai-solutions {
    grid-template-columns: repeat(1, 1fr) !important;
}
.right-ai-solutions .mega-icon{
    margin-right: 5px;
}

.mega-right.right-partners {
    grid-template-columns: repeat(2, 1fr);
    flex: 1.5;
}

.mega-left.left-partners {
    flex: 0 0 280px;
}

.mega-col h4 {
    font-size: 1.3vw;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    width: 145%;
}

.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
}

.mega-col ul li {
    margin-bottom: 12px;
}

li .p-li {
    margin-bottom: 16px !important;
}

.mega-col ul li a {
    font-size: .9vw;
    color: var(--text-light) !important;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400 !important;
    padding: 0 !important;
}

.mega-col ul li a:hover {
    color: var(--primary-orange) !important;
}

/* .btn-outline {
    font-size: 20px;
    text-decoration: none;
    color: var(--primary-orange);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 2.3s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-block;
    border: 1.5px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
        radial-gradient(121.6% 518% at -15.02% -30%, #FD933D 21.79%, #FEC495 32.74%, #FFE9D7 50.39%, #FFFFFF 100%) border-box;
    box-shadow: 0px 1px 10px 0px #FD933D80;
} */

/* .btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 127, 50, 0.2);
    transform: translateY(-2px);
}  */
.btn-outline {
    position: relative;
    font-size: 1.3vw;
    text-decoration: none;
    color: var(--primary-orange);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-block;
    border: 1.5px solid transparent;
    overflow: visible;
    z-index: 1;

    background: linear-gradient(var(--white), var(--white)) padding-box,
        radial-gradient(121.6% 518% at -15.02% -30%, 
        #FD933D 21.79%, 
        #f29142 32.74%, 
        #e67e2a 50.39%, 
        #f69439 100%) border-box;

    transition: transform 0.3s ease, color 0.3s ease;
}

/* WIND SHADOW LAYER */
.btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    z-index: -1;

    background: linear-gradient(
        90deg,
        #FD933D,
        #FEC495,
        #FFE9D7,
        #FD933D
    );

    background-size: 400%;
    transform: translateY(6px) scale(0.95);
    filter: blur(18px);
    opacity: 0.7;
    transition: all 0.3s ease;

    animation: wind-flow 8s linear infinite;
}

/* EXTRA DEPTH LAYER */
.btn-outline::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    z-index: -2;

    background: #FD933D;
    transform: translateY(12px) scale(0.9);
    filter: blur(28px);
    opacity: 0.4;
}

/* ANIMATION */
@keyframes wind-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* HOVER EFFECT */
.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-5px);
}

.btn-outline:hover::before {
    opacity: 1;
    filter: blur(25px);
    transform: translateY(15px) scale(1.1);
    animation-duration: 3s;
}
.btn-outline::before {
    opacity: 0;
}

/*header.sticky .btn-outline::before {
    opacity: 0;
} */

.partner-mega-menu {
    max-width: fit-content;
}

/* .right-partners {
    gap: 75px;
} */

.partner-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-link img {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle img {
    height: 45px;
    width: auto;
}

/* --- Responsive Styling --- */
@media (max-width: 991px) {
    header {
        top: 15px;
    }

    .header-inner-pill {
        width: 95%;
        padding: 5px 0;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo img {
        height: 2.5rem;
    }
}

/* --- Mobile Menu Overlay Styling --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-orange);
    background: radial-gradient(circle at 100% 0%, #FFB67A 0%, var(--primary-orange) 60%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .7s cubic-bezier(0.165, 0.84, 0.44, 1), opacity .7s ease, visibility .7s;
    overflow: hidden;
}

.mobile-menu-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url('/images/menusider.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    /* opacity: 0.2; */
    pointer-events: none;
    z-index: -1;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    height: 40px;
}

.back-menu {
    cursor: pointer;
    display: none;
    /* Hidden on main view */
    width: 30px;
    height: 30px;
    position: relative;
}

.back-menu::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 12px;
    height: 12px;
    border-left: 3px solid var(--white);
    border-top: 3px solid var(--white);
    transform: translateY(-50%) rotate(-45deg);
}

.close-menu {
    cursor: pointer;
    margin-left: auto;
}

.close-menu img {
    height: 20px;
    width: auto;
    transition: transform 0.2s ease;
}

.close-menu:active img {
    transform: scale(0.85) rotate(90deg);
}

.menu-views-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    margin: 0 -30px;
    /* Offset parent padding for full-width views */
}

.menu-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 30px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    pointer-events: none;
}

.menu-view.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-view.past {
    transform: translateX(-30%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.view-title a{
    text-decoration: none !important;
    color: var(--white);
}

.view-title {
    color: var(--white);
    font-size: 5vw;
    font-weight: 500;
    margin: 10px 0 20px;
    line-height: 1.2;
    border-bottom: 1px solid rgb(255 255 255 / 50%);
    padding-bottom: 20px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav>ul>li {
    margin-bottom: 30px;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 5vw;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}

.has-drilldown a::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(-45deg);
    margin-left: 15px;
}

.menu-footer {
    padding-top: 20px;
    background: var(--primary-orange);
    position: relative;
    z-index: 10;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-chat {
    background: var(--white);
    color: var(--primary-orange);
    padding: 10px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.btn-chat img {
    height: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    height: 24px;
    width: auto;
}

body.menu-open {
    overflow: hidden;
}

@media (min-width:991px) and (max-width:1399px)  {
    .btn-outline{
        padding: 8px 16px;
    }
    .main-nav ul {
        gap: 25px;
        font-size: 14px;
    }
    .mega-col ul li a{
        font-size: 12px;
    }
}