/* ══════════════════════════════════════════════════════════════
   site.css — أنماط الصفحة الرئيسية لتحفة بصرية
   ══════════════════════════════════════════════════════════════
   مستخرَج آلياً من index.php (سبتمبر ٢٠٢٦): ٣١ كتلة <style> متفرّقة
   كانت تشكّل ٧٩٪ من الملف (٦٢٤٦ سطراً من ٧٨٩٤).

   لماذا: تغيير لون العلامة كان يعني تعديل ٣٢ موضعاً في ملف واحد،
   وكانت هذه الأسطر تُحمَّل مع كل فتحة صفحة بلا تخزين مؤقت أبداً.

   ⚠️ الترتيب هو ترتيب المستند الأصلي حرفياً — لا تُعِد ترتيب الكتل،
      فالتتالي (cascade) يعتمد عليه.
   ⚠️ الخطُّ ثمانية باستضافةٍ ذاتية — `assets/css/fonts.css` في رأس
      index.php، والعائلةُ من الرمزين `--jf` و`--jf-d` لا بالاسم.
      (كان Tajawal من Google Fonts حتى سبتمبر ٢٠٢٦.) —
      فـ@import داخل ملف خارجي يُحمّل الخط بعد انتهاء هذا الملف
      كاملاً (تسلسلي)، بينما <link> يُحمّلهما بالتوازي.
   ══════════════════════════════════════════════════════════════ */

        :root {
            --primary-orange: var(--vmp-orange);
            --primary-black: var(--vmp-pure-black);
            --primary-gray: #F1F2F2;
            --dark-gray: var(--vmp-dark-3b);
            --medium-gray: var(--vmp-gray-600);
            --light-gray: #f8f8f8;
            --gradient-orange: linear-gradient(135deg, var(--vmp-orange) 0%, var(--vmp-orange-light) 100%);
            --gradient-dark: linear-gradient(135deg, var(--vmp-pure-black) 0%, #2a2a2a 100%);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
            background: var(--vmp-pure-black);
            color: var(--vmp-white);
            overflow-x: hidden;
            line-height: 1.8;
        }
     
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 50px;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            transition: all 0.3s;
        }
        
        nav.hidden-nav {
    transform: translateY(-100%);
    opacity: 0;
}

        nav.scrolled {
            padding: 15px 50px;
            background: rgba(0, 0, 0, 0.98);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        }

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

        .logo {
            height: 40px;
            transition: transform 0.3s;
        }

        .logo img {
            height: 100%;
            width: auto;
        }

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

        .nav-menu {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        .nav-link {
            color: var(--vmp-white);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: color 0.3s;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--primary-orange);
            transition: width 0.3s;
        }

        .nav-link:hover {
            color: var(--primary-orange);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: linear-gradient(135deg, var(--vmp-pure-black) 0%, var(--vmp-dark-3b) 100%);
        }

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

        .hero-bg video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-pattern {
            position: absolute;
            width: 200%;
            height: 200%;
            top: -50%;
            left: -50%;
            background-image: repeating-linear-gradient(
                40deg,
                transparent,
                transparent 10px,
                rgba(255, 78, 0, 0.03) 10px,
                rgba(255, 78, 0, 0.03) 20px
            );
            animation: movePattern 20s linear infinite;
        }

        @keyframes movePattern {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0 20px;
            animation: fadeInUp 1s 3.5s both;
        }

        .hero-title {
            font-family: var(--jf-d, 'Thmanyah Serif Display', 'Thmanyah Sans', Georgia, serif);
            font-size: clamp(2.5rem, 8vw, 5rem);
            /* 🔑 **٧٠٠ لا ٩٠٠ — قياسٌ لا ذوق.** ثمانية Serif Display في
                  العربية **كوفيٌّ هندسيّ** لا سيريفٌ لاتينيّ، وفي الأسود
                  تتلامس أطرافُ الحروف فيُقرأ العنوانُ كتلةً. قُيست
                  الأوزانُ الخمسةُ بلقطةٍ جنباً إلى جنب واختار سعود ٧٠٠. */
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--vmp-white) 0%, var(--vmp-gray-200) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: heroGlow 2s ease-in-out infinite alternate;
        }

        @keyframes heroGlow {
            from { filter: drop-shadow(0 0 20px rgba(255, 78, 0, 0.5)); }
            to { filter: drop-shadow(0 0 30px rgba(255, 78, 0, 0.8)); }
        }

        .hero-subtitle {
            font-size: clamp(1rem, 3vw, 1.5rem);
            color: var(--vmp-gray-200);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .cta-button {
            display: inline-block;
            padding: 18px 50px;
            background: var(--gradient-orange);
            color: var(--vmp-white);
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            border-radius: 50px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
            box-shadow: 0 10px 30px rgba(255, 78, 0, 0.3);
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 78, 0, 0.5);
        }

        .cta-button:hover::before {
            width: 300px;
            height: 300px;
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        .scroll-indicator::before {
            content: '';
            display: block;
            width: 30px;
            height: 50px;
            border: 2px solid var(--primary-orange);
            border-radius: 25px;
            position: relative;
        }

        .scroll-indicator::after {
            content: '';
            display: block;
            width: 6px;
            height: 10px;
            background: var(--primary-orange);
            border-radius: 3px;
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            animation: scrollWheel 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        @keyframes scrollWheel {
            0% { opacity: 1; top: 10px; }
            100% { opacity: 0; top: 25px; }
        }

        /* Sections */
        section {
            padding: 100px 50px;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        /* White Background Sections */
        .about,
        .services,
        .achievements,
        .clients {
            background: var(--vmp-white) !important;
            color: var(--vmp-gray-800) !important;
        }

        .about *,
        .services *,
        .achievements *,
        .clients * {
            color: var(--vmp-gray-800);
                FONT-SIZE: 1REM;

        }

        .about .section-title,
        .services .section-title,
        .achievements .section-title,
        .clients .section-title {
            color: var(--vmp-gray-800);
        }

        .about .about-text,
        .services .service-desc,
        .achievements .achievement-text,
        .clients .clients-intro {
            color: var(--vmp-gray-600) !important;
        }

        .section-title {
            font-family: var(--jf-d, 'Thmanyah Serif Display', 'Thmanyah Sans', Georgia, serif);
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--gradient-orange);
            border-radius: 2px;
        }

        /* About Section - Text Only with Visual Effects */
        .about {
            position: relative;
            overflow: hidden;
            background: var(--vmp-white) !important;
        }

        .about::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255, 78, 0, 0.05) 0%, transparent 70%);
            animation: floatBubble 20s infinite ease-in-out;
        }

        .about::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 78, 0, 0.03) 0%, transparent 70%);
            animation: floatBubble 15s infinite ease-in-out reverse;
        }

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

        .about-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .about-text {
            font-size: 1.4rem;
            line-height: 2.2;
            color: var(--vmp-gray-600) !important;
            position: relative;
            padding: 10px;
            background: linear-gradient(135deg, rgba(255, 78, 0, 0.02) 0%, transparent 100%);
            border-radius: 20px;
            border-right: 4px solid var(--primary-orange);
        }

        .about-text::before {
            content: '"';
            position: absolute;
            top: -20px;
            right: 20px;
            font-size: 120px;
            color: rgba(255, 78, 0, 0.1);
            font-family: var(--jf-d, 'Thmanyah Serif Display', 'Thmanyah Sans', Georgia, serif);
        }

        /* Process Section */
.process {
    background: var(--vmp-pure-black);
}

.process-timeline {
    position: relative;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-orange), transparent);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    gap: 40px;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 0 0 calc(50% - 60px);
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 78, 0, 0.05) 0%, transparent 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 78, 0, 0.2);
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.5);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-orange);
}

.step-desc {
    color: var(--vmp-gray-200);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile styles for Process */
@media (max-width: 768px) {
    .process-timeline {
        padding: 20px 0;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: column !important;
        margin-bottom: 30px;
        padding-left: 50px;
        gap: 0;
    }
    
    .step-content {
        flex: 1;
        width: 100%;
        padding: 20px;
        margin-top: 20px;
    }
    
    .step-number {
        left: 30px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-desc {
        font-size: 0.9rem;
    }
}

        /* Services Section */
    /* Services Section - تصميم محسّن للجوال */
.services {
    background: var(--vmp-white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--vmp-white);
    padding: 25px 20px;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 78, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.service-icon {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 78, 0, 0.05);
    border-radius: 15px;
    transition: all 0.4s;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    transition: all 0.4s;
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--vmp-gray-800);
    font-weight: 700;
    transition: color 0.3s;
}

.service-desc {
    color: var(--vmp-gray-600);
    line-height: 1.6;
    font-size: 0.85rem;
}

/* Mobile: 4 columns */
/* Mobile: 4 columns للخدمات */
@media (max-width: 768px) {
    .services {
        padding: 50px 10px !important;
    }
    
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 5px !important;
    }
    
    .service-card {
        padding: 8px 3px !important;
        border-radius: 8px;
    }
    
    .service-icon-wrapper {
        width: 30px !important;
        height: 30px !important;
        margin: 0 auto 8px !important;
    }
    
    .service-icon {
        border-radius: 8px !important;
    }
    
    .service-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .service-title {
        font-size: 0.55rem !important;
        margin-bottom: 0 !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
    }
    
    .service-desc {
        display: none !important;
    }
    
    .service-hover-effect,
    .service-icon-bg {
        display: none !important;
    }
}


@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s;
        }

        .fade-in-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--vmp-dark-3b);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-orange);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--vmp-orange-alt);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            nav {
                padding: 15px 20px;
            }

            .nav-menu {
                display: none;
            }

            section {
                padding: 60px 20px;
            }

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

    /* Portfolio Section */
    .portfolio {
        background: var(--dark-gray);
        position: relative;
    }

    .portfolio-intro {
        text-align: center;
        max-width: 700px;
        margin: 0 auto 60px;
        color: var(--vmp-gray-300);
        font-size: 1.2rem;
    }

    /* Portfolio Filters - تصميم جديد */
/* Portfolio Filters - تصميم فاخر ومبهر */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.9) 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 78, 0, 0.1);
}

.portfolio-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 78, 0, 0.2), transparent);
    animation: shimmerFilter 3s infinite;
}

@keyframes shimmerFilter {
    0% { left: -100%; }
    100% { left: 100%; }
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 78, 0, 0.2);
    color: var(--vmp-white);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-orange);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.filter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-orange);
    color: var(--vmp-white);
    box-shadow: 
        0 10px 30px rgba(255, 78, 0, 0.4),
        inset 0 0 20px rgba(255, 78, 0, 0.1);
}

.filter-btn:hover::before {
    width: 100%;
    height: 100%;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn.active {
    background: var(--gradient-orange);
    border-color: transparent;
    color: var(--vmp-white) !important;
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 78, 0, 0.5),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.filter-btn.active span {
    color: var(--vmp-white) !important;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 15px 40px rgba(255, 78, 0, 0.5); }
    50% { box-shadow: 0 20px 50px rgba(255, 78, 0, 0.7); }
}

/* زر المزيد */
/* زر المزيد محسن */
.load-more-wrapper {
    text-align: center;
    margin-top: 50px;
    position: relative;
}

.load-more-btn {
    padding: 18px 60px;
    background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, rgba(255, 78, 0, 0.05) 100%);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.2);
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-orange);
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
}

.load-more-btn::after {
    content: '↓';
    font-size: 1.3rem;
    transition: transform 0.4s;
    position: relative;
    z-index: 1;
}

.load-more-btn span {
    position: relative;
    z-index: 1;
}

.load-more-btn:hover {
    color: var(--vmp-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 78, 0, 0.5);
    border-color: var(--primary-orange);
}

.load-more-btn:hover::before {
    left: 0;
}

.load-more-btn:hover::after {
    transform: translateY(3px);
}

.load-more-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* عند تفعيل "عرض أقل" */
.load-more-btn.show-less::after {
    content: '↑';
}

/* للموبايل */
@media (max-width: 768px) {
    .load-more-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

/* Mobile filters */
@media (max-width: 768px) {
    .portfolio-filters {
        gap: 5px;
        padding: 15px 10px;
        border-radius: 15px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
    }
}


    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }

    .portfolio-item {
        position: relative;
        background: var(--vmp-pure-black);
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s;
        height: 400px;
    }

    .portfolio-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.7;
    }

    .portfolio-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
        opacity: 0.7;
        transition: opacity 0.3s;
        z-index: 1;
    }

    .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(255, 78, 0, 0.3);
    }

    .portfolio-item:hover::before {
        opacity: 0.9;
    }

    .portfolio-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
        transform: translateY(50px);
        transition: transform 0.3s;
        z-index: 2;
    }

    .portfolio-item:hover .portfolio-content {
        transform: translateY(0);
    }

    .portfolio-category {
        display: none!important;
        padding: 5px 15px;
        background: var(--primary-orange);
        color: var(--vmp-white);
        border-radius: 20px;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .portfolio-title {
        font-size: 1.5rem;
        color: var(--vmp-white);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .portfolio-desc {
        color: var(--vmp-gray-300);
        line-height: 1.6;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .portfolio-item:hover .portfolio-desc {
        opacity: 1;
    }

    .portfolio-play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background: rgba(255, 78, 0, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        opacity: 0;
        z-index: 3;
    }

    .portfolio-play::before {
        content: '▶';
        color: var(--vmp-white);
        font-size: 24px;
        margin-left: 5px;
    }

    .portfolio-item:hover .portfolio-play {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    /* Team Section */
    .team {
        background: var(--vmp-pure-black);
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 40px 0;
    }

    .team-member {
        text-align: center;
        transition: all 0.3s;
    }

    .member-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 15px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, rgba(255, 78, 0, 0.05) 100%);
        border: 3px solid transparent;
        background-clip: padding-box;
        position: relative;
        transition: all 0.3s;
        overflow: hidden;
    }

    .member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .member-image::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(135deg, var(--primary-orange), transparent);
        -webkit-mask: linear-gradient(var(--vmp-white) 0 0) content-box, linear-gradient(var(--vmp-white) 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .team-member:hover .member-image::before {
        opacity: 1;
    }

    .team-member:hover .member-image {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(255, 78, 0, 0.2);
    }

    .member-name {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--vmp-white);
        margin-bottom: 5px;
    }

    .member-role {
        color: var(--primary-orange);
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .member-desc {
        color: var(--vmp-gray-400);
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 220px;
        margin: 0 auto;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .team-member:hover .member-desc {
        opacity: 1;
    }

    /* Brands Section */
    .brands {
        background: var(--dark-gray);
        text-align: center;
    }

    .brands-container {
        display: flex;
        justify-content: center;
        gap: 60px;
        flex-wrap: wrap;
    }

    .brand-card {
        background: var(--vmp-pure-black);
        padding: 40px 60px;
        border-radius: 20px;
        border: 2px solid rgba(255, 78, 0, 0.2);
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
    }

    .brand-card img {
        max-height: 80px;
        width: auto;
        object-fit: contain;
        margin-bottom: 20px;
    }

    .brand-card::before {
        content: '';
        position: absolute;
        top: -100%;
        left: -100%;
        width: 300%;
        height: 300%;
        background: radial-gradient(circle, rgba(255, 78, 0, 0.1) 0%, transparent 40%);
        transition: all 0.5s;
    }

    .brand-card:hover::before {
        top: -150%;
        left: -150%;
    }

    .brand-card:hover {
        transform: scale(1.05);
        border-color: var(--primary-orange);
        box-shadow: 0 20px 40px rgba(255, 78, 0, 0.3);
    }

    .brand-name {
        font-size: 2rem;
        font-weight: 900;
        color: var(--primary-orange);
        margin-bottom: 15px;
    }

    .brand-desc {
        color: var(--vmp-gray-200);
        line-height: 1.8;
        max-width: 300px;
    }

    .brand-website {
        color: var(--primary-orange);
        text-decoration: none;
        font-size: 0.9rem;
        margin-top: 10px;
        display: inline-block;
        transition: all 0.3s;
    }

    .brand-website:hover {
        transform: translateY(-2px);
    }

    /* Original Content Section */
    .original-content {
        background: linear-gradient(135deg, var(--vmp-darkest) 0%, var(--vmp-pure-black) 100%);
        position: relative;
        overflow: hidden;
    }

    .original-content::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255, 78, 0, 0.02) 100px,
            rgba(255, 78, 0, 0.02) 200px
        );
        animation: slidePattern 10s linear infinite;
    }

    @keyframes slidePattern {
        0% { transform: translateX(0); }
        100% { transform: translateX(200px); }
    }

    .original-intro {
        text-align: center;
        max-width: 900px;
        margin: 0 auto 80px;
        position: relative;
        z-index: 1;
    }

    .original-intro p {
        color: var(--vmp-gray-300);
        font-size: 1.3rem;
        line-height: 2;
        margin-bottom: 30px;
    }

.original-programs {
    display: flex !important;
    gap: 20px;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

.program-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    scroll-snap-align: start;
    background: rgba(255, 78, 0, 0.03);
    border: 1px solid rgba(255, 78, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

/* للموبايل */
@media (max-width: 768px) {
    .program-card {
        flex: 0 0 250px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .program-card {
        flex: 0 0 220px;
        padding: 25px 15px;
    }
}

    .program-card {
        background: rgba(255, 78, 0, 0.03);
        border: 1px solid rgba(255, 78, 0, 0.2);
        border-radius: 20px;
        padding: 40px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s;
    }

    .program-card::before {
        content: '';
        position: absolute;
        top: -100%;
        left: -100%;
        width: 300%;
        height: 300%;
        background: radial-gradient(circle, rgba(255, 78, 0, 0.1) 0%, transparent 40%);
        transition: all 0.5s;
        opacity: 0;
    }

    .program-card:hover::before {
        opacity: 1;
    }

    .program-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 78, 0, 0.08);
        border-color: var(--primary-orange);
        box-shadow: 0 20px 40px rgba(255, 78, 0, 0.2);
    }

    .program-placeholder {
        width: 100%;
        height: 200px;
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, rgba(255, 78, 0, 0.05) 100%);
        border-radius: 15px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 60px;
        color: rgba(255, 78, 0, 0.3);
        position: relative;
        overflow: hidden;
    }

    .program-placeholder::after {
        content: 'قريباً';
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: var(--primary-orange);
        color: var(--vmp-white);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 700;
    }

    .program-title {
        font-size: 1.8rem;
        color: var(--primary-orange);
        margin-bottom: 15px;
        font-weight: 700;
    }

    .program-desc {
        color: var(--vmp-gray-200);
        line-height: 1.8;
        font-size: 1.1rem;
    }

    /* Creative Spaces Section */
    .creative-spaces {
        background: var(--dark-gray);
        position: relative;
    }

    .spaces-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px;
        color: var(--vmp-gray-300);
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .spaces-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        position: relative;
    }

    .space-item {
        position: relative;
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.3s;
        cursor: pointer;
    }

    .space-item:nth-child(5) {
        grid-column: span 2;
    }

    .space-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .space-item:hover {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(255, 78, 0, 0.3);
        z-index: 10;
    }

    .space-item:hover img {
        transform: scale(1.1);
    }

    .space-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
        transform: translateY(100%);
        transition: transform 0.3s;
    }

    .space-item:hover .space-overlay {
        transform: translateY(0);
    }

    .space-title {
        color: var(--vmp-white);
        font-size: 1.2rem;
        font-weight: 700;
    }

  /* Mobile Brands Section */
@media (max-width: 768px) {
    .brands {
        padding: 60px 20px;
    }
    
    .brands-container {
        flex-direction: row;
        gap: 20px;
    }
    
    .brand-card {
        padding: 25px 30px;
        flex: 1;
        min-width: 0;
    }
    
    .brand-card img {
        max-height: 50px;
        margin-bottom: 15px;
    }
    
    .brand-name {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .brand-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .brand-website {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .brands-container {
        gap: 15px;
    }
    
    .brand-card {
        padding: 20px;
    }
}



    /* Community Services Section - Enhanced Design */
    .community {
        background: linear-gradient(135deg, var(--vmp-pure-black) 0%, var(--vmp-darkest) 100%);
        position: relative;
        overflow: hidden;
    }

    .community::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 20% 50%, rgba(255, 78, 0, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 50%, rgba(255, 78, 0, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 50% 100%, rgba(255, 78, 0, 0.05) 0%, transparent 50%);
        animation: communityGlow 15s ease-in-out infinite;
    }

    @keyframes communityGlow {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }

    .community-container {
        position: relative;
        z-index: 1;
    }

    .community-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 80px;
        color: var(--vmp-gray-300);
        font-size: 1.3rem;
        line-height: 2;
    }

.community-grid {
    display: flex !important;
    gap: 20px;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 60px;
}

.community-card {
    flex: 0 0 300px !important;
    min-width: 300px !important;
    scroll-snap-align: start;
    background: rgba(255, 78, 0, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 78, 0, 0.15);
    border-radius: 30px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

    .community-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        transform: scaleX(0);
        transition: transform 0.4s;
    }

    .community-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 78, 0, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s;
    }

    .community-card:hover {
        transform: translateY(-15px) scale(1.02);
        background: rgba(255, 78, 0, 0.08);
        border-color: var(--primary-orange);
        box-shadow: 
            0 30px 60px rgba(255, 78, 0, 0.3),
            inset 0 0 30px rgba(255, 78, 0, 0.05);
    }

    .community-card:hover::before {
        transform: scaleX(1);
    }

    .community-card:hover::after {
        opacity: 1;
    }

    .community-icon-wrapper {
        width: 100px;
        height: 100px;
        margin: 0 auto 30px;
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, rgba(255, 78, 0, 0.05) 100%);
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: all 0.4s;
    }

    .community-card:hover .community-icon-wrapper {
        background: var(--gradient-orange);
        transform: rotate(5deg) scale(1.1);
        box-shadow: 0 10px 30px rgba(255, 78, 0, 0.4);
    }

    .community-icon {
        font-size: 3rem;
        color: var(--primary-orange);
        transition: all 0.4s;
        position: relative;
        z-index: 1;
    }

    .community-card:hover .community-icon {
        color: var(--vmp-white);
        transform: scale(1.2);
    }

    .community-image {
        width: 100%;
        height: 200px;
        border-radius: 20px;
        overflow: hidden;
        margin-bottom: 30px;
    }

    .community-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

    .community-card:hover .community-image img {
        transform: scale(1.1);
    }

    .community-title {
        font-size: 1.6rem;
        color: var(--vmp-white);
        margin-bottom: 20px;
        font-weight: 700;
        position: relative;
        z-index: 1;
    }

    .community-desc {
        color: var(--vmp-gray-300);
        line-height: 1.8;
        font-size: 1.05rem;
        position: relative;
        z-index: 1;
        transition: color 0.3s;
    }

    .community-card:hover .community-desc {
        color: var(--vmp-gray-200);
    }

    .community-stats {
        display: flex;
        justify-content: space-around;
        margin-top: 60px;
        padding: 40px;
        background: rgba(255, 78, 0, 0.05);
        border-radius: 30px;
        border: 1px solid rgba(255, 78, 0, 0.1);
    }

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

    .stat-number {
        font-size: 3rem;
        font-weight: 900;
        background: var(--gradient-orange);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 10px;
    }

    .stat-label {
        color: var(--vmp-gray-300);
        font-size: 1.1rem;
    }

    /* Achievements Section */
    .achievements {
        background: var(--vmp-white);
    }

    .achievements-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .achievement-item {
        padding: 25px;
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.05) 0%, transparent 100%);
        border-right: 3px solid var(--primary-orange);
        border-radius: 10px;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
    }

    .achievement-item::before {
        content: '✓';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 40px;
        color: rgba(255, 78, 0, 0.2);
        transition: all 0.3s;
    }

    .achievement-item:hover {
        transform: translateX(-10px);
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, transparent 100%);
    }

    .achievement-item:hover::before {
        color: rgba(255, 78, 0, 0.4);
        font-size: 50px;
    }

    .achievement-text {
        color: var(--vmp-gray-600) !important;
        font-size: 1.1rem;
        line-height: 1.6;
    }

   /* Clients Section - تصميم عصري بـ Flexbox */
.clients {
    background: var(--vmp-white);
    padding: 80px 20px;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.clients-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vmp-white);
    border: 2px solid rgba(255, 78, 0, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

/* تحديد أحجام مختلفة للشعارات */
.client-item:nth-child(1) {
    flex: 0 0 100%;
    height: 150px;
    padding: 40px;
}

.client-item:nth-child(2),
.client-item:nth-child(3),
.client-item:nth-child(4) {
    flex: 0 0 calc(33.333% - 14px);
    height: 130px;
}

.client-item:nth-child(5),
.client-item:nth-child(6) {
    flex: 0 0 calc(50% - 10px);
    height: 130px;
}

.client-item:nth-child(7),
.client-item:nth-child(8),
.client-item:nth-child(9) {
    flex: 0 0 calc(33.333% - 14px);
    height: 120px;
}

.client-item:nth-child(10),
.client-item:nth-child(11),
.client-item:nth-child(12),
.client-item:nth-child(13) {
    flex: 0 0 calc(25% - 15px);
    height: 120px;
}

.client-item:nth-child(14),
.client-item:nth-child(15),
.client-item:nth-child(16) {
    flex: 0 0 calc(33.333% - 14px);
    height: 120px;
}

.client-item:nth-child(n+17) {
    flex: 0 0 calc(25% - 15px);
    height: 110px;
}

/* تأثير hover فاخر */
.client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 78, 0, 0.1), 
        transparent);
    transition: left 0.5s;
}

.client-item:hover::before {
    left: 100%;
}

.client-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-orange);
    box-shadow: 
        0 20px 40px rgba(255, 78, 0, 0.15),
        inset 0 0 0 1px rgba(255, 78, 0, 0.1);
}

/* الشعارات */
.client-item img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s;
}

.client-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* شعار أول (الأكبر) */
.client-item:nth-child(1) img {
    max-width: 200px;
    max-height: 100px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .clients {
        padding: 50px 15px;
    }
    
    .clients-grid {
        gap: 10px;
    }
    
    /* توزيع مختلف للموبايل */
    .client-item {
        min-height: 80px;
        padding: 15px;
    }
    
    .client-item:nth-child(1) {
        flex: 0 0 100%;
        height: 100px;
        padding: 20px;
    }
    
    .client-item:nth-child(2),
    .client-item:nth-child(3) {
        flex: 0 0 calc(50% - 5px);
        height: 80px;
    }
    
    .client-item:nth-child(4),
    .client-item:nth-child(5),
    .client-item:nth-child(6) {
        flex: 0 0 calc(33.333% - 7px);
        height: 80px;
    }
    
    .client-item:nth-child(n+7):nth-child(-n+9) {
        flex: 0 0 calc(33.333% - 7px);
        height: 80px;
    }
    
    .client-item:nth-child(n+10) {
        flex: 0 0 calc(33.333% - 7px);
        height: 80px;
    }
    
    .client-item img {
        max-width: 90%;
        max-height: 90%;
    }
    
    .client-item:nth-child(1) img {
        max-width: 150px;
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    .client-item {
        min-height: 70px;
        padding: 10px;
        border-radius: 12px;
    }
    
    .client-item:nth-child(1) {
        height: 90px;
    }
    
    .client-item:nth-child(n+2):nth-child(-n+6) {
        /*flex: 0 0 calc(50% - 5px);*/
        height: 70px;
    }
    
    .client-item:nth-child(n+7) {
        flex: 0 0 calc(33.333% - 7px);
        height: 70px;
    }
}

/* إضافة رقم للعملاء الرئيسيين */
.client-item:nth-child(1)::after,
.client-item:nth-child(2)::after,
.client-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--vmp-white);
    opacity: 0;
    transition: opacity 0.3s;
}

.client-item:nth-child(1)::after { content: '1'; }
.client-item:nth-child(2)::after { content: '2'; }
.client-item:nth-child(3)::after { content: '3'; }

.client-item:nth-child(1):hover::after,
.client-item:nth-child(2):hover::after,
.client-item:nth-child(3):hover::after {
    opacity: 1;
}

/* Animation للظهور */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-item {
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

.client-item:nth-child(1) { animation-delay: 0.1s; }
.client-item:nth-child(2) { animation-delay: 0.15s; }
.client-item:nth-child(3) { animation-delay: 0.2s; }
.client-item:nth-child(4) { animation-delay: 0.25s; }
.client-item:nth-child(5) { animation-delay: 0.3s; }
.client-item:nth-child(6) { animation-delay: 0.35s; }
.client-item:nth-child(7) { animation-delay: 0.4s; }
.client-item:nth-child(8) { animation-delay: 0.45s; }
.client-item:nth-child(9) { animation-delay: 0.5s; }
.client-item:nth-child(n+10) { animation-delay: 0.55s; }

    /* Vision, Mission, Values - Moved to end */
    .vmv {
        background: linear-gradient(135deg, var(--vmp-pure-black) 0%, var(--vmp-darkest) 100%);
        position: relative;
        overflow: hidden;
    }

/* تصغير قسم VMV للموبايل */
@media (max-width: 768px) {
    .vmv {
        padding: 50px 15px !important;
    }
    
    .vmv-intro {
        font-size: 0.95rem !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }
    
    .vmv-main {
        gap: 25px !important;
        margin-bottom: 40px !important;
    }
    
    .vmv-block {
        padding-left: 60px !important;
        min-height: auto !important;
    }
    
    .vmv-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
        border-radius: 12px !important;
    }
    
    .vmv-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .vmv-content p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

    .vmv::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: repeating-linear-gradient(
            40deg,
            transparent,
            transparent 20px,
            rgba(255, 78, 0, 0.02) 20px,
            rgba(255, 78, 0, 0.02) 40px
        );
        pointer-events: none;
    }

    .vmv-container {
        position: relative;
        z-index: 1;
    }

    .vmv-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 80px;
        color: var(--vmp-gray-300);
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .vmv-main {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 60px;
        margin-bottom: 80px;
    }

    .vmv-block {
        position: relative;
        padding-left: 100px;
        min-height: 120px;
    }

    .vmv-icon {
        position: absolute;
        left: 0;
        top: 0;
        width: 70px;
        height: 70px;
        background: var(--gradient-orange);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        color: var(--vmp-white);
        box-shadow: 0 10px 30px rgba(255, 78, 0, 0.3);
    }

    .vmv-content h3 {
        font-size: 2rem;
        color: var(--vmp-white);
        margin-bottom: 15px;
        font-weight: 700;
    }

    .vmv-content p {
        color: var(--vmp-gray-250);
        line-height: 1.8;
        font-size: 1.1rem;
    }

    .values-section {
        background: rgba(255, 78, 0, 0.05);
        border-radius: 30px;
        padding: 60px;
        border: 1px solid rgba(255, 78, 0, 0.1);
    }
/* تصغير قسم القيم للموبايل */
@media (max-width: 768px) {
    .values-section {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    
    .values-title {
        font-size: 1.4rem !important;
        margin-bottom: 25px !important;
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .value-card {
        padding: 15px 8px !important;
        border-radius: 10px !important;
    }
    
    .value-number {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    
    .value-card h4 {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    
    .value-card p {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
    .values-title {
        font-size: 2.5rem;
        color: var(--primary-orange);
        margin-bottom: 40px;
        text-align: center;
    }

    .values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .value-card {
        background: rgba(0, 0, 0, 0.5);
        padding: 25px;
        border-radius: 15px;
        border: 1px solid rgba(255, 78, 0, 0.2);
        transition: all 0.3s;
        text-align: center;
    }

    .value-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-orange);
        box-shadow: 0 10px 30px rgba(255, 78, 0, 0.2);
    }

    .value-number {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: var(--gradient-orange);
        border-radius: 50%;
        line-height: 40px;
        text-align: center;
        color: var(--vmp-white);
        font-weight: 700;
        margin-bottom: 15px;
    }

    .value-card h4 {
        color: var(--vmp-white);
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .value-card p {
        color: var(--vmp-gray-400);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Why Us Section - Moved to end */
    .why-us {
        background: var(--dark-gray);
    }


    
/* تصغير قسم لماذا نحن للموبايل */
@media (max-width: 768px) {
    .why-us {
        padding: 50px 15px !important;
    }
    
    .why-us .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 30px !important;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .feature-card {
        padding: 20px 12px !important;
        border-radius: 12px !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }
    
    .feature-icon svg {
        width: 25px !important;
        height: 25px !important;
    }
    
    .feature-title {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    .feature-desc {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .features-grid {
        gap: 8px !important;
    }
    
    .feature-card {
        padding: 15px 10px !important;
    }
}
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .feature-card {
        text-align: center;
        padding: 30px;
        background: rgba(255, 78, 0, 0.05);
        border-radius: 15px;
        transition: all 0.3s;
        position: relative;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, rgba(255, 78, 0, 0.05) 100%);
        border: 2px solid rgba(255, 78, 0, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        position: relative;
    }

    .feature-icon svg {
        width: 40px;
        height: 40px;
        stroke: var(--primary-orange);
        fill: none;
        stroke-width: 2;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 78, 0, 0.1);
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.1);
        background: linear-gradient(135deg, rgba(255, 78, 0, 0.2) 0%, rgba(255, 78, 0, 0.1) 100%);
        border-color: var(--primary-orange);
    }

    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--vmp-white);
    }

    .feature-desc {
        color: var(--vmp-gray-300);
        line-height: 1.6;
    }

    /* CTA Section */
    .cta-section {
        background: var(--gradient-orange);
        padding: 120px 50px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        );
        animation: movePattern 10s linear infinite reverse;
    }

    .cta-content {
        position: relative;
        z-index: 1;
    }

    .cta-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 30px;
        color: var(--vmp-white);
    }

    .cta-button-white {
        display: inline-block;
        padding: 18px 50px;
        background: var(--vmp-white);
        color: var(--primary-orange);
        text-decoration: none;
        font-weight: 700;
        font-size: 1.2rem;
        border-radius: 50px;
        transition: all 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .cta-button-white:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    /* Footer */
    footer {
        background: var(--vmp-pure-black);
        padding: 60px 50px 30px;
        text-align: center;
        border-top: 1px solid rgba(255, 78, 0, 0.2);
    }

    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
    }

    .footer-logo {
        height: 60px;
        margin-bottom: 30px;
    }

    .footer-logo img {
        height: 100%;
        width: auto;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .footer-link {
        color: var(--vmp-gray-300);
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-link:hover {
        color: var(--primary-orange);
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: -30px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        background: rgba(255, 78, 0, 0.1);
        border: 1px solid rgba(255, 78, 0, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-orange);
        text-decoration: none;
        transition: all 0.3s;
    }

    .social-link:hover {
        background: var(--primary-orange);
        color: var(--vmp-white);
        transform: translateY(-5px);
    }

    .copyright {
        color: var(--vmp-gray-600);
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    @media (max-width: 768px) {
        .community-grid {
            grid-template-columns: 1fr;
        }

        .vmv-main {
            grid-template-columns: 1fr;
        }

        .clients-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }


/* تحديث تصميم القيم للجوال */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .value-card {
        padding: 20px 15px;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* إضافات لدعم الصور الفوتوغرافية في Portfolio */
.portfolio-item.photo-item .portfolio-play {
    display: none !important;
}

.portfolio-item.photo-item .portfolio-thumbnail {
    cursor: zoom-in;
}

.portfolio-item.photo-item:hover .portfolio-thumbnail {
    transform: scale(1.05);
}

/* تحسين عرض الصور */
.portfolio-photo-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 78, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: all 0.3s;
}

.portfolio-item.photo-item:hover .portfolio-photo-icon {
    opacity: 1;
}

.portfolio-photo-icon::before {
    content: '📷';
    color: var(--vmp-white);
    font-size: 20px;
}

/* Modal للصور */
.photo-modal {
    display: none;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: zoom-out;
}

.photo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.photo-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.photo-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--vmp-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.photo-modal-close:hover {
    color: var(--primary-orange);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* تحسين للأجهزة المحمولة */
@media (max-width: 768px) {
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}


/* ===== Particle Loader — Premium ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--vmp-pure-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s;
}
.loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,78,0,0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255,78,0,0.03) 0%, transparent 50%);
    animation: bgShift 4s ease-in-out infinite alternate;
}
@keyframes bgShift {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 70px;
}

/* === Particles === */
.particles-field {
    position: absolute;
    width: 220px;
    height: 220px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    top: 50%;
    left: 50%;
}

/* جزيئات كبيرة — توهج */
.p1 { width: 7px; height: 7px; background: var(--vmp-orange); box-shadow: 0 0 12px rgba(255,78,0,0.6); animation: orbit1 3s ease-in-out infinite; }
.p2 { width: 7px; height: 7px; background: var(--vmp-orange); box-shadow: 0 0 12px rgba(255,78,0,0.6); animation: orbit2 3s 0.25s ease-in-out infinite; }
.p3 { width: 7px; height: 7px; background: var(--vmp-orange); box-shadow: 0 0 12px rgba(255,78,0,0.6); animation: orbit3 3s 0.5s ease-in-out infinite; }
.p4 { width: 7px; height: 7px; background: var(--vmp-orange); box-shadow: 0 0 12px rgba(255,78,0,0.6); animation: orbit4 3s 0.75s ease-in-out infinite; }

/* جزيئات متوسطة */
.p5 { width: 5px; height: 5px; background: var(--vmp-orange-light); box-shadow: 0 0 8px rgba(255,119,0,0.4); animation: orbit5 3s 0.5s ease-in-out infinite; }
.p6 { width: 5px; height: 5px; background: var(--vmp-orange-light); box-shadow: 0 0 8px rgba(255,119,0,0.4); animation: orbit6 3s 0.9s ease-in-out infinite; }

/* جزيئات صغيرة — خافتة */
.p7 { width: 3px; height: 3px; background: rgba(255,78,0,0.4); animation: orbit7 3.5s 0.3s ease-in-out infinite; }
.p8 { width: 3px; height: 3px; background: rgba(255,78,0,0.4); animation: orbit8 3.5s 0.7s ease-in-out infinite; }

/* مسارات بيضاوية متنوعة */
@keyframes orbit1 {
    0%, 100% { transform: translate(-80px, -10px) scale(0.4); opacity: 0.15; }
    25% { transform: translate(-20px, -70px) scale(1); opacity: 1; }
    50% { transform: translate(70px, -15px) scale(1.3); opacity: 0.9; }
    75% { transform: translate(10px, 55px) scale(0.7); opacity: 0.4; }
}
@keyframes orbit2 {
    0%, 100% { transform: translate(75px, 15px) scale(0.4); opacity: 0.15; }
    25% { transform: translate(25px, -60px) scale(1.2); opacity: 0.9; }
    50% { transform: translate(-65px, -20px) scale(1); opacity: 1; }
    75% { transform: translate(-15px, 60px) scale(0.5); opacity: 0.3; }
}
@keyframes orbit3 {
    0%, 100% { transform: translate(10px, 75px) scale(0.4); opacity: 0.15; }
    25% { transform: translate(65px, 20px) scale(1); opacity: 1; }
    50% { transform: translate(15px, -65px) scale(1.2); opacity: 0.8; }
    75% { transform: translate(-60px, 10px) scale(0.6); opacity: 0.4; }
}
@keyframes orbit4 {
    0%, 100% { transform: translate(-15px, -70px) scale(0.4); opacity: 0.15; }
    25% { transform: translate(-70px, 10px) scale(0.8); opacity: 0.7; }
    50% { transform: translate(-10px, 70px) scale(1.3); opacity: 1; }
    75% { transform: translate(65px, 5px) scale(0.5); opacity: 0.3; }
}
@keyframes orbit5 {
    0%, 100% { transform: translate(55px, -50px) scale(0.3); opacity: 0.1; }
    50% { transform: translate(-50px, 45px) scale(1.1); opacity: 0.7; }
}
@keyframes orbit6 {
    0%, 100% { transform: translate(-60px, 40px) scale(0.3); opacity: 0.1; }
    50% { transform: translate(55px, -45px) scale(1.1); opacity: 0.7; }
}
@keyframes orbit7 {
    0%, 100% { transform: translate(85px, 25px) scale(0.2); opacity: 0; }
    50% { transform: translate(-30px, -55px) scale(1); opacity: 0.4; }
}
@keyframes orbit8 {
    0%, 100% { transform: translate(-85px, -20px) scale(0.2); opacity: 0; }
    50% { transform: translate(35px, 50px) scale(1); opacity: 0.4; }
}

/* === Logo === */
.loader-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    margin-top: -70px;
    animation: logoPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255,78,0,0.4));
}
@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 15px rgba(255,78,0,0.3));
    }
    50% { 
        transform: scale(1.08); 
        filter: drop-shadow(0 0 30px rgba(255,78,0,0.6));
    }
}

/* === Wordmark === */
.loader-wordmark {
    height: 30px;
    width: auto;
    margin-top: 12px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: wordmarkIn 1s 0.6s ease forwards;
    filter: drop-shadow(0 0 10px rgba(255,78,0,0.2));
}
@keyframes wordmarkIn {
    from { 
        opacity: 0; 
        transform: translateY(10px) scale(0.95);
        filter: drop-shadow(0 0 0 rgba(255,78,0,0));
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 10px rgba(255,78,0,0.2));
    }
}


/* ===== Mini Portfolio Grid ===== */
.portfolio-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
 
.pm-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--vmp-dark-2b);
}
 
.pm-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 0.3s;
    opacity: 0.8;
}
 
.pm-card:hover img {
    transform: scale(1.06);
    opacity: 0.4;
}
 
.pm-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 1;
}
 
.pm-type {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255,78,0,0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vmp-white);
    transition: transform 0.3s;
}
 
.pm-card:hover .pm-type {
    transform: scale(1.15) rotate(5deg);
}
 
.pm-overlay h3 {
    color: var(--vmp-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}
 
.pm-cat {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    display: inline-block;
}
 
.portfolio-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.3s;
}
 
.portfolio-view-all:hover {
    background: var(--primary-orange);
    color: var(--vmp-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,78,0,0.3);
}
 
@media (max-width: 768px) {
    .portfolio-grid-mini {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .pm-card { border-radius: 12px; }
    .pm-overlay { padding: 12px; }
    .pm-overlay h3 { font-size: 0.85rem; }
    .pm-type { width: 28px; height: 28px; top: 8px; right: 8px; }
    .pm-type svg { width: 13px; height: 13px; }
    .pm-cat { font-size: 0.65rem; }
    .portfolio-view-all { padding: 12px 28px; font-size: 0.9rem; }
}


/* Footer محسن */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid rgba(255, 78, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-orange);
    transition: all 0.3s;
    z-index: 2;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-orange);
    transition: top 0.3s;
}

.social-link:hover::before {
    top: 0;
}

.social-link:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.social-link:hover svg {
    color: var(--vmp-white);
    transform: scale(1.1);
}


/* Achievements Section - تصميم جديد */
.achievements {
    background: var(--vmp-white);
    position: relative;
    overflow: hidden;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.achievement-card {
    background: linear-gradient(135deg, var(--vmp-white) 0%, var(--vmp-gray-50) 100%);
    border: 1px solid rgba(255, 78, 0, 0.1);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-orange);
    transition: left 0.3s;
}

.achievement-card:hover::before {
    left: 0;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.1);
    border-color: var(--primary-orange);
}

.achievement-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
}

.achievement-content {
    position: relative;
    z-index: 1;
}

.achievement-title {
    font-size: 1.2rem;
    color: var(--vmp-gray-800);
    margin-bottom: 8px;
    font-weight: 700;
}

.achievement-text {
    color: var(--vmp-gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.achievement-icon {
    position: absolute;
    bottom: 15px;
    left: 20px;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s;
}

.achievement-card:hover .achievement-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* إحصائيات */
.achievements-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 78, 0, 0.05) 0%, rgba(255, 78, 0, 0.02) 100%);
    border-radius: 20px;
    margin-top: 40px;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--vmp-gray-600);
    font-size: 1.1rem;
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
    .achievements-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .achievement-card {
        padding: 20px;
    }
    
    .achievement-number {
        font-size: 1.5rem;
        opacity: 0.2;
    }
    
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .achievement-title {
        font-size: 1.1rem;
    }
    
    .achievement-text {
        font-size: 0.9rem;
    }
}


/* Services Section - تصميم جديد كلياً */
.services {
    background: var(--vmp-white);
    position: relative;
}

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

.service-card {
    background: var(--vmp-white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 78, 0, 0.1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.service-icon {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 78, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    transition: all 0.4s;
}

.service-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-orange);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    background: transparent;
}

.service-card:hover .service-icon svg {
    filter: brightness(0) invert(1);
}

.service-card:hover .service-icon-bg {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--vmp-gray-800);
    font-weight: 700;
    transition: color 0.3s;
}

.service-card:hover .service-title {
    color: var(--primary-orange);
}

.service-desc {
    color: var(--vmp-gray-600);
    line-height: 1.8;
    font-size: 1rem;
}

.service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 78, 0, 0.05) 100%);
    transition: height 0.4s;
}

.service-card:hover .service-hover-effect {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 78, 0, 0.15);
    border-color: var(--primary-orange);
}


/* Side Navigation Dots */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    animation: fadeInRight 0.5s 3s forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 78, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    background: transparent;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--primary-orange);
    border-radius: 50%;
    transition: transform 0.3s;
}

.nav-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.nav-dot.active {
    border-color: var(--primary-orange);
}

.nav-dot:hover {
    border-color: var(--primary-orange);
    transform: scale(1.2);
}

.nav-tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--vmp-white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.nav-dot:hover .nav-tooltip {
    opacity: 1;
}

/* إخفاء في الموبايل */
@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
}


/* Next Section Button */
.next-section-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.3);
    animation: pulseButton 2s infinite;
    opacity: 0;
    transform: translateY(100px);
}

.next-section-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 78, 0, 0.3);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 78, 0, 0.5);
    }
}

.next-section-btn svg {
    color: var(--vmp-white);
    animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

.next-section-btn:hover {
    transform: scale(1.1);
    background: var(--primary-orange);
}

.next-section-text {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--vmp-white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.next-section-btn:hover .next-section-text {
    opacity: 1;
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    .next-section-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
    
    .next-section-text {
        display: none;
    }
}

/* إخفاء في آخر قسم */
.next-section-btn.hide {
    opacity: 0;
    pointer-events: none;
}


/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-orange);
    z-index: 1001;
    transition: width 0.3s;
    width: 0%;
}


/* Progress Bar Container */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 78, 0, 0.1);
    z-index: 10001;
    /* تأكد من ظهوره فوق النافبار */
}

.progress-bar {
    height: 100%;
    background: var(--gradient-orange);
    width: 0%;
    transition: width 0.2s ease-out;
    box-shadow: 0 2px 10px rgba(255, 78, 0, 0.5);
    position: relative;
}

/* تأثير نهاية الشريط */
.progress-bar::after {
    
    position: absolute;
    right: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: var(--vmp-white);
    filter: blur(3px);
    opacity: 0.8;
    animation: glow 1s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
    .progress-container {
        height: 5px; /* أكبر قليلاً في الموبايل */
        background: rgba(0, 0, 0, 0.2);
    }
    
    .progress-bar {
        box-shadow: 0 2px 15px rgba(255, 78, 0, 0.7);
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .progress-container {
        height: 6px;
    }
}

/* تأكد من ظهوره فوق النافبار المثبت */
nav.scrolled ~ .progress-container {
    top: 70px; /* ينزل تحت النافبار عند التمرير */
}

@media (max-width: 768px) {
    nav.scrolled ~ .progress-container {
        top: 60px;
    }
}


/* Community Video Styles */
.community-video {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    background: var(--vmp-pure-black);
}

.community-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.community-card:hover .community-video video {
    transform: scale(1.1);
}

/* Overlay with play icon */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 78, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.community-card:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    width: 50px;
    height: 50px;
    color: var(--vmp-white);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* للموبايل */
@media (max-width: 768px) {
    .community-video {
        height: 180px;
    }
}


/* تأكد من الظهور في جميع الأجهزة */
.progress-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    z-index: 99999 !important; /* أعلى z-index */
    -webkit-transform: translateZ(0); /* لحل مشاكل iOS */
    transform: translateZ(0);
}

/* حل مشكلة iOS Safari */
@supports (-webkit-touch-callout: none) {
    .progress-container {
        position: -webkit-sticky;
        position: sticky;
    }
}


/* إصلاحات Hero Section لـ iOS */
.hero {
    height: 100vh;
    height: -webkit-fill-available; /* لـ iOS */
    height: 100dvh; /* Dynamic viewport height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--vmp-pure-black) 0%, var(--vmp-dark-3b) 100%);
    -webkit-transform: translateZ(0); /* تفعيل GPU acceleration */
    transform: translateZ(0);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* إصلاح للفيديو في iOS */
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    /* إزالة animation القديمة واستبدالها */
    opacity: 0;
    -webkit-animation: fadeInUpIOS 1s 0.5s forwards;
    animation: fadeInUpIOS 1s 0.5s forwards;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity, transform;
}

/* Animation محسنة لـ iOS */
@-webkit-keyframes fadeInUpIOS {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUpIOS {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2rem, 7vw, 4.5rem); /* تصغير قليل للموبايل */
    /* ⚠️ **وهذه القاعدةُ الثانيةُ هي الفاعلة** — تأتي بعد الأولى (١٨١)
          فتتجاوزها. وتعديلُ الأولى وحدها لا يُنتج أثراً على الشاشة،
          **والتغييرُ يبدو مُطبَّقاً وهو غيرُ مُطبَّق**. أمسكه الفحصُ
          الذي يبحث عن ٩٠٠ في أي قاعدةِ عنوانٍ رئيس. */
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--vmp-white) 0%, var(--vmp-gray-200) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* fallback */
    /* تبسيط Animation */
    -webkit-animation: simpleGlow 2s ease-in-out infinite alternate;
    animation: simpleGlow 2s ease-in-out infinite alternate;
}

@-webkit-keyframes simpleGlow {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

@keyframes simpleGlow {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    color: var(--vmp-gray-200);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    -webkit-animation: fadeInUpIOS 1s 0.8s forwards;
    animation: fadeInUpIOS 1s 0.8s forwards;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-orange);
    color: var(--vmp-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.3);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 0;
    -webkit-animation: fadeInUpIOS 1s 1s forwards;
    animation: fadeInUpIOS 1s 1s forwards;
    -webkit-tap-highlight-color: transparent; /* إزالة highlight في iOS */
}

/* إصلاحات خاصة بـ iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .hero-content {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .hero-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* تبسيط التأثيرات في iOS */
    .hero-pattern {
        display: none; /* إخفاء النمط المتحرك في iOS */
    }
}

/* إصلاحات للـ iPhone X وما بعده */
@supports (padding: max(0px)) {
    .hero-content {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Media Queries محسنة للـ iPhone */
@media screen and (max-width: 428px) { /* iPhone 14 Pro Max */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 390px) { /* iPhone 14 Pro */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 375px) { /* iPhone SE */
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* تحسين الأداء */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .cta-button {
        animation: none !important;
        opacity: 1 !important;
    }
}


/* Safari Fix - Simple */
.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.hero-title {
    color: var(--vmp-white) !important;
    -webkit-text-fill-color: var(--vmp-white) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-subtitle {
    color: var(--vmp-gray-200) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-button {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Safari specific */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .hero-title {
            background: none !important;
            -webkit-background-clip: unset !important;
            -webkit-text-fill-color: var(--vmp-white) !important;
        }
    }
}

 في ملف HTML -->

<style>
/* =========================================== */
/* تحسينات عرض الأقسام على الجوال - عنصرين في كل صف */
/* =========================================== */

/* 1. قسم الخدمات - Services Section */
@media (max-width: 768px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) ;
        gap: 15px !important;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 25px 15px !important;
        border-radius: 15px;
    }
    
    .service-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 20px !important;
    }
    
    .service-icon svg {
        width: 35px !important;
        height: 35px !important;
    }
    
    .service-title {
        font-size: 0.7rem !important;
        margin-bottom: 10px !important;
    }
    
    .service-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}

/* للشاشات الصغيرة جداً (أقل من 400px) */
@media (max-width: 400px) {
    .services-grid {
        gap: 10px !important;
    }
    
    .service-card {
        padding: 20px 10px !important;
    }
    
    .service-title {
        font-size: 0.7rem !important;
    }
    
    .service-desc {
        font-size: 0.8rem !important;
    }
}

/* 2. قسم نماذج من أعمالنا - Portfolio Section */
@media (max-width: 768px) {
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px;
    }
    
    .portfolio-item {
        height: 250px !important;
        border-radius: 15px;
    }
    
    .portfolio-content {
        padding: 20px 15px !important;
    }
    
    .portfolio-title {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }
    
    .portfolio-category {
        font-size: 0.7rem !important;
        padding: 3px 10px !important;
    }
    
    .portfolio-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .portfolio-play {
        width: 50px !important;
        height: 50px !important;
    }
    
    .portfolio-play::before {
        font-size: 18px !important;
    }
    
    /* أزرار الفلترة */
    .portfolio-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }
    
    .filter-btn {
        padding: 6px 15px !important;
        font-size: 0.8rem !important;
        border-radius: 20px;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 400px) {
    .portfolio-grid {
        gap: 10px !important;
    }
    
    .portfolio-item {
        height: 200px !important;
    }
    
    .portfolio-content {
        padding: 15px 10px !important;
    }
    
    .portfolio-title {
        font-size: 0.95rem !important;
    }
    
    .portfolio-desc {
        font-size: 0.75rem !important;
    }
}

/* 3. قسم الخدمات المجتمعية - Community Section */
@media (max-width: 768px) {
    .community-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px;
    }
    
    .community-card {
        padding: 30px 15px !important;
        border-radius: 20px;
    }
    
    .community-image,
    .community-video {
        height: 140px !important;
        margin-bottom: 20px !important;
        border-radius: 15px;
    }
    
    .community-icon-wrapper {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto 20px !important;
    }
    
    .community-icon {
        font-size: 2rem !important;
    }
    
    .community-title {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    
    .community-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 400px) {
    .community-grid {
        gap: 10px !important;
    }
    
    .community-card {
        padding: 20px 10px !important;
    }
    
    .community-image,
    .community-video {
        height: 120px !important;
    }
    
    .community-title {
        font-size: 0.95rem !important;
    }
    
    .community-desc {
        font-size: 0.75rem !important;
    }
}

/* 4. تحسينات إضافية للأقسام الأخرى */

/* قسم الفريق - Team Section */
/* Team Mobile Optimization */
@media (max-width: 768px) {
    .team {
        padding: 60px 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
        margin: 0 auto 10px;
    }
    
    .member-name {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    
    .member-role {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }
    
    .member-desc {
        font-size: 0.65rem;
        line-height: 1.3;
        max-width: 100%;
        display: none; /* إخفاء الوصف في الجوال */
    }
}

@media (max-width: 480px) {
    .team-grid {
        gap: 10px;
    }
    
    .member-image {
        width: 70px;
        height: 70px;
    }
}

/* قسم الإنجازات - Achievements Section */
@media (max-width: 768px) {
    .achievements-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 10px;
    }
    
    .achievement-card {
        padding: 15px !important;
        border-radius: 12px;
    }
    
    .achievement-number {
        font-size: 1.2rem !important;
        top: 10px !important;
        right: 15px !important;
    }
    
    .achievement-title {
        font-size: 0.95rem !important;
    }
    
    .achievement-text {
        font-size: 0.8rem !important;
    }
    
    .achievement-icon {
        font-size: 1rem !important;
    }
}

/* قسم العملاء - Clients Section */
@media (max-width: 768px) {
    .clients-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        /*gap: 20px !important;*/
        /*padding: 20px !important;*/
    }
    
    .client-item {
        height: 90px !important;
        padding: 15px !important;
    }
}

/* قسم المساحات الإبداعية - Creative Spaces Section */
@media (max-width: 768px) {
    .spaces-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 10px;
    }
    
    .space-item {
        height: 180px !important;
        border-radius: 12px;
    }
    
    /* العنصر الممتد */
    .space-item:nth-child(5) {
        grid-column: span 2 !important;
    }
    
    .space-title {
        font-size: 0.95rem !important;
    }
    
    .space-overlay {
        padding: 15px !important;
    }
}

/* للشاشات الصغيرة جداً - المساحات الإبداعية */
@media (max-width: 400px) {
    .spaces-gallery {
        gap: 8px !important;
    }
    
    .space-item {
        height: 150px !important;
    }
}

/* قسم المحتوى الأصيل - Original Content Section */
@media (max-width: 768px) {
    .original-programs {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px;
    }
    
    .program-card {
        padding: 25px 15px !important;
        border-radius: 15px;
    }
    
    .program-placeholder {
        height: 120px !important;
        margin-bottom: 15px !important;
        font-size: 40px !important;
    }
    
    .program-title {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    
    .program-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}

/* تحسينات عامة للنصوص على الجوال */
/* تحسينات عامة للنصوص على الجوال */
@media (max-width: 768px) {
    /* عناوين الأقسام */
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 30px !important;
    }
    
    .section-title::after {
        bottom: -10px !important;
        width: 60px !important;
        height: 3px !important;
    }
    
    /* تقليل padding للأقسام */
    section {
        padding: 50px 15px !important;
    }
/* ✅ ════════════════════════════════════════════════════════════════
   أُصلح: @media كان يُغلق هنا مبكراً (سبتمبر ٢٠٢٦)
   ════════════════════════════════════════════════════════════════════
   كان هنا '}' يُغلق @media (max-width: 768px) قبل أوانه، فالقاعدة
   التالية — وقد كُتبت لتكون داخل الاستعلام — تُطبَّق على **كل**
   الشاشات. وفيها font-size: 1rem !important، أي أن فقرات التعريف
   كانت مقيَّدة بمقاس الجوال على سطح المكتب أيضاً.

   والقوس الذي يلي القاعدة صار الآن مُغلق @media كما كان يُقصد،
   فاختفى القوس الزائد وتوازن الملف.

   ⚠️ الأثر البصري المقصود: فقرات التعريف على سطح المكتب تعود لمقاسها
      الطبيعي بدل 1rem المفروض.

   ⚠️ والخلل سابق للاستخراج: نسخة index.php قبل التفكيك (1125e3a)
      فيها {1075 }1076 بالضبط. التفكيك نقله كما هو ولم يُحدثه.
   ════════════════════════════════════════════════════════════════ */
    
    /* النصوص التعريفية */
    .portfolio-intro,
    .community-intro,
    .spaces-intro,
    .original-intro p {
        font-size: 1rem !important;
        padding: 0 15px;
        margin-bottom: 30px !important;
    }
}

/* تحسين المسافات والحواف */
@media (max-width: 768px) {
    section {
        padding: 60px 15px !important;
    }
    
    /* تقليل المسافات بين الأقسام */
    .about,
    .services,
    .portfolio,
    .community,
    .achievements,
    .clients {
        padding: 50px 10px !important;
    }
}

/* تحسينات للـ iPad Mini والأجهزة المتوسطة */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid,
    .portfolio-grid,
    .community-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* تأكد من عدم كسر التصميم في الشاشات الصغيرة جداً */
@media (max-width: 320px) {
    .services-grid,
    .portfolio-grid,
    .community-grid,
    .team-grid,
    .achievements-container,
    .original-programs,
    .spaces-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    /* تصغير حجم الخطوط أكثر */
    .service-title,
    .portfolio-title,
    .community-title,
    .member-name,
    .achievement-title,
    .program-title {
        font-size: 0.85rem !important;
    }
    
    .service-desc,
    .portfolio-desc,
    .community-desc,
    .member-desc,
    .achievement-text,
    .program-desc {
        font-size: 0.7rem !important;
    }
}

/* إصلاح مشاكل التمرير الأفقي */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
    
    .portfolio-filters {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    /* إضافة شريط تمرير جميل للفلاتر */
    .portfolio-filters::-webkit-scrollbar {
        height: 4px;
    }
    
    .portfolio-filters::-webkit-scrollbar-track {
        background: rgba(255, 78, 0, 0.1);
        border-radius: 2px;
    }
    
    .portfolio-filters::-webkit-scrollbar-thumb {
        background: var(--primary-orange);
        border-radius: 2px;
    }
}

/* Portfolio Item - تصميم محسن */
.portfolio-item {
    position: relative;
    background: var(--vmp-pure-black);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-thumbnail-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0.8;
}

/* التأثيرات عند Hover */
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 78, 0, 0.4);
}

.portfolio-item:hover .portfolio-thumbnail {
    transform: scale(1.1);
    opacity: 0.6;
}

/* Gradient Overlay */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 0.95;
}

/* نوع المحتوى Badge */
.portfolio-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 78, 0, 0.95);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: var(--vmp-white);
    box-shadow: 0 5px 15px rgba(255, 78, 0, 0.4);
    transition: all 0.3s;
}

.portfolio-item:hover .portfolio-type-badge {
    transform: scale(1.1) rotate(10deg);
}

/* زر التشغيل المحسن */
.portfolio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 78, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    opacity: 0;
    z-index: 4;
    text-decoration: none;
    color: var(--vmp-white);
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.5);
}

.portfolio-play svg {
    margin-left: 3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.portfolio-item:hover .portfolio-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-play:hover {
    background: var(--vmp-orange-alt);
    box-shadow: 0 15px 40px rgba(255, 78, 0, 0.7);
}

/* أيقونة الصورة */
.portfolio-photo-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 78, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
    z-index: 4;
    color: var(--vmp-white);
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.5);
}

.portfolio-item.photo-item:hover .portfolio-photo-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* المحتوى */
.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.8) 70%,
        transparent 100%
    );
    transform: translateY(0);
    transition: all 0.4s;
    z-index: 2;
}

.portfolio-content-header {
    margin-bottom: 12px;
}

.portfolio-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-orange);
    color: var(--vmp-white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 78, 0, 0.3);
}

.portfolio-title {
    font-size: 1.5rem;
    color: var(--vmp-white);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.portfolio-desc {
    color: var(--vmp-gray-200);
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s;
    font-size: 0.95rem;
}

.portfolio-item:hover .portfolio-desc {
    opacity: 1;
    max-height: 100px;
}

/* للموبايل */
@media (max-width: 768px) {
    .portfolio-item {
        height: 280px;
    }
    
    .portfolio-type-badge {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .portfolio-type-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .portfolio-play,
    .portfolio-photo-icon {
        width: 60px;
        height: 60px;
        opacity: 0.0;
    }
    
    .portfolio-play svg {
        width: 25px;
        height: 25px;
    }
    
    .portfolio-content {
        padding: 20px 15px;
    }
    
    .portfolio-title {
        font-size: 1.1rem;
    }
    
    .portfolio-category {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .portfolio-desc {
        font-size: 0.85rem;
    }
}
.service-card.fade-in-up.visible img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(97%) saturate(5083%) hue-rotate(2deg) brightness(102%) contrast(90%);
}

.service-icon img {
    width: 35px !important;
    height: 35px !important;
}



/* تحسين زر عرض المزيد */
.load-more-btn {
    padding: 16px 50px;
    background: linear-gradient(135deg, rgba(255, 78, 0, 0.1) 0%, rgba(255, 78, 0, 0.05) 100%);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(255, 78, 0, 0.15);
}

.load-more-btn svg {
    transition: transform 0.3s ease;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-orange);
    transition: width 0.6s ease, height 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.load-more-btn:hover {
    color: var(--vmp-white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 78, 0, 0.3);
}

.load-more-btn:hover::before {
    width: 400px;
    height: 400px;
}

.load-more-btn:hover svg {
    transform: translateY(2px);
}

.load-more-btn.show-less:hover svg {
    transform: translateY(-2px);
}


.made-in-saudi {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.made-in-saudi img {
    height: 250px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.made-in-saudi img:hover {
    opacity: 1;
}


/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--vmp-white);
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        border-left: 1px solid rgba(255,78,0,0.1);
        z-index: 1000;
    }
    .nav-menu.open {
        display: flex !important;
    }
    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}


/* ============ Contact Section ============ */
.contact-section {
    background: linear-gradient(135deg, var(--vmp-darkest) 0%, var(--vmp-pure-black) 100%);
    padding: 100px 50px;
    position: relative;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--vmp-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.contact-sub {
    color: var(--vmp-gray-400);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,78,0,0.04);
    border: 1px solid rgba(255,78,0,0.1);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(255,78,0,0.08);
    border-color: rgba(255,78,0,0.3);
    transform: translateX(-4px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,78,0,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    color: var(--vmp-white);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-card span {
    color: var(--vmp-gray-450);
    font-size: 0.85rem;
}

/* Form */
.contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    color: var(--vmp-gray-300);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--vmp-gray-650);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary-orange);
    background: rgba(255,78,0,0.04);
    box-shadow: 0 0 0 3px rgba(255,78,0,0.08);
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}

.form-field select option {
    background: var(--vmp-dark-3b);
    color: var(--vmp-white);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
    border: none;
    border-radius: 12px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(37,211,102,0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37,211,102,0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-sub {
        margin-bottom: 24px;
    }
    
    .contact-form-wrap {
        padding: 24px 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* About Highlights */
.about-highlights {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,78,0,0.1);
}

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

.highlight-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--vmp-orange), var(--vmp-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.highlight-label {
    color: var(--vmp-gray-450) !important;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-highlights {
        gap: 24px;
        margin-top: 30px;
        padding-top: 25px;
    }
    .highlight-num {
        font-size: 1.8rem;
    }
    .highlight-label {
        font-size: 0.8rem;
    }
}


/* ===== New Loader ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--vmp-pure-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}


.loader-ring {
    width: 100px;
    height: 100px;
    position: relative;
}
.ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 50%;
}
.r1 {
    border-top-color: var(--vmp-orange);
    animation: spin 1.2s linear infinite;
}
.r2 {
    inset: 6px;
    border-right-color: rgba(255,78,0,0.4);
    animation: spin 1.8s linear infinite reverse;
}
.r3 {
    inset: 12px;
    border-bottom-color: rgba(255,78,0,0.2);
    animation: spin 2.4s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.loader-bar {
    width: 120px;
    height: 2px;
    background: rgba(255,78,0,0.15);
    border-radius: 2px;
    overflow: hidden;
}
.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--vmp-orange), var(--vmp-orange-light));
    animation: fill 1.4s ease-out forwards;
}
@keyframes fill {
    to { width: 100%; }
}


/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(135deg, var(--vmp-darkest) 0%, var(--vmp-pure-black) 100%);
    padding: 100px 50px;
}
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--vmp-white);
    margin-bottom: 12px;
}
.contact-sub {
    color: var(--vmp-gray-400);
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,78,0,0.04);
    border: 1px solid rgba(255,78,0,0.1);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}
.contact-card:hover {
    background: rgba(255,78,0,0.08);
    border-color: rgba(255,78,0,0.3);
    transform: translateX(-4px);
}
.contact-card-icon {
    width: 44px; height: 44px;
    background: rgba(255,78,0,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vmp-orange);
    flex-shrink: 0;
}
.contact-card strong { display: block; color: var(--vmp-white); font-size: 0.95rem; }
.contact-card span { color: var(--vmp-gray-450); font-size: 0.85rem; }
 
/* Form */
.contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 36px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
    display: block;
    color: var(--vmp-gray-300);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--vmp-gray-650); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--vmp-orange);
    background: rgba(255,78,0,0.04);
    box-shadow: 0 0 0 3px rgba(255,78,0,0.08);
}
.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}
.form-field select option { background: var(--vmp-dark-3b); color: var(--vmp-white); }
.form-field textarea { resize: vertical; min-height: 110px; }
.wa-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
    border: none;
    border-radius: 12px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(37,211,102,0.25);
}
.wa-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37,211,102,0.35);
}
 
@media (max-width: 768px) {
    .contact-section { padding: 60px 20px; }
    .contact-container { grid-template-columns: 1fr; gap: 30px; }
    .contact-title { font-size: 1.8rem; }
    .contact-form-wrap { padding: 24px 18px; }
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
}


/* ===== Particle Loader ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--vmp-pure-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.loader.slide-up {
    animation: slideUp 0.9s cubic-bezier(0.68, -0.15, 0.32, 1.1) forwards;
}
@keyframes slideUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}
.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 70px;
}

/* Particles */
.particles-field {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -75px;
    left: 50%;
    transform: translate(-50%, 0);
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--vmp-orange);
    border-radius: 50%;
    opacity: 0;
}

/* مسارات دائرية مختلفة لكل جزيء */
.p1 { top: 50%; left: 50%; animation: orbit1 2.5s ease-in-out infinite; }
.p2 { top: 50%; left: 50%; animation: orbit2 2.5s 0.2s ease-in-out infinite; }
.p3 { top: 50%; left: 50%; animation: orbit3 2.5s 0.4s ease-in-out infinite; }
.p4 { top: 50%; left: 50%; animation: orbit4 2.5s 0.6s ease-in-out infinite; }
.p5 { top: 50%; left: 50%; animation: orbit5 2.5s 0.8s ease-in-out infinite; width: 4px; height: 4px; }
.p6 { top: 50%; left: 50%; animation: orbit6 2.5s 1.0s ease-in-out infinite; width: 4px; height: 4px; }
.p7 { top: 50%; left: 50%; animation: orbit7 2.5s 1.2s ease-in-out infinite; width: 3px; height: 3px; background: rgba(255,78,0,0.5); }
.p8 { top: 50%; left: 50%; animation: orbit8 2.5s 1.4s ease-in-out infinite; width: 3px; height: 3px; background: rgba(255,78,0,0.5); }

@keyframes orbit1 {
    0%, 100% { transform: translate(0, -70px) scale(0.5); opacity: 0.2; }
    50% { transform: translate(60px, -30px) scale(1.5); opacity: 1; }
}
@keyframes orbit2 {
    0%, 100% { transform: translate(70px, 0) scale(0.5); opacity: 0.2; }
    50% { transform: translate(30px, 60px) scale(1.5); opacity: 1; }
}
@keyframes orbit3 {
    0%, 100% { transform: translate(0, 70px) scale(0.5); opacity: 0.2; }
    50% { transform: translate(-60px, 30px) scale(1.5); opacity: 1; }
}
@keyframes orbit4 {
    0%, 100% { transform: translate(-70px, 0) scale(0.5); opacity: 0.2; }
    50% { transform: translate(-30px, -60px) scale(1.5); opacity: 1; }
}
@keyframes orbit5 {
    0%, 100% { transform: translate(50px, -50px) scale(0.3); opacity: 0.1; }
    50% { transform: translate(-40px, 50px) scale(1.2); opacity: 0.7; }
}
@keyframes orbit6 {
    0%, 100% { transform: translate(-50px, 50px) scale(0.3); opacity: 0.1; }
    50% { transform: translate(40px, -50px) scale(1.2); opacity: 0.7; }
}
@keyframes orbit7 {
    0%, 100% { transform: translate(80px, 30px) scale(0.3); opacity: 0; }
    50% { transform: translate(-20px, -40px) scale(1); opacity: 0.5; }
}
@keyframes orbit8 {
    0%, 100% { transform: translate(-80px, -30px) scale(0.3); opacity: 0; }
    50% { transform: translate(20px, 40px) scale(1); opacity: 0.5; }
}

/* Logo */
.loader-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    margin-top: -70px;
    animation: logoPulse 2.5s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255,78,0,0.3)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 20px rgba(255,78,0,0.5)); }
}

/* Wordmark */
.loader-wordmark {
    height: 28px;
    width: auto;
margin-top: 10px;
position: relative;
    z-index: 2;
    opacity: 0;
    animation: wordmarkIn 0.8s 0.5s ease forwards;
}
@keyframes wordmarkIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ===== Contact Modal ===== */
.contact-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: modalBgIn 0.3s;
}
.contact-modal-overlay.active {
    display: flex;
}
@keyframes modalBgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-modal {
    background: var(--vmp-dark-2b);
    border: 1px solid rgba(255,78,0,0.1);
    border-radius: 20px;
    padding: 36px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--vmp-gray-400);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.contact-modal-close:hover {
    background: rgba(255,78,0,0.1);
    color: var(--vmp-orange);
    border-color: rgba(255,78,0,0.3);
}

.contact-modal-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vmp-white);
    margin-bottom: 28px;
}

/* الخيارين */
.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-option {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 18px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
}
.contact-option:hover {
    background: rgba(255,78,0,0.06);
    border-color: rgba(255,78,0,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255,78,0,0.1);
}

.contact-option-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-option h3 {
    color: var(--vmp-white);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-option p {
    color: var(--vmp-gray-450);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* النموذج داخل المودال */
.quote-form-wrap {
    animation: formSlideIn 0.3s ease;
}
@keyframes formSlideIn {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

.back-to-options {
    background: none;
    border: none;
    color: var(--vmp-orange);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
    transition: transform 0.2s;
}
.back-to-options:hover {
    transform: translateX(4px);
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* حقول النموذج داخل المودال */
.quote-form-wrap .form-field { margin-bottom: 16px; }
.quote-form-wrap .form-field label {
    display: block;
    color: var(--vmp-gray-300);
    font-size: 0.82rem;
    margin-bottom: 6px;
    font-weight: 500;
}
.quote-form-wrap .form-field input,
.quote-form-wrap .form-field select,
.quote-form-wrap .form-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}
.quote-form-wrap .form-field input::placeholder,
.quote-form-wrap .form-field textarea::placeholder { color: var(--vmp-gray-650); }
.quote-form-wrap .form-field input:focus,
.quote-form-wrap .form-field select:focus,
.quote-form-wrap .form-field textarea:focus {
    border-color: var(--vmp-orange);
    box-shadow: 0 0 0 3px rgba(255,78,0,0.08);
}
.quote-form-wrap .form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 32px;
}
.quote-form-wrap .form-field select option { background: var(--vmp-dark-3b); color: var(--vmp-white); }
.quote-form-wrap .form-field textarea { resize: vertical; min-height: 80px; }

.wa-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
    border: none;
    border-radius: 12px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(37,211,102,0.25);
}
.wa-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-modal { padding: 24px 18px; margin: 10px; }
    .contact-options { grid-template-columns: 1fr; gap: 10px; }
    .contact-option { padding: 20px 14px; }
    .modal-form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-modal-title { font-size: 1.2rem; }
}


/* ===== Section Collapse with Gradient Fade ===== */
.section-collapsible {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-collapsible.expanded {
    max-height: 3000px;
}

/* التدرج اللي يخفي المحتوى */
.section-collapsible::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    pointer-events: none;
    transition: opacity 0.5s;
}

.section-collapsible.expanded::after {
    opacity: 0;
}

/* تدرج للأقسام البيضاء */
.section-collapsible.white-fade::after {
    background: linear-gradient(to top, var(--vmp-white) 0%, rgba(255,255,255,0.9) 30%, transparent 100%);
}

/* تدرج للأقسام السوداء */
.section-collapsible.dark-fade::after {
    background: linear-gradient(to top, var(--vmp-pure-black) 0%, rgba(0,0,0,0.9) 30%, transparent 100%);
}

/* تدرج للأقسام الرمادية الغامقة */
.section-collapsible.gray-fade::after {
    background: linear-gradient(to top, var(--vmp-dark-3b) 0%, rgba(26,26,26,0.9) 30%, transparent 100%);
}

/* زر عرض المزيد */
.expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -30px auto 40px;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid rgba(255,78,0,0.3);
    color: var(--primary-orange);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 5;
    transition: all 0.3s;
}

.expand-btn:hover {
    background: rgba(255,78,0,0.08);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

.expand-btn svg {
    transition: transform 0.3s;
}

.expand-btn.expanded svg {
    transform: rotate(180deg);
}


/* ===== Process Section - Horizontal Modern Design ===== */
.process {
    background: var(--vmp-pure-black);
    padding: 70px 30px !important;
    position: relative;
    overflow: hidden;
}

.process .section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem) !important;
    margin-bottom: 15px !important;
}

.process-intro {
    text-align: center;
    color: var(--vmp-gray-400);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Horizontal Timeline */
.process-horizontal {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

/* الخط الأفقي الذي يربط الخطوات */
.process-horizontal::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 78, 0, 0.3) 0%,
        rgba(255, 78, 0, 0.6) 50%,
        rgba(255, 78, 0, 0.3) 100%
    );
    z-index: 0;
}

.process-step-modern {
    position: relative;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

.process-step-modern:hover {
    transform: translateY(-5px);
}

/* الرقم الدائري الصغير الأنيق */
.step-number-modern {
    width: 38px;
    height: 38px;
    margin: 0 auto 18px;
    background: var(--vmp-pure-black);
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-orange);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px var(--vmp-pure-black);
}

.process-step-modern:hover .step-number-modern {
    background: var(--gradient-orange);
    color: var(--vmp-white);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--vmp-pure-black), 0 8px 20px rgba(255, 78, 0, 0.4);
}

.step-title-modern {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vmp-white);
    margin-bottom: 6px;
    transition: color 0.3s;
}

.process-step-modern:hover .step-title-modern {
    color: var(--primary-orange);
}

.step-desc-modern {
    color: var(--vmp-gray-450);
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0 5px;
}

/* Mobile - تصميم عمودي مضغوط */
@media (max-width: 768px) {
    .process {
        padding: 50px 20px !important;
    }
    
    .process-intro {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .process-horizontal {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
        padding: 10px 0;
    }
    
    /* إخفاء الخط الأفقي على الموبايل */
    .process-horizontal::before {
        display: none;
    }
    
    .step-number-modern {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        margin-bottom: 12px;
        box-shadow: 0 0 0 3px var(--vmp-pure-black);
    }
    
    .step-title-modern {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .step-desc-modern {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (max-width: 400px) {
    .process-horizontal {
        gap: 20px 10px;
    }
    
    .step-title-modern {
        font-size: 0.88rem;
    }
    
    .step-desc-modern {
        font-size: 0.7rem;
    }
}


/* ===== Merged Portfolio Grid - Mega Item Inside (FIXED v2) ===== */
.portfolio-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}

.pm-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--vmp-dark-2b);
    transition: transform 0.4s, box-shadow 0.4s;
}

.pm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 78, 0, 0.2);
}

.pm-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 0.3s;
    opacity: 0.8;
}

.pm-card:hover img {
    transform: scale(1.06);
    opacity: 0.4;
}

.pm-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 1;
}

.pm-type {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,78,0,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vmp-white);
    transition: transform 0.3s;
}

.pm-card:hover .pm-type {
    transform: scale(1.15) rotate(5deg);
}

.pm-overlay h3 {
    color: var(--vmp-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.pm-cat {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

/* ===== Mega CTA as Grid Item - Desktop ===== */
.pm-mega-item {
    grid-row: span 2;
    position: relative;
    background: linear-gradient(135deg, var(--vmp-darkest) 0%, var(--vmp-dark-3b) 50%, var(--vmp-darkest) 100%);
    border: 1px solid rgba(255, 78, 0, 0.25);
    border-radius: 14px;
    overflow: hidden;
    padding: 24px 22px;
    cursor: default;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    transition: all 0.4s;
}

.pm-mega-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 78, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 78, 0, 0.2);
}

.pm-mega-spotlight {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 78, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 50%;
    transition: all 0.2s ease-out;
    top: -150px;
    left: -150px;
    z-index: 1;
}

.pm-mega-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.pm-mega-particles span {
    position: absolute;
    border-radius: 50%;
    animation: pmFloat 4s ease-in-out infinite;
}

.pm-mega-particles span:nth-child(1) { width: 4px; height: 4px; top: 15%; left: 20%; background: var(--vmp-orange); opacity: 0.7; box-shadow: 0 0 12px var(--vmp-orange); }
.pm-mega-particles span:nth-child(2) { width: 3px; height: 3px; top: 35%; left: 80%; background: var(--vmp-orange-light); opacity: 0.6; box-shadow: 0 0 10px var(--vmp-orange-light); animation-delay: 0.5s; }
.pm-mega-particles span:nth-child(3) { width: 4px; height: 4px; top: 65%; left: 15%; background: var(--vmp-orange); opacity: 0.5; box-shadow: 0 0 12px var(--vmp-orange); animation-delay: 1s; }
.pm-mega-particles span:nth-child(4) { width: 3px; height: 3px; top: 80%; left: 75%; background: var(--vmp-orange-light); opacity: 0.5; box-shadow: 0 0 10px var(--vmp-orange-light); animation-delay: 1.5s; }
.pm-mega-particles span:nth-child(5) { width: 2px; height: 2px; top: 50%; left: 50%; background: var(--vmp-orange); opacity: 0.4; box-shadow: 0 0 8px var(--vmp-orange); animation-delay: 2s; }
.pm-mega-particles span:nth-child(6) { width: 3px; height: 3px; top: 25%; left: 60%; background: var(--vmp-orange-light); opacity: 0.5; box-shadow: 0 0 10px var(--vmp-orange-light); animation-delay: 2.5s; }

@keyframes pmFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-12px) translateX(6px); }
}

.pm-mega-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pm-mega-top {
    flex: 1;
}

.pm-mega-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 78, 0, 0.1);
    border: 1px solid rgba(255, 78, 0, 0.3);
    border-radius: 50px;
    color: var(--vmp-orange);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.pm-mega-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--vmp-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--vmp-orange);
    animation: pmPulse 1.5s infinite;
}

@keyframes pmPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.pm-mega-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--vmp-white) 0%, var(--vmp-orange) 70%, var(--vmp-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--vmp-white);
}

.pm-mega-desc {
    color: var(--vmp-gray-300);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.pm-mega-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 78, 0, 0.15);
    border-bottom: 1px solid rgba(255, 78, 0, 0.15);
    margin-bottom: 14px;
}

.pm-mega-stat {
    text-align: center;
}

.pm-mega-stat:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-mega-stat-num {
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--vmp-orange), var(--vmp-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pm-mega-stat-label {
    font-size: 0.6rem;
    color: var(--vmp-gray-450);
    margin-top: 3px;
}

.pm-mega-btn {
    position: relative;
    width: 100%;
    padding: 13px 18px;
    background: linear-gradient(135deg, var(--vmp-orange), var(--vmp-orange-light));
    border: none;
    border-radius: 50px;
    color: var(--vmp-white);
    font-family: var(--jf, 'Thmanyah Sans', -apple-system, 'Segoe UI', Tahoma, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 78, 0, 0.35);
    transition: transform 0.3s;
}

.pm-mega-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 78, 0, 0.5);
}

.pm-mega-btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: pmShimmer 2.5s infinite;
}

@keyframes pmShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
/* ============================================ */
/* ===== MOBILE - FLEXBOX LAYOUT (v7 FINAL) ===== */
/* ============================================ */
@media (max-width: 768px) {
    /* ✨ تحويل الـ Grid إلى Flexbox للجوال */
    .portfolio-grid-mini {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* ✨ الصور: عمودين بارتفاع ثابت */
    .pm-card {
        flex: 0 0 calc(50% - 5px);   /* 50% - نصف الـ gap */
        height: 130px;
        border-radius: 12px;
    }
    
    .pm-overlay {
        padding: 10px;
    }
    
    .pm-overlay h3 {
        font-size: 0.78rem;
    }
    
    .pm-cat {
        font-size: 0.6rem;
    }
    
    .pm-type {
        width: 24px;
        height: 24px;
        top: 6px;
        right: 6px;
    }
    
    .pm-type svg {
        width: 10px;
        height: 10px;
    }
    
    /* ===== MEGA CTA - FLEXBOX MAGIC ===== */
    .pm-mega-item {
        flex: 0 0 100%;              /* ✨ عرض كامل */
        order: 99;                    /* ✨ في النهاية */
        
        /* ارتفاع مرن طبيعي - لا حاجة لأي hack */
        height: auto;
        min-height: auto;
        max-height: none;
        
        margin-top: 24px;
        padding: 24px 20px;
        border-radius: 14px;
        
        display: flex;
        flex-direction: column;
        gap: 14px;
        
        border: 1px solid rgba(255, 78, 0, 0.3);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
    
    .pm-mega-spotlight {
        display: none;
    }
    
    .pm-mega-particles span {
        animation-duration: 5s;
    }
    
    .pm-mega-content {
        gap: 12px;
    }
    
    .pm-mega-top {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .pm-mega-badge {
        font-size: 0.6rem;
        padding: 3px 9px;
        margin-bottom: 0;
        align-self: flex-start;
    }
    
    .pm-mega-title {
        font-size: 1.15rem;
        margin-bottom: 0;
        line-height: 1.25;
    }
    
    .pm-mega-desc {
        font-size: 0.78rem;
        line-height: 1.5;
        margin-bottom: 0;
        color: var(--vmp-gray-400);
    }
    
    .pm-mega-stats {
        padding: 10px 0;
        margin-bottom: 0;
        gap: 4px;
    }
    
    .pm-mega-stat-num {
        font-size: 1.1rem;
    }
    
    .pm-mega-stat-label {
        font-size: 0.55rem;
        margin-top: 2px;
    }
    
    .pm-mega-btn {
        padding: 12px 14px;
        font-size: 0.82rem;
        margin-top: 0;
    }
}


/* ===== SMALL MOBILE (< 400px) ===== */
@media (max-width: 400px) {
    .portfolio-grid-mini {
        gap: 8px;
    }
    
    .pm-card {
        flex: 0 0 calc(50% - 4px);
        height: 120px;
    }
    
    .pm-mega-item {
        padding: 20px 16px;
        margin-top: 18px;
    }
    
    .pm-mega-title {
        font-size: 1.05rem;
    }
    
    .pm-mega-desc {
        font-size: 0.74rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .pm-mega-stat-num {
        font-size: 0.95rem;
    }
    
    .pm-mega-stat-label {
        font-size: 0.52rem;
    }
    
    .pm-mega-btn {
        padding: 11px 12px;
        font-size: 0.78rem;
    }
}

/* ════════════════════════════════════════════════════════════════════
   نافذةُ الفيديو ومصيدةُ العسل — المرحلةُ صفر
   ════════════════════════════════════════════════════════════════════ */

/* 🔴 **مصيدةُ العسلِ تُخفى بثلاثِ طبقاتٍ لا بـ`display:none` وحدَه.**
      بعضُ الآلياتِ تتخطّى `display:none` صراحةً لأنّها تعرف الحيلة،
      وبعضُ قارئاتِ الشاشةِ تُعلنه لمن يستعمله فيُحجب عن **عميلٍ كفيف**.
      ⇒ خارجَ الشاشةِ بصريّاً، و`aria-hidden` في الترميز. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.video-modal.active { display: flex; }

.video-modal-inner {
    position: relative;
    width: min(1100px, 100%);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 🔑 **النسبةُ ١٦:٩ بـ`aspect-ratio`** — والريلُ ٩:١٦، وإطارٌ عريضٌ
      يعرضه بأشرطةٍ سوداءَ على جانبيه فيبدو العملُ أصغرَ ممّا هو. */
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.video-frame.is-short {
    aspect-ratio: 9 / 16;
    /* ⚠️ والرأسيُّ يُقيَّد بالارتفاعِ لا بالعرضِ — وإلّا خرج عن الشاشة */
    max-height: 78vh;
    width: auto;
    margin: 0 auto;
}
.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: -46px;
    /* ⚠️ الصفحةُ RTL — فزرُّ الإغلاقِ في أعلى اليسارِ بصريّاً */
    left: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.24); }

.video-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}
.video-modal-bar a {
    color: var(--vmp-orange, #FF4E00);
    text-decoration: none;
    white-space: nowrap;
    /* ⚠️ ٤٤ بكسل هدفَ لمسٍ — والإصبعُ ليست مؤشّراً */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.video-modal-bar a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .video-modal { padding: 12px; }
    .video-modal-close { top: auto; bottom: -50px; left: 50%; transform: translateX(-50%); }
    .video-modal-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ⚠️ **ومن عطّل الحركةَ في نظامِه لا تُفرَض عليه** — الصفحةُ كلُّها
      فيها قاعدةٌ واحدةٌ لهذا، وهذه تُضاف إليها لا تنقضها. */
@media (prefers-reduced-motion: reduce) {
    .video-modal { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .video-modal-close { transition: none; }
}

/* ════════════════════════════════════════════════════════════════════
   اللمساتُ السينمائيّة — المرحلةُ ٢
   ════════════════════════════════════════════════════════════════════
   🔑 **والسينمائيُّ هنا ليس زخرفةً بل لغةَ المجال:** شريطان أسودان
      ينحسران · حُبيباتُ فيلمٍ خفيفة · ومؤشّرٌ يقول «شغّل». وكلُّها
      **تحت عتبةِ الإدراك** — من لاحظها خرج من العملِ إليها، وذاك فشلُها.
   🔴 **وكلُّها تُطفأ عند `prefers-reduced-motion`** — راجع آخرَ الملفّ.
   ════════════════════════════════════════════════════════════════════ */

/* ── ① الشريطان السينمائيّان — ينحسران عند التحميل ── */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 12vh;
    z-index: 3;
    pointer-events: none;
    background: #000;
    animation: vmpBars 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.hero::before { top: 0; }
.hero::after  { bottom: 0; }
@keyframes vmpBars { to { height: 0; } }

/* ── ② حُبيباتُ الفيلم — طبقةٌ واحدةٌ ساكنةٌ لا متحرّكة ── */
/* ⚠️ **وساكنةٌ عمداً.** حُبيباتٌ تهتزّ ٦٠ إطاراً في الثانيةِ تُرهق
      المعالجَ على الجوال، **فيصير علاجُ الجمالِ سببَ البطء**. */
.hero-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── ③ زرُّ الشوريل ── */
.cta-reel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* ⚠️ ٤٨ بكسل ارتفاعاً — والإصبعُ ليست مؤشّراً */
    min-height: 48px;
}
.reel-play {
    width: 22px; height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: currentColor;
    position: relative;
}
.reel-play::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    /* 🔑 والمثلّثُ يشير يميناً دائماً — رمزُ التشغيلِ عالميٌّ لا يُعكَس
          في RTL، وعكسُه يجعله يبدو «رجوعاً». */
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #0A0A0A;
    margin-left: 1px;
}

/* ── ④ مؤشّرُ «شغّل» على بطاقاتِ الأعمال ── */
/* ⚠️ **وعلى الفأرةِ وحدَها** (`pointer: fine`) — فاللمسُ لا مؤشّرَ له،
      وعنصرٌ يتبع إصبعاً لا وجودَ له يظلّ عالقاً في مكانِه على الجوال. */
@media (hover: hover) and (pointer: fine) {
    .vmp-cursor {
        position: fixed;
        top: 0; left: 0;
        width: 74px; height: 74px;
        margin: -37px 0 0 -37px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
        font-weight: 700;
        color: #0A0A0A;
        background: var(--vmp-orange, #FF4E00);
        pointer-events: none;
        z-index: 9000;
        opacity: 0;
        transform: scale(0.4);
        transition: opacity 0.18s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
    }
    .vmp-cursor.on { opacity: 1; transform: scale(1); }
}

/* ════════════════════════════════════════════════════════════════════
   🔴 ومن عطّل الحركةَ في نظامِه — تُعطَّل عنده فعلاً
   ════════════════════════════════════════════════════════════════════
   **كان في هذا الملفِّ ٥٠ حركةً وقاعدتان اثنتان لهذا التفضيل.** أي أنّ
   من يُصيبه دوارُ الحركةِ يفتح الصفحةَ فتتحرّك عليه كلُّها — وقد أعلن
   في نظامِه أنّه لا يحتملها. **وتجاهلُ تفضيلٍ صريحٍ إيذاءٌ لا إغفال.**
   ⚠️ **و`!important` هنا مقصودةٌ** — الملفُّ فيه ٢٢٧ منها، وقاعدةٌ بلا
      أولويّةٍ لا تغلب ما سبقها فتبقى الحركةُ تعمل **والقاعدةُ تبدو
      موجودة**: أسوأُ من غيابها.
   ════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    /* والشريطان يختفيان فوراً لا ينحسران */
    .hero::before, .hero::after { height: 0 !important; animation: none !important; }
    /* ⚠️ والحُبيباتُ تبقى — فهي ساكنةٌ أصلاً ولا حركةَ فيها */
    .vmp-cursor { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════
   دراساتُ الحالة — النطاقُ والصفحة
   ════════════════════════════════════════════════════════════════════ */
.cases { padding: 100px 20px; }
.cases-intro {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin: -20px auto 50px;
    max-width: 640px;
}
.cases-grid {
    display: grid;
    /* 🔑 **و`auto-fit` لا ثلاثةُ أعمدةٍ ثابتة** — المقاعدُ قد تمتلئ
          واحداً واحداً، وشبكةٌ بثلاثةِ أعمدةٍ تترك فراغين بجانب القصّةِ
          الأولى **فيبدو الموقعُ ناقصاً وهو يعمل كما صُمّم**. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}
.case-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
}
.case-card:hover { transform: translateY(-6px); border-color: var(--vmp-orange, #FF4E00); }
.case-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card-body { padding: 22px; }
.case-client {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--vmp-orange, #FF4E00);
    margin-bottom: 8px;
}
.case-card-body h3 { font-size: 1.15rem; margin: 0 0 14px; line-height: 1.5; }
.case-metric { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
/* ⚠️ **و`tabular-nums`** — الأرقامُ المتناسبةُ تتراقص فتبدو غيرَ موثوقة */
.case-metric strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.case-metric span   { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.case-more { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ── الصفحةُ نفسُها ── */
.cs-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.cs-hero { padding: 120px 0 40px; }
.cs-meta { color: var(--vmp-orange, #FF4E00); font-size: 0.9rem; margin-bottom: 14px; }
.cs-title { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.3; margin: 0; }
.cs-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    margin: 36px 0;
}
.cs-media.is-short { aspect-ratio: 9 / 16; max-height: 70vh; width: auto; margin-inline: auto; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 74px; height: 74px;
    border-radius: 50%;
    background: var(--vmp-orange, #FF4E00);
}
.cs-play::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    /* 🔑 والمثلّثُ يميناً دائماً — رمزُ التشغيلِ لا يُعكَس في RTL */
    border: solid transparent;
    border-width: 11px 0 11px 17px;
    border-left-color: #0A0A0A;
    margin-left: 3px;
}
.cs-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 44px 0;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}
.cs-metric-v { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-metric-k { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
/* 🔴 **والمصدرُ أصغرُ من الرقمِ لا مخفيّ** — رقمٌ بلا مصدرٍ ادّعاء،
      ومصدرٌ يُخفى بصرياً لا يُحتجّ به. */
.cs-metric-s { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 6px; }
.cs-story { margin: 20px auto 60px; }
.cs-block { margin-bottom: 44px; }
.cs-block h2 {
    font-size: 1.05rem;
    color: var(--vmp-orange, #FF4E00);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.cs-block p { font-size: 1.12rem; line-height: 2; color: rgba(255,255,255,0.86); }
.cs-quote {
    margin: 0 0 60px;
    padding: 34px;
    border-inline-start: 3px solid var(--vmp-orange, #FF4E00);
    background: rgba(255,255,255,0.03);
    border-radius: 0 16px 16px 0;
}
.cs-quote p { font-size: 1.25rem; line-height: 1.9; margin: 0 0 14px; }
.cs-quote cite { font-style: normal; font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.cs-cta { text-align: center; padding: 60px 20px 110px; }
.cs-cta h2 { font-size: 1.7rem; margin-bottom: 26px; }
.cs-cta .cs-link { display: block; margin-top: 20px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.cs-missing { padding: 160px 20px; text-align: center; }
.cs-missing h1 { font-size: 2rem; margin-bottom: 14px; }
.cs-missing p  { color: rgba(255,255,255,0.6); margin-bottom: 30px; }

@media (max-width: 640px) {
    .cases { padding: 70px 16px; }
    .cs-hero { padding: 90px 0 26px; }
    .cs-metrics { padding: 20px; gap: 14px; }
}
