/* Virtual Vanguards - home
   Shared by: ar/index.html, index.html, tr/index.html
   Edit here, not in the HTML. */

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

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #06b6d4;
            --dark: #0f172a;
            --darker: #020617;
            --text-light: #cbd5e1;
            --mega-bg: rgba(10, 14, 30, 0.98);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--darker);
            color: #fff;
            overflow-x: hidden;
            line-height: 1.6;
        }

        html { scroll-behavior: smooth; }

        /* ---- SCROLL PROGRESS ---- */
        .scroll-progress {
            position: fixed; top: 0; left: 0; height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            z-index: 10001; width: 0%; will-change: width;
        }

        /* ========================================
           NAV + MEGA MENU
        ======================================== */
        nav {
            position: fixed; top: 0; width: 100%;
            padding: 1.5rem 2rem;
            z-index: 1000;
            transition: all 0.3s ease;
            will-change: transform;
        }

        nav.scrolled {
            background: rgba(15, 23, 42, 0.97);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding: 0.9rem 2rem;
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem; font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text; text-decoration: none;
            letter-spacing: -0.5px;
            flex-shrink: 0;
        }

        .nav-menu {
            display: flex; list-style: none;
            gap: 0.25rem; align-items: center;
        }

        .nav-menu > li { position: relative; }

        /* Prevent mega menu from affecting document flow */
        .has-mega { position: relative; }

        .nav-menu > li > a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 500;
            font-size: 0.93rem;
            transition: color 0.25s;
            padding: 0.6rem 1rem;
            border-radius: 8px;
            display: flex; align-items: center; gap: 0.35rem;
        }

        .nav-menu > li > a:hover { color: #fff; background: rgba(255,255,255,0.06); }
        .nav-menu > li > a .chevron {
            font-size: 0.65rem; transition: transform 0.3s; opacity: 0.6;
        }

        .nav-menu > li.has-mega:hover > a .chevron { transform: rotate(180deg); }

        .nav-cta {
            background: var(--primary) !important;
            color: white !important;
            padding: 0.65rem 1.6rem !important;
            border-radius: 50px !important;
            box-shadow: 0 4px 20px rgba(99,102,241,0.4);
            margin-left: 0.5rem;
            font-weight: 600 !important;
        }

        .nav-cta:hover {
            background: var(--primary-dark) !important;
            box-shadow: 0 6px 28px rgba(99,102,241,0.55) !important;
            transform: translateY(-1px);
        }

        /* ---- MEGA MENU PANEL ---- */
        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            /* padding-top is the invisible hover bridge — cursor stays
               inside .has-mega as it travels from the nav link down to
               the visible panel, so hover never breaks */
            padding-top: 16px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s;
            pointer-events: none;
            z-index: 999;
        }

        /* The visible card sits inside a wrapper so the padding-top
           bridge area stays transparent */
        .mega-menu-inner {
            background: var(--mega-bg);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.15);
            padding: 2rem;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transform: translateY(-6px);
            transition: transform 0.2s ease;
        }

        .has-mega:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            pointer-events: all;
        }

        .has-mega:hover .mega-menu-inner {
            transform: translateY(0);
        }

        /* Services mega menu – wider */
        .mega-menu.mega-services .mega-menu-inner {
            width: 780px;
        }

        /* Platforms mini-mega */
        .mega-menu.mega-platforms .mega-menu-inner {
            width: 480px;
        }

        .mega-top {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.07);
        }

        .mega-top h4 {
            font-size: 0.75rem; text-transform: uppercase;
            letter-spacing: 2px; color: var(--primary); font-weight: 700;
        }

        .mega-top a {
            font-size: 0.82rem; color: var(--text-light);
            text-decoration: none; transition: color 0.2s;
            display: flex; align-items: center; gap: 0.4rem;
        }

        .mega-top a:hover { color: var(--primary); }

        .mega-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
        }

        .mega-item {
            display: flex; gap: 1rem; align-items: flex-start;
            padding: 1rem; border-radius: 12px;
            text-decoration: none; color: inherit;
            transition: background 0.2s;
            position: relative;
        }

        .mega-item:hover {
            background: rgba(99,102,241,0.08);
        }

        .mega-item-icon {
            width: 42px; height: 42px; flex-shrink: 0;
            background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
            border: 1px solid rgba(99,102,241,0.25);
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem;
            transition: all 0.2s;
        }

        .mega-item:hover .mega-item-icon {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-color: transparent;
            box-shadow: 0 4px 14px rgba(99,102,241,0.4);
        }

        .mega-item-icon i { color: var(--primary); transition: color 0.2s; }
        .mega-item:hover .mega-item-icon i { color: #fff; }

        .mega-item-text h5 {
            font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem;
            color: #fff;
        }

        .mega-item-text p {
            font-size: 0.78rem; color: var(--text-light); line-height: 1.4;
        }

        .mega-bottom {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255,255,255,0.07);
            display: flex; align-items: center; justify-content: space-between;
        }

        .mega-promo {
            display: flex; align-items: center; gap: 0.75rem;
        }

        .mega-promo-badge {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white; padding: 0.25rem 0.75rem;
            border-radius: 50px; font-size: 0.72rem; font-weight: 700;
        }

        .mega-promo p {
            font-size: 0.82rem; color: var(--text-light);
        }

        .mega-cta-btn {
            display: inline-flex; align-items: center; gap: 0.4rem;
            background: var(--primary); color: white;
            padding: 0.55rem 1.2rem; border-radius: 50px;
            font-size: 0.82rem; font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
        }

        .mega-cta-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .platform-mega-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }

        .platform-mega-item {
            display: flex; gap: 0.85rem; align-items: center;
            padding: 0.85rem 1rem; border-radius: 12px;
            text-decoration: none; color: inherit;
            transition: background 0.2s;
        }

        .platform-mega-item:hover { background: rgba(99,102,241,0.08); }

        .platform-mega-icon {
            width: 38px; height: 38px; flex-shrink: 0;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem; transition: all 0.2s;
        }

        .platform-mega-item:hover .platform-mega-icon {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-color: transparent;
        }

        .platform-mega-icon i { transition: color 0.2s; }
        .platform-mega-item:hover .platform-mega-icon i { color: #fff !important; }

        .platform-mega-text h5 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.1rem; }
        .platform-mega-text p  { font-size: 0.76rem; color: var(--text-light); }

        /* ---- MOBILE MENU ---- */
        .menu-toggle {
            display: none; flex-direction: column;
            gap: 5px; cursor: pointer; z-index: 1001;
        }

        .menu-toggle span {
            width: 25px; height: 3px; background: white;
            border-radius: 3px; transition: all 0.3s;
        }

        .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
        .menu-toggle.active span:nth-child(2) { opacity: 0; }
        .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

        /* Always hidden — only revealed inside the mobile media query */
        .mobile-sub { display: none; }

        /* ========================================
           HERO
        ======================================== */
        .hero {
            min-height: 100vh;
            display: flex; align-items: center;
            position: relative; overflow: hidden;
            padding: 120px 2rem 80px;
        }

        #morphing-canvas {
            position: absolute; top: 0; left: 0;
            width: 100%; height: 100%; z-index: 0;
        }

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

        .gradient-orb {
            position: absolute; border-radius: 50%;
            filter: blur(100px); opacity: 0.4;
            animation: float 25s ease-in-out infinite;
        }

        .orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(99,102,241,0.8), transparent); top: -200px; right: -200px; }
        .orb-2 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(6,182,212,0.6), transparent); bottom: -150px; left: -150px; animation-delay: 12s; }
        .orb-3 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(245,158,11,0.5), transparent); top: 40%; left: 40%; animation-delay: 8s; }

        @keyframes float {
            0%, 100% { transform: translate(0,0) scale(1); }
            33% { transform: translate(80px,-80px) scale(1.1); }
            66% { transform: translate(-80px,80px) scale(0.9); }
        }

        .grid-lines {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-image:
                linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridMove 20s linear infinite;
        }

        @keyframes gridMove {
            0% { transform: translateY(0); }
            100% { transform: translateY(50px); }
        }

        .container {
            max-width: 1400px; margin: 0 auto;
            position: relative; z-index: 1; width: 100%;
        }

        .hero-grid {
            display: grid; grid-template-columns: 1fr 1fr;
            gap: 4rem; align-items: center;
        }

        .hero-tag {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: rgba(99,102,241,0.1);
            border: 1px solid rgba(99,102,241,0.3);
            padding: 0.5rem 1rem; border-radius: 50px;
            font-size: 0.85rem; font-weight: 600;
            color: var(--primary); margin-bottom: 2rem;
        }

        .hero h1 {
            font-size: 3.5rem; font-weight: 900;
            line-height: 1.1; margin-bottom: 1.5rem;
            letter-spacing: -2px;
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2.5rem; line-height: 1.8; }

        .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

        .btn {
            padding: 1rem 2rem; border-radius: 50px;
            font-weight: 600; font-size: 1rem;
            text-decoration: none; transition: all 0.3s;
            display: inline-flex; align-items: center; gap: 0.75rem; cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white; box-shadow: 0 10px 40px rgba(99,102,241,0.4);
        }

        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(99,102,241,0.6); }

        .btn-secondary {
            background: rgba(255,255,255,0.05); color: white;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }

        .google-rating {
            display: inline-flex; align-items: center; gap: 1rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 1rem 1.5rem; border-radius: 50px;
        }

        .rating-content { display: flex; flex-direction: column; gap: 0.25rem; }
        .stars { display: flex; gap: 0.25rem; }
        .stars i { color: #fbbf24; font-size: 0.9rem; }
        .rating-text { font-size: 0.85rem; color: var(--text-light); }
        .rating-score { font-weight: 700; color: white; }

        .platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

        .platform-card {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px; padding: 2rem; transition: all 0.3s;
        }

        .platform-card:hover { border-color: var(--primary); transform: translateY(-5px); }

        .platform-icon {
            font-size: 2.5rem; margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

        .platform-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
        .platform-card p { color: var(--text-light); font-size: 0.9rem; }

        .stats-bar { margin-top: 2rem; display: flex; gap: 3rem; flex-wrap: wrap; }

        .stat-item { text-align: center; }

        .stat-number {
            font-size: 2.5rem; font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

        .stat-label { color: var(--text-light); font-size: 0.9rem; }

        /* ---- SECTIONS ---- */
        section { padding: 100px 2rem; position: relative; }

        .section-header { text-align: center; margin-bottom: 4rem; }

        .section-tag {
            display: inline-block;
            background: rgba(99,102,241,0.1);
            border: 1px solid rgba(99,102,241,0.3);
            padding: 0.5rem 1.5rem; border-radius: 50px;
            font-size: 0.85rem; font-weight: 600;
            color: var(--primary); margin-bottom: 1.5rem;
            text-transform: uppercase; letter-spacing: 1px;
        }

        .section-header h2 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; }
        .section-header p { font-size: 1.2rem; color: var(--text-light); max-width: 700px; margin: 0 auto; }

        /* ---- SERVICES GRID ---- */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem; max-width: 1400px; margin: 0 auto;
        }

        .service-card {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px; padding: 2.5rem;
            transition: all 0.3s; text-decoration: none;
            color: inherit; display: block;
            position: relative; overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute; top: 0; left: 0;
            width: 100%; height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0); transform-origin: left;
            transition: transform 0.3s;
        }

        .service-card:hover::before { transform: scaleX(1); }
        .service-card:hover { transform: translateY(-10px); border-color: rgba(99,102,241,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

        .service-icon {
            width: 60px; height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 15px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem; margin-bottom: 1.5rem;
            box-shadow: 0 8px 20px rgba(99,102,241,0.3);
        }

        .service-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
        .service-card p { color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
        .service-card ul { list-style: none; }

        .service-card li {
            padding: 0.5rem 0; color: var(--text-light);
            position: relative; padding-left: 1.5rem;
        }

        .service-card li::before {
            content: '✓'; position: absolute; left: 0;
            color: var(--primary); font-weight: bold;
        }

        .service-learn-more {
            margin-top: 1.5rem;
            display: inline-flex; align-items: center; gap: 0.4rem;
            font-size: 0.85rem; font-weight: 600;
            color: var(--primary);
            opacity: 0; transform: translateY(6px);
            transition: all 0.25s;
        }

        .service-card:hover .service-learn-more { opacity: 1; transform: translateY(0); }

        /* ---- PRICING ---- */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem; max-width: 1400px; margin: 3rem auto 0;
        }

        .pricing-card {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 24px; padding: 3rem 2rem;
            position: relative; transition: all 0.3s;
        }

        .pricing-card:hover { transform: translateY(-10px); border-color: var(--primary); }

        .pricing-card.featured {
            background: rgba(99,102,241,0.1);
            border: 2px solid var(--primary);
        }

        .pricing-badge {
            position: absolute; top: -15px; right: 30px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white; padding: 0.5rem 1.5rem;
            border-radius: 50px; font-weight: 700; font-size: 0.8rem;
        }

        .pricing-card h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
        .pricing-card .subtitle { color: var(--text-light); margin-bottom: 2rem; }

        .pricing-price .amount {
            font-size: 3.5rem; font-weight: 900;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

        .pricing-price .period { font-size: 1.2rem; color: var(--text-light); }

        .pricing-features { list-style: none; margin: 2rem 0; }

        .pricing-features li {
            padding: 0.75rem 0; color: var(--text-light);
            position: relative; padding-left: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }

        .pricing-features li:last-child { border-bottom: none; }

        .pricing-features li::before {
            content: '✓'; position: absolute; left: 0;
            color: var(--primary); font-weight: bold;
        }

        /* ---- CTA SECTION ---- */
        .cta-section {
            background: rgba(99,102,241,0.1);
            border: 1px solid rgba(99,102,241,0.3);
            border-radius: 32px; padding: 5rem 3rem;
            text-align: center; max-width: 900px; margin: 0 auto;
            position: relative; overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute; top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: radial-gradient(ellipse at center, rgba(99,102,241,0.08), transparent 70%);
            pointer-events: none;
        }

        .cta-section h2 { font-size: 3rem; font-weight: 900; margin-bottom: 1.5rem; }
        .cta-section p { font-size: 1.3rem; color: var(--text-light); margin-bottom: 2.5rem; }
        .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

        /* ---- PORTFOLIO ---- */
        #portfolio { background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%); }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 3rem; max-width: 1400px; margin: 0 auto;
        }

        .portfolio-item {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 24px; padding: 3rem;
        }

        .portfolio-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }

        .client-logo {
            width: 70px; height: 70px;
            background: rgba(99,102,241,0.1);
            border: 2px solid var(--primary);
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.8rem; font-weight: 800; color: var(--primary);
        }

        .portfolio-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
        .portfolio-info p { color: var(--text-light); font-size: 0.9rem; }

        .results-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 2rem 0; }

        .result-card {
            background: rgba(99,102,241,0.05);
            border: 1px solid rgba(99,102,241,0.2);
            border-radius: 16px; padding: 1.5rem; text-align: center;
        }

        .result-number {
            font-size: 2.2rem; font-weight: 900;
            background: linear-gradient(135deg, #10b981, #06b6d4);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
            margin-bottom: 0.5rem;
        }

        .result-label { color: var(--text-light); font-size: 0.85rem; font-weight: 600; }

        .testimonial {
            background: rgba(255,255,255,0.02);
            border-left: 3px solid var(--primary);
            padding: 1.5rem; border-radius: 12px; margin-top: 2rem;
        }

        .testimonial-text { color: var(--text-light); font-style: italic; line-height: 1.8; margin-bottom: 1rem; }

        .testimonial-author { display: flex; align-items: center; gap: 1rem; }

        .author-avatar {
            width: 48px; height: 48px; border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 1.1rem;
        }

        .author-info h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
        .author-info p { font-size: 0.85rem; color: var(--text-light); }

        /* ---- FOOTER ---- */
        footer { padding: 4rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,0.1); }

        .footer-grid {
            max-width: 1400px; margin: 0 auto;
            display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem; margin-bottom: 3rem;
        }

        .footer-about h3 {
            font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

        .footer-about p { color: var(--text-light); line-height: 1.8; }

        .footer-links h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
        .footer-links ul { list-style: none; }
        .footer-links a { color: var(--text-light); text-decoration: none; display: block; padding: 0.5rem 0; transition: color 0.3s; }
        .footer-links a:hover { color: var(--primary); }

        .footer-bottom {
            max-width: 1400px; margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center; color: var(--text-light);
        }

        /* ======================================
           RESPONSIVE
        ====================================== */
        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; }
            .platform-grid { grid-template-columns: 1fr; }
            .hero h1 { font-size: 2.5rem; }
            .footer-grid { grid-template-columns: 1fr; }

            .menu-toggle { display: flex; }

            .nav-menu {
                position: fixed; top: 0; left: -100%;
                width: min(360px, 100%);
                height: 100vh;
                background: rgba(10,14,30,0.99);
                backdrop-filter: blur(30px);
                flex-direction: column;
                padding: 5rem 2rem 2rem;
                gap: 0.5rem;
                transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
                border-right: 1px solid rgba(255,255,255,0.08);
                align-items: flex-start;
                overflow-y: auto;
            }

            .nav-menu.active { left: 0; }

            .nav-menu > li { width: 100%; }
            .nav-menu > li > a { width: 100%; padding: 0.9rem 1rem; border-radius: 10px; font-size: 1rem; }

            /* hide mega menus on mobile, show sub-items inline */
            .mega-menu { display: none; }

            /* mobile service sub-links */
            .mobile-sub { display: flex; flex-direction: column; gap: 0; padding-left: 1rem; overflow: hidden; max-height: 0; transition: max-height 0.35s; }
            .mobile-sub.open { max-height: 600px; }
            .mobile-sub a { display: block; padding: 0.6rem 1rem; font-size: 0.9rem; color: var(--text-light); text-decoration: none; border-radius: 8px; transition: background 0.2s; }
            .mobile-sub a:hover { background: rgba(99,102,241,0.1); color: var(--primary); }

            .nav-cta { margin-left: 0; width: 100%; text-align: center; justify-content: center; margin-top: 0.5rem; }

            .portfolio-grid { grid-template-columns: 1fr; }
            .portfolio-item { padding: 2rem; }
            .results-grid { gap: 1rem; }
            .result-number { font-size: 1.8rem; }
            .portfolio-info h3 { font-size: 1.3rem; }
        }

        @media (max-width: 640px) {
            .hero h1 { font-size: 2rem; }
            .btn { width: 100%; justify-content: center; }
            .mega-services { width: 95vw; }

            .portfolio-item { padding: 1.5rem; border-radius: 16px; }
            .portfolio-header { gap: 1rem; margin-bottom: 1.5rem; }
            .client-logo { width: 52px; height: 52px; font-size: 1.3rem; border-radius: 12px; }
            .portfolio-info h3 { font-size: 1.2rem; }

            .results-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1.5rem 0; }
            .result-card { padding: 1rem 0.5rem; border-radius: 12px; }
            .result-number { font-size: 1.4rem; margin-bottom: 0.25rem; }
            .result-label { font-size: 0.75rem; }

            .testimonial { padding: 1.2rem; margin-top: 1.5rem; }
            .testimonial-text { font-size: 0.9rem; line-height: 1.7; }
            .author-avatar { width: 40px; height: 40px; font-size: 0.95rem; }
            .author-info h5 { font-size: 0.9rem; }
        }

        @media (max-width: 380px) {
            .results-grid { grid-template-columns: 1fr; gap: 0.6rem; }
            .result-card { padding: 0.9rem; display: flex; align-items: center; justify-content: space-between; border-radius: 10px; }
            .result-number { font-size: 1.5rem; margin-bottom: 0; }
            .result-label { font-size: 0.8rem; }
        }
    
/* ── WhatsApp Floating Button ── */
.wa-float{position:fixed;bottom:28px;right:28px;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.wa-tooltip{background:rgba(10,14,30,0.95);color:#fff;font-size:0.82rem;font-weight:600;padding:7px 14px;border-radius:8px;white-space:nowrap;border:1px solid rgba(255,255,255,0.1);opacity:0;transform:translateX(8px);transition:all 0.25s;pointer-events:none;backdrop-filter:blur(10px);}
.wa-btn{width:58px;height:58px;background:linear-gradient(135deg,#25d366,#128c7e);border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 4px 20px rgba(37,211,102,0.4);transition:all 0.3s;position:relative;}
.wa-btn::before{content:'';position:absolute;inset:-4px;border-radius:50%;background:rgba(37,211,102,0.25);animation:wa-pulse 2s ease-out infinite;}
.wa-btn:hover{transform:scale(1.1);box-shadow:0 8px 32px rgba(37,211,102,0.55);}
.wa-btn:hover+.wa-tooltip,.wa-float:hover .wa-tooltip{opacity:1;transform:translateX(0);}
.wa-btn svg{width:30px;height:30px;fill:#fff;}
@keyframes wa-pulse{0%{transform:scale(1);opacity:0.6;}100%{transform:scale(1.6);opacity:0;}}
@media(max-width:768px){.wa-float{bottom:20px;right:16px;}.wa-btn{width:52px;height:52px;}.wa-tooltip{display:none;}}

/* ── Cookie Consent Banner ── */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:10000;padding:1rem 2rem;background:rgba(10,14,30,0.97);border-top:1px solid rgba(99,102,241,0.3);backdrop-filter:blur(20px);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;transform:translateY(100%);transition:transform 0.4s ease;flex-wrap:wrap;}
.cookie-banner.visible{transform:translateY(0);}
.cookie-text{font-size:0.88rem;color:#94a3b8;line-height:1.5;flex:1;min-width:200px;}
.cookie-text a{color:#6366f1;text-decoration:none;}
.cookie-text a:hover{text-decoration:underline;}
.cookie-btns{display:flex;gap:0.75rem;flex-shrink:0;}
.cookie-accept{padding:0.55rem 1.4rem;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;border:none;border-radius:8px;font-size:0.88rem;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity 0.2s;}
.cookie-accept:hover{opacity:0.9;}
.cookie-decline{padding:0.55rem 1.2rem;background:transparent;color:#64748b;border:1px solid rgba(255,255,255,0.1);border-radius:8px;font-size:0.88rem;font-weight:600;cursor:pointer;font-family:inherit;transition:all 0.2s;}
.cookie-decline:hover{color:#94a3b8;border-color:rgba(255,255,255,0.2);}
@media(max-width:600px){.cookie-banner{flex-direction:column;align-items:flex-start;padding:1.2rem;}.cookie-btns{width:100%;}.cookie-accept,.cookie-decline{flex:1;text-align:center;}}

  /* ── Language Switcher ── */
  .vv-lang-li { position: relative; display: flex; align-items: center; }
  .vv-lang-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 8px; padding: 6px 12px;
    color: #e2e8f0; font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
  }
  .vv-lang-btn:hover { background: rgba(99,102,241,0.22); border-color: rgba(99,102,241,0.55); }
  .vv-lang-flag { font-size: 15px; line-height: 1; }
  .vv-lang-code { letter-spacing: 0.5px; }
  .vv-lang-arrow { transition: transform 0.2s; flex-shrink: 0; color: #94a3b8; }
  .vv-lang-li.open .vv-lang-arrow { transform: rotate(180deg); }
  .vv-lang-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    background: #0f172a; border: 1px solid rgba(99,102,241,0.25);
    border-radius: 12px; padding: 6px; min-width: 155px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5); z-index: 9999;
  }
  .vv-lang-li.open .vv-lang-dropdown { display: block; }
  .vv-lang-option {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: #cbd5e1;
    cursor: pointer; text-decoration: none;
    transition: background 0.15s;
  }
  .vv-lang-option:hover, .vv-lang-option.vv-lang-active { background: rgba(99,102,241,0.18); color: #fff; }
  .vv-lang-option span { font-size: 16px; line-height: 1; }
  @media (max-width: 1024px) {
    .vv-lang-li { width: 100%; margin-top: 0.5rem; }
    .vv-lang-btn { width: 100%; justify-content: center; }
    .vv-lang-dropdown { position: static; box-shadow: none; margin-top: 6px; border-radius: 10px; }
  }


/* ===== RTL (Arabic) adjustments =====
   The Arabic pages share this stylesheet and only set dir="rtl" on <html>,
   so anything pinned with a physical `right` needs mirroring here. */
[dir="rtl"] .wa-float{right:auto;left:28px;align-items:flex-start;}
[dir="rtl"] .wa-tooltip{transform:translateX(-10px);}
[dir="rtl"] .wa-btn:hover+.wa-tooltip,[dir="rtl"] .wa-float:hover .wa-tooltip{transform:translateX(0);}
@media(max-width:768px){[dir="rtl"] .wa-float{right:auto;left:16px;}}
