        :root {
            --primary: #f7931e;
            --bg-dark: #0a0a0a;
            --bg-card: #141414;
            --text-light: #ffffff;
            --text-gray: #b0b0b0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            overflow-x: hidden;
            padding-bottom: 100px;
        }

        /* الدخلة السينمائية */
        #cinematic-intro {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: #000;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 1s ease, visibility 1s ease;
        }

        #cinematic-intro.hide { opacity: 0; visibility: hidden; }

        .intro-logo {
            font-size: 3rem;
            font-weight: 900;
            color: var(--primary);
            text-shadow: 0 0 20px rgba(247, 147, 30, 0.5);
            animation: pulseIntro 2s infinite;
        }

        @keyframes pulseIntro {
            0% { transform: scale(0.8); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 1; }
            100% { transform: scale(0.8); opacity: 0.5; }
        }

        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: rgba(10, 10, 10, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(247, 147, 30, 0.2);
        }

        .nav-logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); }

        .nav-cta {
            padding: 10px 25px;
            background: var(--primary);
            color: #000;
            text-decoration: none;
            font-weight: 700;
            border-radius: 30px;
            transition: transform 0.3s;
        }
        .nav-cta:hover { transform: scale(1.05); }

        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
        }

        .hero-logo {
            width: 140px;
            margin-bottom: 20px;
            filter: drop-shadow(0 10px 20px rgba(247, 147, 30, 0.3));
            animation: fadeInDown 1.5s ease-out;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--primary), #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p { font-size: 1.5rem; color: var(--text-gray); max-width: 800px; margin-bottom: 40px; }

        .section-title { text-align: center; font-size: 3rem; margin-bottom: 60px; color: var(--primary); }
        .container { padding: 100px 50px; max-width: 1200px; margin: 0 auto; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

        .card-3d {
            background: var(--bg-card);
            padding: 40px 30px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
        }

        .card-3d:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(247, 147, 30, 0.15);
            border-color: var(--primary);
        }

        .card-3d h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--primary); }
        .card-3d p { color: var(--text-gray); font-size: 1.1rem; line-height: 1.8; }
        .price-tag { font-size: 2.5rem; color: #fff; margin: 20px 0; font-weight: 900; }

        .btn-3d {
            display: inline-block;
            margin-top: 20px;
            padding: 15px 40px;
            background: var(--primary);
            color: #000;
            text-decoration: none;
            font-weight: 700;
            border-radius: 50px;
            transition: background 0.3s;
        }
        .btn-3d:hover { background: #fff; }

        /* استايل قسم المشاريع والسلايدر */
        .project-card {
            background: var(--bg-card);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(247, 147, 30, 0.15);
            border-color: var(--primary);
        }

        .slider-container { position: relative; width: 100%; height: 220px; overflow: hidden; background: #222; }
        .slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; height: 100%; }
        .slider-wrapper img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }

        .slider-btn {
            position: absolute; top: 50%; transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6); color: #fff; border: none;
            width: 35px; height: 35px; border-radius: 50%; cursor: pointer;
            display: flex; justify-content: center; align-items: center;
            transition: background 0.3s; z-index: 10;
        }
        .slider-btn:hover { background: var(--primary); }
        .slider-btn.prev { left: 10px; }
        .slider-btn.next { right: 10px; }

        .slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
        .dot { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: background 0.3s; }
        .dot.active { background: var(--primary); width: 20px; border-radius: 10px; }

        .project-info { padding: 20px; text-align: center; }
        .project-info h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 10px; }

        /* استايل سكشر الخدمات (السكرول الجانبي) */
        .services-scroll-container {
            background: var(--bg-card); border-radius: 30px; padding: 40px;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .scroll-hint { color: var(--text-gray); text-align: center; margin-bottom: 30px; font-size: 1rem; }
        .scroll-hint i { margin-left: 10px; animation: slideRightLeft 2s infinite; }
        @keyframes slideRightLeft { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }

        .horizontal-scroll {
            display: flex; gap: 25px; overflow-x: auto; padding-bottom: 20px;
            scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg-dark);
        }
        .horizontal-scroll::-webkit-scrollbar { height: 8px; }
        .horizontal-scroll::-webkit-scrollbar-track { background: var(--bg-dark); border-radius: 10px; }
        .horizontal-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

        .service-card {
            flex: 0 0 350px; background: #1a1a1a; border-radius: 20px; padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.05); scroll-snap-align: start;
            display: flex; flex-direction: column; justify-content: space-between;
            transition: transform 0.3s ease, border-color 0.3s ease; position: relative; overflow: hidden;
        }
        .service-card::before {
            content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
            background: linear-gradient(45deg, transparent 50%, rgba(247, 147, 30, 0.1) 50%); border-radius: 0 0 0 100%;
        }
        .service-card:hover { transform: translateY(-5px); border-color: var(--primary); }
        .service-icon {
            width: 60px; height: 60px; background: rgba(247, 147, 30, 0.1); border-radius: 15px;
            display: flex; justify-content: center; align-items: center; font-size: 1.8rem;
            color: var(--primary); margin-bottom: 20px;
        }
        .service-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 15px; }
        .service-card p { color: var(--text-gray); font-size: 1rem; line-height: 1.7; margin-bottom: 25px; flex-grow: 1; }
        .service-card .btn-3d { text-align: center; width: 100%; display: block; }

        /* ========================================= */
        /* استايل معرض الأعمال (الصور والفيديو) */
        /* ========================================= */
        .portfolio-container {
            background: var(--bg-card);
            border-radius: 30px;
            padding: 40px;
            border: 1px solid rgba(255,255,255,0.05);
        }

        .portfolio-scroll {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 40px 10px; /* مساحة عشان التكبير ميقطعش */
            scroll-snap-type: x mandatory;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg-dark);
        }
        .portfolio-scroll::-webkit-scrollbar { height: 8px; }
        .portfolio-scroll::-webkit-scrollbar-track { background: var(--bg-dark); border-radius: 10px; }
        .portfolio-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

        .portfolio-item {
            flex: 0 0 320px; /* عرض الكارت */
            height: 450px; /* طول الكارت */
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            scroll-snap-align: start;
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; /* تأثير مطاطي للتكبير */
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        /* تأثير التكبير عند المرور بالماوس أو الضغط على الموبايل */
        .portfolio-item:hover, .portfolio-item.touched {
            transform: scale(1.15); /* يكبر 15% */
            z-index: 10; /* يظهر فوق باقي الكروت */
            box-shadow: 0 30px 60px rgba(247, 147, 30, 0.3);
        }

        .portfolio-item img, .portfolio-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        /* شريط صغير يوضح إن ده فيديو */
        .video-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(247, 147, 30, 0.9);
            color: #000;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
            z-index: 5;
        }

        /* الـ iPhone Dock */
        .ios-dock {
            position: fixed; bottom: 20px; left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: rgba(20, 20, 20, 0.6);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 30px; padding: 12px 25px;
            display: flex; gap: 20px; z-index: 1001;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .ios-dock.show { transform: translateX(-50%) translateY(0); }

        .dock-item {
            display: flex; flex-direction: column; align-items: center;
            text-decoration: none; color: #888; font-size: 0.7rem;
            transition: all 0.3s ease; cursor: pointer; position: relative;
        }
        .dock-item i { font-size: 1.6rem; margin-bottom: 4px; transition: all 0.3s ease; }
        .dock-item:hover { color: #fff; }
        .dock-item:hover i { transform: translateY(-5px) scale(1.1); }
        .dock-item.active { color: var(--primary); }
        .dock-item.active i { transform: translateY(-5px) scale(1.2); text-shadow: 0 0 15px var(--primary); }
        .dock-item.active::after {
            content: ''; position: absolute; bottom: -8px;
            width: 5px; height: 5px; background: var(--primary); border-radius: 50%;
        }

        footer {
            text-align: center; padding: 50px 20px;
            border-top: 1px solid rgba(255,255,255,0.1); color: var(--text-gray);
        }
        footer a { color: var(--primary); text-decoration: none; }

        .reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
        .reveal.active { opacity: 1; transform: translateY(0); }

        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; }
            .hero-logo { width: 100px; }
            .hero p { font-size: 1.1rem; }
            nav { padding: 15px 10px; }
            .container { padding: 60px 20px; }
            .section-title { font-size: 2rem; }
            .ios-dock { gap: 12px; padding: 10px 15px; }
            .dock-item span { display: none; }
            .dock-item i { font-size: 1.8rem; }
            .service-card { flex: 0 0 300px; }
            .services-scroll-container, .portfolio-container { padding: 20px; }
            .portfolio-item { flex: 0 0 260px; height: 380px; }
        }