: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: 40px;
    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: 20px;
    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;
}

.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;
}

.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: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.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: 15px;
    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 0.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);
}

.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: 92%;
        padding: 5px 0;
    }

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

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

    .logo img {
        height: 35px;
    }
}

/* --- 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%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    visibility: hidden;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
    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;
}

.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.3s;
    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 {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0 35px;
    line-height: 1.2;
}

.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: 20px;
    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 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

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

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

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

body.menu-open {
    overflow: hidden;
}