  :root {
            --primary-color: #6366f1;
            --secondary-color: #8b5cf6;
            --text-color: #374151;
            --light-gray: #6b7280;
            --hover-bg: rgba(99, 102, 241, 0.05);
        }        /* Navigation should float over all content */
/*         .home-banner-section,
        .banner-section,
        section:first-of-type:not(.partnerships-section),
        .page-content > section:first-child:not(.partnerships-section) {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }
         */
        /* Ensure banner sections start from top */
/*         .home-banner-section {
            position: relative;
            top: 0;
        } */
/* 
        body {
            font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            /* Remove padding-top - nav should float over content */
        } */

/* Custom Navbar Styles - Positioned absolutely on top */
.custom-navbar {
    /* background: rgba(255, 255, 255, 0.95) !important; */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 15px auto;
    padding: 9px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 30px);
}

.container-fluidss {
    max-width: 1200px;
    margin: 0 auto;
}
/* Ensure logo container is always visible */
.navbar-brand {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1003 !important; /* Higher than other elements */
}
.logo-img {
    height: 55px !important;
    width: auto !important;
    mix-blend-mode: multiply;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    font-size: 16px; /* Consistent font size */
    margin: 0 8px;
    padding: 8px 12px !important;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
    visibility: visible !important;
    display: block !important;
}
/* Method 2: Add margin between nav items */
.navbar-nav .nav-item {
    margin-right: 5px; /* Reduced spacing */
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    /* Remove any transform effects */
}
.navbar-nav {
    gap: 5px; /* Reduced gap */
    align-items: center;
    visibility: visible !important;
    display: flex !important;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.navbar-nav li {
  list-style: none;
}
.navbar-nav .nav-item .nav-link:hover {
   border-bottom: none !important;
}
.navbar-nav .nav-link {
    text-decoration: none !important;
}
.custom-navbar {
   background: white !important;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 15px auto;
    padding: 7px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    height: 80px;
    display: flex !important
;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 30px);
}

.container-fluidss {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Ensure navbar brand doesn't get hidden by other elements */
.navbar-brand img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile responsiveness for logo */
@media (max-width: 1199px) {
    .custom-navbar {
        /* margin: 10px; */
        padding: 8px 35px;
        max-width: calc(100% - 20px);
        height: 60px;
        justify-content: space-between !important;
        border-radius: 15px;
    }
    
    .navbar-brand {
        font-size: 24px !important;
    }
    
    .logo-img {
        height: 43px !important;
    }
    
    /* Ensure container maintains flex layout on mobile */
    .container-fluidss {
           max-width: 1200px;
    margin: 0 auto;
    display: flex !important
;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    }
}

/* Ensure navbar items are visible ONLY on large desktop screens */
@media (min-width: 1200px) {
    .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
    }
    
    .navbar-toggler {
        display: none !important;
    }
    
    /* Hide mobile elements on large desktop */
    .mobile-sidebar,
    .mobile-overlay {
        display: none !important;
    }
}

/* Hide desktop navigation and show hamburger for tablets and mobile */
@media (max-width: 1199px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    /* Show mobile elements for tablets and mobile */
    .mobile-sidebar,
    .mobile-overlay {
        display: block !important;
    }
}

/* Remove all tablet-specific media queries - make tablets use mobile */

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.talk-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    font-size: 14px;
    margin-left: 20px;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

.talk-btn:hover {
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    color: white !important;
}

/* Custom Mega Menu with proper z-index and positioning */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 8px;
    min-width: 907px;
    z-index: 9999;
    transform: translateX(-50%) translateY(-10px);
    pointer-events: none;
}

.dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}


.mega-content {
    padding: 30px;
}

.mega-section h6 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e5e7eb;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.mega-section h6:hover {
    color: var(--secondary-color);
    /* Remove transform effect */
}

.mega-section h6::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transition: width 0.3s ease;
}

.mega-section h6:hover::after {
    width: 100%;
}

.mega-section h6::before {
    content: '→';
    position: absolute;
    right: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.mega-section h6:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.mega-section a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.mega-section a:hover {
    color: var(--primary-color);
    background: var(--hover-bg);
}

.mega-section a::after {
    content: '→';
    position: absolute;
    right: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
}

/* .mega-section a:hover::after {
    opacity: 1;
    transform: translateX(0);
} */


/* Simple dropdown with proper positioning */
.simple-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 8px;
    min-width: 180px;
    transform: translateX(-50%) translateY(-10px);
    z-index: 9999;
    pointer-events: none;
}

.dropdown.active .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.simple-dropdown a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.simple-dropdown a:hover {
    color: var(--primary-color);
    background: var(--hover-bg);
}

/* Demo banner section to show overlay effect */
.demo-banner {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.demo-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.demo-banner p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Hide mobile elements by default */
.mobile-sidebar,
.mobile-overlay {
    display: none;
}

/* Mobile Responsiveness - ALL TABLETS AND MOBILE (under 1200px) */
@media (max-width: 1199px) {
    body {
        padding-top: 0;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .mobile-submenu {
        max-height: 0;
        overflow: hidden; /* This is correctly set to hidden initially */
        transition: max-height 0.3s ease;
        background: #ffffff;
    }
    
    /* When a mobile-menu-item is active, its submenu expands */
    .mobile-menu-item.active .mobile-submenu {
        max-height: 500px; /* Adjust this value if 500px is not enough to show a good portion of the content. */
                           /* You might want to try a 'vh' unit for responsiveness, e.g., 50vh, 60vh. */
                           /* For instance, if you want it to fill about 70% of the screen height: */
                           /* max-height: 70vh; */

        /* THIS IS THE CRUCIAL PART: Make this specific active submenu scrollable */
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch; /* For smooth iOS scrolling */
    }

    /* Important considerations: */
    /* 1. Ensure .mobile-sidebar itself has enough height or allows for its internal content to scroll. */
    /* From your CSS, it already has: */
    .mobile-sidebar {
        /* ... other styles ... */
        height: 100vh; /* This ensures the sidebar takes full height */
        overflow-y: auto; /* This makes the entire sidebar scrollable if its content (including all menu items) exceeds 100vh */
        overflow-x: hidden;
    }
    .custom-navbar {
        /* margin: 10px; */
        padding: 8px 35px;
        max-width: calc(100% - 20px);
        width:446px;
        height: 60px;
        /* justify-content: space-between; */
        border-radius: 15px;
    }
    
    /* Hide desktop navigation on tablets and mobile */
    .navbar-collapse {
        display: none !important;
    }
    
    /* Hide desktop dropdowns on tablets and mobile */
    .mega-menu,
    .simple-dropdown {
        display: none !important;
    }
    
    /* Show mobile elements for tablets and mobile */
    .mobile-sidebar,
    .mobile-overlay {
        display: block !important;
    }
    
    /* Hamburger menu button styles */
    .navbar-toggler {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 8px;
        font-size: 1.25rem;
        background: transparent;
        position: relative;
        z-index: 1002;
    }
    
    /* Custom hamburger icon */
    .hamburger {
        width: 25px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #333;
        border-radius: 2px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .hamburger span:nth-child(1) {
        top: 0px;
    }
    
    .hamburger span:nth-child(2),
    .hamburger span:nth-child(3) {
        top: 8px;
    }
    
    .hamburger span:nth-child(4) {
        top: 16px;
    }
    
    /* Hamburger animation when active */
    .hamburger.active span:nth-child(1) {
        top: 8px;
        width: 0%;
        left: 50%;
    }
    
    .hamburger.active span:nth-child(2) {
        transform: rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    .hamburger.active span:nth-child(4) {
        top: 8px;
        width: 0%;
        left: 50%;
    }
    
    /* Mobile sidebar menu */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px; /* Slightly wider for tablets */
        height: 100vh;
        background: white;
        z-index: 1001;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        overflow-x: hidden;
        /* padding-top: 80px; */
        padding-bottom: 20px;
        display: block;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .mobile-sidebar.active {
        left: 0;
    }
    
    /* Mobile menu overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile menu items */
    .mobile-menu-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-header {
        padding: 15px 20px;
        font-weight: bold;
        font-size: 16px;
        color: var(--primary-color);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8f9fa;
        margin: 0;
        border: none;
        width: 100%;
        text-align: left;
    }
    
    .mobile-menu-header:hover {
        background: #e9ecef;
    }
    
    .mobile-menu-arrow {
        transition: transform 0.3s ease;
        font-size: 12px;
    }
    
    .mobile-menu-item.active .mobile-menu-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #ffffff;
    }
    
    .mobile-menu-item.active .mobile-submenu {
        max-height: 500px;
    }
    
    .mobile-submenu a {
        display: block;
        padding: 12px 30px;
        color: var(--light-gray);
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid #f8f9fa;
        transition: all 0.3s ease;
    }
    
    .mobile-submenu a:hover {
        color: var(--primary-color);
        background: #f8f9fa;
    }
    
    .mobile-submenu a:last-child {
        border-bottom: none;
    }
    
    /* Style for bold service category headers in mobile menu */
    .mobile-submenu a strong {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 15px;
    }
    
    .mobile-submenu a:has(strong) {
        font-weight: 700;
        color: var(--primary-color);
        background: #f8f9fa;
        margin-top: 10px;
    }
    
    .mobile-submenu a:has(strong):first-child {
        margin-top: 0;
    }
    
    /* Mobile talk button */
    .mobile-talk-btn {
        margin: 20px;
        display: block;
        text-align: center;
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        color: white !important;
        padding: 12px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .mobile-talk-btn:hover {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        color: white !important;
    }

    .demo-banner h1 {
        font-size: 2rem;
    }
    
}