  /* --- تصميم CSS --- */
        :root {
            --primary-color: #0040fe;
            --disabled-color: #e0e0e0;
            --text-color: #000000;
            --bg-color: #f4f6f9;
            --card-bg: #ffffff;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'cairo', Tahoma, Geneva, Verdana, sans-serif;
        }

        

        h1 {
            margin-bottom: 4rem;
            font-size: 2rem;
            text-align: center;
        }

        /* --- حاوية الخط الزمني المتناوب --- */
        .timeline-container {
            position: relative;
            max-width: 1000px;
            width: 100%;
            margin: 0 auto;
        }

        /* الخط العمودي الثابت في المنتصف تماماً للشاشات الكبيرة */
        .timeline-container::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            height: 100%;
            width: 4px;
            background-color: var(--disabled-color);
            z-index: 1;
        }

        

        /* --- كتل الخطوات --- */
        .timeline-item {
            position: relative;
            width: 50%; /* يأخذ نصف المساحة المتاحة */
            margin-bottom: 4rem;
            cursor: pointer;
            opacity: 0;
			z-index: 2;
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        /* كروت الجهة اليمنى (الخطوات الفردية 1، 3، 5) */
        .timeline-item.right {
            right: 0;
            padding-left: 40px;
            transform: translateX(180px); /* تدخل من اليمين */
        }

        /* كروت الجهة اليسرى (الخطوات الزوجية 2، 4) */
        .timeline-item.left {
            left: 0;
            padding-right: 40px;
            margin-right: auto; /* دفع العنصر لليسار */
            transform: translateX(-140px); /* تدخل من اليسار */
        }

        /* عندما يصبح العنصر مرئياً أثناء السكرول */
        .timeline-item.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .timeline-item:last-child {
            margin-bottom: 0;
        }

        /* الأيقونات الرمزية (الدوائر في المنتصف) */
        .timeline-icon {
            position: absolute;
            top: 15px;
            width: 40px;
            height: 40px;
            background-color: #fff;
            border: 4px solid var(--disabled-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 5;
            transition: all 0.4s ease;
        }

/* خط التقدم الأخضر في المنتصف */
        .progress-line {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            width: 4px;
            background-color: var(--primary-color);
            z-index: 1;
            height: 0%;
            transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
			
        }

        /* محاذاة أيقونة الكرت الأيمن وأيقونة الكرت الأيسر في السنتر */
        .timeline-item.right .timeline-icon {
            left: -20px;
        }

        .timeline-item.left .timeline-icon {
            right: -20px;
        }

        /* الكرت أو الصندوق الذي يحتوي النص والصورة */
        .timeline-content {
            background: var(--card-bg);
            padding: 1.5rem;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border: 2px solid transparent;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .timeline-content h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            transition: color 0.3s;
        }

        .timeline-content p {
            font-size: 1.25rem;
            color: #7f8c8d;
            line-height: 1.6;
            margin-bottom: 1.2rem;
			font-family: cairo;
        }

        /* تصميم وتنسيق الصور */
        .image-wrapper {
            width: 100%;
            height: 200px;
            overflow: hidden;
            border-radius: 10px;
        }

        .step-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        /* --- تأثيرات الحالة النشطة Active --- */
        .timeline-item.active .timeline-icon {
            border-color: var(--primary-color);
            background-color: var(--primary-color);
            box-shadow: 0 0 15px rgba(15, 96, 182, 1);
        }

        .timeline-item.active .timeline-content {
            border-color: rgba(15, 96, 182, 1);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        }

        .timeline-item.active .timeline-content h3 {
            color: var(--primary-color);
        }

        /* --- تأثيرات الـ Hover عند مرور الماوس --- */
        .timeline-item:hover .timeline-content {
            transform: translateY(-15px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }

        .timeline-item:hover .step-image {
            transform: scale(1.08) rotate(3deg);
        }

        .timeline-item:hover .timeline-icon {
            transform: scale(1.6);
        }

        /* ==========================================================================
           شاشات الهواتف والأجهزة اللوحية (Responsive Mobile View)
           تحويل التصميم تلقائياً لعمودي بجهة واحدة لمنع تداخل العناصر وضيق المساحة
           ========================================================================== */
        @media (max-width: 768px) {
            .timeline-container {
                padding-right: 40px;
            }

            /* نقل الخط لليمين بدلاً من المنتصف */
            .timeline-container::before, .progress-line {
                left: auto;
                right: 18px;
                transform: none;
            }

            /* جعل الكروت تأخذ المساحة الكاملة */
            .timeline-item {
                width: 100%;
                margin-bottom: 3rem;
            }

            /* إلغاء الفروقات بين اليمين واليسار وجعلها موحدة */
            .timeline-item.right, .timeline-item.left {
                right: auto;
                left: auto;
                padding-left: 0;
                padding-right: 0;
                transform: translateY(30px); /* جعل الدخول من الأسفل فقط على الهواتف */
            }

            .timeline-item.visible {
                transform: translateY(0);
            }

            /* تثبيت الأيقونات فوق الخط الأيمن تماماً */
            .timeline-item.right .timeline-icon, 
            .timeline-item.left .timeline-icon {
                right: -40px;
                left: auto;
            }
        }