
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; overflow-x: hidden; }
        body { font-family: 'Noto Kufi Arabic', 'Inter', sans-serif; background: #f8fafc; color: #0f172a; overflow-x: hidden; width: 100%; max-width: 100vw; }

        /* Scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #f1f5f9; }
        ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

        /* Animations */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInLeft {
            from { opacity: 0; transform: translateX(40px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes fadeInRight {
            from { opacity: 0; transform: translateX(-40px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes scaleIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.15); }
            50% { box-shadow: 0 0 40px rgba(37, 99, 235, 0.3); }
        }
        @keyframes slideInFromRight {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        @keyframes slideInFromLeft {
            from { transform: translateX(-100%); }
            to { transform: translateX(0); }
        }
        @keyframes countUp {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
        .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
        .animate-on-scroll.delay-100 { transition-delay: 100ms; }
        .animate-on-scroll.delay-200 { transition-delay: 200ms; }
        .animate-on-scroll.delay-300 { transition-delay: 300ms; }
        .animate-on-scroll.delay-400 { transition-delay: 400ms; }
        .animate-on-scroll.delay-500 { transition-delay: 500ms; }

        .hero-animate { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
        .hero-animate-d1 { animation-delay: 0.1s; }
        .hero-animate-d2 { animation-delay: 0.25s; }
        .hero-animate-d3 { animation-delay: 0.4s; }
        .hero-animate-d4 { animation-delay: 0.55s; }

        /* Hero Background */
        .hero-bg {
            position: relative;
            min-height: 100vh;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e3a8a 100%);
            overflow: hidden;
        }
        .hero-bg::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 80%;
            height: 200%;
            background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
            animation: float 8s ease-in-out infinite;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -20%;
            width: 60%;
            height: 150%;
            background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
            animation: float 10s ease-in-out infinite reverse;
        }

        /* Grid Pattern */
        .grid-pattern {
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        /* Cards */
        .service-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 32px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(to left, #2563eb, #3b82f6);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
            border-color: #bfdbfe;
        }
        .service-card:hover::before { transform: scaleX(1); }

        .project-card {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            group: true;
        }
        .project-card img {
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .project-card:hover img {
            transform: scale(1.08);
        }
        .project-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 28px;
            transition: all 0.4s ease;
        }

        /* Stats */
        .stat-item {
            text-align: center;
            padding: 24px;
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2563eb;
            line-height: 1;
        }

        /* Nav */
        .nav-blur {
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            background: rgba(255, 255, 255, 0.85);
            border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        }
        .nav-blur.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        }
        .nav-link {
            position: relative;
            color: #475569;
            font-size: 0.875rem;
            font-weight: 500;
            padding: 6px 0;
            transition: color 0.2s ease;
        }
        .nav-link:hover, .nav-link.active { color: #2563eb; }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 0;
            height: 2px;
            background: #2563eb;
            transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            border-radius: 1px;
        }
        .nav-link:hover::after, .nav-link.active::after { width: 100%; }

        /* Buttons */
        .btn-primary {
            background: #2563eb;
            color: white;
            padding: 12px 32px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.875rem;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: none;
            cursor: pointer;
        }
        .btn-primary:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
        }
        .btn-secondary {
            background: white;
            color: #0f172a;
            padding: 12px 32px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.875rem;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #e2e8f0;
            cursor: pointer;
        }
        .btn-secondary:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
        }
        .btn-outline-white {
            background: transparent;
            color: white;
            padding: 12px 32px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.875rem;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255,255,255,0.3);
            cursor: pointer;
        }
        .btn-outline-white:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.6);
            transform: translateY(-2px);
        }

        /* Section title */
        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #eff6ff;
            color: #2563eb;
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            margin-bottom: 16px;
        }
        .section-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            background: #2563eb;
            border-radius: 50%;
        }

        /* Testimonial */
        .testimonial-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 32px;
            transition: all 0.3s ease;
        }
        .testimonial-card:hover {
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
            border-color: #bfdbfe;
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(15, 23, 42, 0.5);
            backdrop-filter: blur(4px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .mobile-menu.open {
            opacity: 1;
            pointer-events: all;
        }
        .mobile-menu-panel {
            position: absolute;
            top: 0;
            right: 0;
            width: 300px;
            height: 100%;
            background: white;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 24px;
            overflow-y: auto;
        }
        .mobile-menu.open .mobile-menu-panel {
            transform: translateX(0);
        }

        /* Contact form */
        .form-input {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
            font-size: 0.875rem;
            transition: all 0.2s ease;
            background: white;
            color: #0f172a;
        }
        .form-input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        .form-input::placeholder { color: #94a3b8; }

        /* Footer */
        .footer-bg {
            background: #0f172a;
            color: #94a3b8;
        }

        /* Marquee */
        .marquee-track {
            display: flex;
            animation: marquee 30s linear infinite;
            gap: 48px;
        }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* Floating shapes */
        .floating-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.05;
            background: #3b82f6;
        }

        /* Toast */
        .toast {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: #0f172a;
            color: white;
            padding: 14px 28px;
            border-radius: 12px;
            font-size: 0.875rem;
            font-weight: 500;
            z-index: 9999;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        .toast.show { transform: translateX(-50%) translateY(0); }

        /* Back to top */
        .back-to-top {
            position: fixed;
            bottom: 24px;
            left: 24px;
            width: 48px;
            height: 48px;
            background: #2563eb;
            color: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 90;
            border: none;
            box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
        }
        .back-to-top.visible { opacity: 1; transform: translateY(0); }
        .back-to-top:hover { background: #1d4ed8; transform: translateY(-3px); }

        /* Lang Toggle */
        .lang-toggle {
            display: flex;
            background: #f1f5f9;
            border-radius: 8px;
            padding: 2px;
            gap: 2px;
        }
        .lang-btn {
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            background: transparent;
            color: #64748b;
        }
        .lang-btn.active {
            background: white;
            color: #0f172a;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        /* RTL/LTR Directional Icons */
        html[dir="ltr"] .fa-arrow-left {
            transform: scaleX(-1);
            display: inline-block;
        }
        html[dir="ltr"] .fa-arrow-right {
            transform: scaleX(-1);
            display: inline-block;
        }
   