 nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: #181818;
            pointer-events: none;
            width: 100%;
            border-bottom: 1px solid #6c6b6b26;
        }


        nav.visible {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
            pointer-events: all;
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
            pointer-events: all;
        }

        .nav-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 10px 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            pointer-events: all;
            width: 100%;
            transition: padding 0.3s ease;
        }

        nav.visible .nav-container,
        nav.scrolled .nav-container {
            /*padding: 16px 60px;*/
                padding: 0.5rem 2rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .logo:hover {
            transform: scale(1.05);
            cursor: pointer;
        }

        .logo-circle {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .logo-circle::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            top: 8px;
            right: 8px;
            opacity: 0.9;
        }

        .logo-circle::after {
            content: '';
            position: absolute;
            width: 35px;
            height: 35px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-right-color: transparent;
            border-bottom-color: transparent;
            transform: rotate(-45deg);
        }

        .logo-text {
            font-size: 28px;
            font-weight: 600;
            color: #ffffff;
            letter-spacing: -0.5px;
        }

        .nav-center {
            display: flex;
            align-items: center;
            gap: 0;
            flex: 1;
            justify-content: center;
            max-width: 100%;
                padding-top: 7px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 0;
            list-style: none;
                margin: 0;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            text-decoration: none;
            color: #9caec9 !important;
            font-size: 15px;
            font-weight: 500;
            padding: 12px 20px;
            display: block;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            white-space: nowrap;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 20px;
            right: 20px;
            height: 2px;
            background: #7c3aed;
            transform: scaleX(0);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-links a:hover {
            color: #7c3aed;
        }

          .scrolled .nav-links a{color: #1d252c !important;}

        .nav-links a:hover::before {
            transform: scaleX(1);
        }

        .dropdown {
            position: relative;
        }

        .dropdown-toggle::after {
            content: '';
            font-size: 10px;
            margin-left: 6px;
            transition: transform 0.3s ease;
        }

        .dropdown:hover .dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            min-width: 260px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu a {
            padding: 16px 24px;
            border-bottom: 1px solid #f3f4f6;
            font-size: 14px;
        }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a::before {
            display: none;
        }

        .dropdown-menu a:hover {
            background: #f9fafb;
            padding-left: 30px;
            color: #7c3aed;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0;
        }

        .search-container {
            position: relative;
        }

        .search-input {
            padding: 11px 45px 11px 18px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            width: 240px;
            transition: all 0.3s ease;
            background: white;
        }

        .search-input:focus {
            outline: none;
            border-color: #7c3aed;
            width: 280px;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
        }

        .search-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: #7c3aed;
            border: none;
            width: 34px;
            height: 34px;
            border-radius: 6px;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 16px;
        }

        .search-btn:hover {
            background: #6d28d9;
            transform: translateY(-50%) scale(1.05);
        }

        .cta-btn {
            background: #7c3aed;
            color: white;
            padding: 11px 26px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .cta-btn:hover {
            background: #6d28d9;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }

        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
        }

        .mobile-toggle span {
            width: 25px;
            height: 3px;
            background: #374151;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .mobile-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(7px, 7px);
        }

        .mobile-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Demo Content */
        .demo-content {
            max-width: 1400px;
            margin: 60px auto;
            padding: 0 60px;
        }

        .demo-section {
            background: white;
            padding: 60px;
            border-radius: 20px;
            margin-bottom: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .service-card {
            /*background: #f9fafb;*/
            padding: 40px;
            border-radius: 16px;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            text-align: center;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
        }

        .service-card h3 {
            font-size: 24px;
            color: #ffffff;
            margin-bottom: 16px;
            /*display: flex;*/
            align-items: center;
            gap: 12px;
        }


        .service-card .arrow {
            color: #7c3aed;
            font-size: 28px;
            transition: transform 0.3s ease;
        }

        .service-card:hover .arrow {
            transform: translateX(5px);
        }

        .service-card p {
            font-size: 15px;
            line-height: 1.7;
            color: #ffffff;
        }





        /* Hover area for desktop */
        .nav-hover-area {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 70px;
            z-index: 999;
            pointer-events: all;
        }

        /* Mobile Responsive - 1024px breakpoint */
        @media (max-width: 1024px) {


            nav {
                /*background: rgba(255, 255, 255, 0.98);*/
                backdrop-filter: blur(10px);
                box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
                pointer-events: all;
            }
            .mobile-toggle:focus{    border: 1px solid #92929245;
    border-radius: 5px; outline: none;}

            .nav-hover-area {
                display: none;
            }

            .nav-container {
             padding: 0 1rem;
            }

            .mobile-toggle {
                display: flex;
            }

            .nav-center {
                display: none;
            }

            .nav-right {
                position: fixed;
                top: 70px;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 0;
                gap: 0;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                opacity: 0;
                visibility: hidden;
                transform: translateY(-20px);
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                max-height: calc(100vh - 80px);
                overflow-y: auto;
            }

            .nav-right.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
                z-index: 9999;
            }

            .nav-links {
                flex-direction: column;
                width: 100%;
            }

            .nav-links li {
                width: 100%;
                border-bottom: 1px solid #f3f4f6;
            }

            li.has-mega-menu .sub-menu:hover{
                width: 100%;
                height:40vw;
                position: fixed;
                top:0;
            }

            .nav-links a {
                padding: 18px 30px;
                font-size: 16px;
            }

            .nav-links a::before {
                display: none;
            }

            .dropdown-toggle::after {
                float: right;
            }

       /*     .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: #f9fafb;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                border-radius: 0;
            }*/

            .dropdown.active .dropdown-menu {
                max-height: 600px;
            }

            .dropdown.active .dropdown-toggle::after {
                transform: rotate(180deg);
            }

            .dropdown-menu a {
                padding: 16px 30px 16px 50px;
                font-size: 15px;
            }

            .dropdown-menu a:hover {
                padding-left: 56px;
            }

            .search-container {
                width: 100%;
                padding: 20px 30px;
                background: #f9fafb;
                border-bottom: 1px solid #f3f4f6;
            }

            .search-input {
                width: 100%;
            }

            .search-input:focus {
                width: 100%;
            }

            .cta-btn {
                width: calc(100% - 60px);
                text-align: center;
                padding: 16px 26px;
                margin: 20px 30px;
            }

            .demo-content {
                padding: 0 30px;
                margin: 40px auto;
            }

            .demo-section {
                padding: 40px 30px;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }


        }

        @media (max-width: 480px) {
            .nav-container {
                padding: 0 1.2rem !important;
            }

            .logo-text {
                font-size: 24px;
            }

            .logo-circle {
                width: 40px;
                height: 40px;
            }

            .demo-content {
                padding: 0 20px;
            }

            .demo-section {
                padding: 30px 20px;
            }

            .service-card {
                padding: 30px 20px;
            }


        }
