File size: 65,921 Bytes
5f2172b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>درس الحقيقة</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');

        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f8fafc; /* gray-50 */
        }

        .concept-card {
            transition: all 0.3s ease;
        }

        .concept-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .philosopher-card {
            border-left: 4px solid; /* Color set by Tailwind */
            transition: all 0.3s ease;
        }
        .philosopher-card:hover {
             box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .axis-header {
            position: relative;
            padding-bottom: 15px; /* Added padding */
            margin-bottom: 20px; /* Added margin */
        }

        .axis-header::after {
            content: "";
            position: absolute;
            bottom: 0; /* Adjusted position */
            right: 0;
            width: 100px;
            height: 3px;
            background-color: #db2777; /* pink-600 - New color for this lesson */
            border-radius: 1.5px;
        }

        /* Timeline Styles (If needed, not explicitly used here) */
        .timeline {
            position: relative; padding: 20px 0; list-style: none;
        }
        .timeline::before {
            content: ''; position: absolute; top: 0; bottom: 0; width: 4px; background: #cbd5e1; right: 31px; margin-right: -2px;
        }
        .timeline-item {
            margin: 20px 0; padding-right: 60px; position: relative;
        }
        .timeline-item::before { /* Dot */
            content: ''; position: absolute; top: 15px; right: 19px; width: 25px; height: 25px; background: white; border: 4px solid #db2777; border-radius: 50%; z-index: 1;
        }
        .timeline-item:last-child { margin-bottom: 0; }

        .comparison-card {
            background: linear-gradient(135deg, #fdf2f8, #fce7f3); /* pink-50 to pink-100 */
            border: 1px solid #fbcfe8; /* pink-200 */
        }

        /* Floating Button Style */
         .floating-btn {
            position: fixed; bottom: 20px; left: 20px; z-index: 10; transition: transform 0.3s ease;
        }
         .floating-btn:hover {
             transform: scale(1.1);
         }

        .highlight {
             background-color: rgba(250, 204, 21, 0.3); /* yellow-400 with opacity */
             padding: 0.1em 0.3em; border-radius: 3px;
        }

        /* Flip Card Styles */
        .flip-card {
          background-color: transparent; width: 100%; min-height: 170px; perspective: 1000px; display: flex;
        }
        .flip-card-inner {
          position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1); border-radius: 0.5rem; display: flex; flex-direction: column;
        }
        .flip-card:hover .flip-card-inner {
          transform: rotateY(180deg);
        }
        .flip-card-front, .flip-card-back {
          position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1rem; border-radius: 0.5rem;
        }
        .flip-card-front {
          background-color: #ffffff; color: black;
        }
        .flip-card-back {
          background-color: #db2777; /* pink-600 */ color: white; transform: rotateY(180deg); overflow-y: auto; /* Scroll for long definitions */
        }
         .flip-card-back p { font-size: 0.875rem; } /* text-sm */

        /* Fade-in Animation */
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in { animation: fadeIn 0.8s ease-out forwards; }

        /* Style for axis-specific concepts */
        .axis-concept-card {
            background-color: #f9fafb; border: 1px solid #e5e7eb; border-right: 3px solid; padding: 1rem; border-radius: 0.375rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        /* Style for Quiz Sections */
        .quiz-section {
             background-color: #ffffff; padding: 2rem; border-radius: 0.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); margin-bottom: 2rem;
        }
        .quiz-title {
             font-size: 1.5rem; font-weight: 700; color: #1f2937; margin-bottom: 1.5rem; text-align: center; border-bottom: 2px solid #f9a8d4; /* pink-300 */ padding-bottom: 0.5rem;
        }
        .quiz-question {
             border-bottom: 1px solid #e5e7eb; padding-bottom: 1rem; margin-bottom: 1.5rem;
        }
         .quiz-question:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

    </style>
</head>
<body class="bg-gray-50">

    <div class="container mx-auto px-4 py-8">

        <header class="text-center mb-12">
            <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4">
                <i class="fas fa-search text-pink-600"></i> درس الحقيقة <i class="fas fa-lightbulb text-pink-600"></i>
            </h1>
            <p class="text-lg text-gray-600 max-w-3xl mx-auto">
                استكشاف مفهوم الحقيقة، التمييز بينها وبين الرأي، معاييرها المتعددة، وقيمتها في الفكر الإنساني.
            </p>
        </header>

        <section class="mb-16" id="main-concepts-overview">
             <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center axis-header">نظرة عامة على المفاهيم</h2>
             <p class="text-center text-gray-600 mb-8">
                 الحقيقة مفهوم فلسفي مركزي، نسعى في هذا الدرس لتحديد طبيعتها وعلاقتها بالرأي، واستكشاف المعايير المختلفة التي اعتمدها الفلاسفة للوصول إليها (العقل، التجربة، الحدس، الجدل)، وأخيراً التساؤل حول قيمة هذه الحقيقة في حياتنا.
             </p>
             <div class="flex justify-center space-x-8 space-x-reverse text-center text-gray-700">
                  <div class="flex flex-col items-center">
                      <i class="fas fa-comments text-3xl text-blue-500 mb-2"></i> / <i class="fas fa-brain text-3xl text-yellow-500 mb-2"></i>
                      <span>الحقيقة والرأي</span>
                  </div>
                  <div class="flex flex-col items-center">
                      <i class="fas fa-ruler-combined text-3xl text-green-500 mb-2"></i>
                      <span>معايير الحقيقة</span>
                  </div>
                   <div class="flex flex-col items-center">
                      <i class="fas fa-gem text-3xl text-purple-500 mb-2"></i>
                      <span>قيمة الحقيقة</span>
                  </div>
             </div>
        </section>

        <section class="mb-16">
            <h2 class="text-3xl font-bold text-gray-800 mb-8 axis-header">المحور الأول: الحقيقة والرأي</h2>
              <div class="bg-blue-50 border-r-4 border-blue-400 p-4 rounded-lg shadow-sm mb-8">
                  <h3 class="font-bold text-blue-800 mb-2 flex items-center"><i class="fas fa-question-circle ml-2"></i> الإشكالية المحورية</h3>
                  <p class="text-blue-700">ما طبيعة العلاقة بين الحقيقة والرأي؟ هل الرأي عائق أمام الحقيقة أم يمكن أن يكون سبيلاً إليها؟ وهل تقتصر الحقيقة على المعرفة العلمية والعقلية؟</p>
              </div>
              <div class="mb-8">
                   <h3 class="font-bold text-xl text-gray-700 mb-4">مفاهيم أساسية للمحور:</h3>
                   <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                       <div class="axis-concept-card border-blue-500 p-4 rounded-md shadow-sm">
                           <h4 class="font-semibold text-blue-700 flex items-center mb-1"><i class="fas fa-lightbulb ml-2"></i> الحقيقة (Truth)</h4>
                           <p class="text-sm text-gray-600">مطابقة الفكر لموضوعه، صفة للقضايا المتماسكة الخالية من الخطأ، قد تُدرك بالبرهان أو بالتسليم أو بالحدس.</p>
                       </div>
                       <div class="axis-concept-card border-gray-500 p-4 rounded-md shadow-sm">
                            <h4 class="font-semibold text-gray-700 flex items-center mb-1"><i class="fas fa-comments ml-2"></i> الرأي (Opinion)</h4>
                            <p class="text-sm text-gray-600">معرفة عامية ظنية، لا تقوم على برهان عقلي، غالباً ما تكون اعتقاداً شائعاً أو تخميناً متأثراً بالعادات والقيم (خاصة المنفعة).</p>
                       </div>
                   </div>
              </div>
              <h3 class="font-bold text-xl text-gray-700 mb-6">مواقف الفلاسفة:</h3>
               <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                   <div class="philosopher-card border-red-500 bg-white p-6 rounded-lg shadow-md">
                        <h4 class="font-bold text-lg text-red-700 mb-2 flex items-center"><i class="fas fa-eraser ml-2"></i> غاستون باشلار: نقد الرأي كعائق</h4>
                        <p class="text-gray-600 mb-2 text-sm">يميز بحدة بين المعرفة العلمية المبنية و<span class="highlight">الرأي كمعرفة عامية جاهزة</span>. يرى أن الرأي تفكير سيء ولا يفكر، بل هو <span class="highlight">عائق إبستيمولوجي</span> أمام الحقيقة.</p>
                        <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1">
                             <li>المعرفة العلمية تتقدم بالتخلص من الأخطاء (قطائع إبستيمولوجية).</li>
                             <li>الآراء معرفة زائفة وشائعة تضلل الباحث.</li>
                             <li>المعارف تُبنى، أما الآراء فتُعطى وتُتلقى.</li>
                             <li><strong class="text-red-600">الرأي عائق يجب تخطيه للوصول للحقيقة العلمية.</strong></li>
                        </ul>
                   </div>
                    <div class="philosopher-card border-blue-500 bg-white p-6 rounded-lg shadow-md">
                         <h4 class="font-bold text-lg text-blue-700 mb-2 flex items-center"><i class="fas fa-heart ml-2"></i> بليز باسكال: حقائق القلب والعقل</h4>
                         <p class="text-gray-600 mb-2 text-sm">الحقائق لا تُدرك فقط بالعقل، بل <span class="highlight">بالقلب أيضاً (الحدس المباشر)</span>. القلب يدرك المبادئ الأولى التي يعتمد عليها العقل.</p>
                         <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1">
                              <li>الحدوس والمبادئ الأولى مصدرها القلب.</li>
                              <li>العقل يستدل انطلاقاً من هذه المبادئ والمعطيات الحسية.</li>
                              <li>حقائق القلب (العواطف، الآراء الحميمية) يعجز العقل عن بنائها لكنها ضرورية له.</li>
                              <li><strong class="text-blue-600">للقلب منطقه الخاص الذي لا يعرفه العقل.</strong></li>
                         </ul>
                    </div>
               </div>
               <div class="mt-8">
                    <h3 class="font-bold text-lg text-gray-700 mb-4">مقارنة سريعة:</h3>
                    <div class="comparison-card p-6 rounded-lg shadow-sm grid grid-cols-1 md:grid-cols-2 gap-6">
                        <div>
                             <h5 class="font-semibold text-red-700 mb-2 flex items-center"><i class="fas fa-eraser ml-2"></i> باشلار</h5>
                             <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1">
                                 <li>علاقة الرأي بالحقيقة: عائق، نقيض.</li>
                                 <li>مصدر الحقيقة: المنهج العلمي، البناء العقلي، تخطي الأخطاء.</li>
                                 <li>قيمة الرأي: سلبية، معرفة زائفة.</li>
                             </ul>
                        </div>
                        <div>
                              <h5 class="font-semibold text-blue-700 mb-2 flex items-center"><i class="fas fa-heart ml-2"></i> باسكال</h5>
                              <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1">
                                 <li>علاقة الرأي/القلب بالحقيقة: مصدر للمبادئ الأولى والحدوس.</li>
                                  <li>مصدر الحقيقة: مزدوج (القلب/الحدس + العقل/الاستدلال).</li>
                                 <li>قيمة حقائق القلب: أساسية وضرورية للعقل.</li>
                              </ul>
                        </div>
                    </div>
               </div>
               <div class="bg-gray-100 border border-gray-200 p-4 rounded-lg shadow-inner mt-8">
                    <h3 class="font-bold text-gray-800 mb-2 flex items-center"><i class="fas fa-lightbulb ml-2 text-yellow-500"></i> تركيب المحور الأول</h3>
                    <p class="text-gray-700 text-sm">
                        تتضارب النظرة إلى الرأي، فبينما يراه باشلار عائقاً إبستيمولوجياً أمام الحقيقة العلمية المبنية، يعتبر باسكال أن للقلب (الحدس) دوراً أساسياً في إدراك المبادئ الأولى التي لا يستطيع العقل إثباتها ولكنه ينطلق منها. قد تشير هذه المواقف إلى أن الحقيقة العلمية تتطلب تجاوز الرأي، لكن الفهم الإنساني الأوسع قد يحتاج إلى تكامل بين مصادر معرفية مختلفة.
                    </p>
               </div>
        </section>

        <section class="mb-16">
            <h2 class="text-3xl font-bold text-gray-800 mb-8 axis-header">المحور الثاني: معايير الحقيقة</h2>
              <div class="bg-green-50 border-r-4 border-green-400 p-4 rounded-lg shadow-sm mb-8">
                  <h3 class="font-bold text-green-800 mb-2 flex items-center"><i class="fas fa-question-circle ml-2"></i> الإشكالية المحورية</h3>
                  <p class="text-green-700">ما هي المقاييس أو المعايير التي نعتمدها للحكم على قضية ما بأنها حقيقية؟ هل يكفي معيار واحد (كالعقل أو التجربة) أم نحتاج لتعدد المعايير؟ وهل تعددها يهدد مفهوم الحقيقة نفسه؟</p>
              </div>
              <div class="mb-8">
                   <h3 class="font-bold text-xl text-gray-700 mb-4">مفاهيم أساسية للمحور (المعايير):</h3>
                   <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
                        <div class="axis-concept-card border-yellow-500 p-3 rounded-md shadow-sm"> <h4 class="font-semibold text-yellow-700 text-center mb-1"><i class="fas fa-brain mr-1"></i> العقلي</h4> <p class="text-xs text-gray-600 text-center">الاستدلال، البداهة، الوضوح، عدم التناقض (ديكارت، سبينوزا).</p> </div>
                       <div class="axis-concept-card border-blue-500 p-3 rounded-md shadow-sm"> <h4 class="font-semibold text-blue-700 text-center mb-1"><i class="fas fa-vial mr-1"></i> التجريبي</h4> <p class="text-xs text-gray-600 text-center">الواقع الحسي، الملاحظة، الاختبار، التحقق العملي (لوك، هيوم).</p> </div>
                        <div class="axis-concept-card border-purple-500 p-3 rounded-md shadow-sm"> <h4 class="font-semibold text-purple-700 text-center mb-1"><i class="fas fa-check-to-slot mr-1"></i> التطابق</h4> <p class="text-xs text-gray-600 text-center">موافقة الفكر للواقع، تركيب بين العقل والتجربة (كانط).</p> </div>
                       <div class="axis-concept-card border-red-500 p-3 rounded-md shadow-sm"> <h4 class="font-semibold text-red-700 text-center mb-1"><i class="fas fa-arrows-rotate mr-1"></i> الجدلي</h4> <p class="text-xs text-gray-600 text-center">التناقض، التضاد، التركيب بين الأطروحة ونقيضها (هيجل، ليبنتز).</p> </div>
                   </div>
              </div>
              <h3 class="font-bold text-xl text-gray-700 mb-6">المعايير ومواقف الفلاسفة:</h3>
               <div class="space-y-8">
                   <div class="philosopher-card border-yellow-500 bg-white p-6 rounded-lg shadow-md">
                        <h4 class="font-bold text-lg text-yellow-700 mb-3 flex items-center"><i class="fas fa-brain ml-2"></i> المعيار العقلي: البداهة والوضوح والاستنباط</h4>
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-4 text-sm">
                             <div><strong class="text-gray-800">ديكارت:</strong> <span class="text-gray-600">الحقيقة تُدرك بـ<span class="highlight">الحدس</span> (إدراك مباشر للأفكار الواضحة البسيطة) و<span class="highlight">الاستنباط</span> (استنتاج حقائق جديدة من حقائق بديهية). المعيار هو الوضوح والتميز العقلي.</span></div>
                             <div><strong class="text-gray-800">سبينوزا:</strong> <span class="text-gray-600">معيار الحقيقة هو <span class="highlight">الوضوح والبساطة</span>. الفكرة الحقيقية واضحة بذاتها ولا تحتاج لدليل خارجي، مثل النور يكشف عن نفسه وعن الظلمة.</span></div>
                        </div>
                    </div>
                    <div class="philosopher-card border-blue-500 bg-white p-6 rounded-lg shadow-md">
                        <h4 class="font-bold text-lg text-blue-700 mb-3 flex items-center"><i class="fas fa-vial-circle-check ml-2"></i> المعيار التجريبي: الواقع والتجربة</h4>
                         <p class="text-gray-600 text-sm"><strong class="text-gray-800">الفلاسفة التجريبيون (لوك، هيوم):</strong> المصدر والمعيار الأساسي للحقيقة هو <span class="highlight">الواقع الحسي والتجربة</span>. المعرفة تأتي من الحواس ويتم التحقق منها عبر الملاحظة والاختبار والتجريب العملي. الأفكار التي لا أصل حسي لها لا قيمة لها.</p>
                    </div>
                    <div class="philosopher-card border-purple-500 bg-white p-6 rounded-lg shadow-md">
                        <h4 class="font-bold text-lg text-purple-700 mb-3 flex items-center"><i class="fas fa-magnifying-glass-chart ml-2"></i> معيار التطابق: الفكر والواقع (كانط)</h4>
                         <p class="text-gray-600 text-sm"><strong class="text-gray-800">إيمانويل كانط:</strong> الحقيقة تتطلب <span class="highlight">تطابق الفكر مع الواقع</span>. لا العقل وحده (بدون معطيات حسية) ولا التجربة وحدها (بدون تنظيم عقلي) تكفي. المعرفة الحقيقية تركيب بين <span class="highlight">مبادئ العقل القبلية</span> (التي تنظم التجربة) و<span class="highlight">معطيات التجربة الحسية</span>.</p>
                    </div>
                     <div class="philosopher-card border-red-500 bg-white p-6 rounded-lg shadow-md">
                         <h4 class="font-bold text-lg text-red-700 mb-3 flex items-center"><i class="fas fa-arrows-rotate ml-2"></i> المعيار الجدلي: التناقض والتنافر</h4>
                         <div class="grid grid-cols-1 md:grid-cols-2 gap-4 text-sm">
                             <div><strong class="text-gray-800">ليبنتز:</strong> <span class="text-gray-600">العالم مكون من جواهر (مونادات) متنافرة ومختلفة، لكن هذا <span class="highlight">التنافر</span> يعكس وحدة وانسجاماً كلياً في النهاية (تناغم أزلي). الحقيقة في هذا التناغم.</span></div>
                             <div><strong class="text-gray-800">هيجل:</strong> <span class="text-gray-600">الحقيقة تتطور عبر <span class="highlight">الجدل (الديالكتيك)</span>: كل قضية (أطروحة) تحمل تناقضها (نقيض الأطروحة)، ومن صراعهما ينشأ تركيب جديد (أطروحة جديدة) أكثر شمولاً. الحقيقة هي العملية الجدلية بأكملها.</span></div>
                        </div>
                    </div>
               </div>
               <div class="bg-gray-100 border border-gray-200 p-4 rounded-lg shadow-inner mt-8">
                    <h3 class="font-bold text-gray-800 mb-2 flex items-center"><i class="fas fa-lightbulb ml-2 text-yellow-500"></i> تركيب المحور الثاني</h3>
                    <p class="text-gray-700 text-sm">
                        يكشف تعدد المعايير عن ثراء الفكر الفلسفي وتعقيد مفهوم الحقيقة. فكل معيار (العقلي، التجريبي، التطابق، الجدلي) يركز على جانب مختلف من عملية المعرفة والتحقق. هذا التعدد قد لا يعني ضياع الحقيقة بقدر ما يشير إلى أن الحقيقة قد تكون متعددة الأوجه وتتطلب مقاربات مختلفة حسب طبيعة الموضوع (رياضيات، فيزياء، تاريخ، فلسفة). ربما لا يوجد معيار واحد كافٍ لكل أنواع الحقائق.
                    </p>
               </div>
        </section>

        <section class="mb-16">
             <h2 class="text-3xl font-bold text-gray-800 mb-8 axis-header">المحور الثالث: الحقيقة بوصفها قيمة</h2>
               <div class="bg-purple-50 border-r-4 border-purple-400 p-4 rounded-lg shadow-sm mb-8">
                   <h3 class="font-bold text-purple-800 mb-2 flex items-center"><i class="fas fa-question-circle ml-2"></i> الإشكالية المحورية</h3>
                   <p class="text-purple-700">ما هي قيمة الحقيقة؟ هل هي غاية في ذاتها أم وسيلة لشيء آخر (كالمنفعة أو تجنب العنف)؟ وما علاقتها بالوهم والخطأ؟ وهل الحقيقة بالضرورة نافعة أو أخلاقية؟</p>
               </div>
               <div class="mb-8">
                    <h3 class="font-bold text-xl text-gray-700 mb-4">مفاهيم أساسية للمحور:</h3>
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                        <div class="axis-concept-card border-orange-500 p-4 rounded-md shadow-sm"> <h4 class="font-semibold text-orange-700 flex items-center mb-1"><i class="fas fa-hand-holding-dollar ml-2"></i> القيمة / المنفعة (Value/Utility)</h4> <p class="text-sm text-gray-600">في السياق البراغماتي، قيمة الفكرة أو الحقيقة تكمن في نتائجها العملية وتأثيرها النافع في الواقع.</p> </div>
                        <div class="axis-concept-card border-gray-500 p-4 rounded-md shadow-sm"> <h4 class="font-semibold text-gray-700 flex items-center mb-1"><i class="fas fa-map-signs ml-2"></i> الوهم / التيه (Illusion/Errancy)</h4> <p class="text-sm text-gray-600">الخطأ أو الضلال أو الاعتقاد الزائف، قد يكون له دور في البحث عن الحقيقة (هايدجر).</p> </div>
                         <div class="axis-concept-card border-red-600 p-4 rounded-md shadow-sm"> <h4 class="font-semibold text-red-800 flex items-center mb-1"><i class="fas fa-bomb ml-2"></i> العنف (Violence)</h4> <p class="text-sm text-gray-600">قد ينتج عن غياب الحقيقة أو عن التمسك بحقيقة أحادية ورفض الحوار (إريك فايل).</p> </div>
                    </div>
               </div>
               <h3 class="font-bold text-xl text-gray-700 mb-6">مواقف الفلاسفة:</h3>
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                     <div class="philosopher-card border-orange-500 bg-white p-6 rounded-lg shadow-md">
                         <h4 class="font-bold text-lg text-orange-700 mb-2 flex items-center"><i class="fas fa-gears ml-2"></i> وليام جيمس: الحقيقة هي المنفعة (البراغماتية)</h4>
                         <p class="text-gray-600 mb-2 text-sm">قيمة الحقيقة تكمن في <span class="highlight">نتائجها العملية وتأثيراتها النافعة</span> في الواقع. الفكرة الصادقة هي المفيدة لسلوكنا وفكرنا.</p>
                         <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1">
                              <li>الحقيقة ليست مطابقة الفكر للواقع بل مطابقة الفكرة للعمل.</li>
                              <li><strong class="text-orange-600">الحقيقي هو ما ينجح وما يؤدي إلى نتائج مفيدة.</strong></li>
                         </ul>
                    </div>
                    <div class="philosopher-card border-gray-500 bg-white p-6 rounded-lg shadow-md">
                          <h4 class="font-bold text-lg text-gray-700 mb-2 flex items-center"><i class="fas fa-person-hiking ml-2"></i> مارتن هايدجر: الحقيقة واللاحقيقة (التيه)</h4>
                          <p class="text-gray-600 mb-2 text-sm">قيمة الحقيقة لا تنفصل عن <span class="highlight">اللاحقيقة والوهم والخطأ (التيه)</span>. اللاحقيقة ليست مجرد غياب للحقيقة بل جزء من انكشافها.</p>
                           <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1">
                              <li>الأوهام تدفعنا للبحث عن الوجه الحقيقي.</li>
                               <li>التيه ضروري لفهم الوجود في تقابله مع اليقين.</li>
                              <li><strong class="text-gray-600">الحقيقة هي انكشاف للوجود يتضمن اللاحقيقة.</strong></li>
                           </ul>
                     </div>
                     <div class="philosopher-card border-red-600 bg-white p-6 rounded-lg shadow-md">
                         <h4 class="font-bold text-lg text-red-800 mb-2 flex items-center"><i class="fas fa-comments ml-2"></i> إريك فايل: الحقيقة ونبذ العنف</h4>
                         <p class="text-gray-600 mb-2 text-sm">قيمة الحقيقة تكمن في أنها أساس <span class="highlight">الخطاب المعقول والحوار ونبذ العنف</span>. غياب الحقيقة أو رفضها يؤدي إلى العنف.</p>
                          <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1">
                             <li>العنف ليس مجرد فعل جسدي بل يبدأ في اللغة والفكر (تسطيح الوعي).</li>
                              <li>التمسك الأحادي بالحقيقة ورفض الآخر يقود للعنف باسم الحقيقة.</li>
                              <li><strong class="text-red-700">قيمة الحقيقة تكمن في تأسيس تواصل إنساني معقول وسلمي.</strong></li>
                          </ul>
                    </div>
                </div>
                <div class="bg-gray-100 border border-gray-200 p-4 rounded-lg shadow-inner mt-8">
                     <h3 class="font-bold text-gray-800 mb-2 flex items-center"><i class="fas fa-lightbulb ml-2 text-yellow-500"></i> تركيب المحور الثالث</h3>
                     <p class="text-gray-700 text-sm">
                         تختلف رؤى الفلاسفة حول قيمة الحقيقة؛ فمنهم من يربطها بالمنفعة العملية والنجاح في الحياة (جيمس)، ومنهم من يرى قيمتها في علاقتها الجدلية بالخطأ والوهم كجزء من سيرورة فهم الوجود (هايدجر)، ومنهم من يشدد على قيمتها الأخلاقية والسياسية كأساس للحوار ونبذ العنف (فايل). هذا يعكس أن "قيمة الحقيقة" ليست معطى بسيطاً، بل هي نفسها موضوع تساؤل فلسفي يرتبط بالغايات الإنسانية المختلفة.
                     </p>
                </div>
         </section>

        <section class="mb-16">
             <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center axis-header">خلاصة واستنتاجات</h2>
             <div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-8">
                  <div class="bg-white p-6 rounded-lg shadow-md border-l-4 border-pink-500">
                     <h3 class="font-semibold text-lg text-pink-800 mb-2 flex items-center"><i class="fas fa-search-plus ml-2"></i> الحقيقة رحلة مستمرة</h3>
                     <p class="text-gray-700 text-sm">درس الحقيقة يكشف أنها ليست مفهوماً بسيطاً أو أحادياً. التمييز بينها وبين الرأي، وتعدد معاييرها (العقلية، التجريبية، الجدلية)، والتساؤل المستمر حول قيمتها (العملية، الوجودية، الأخلاقية) يجعل البحث عن الحقيقة رحلة فلسفية وعلمية لا تنتهي.</p>
                  </div>
                  <div class="bg-white p-6 rounded-lg shadow-md border-l-4 border-teal-500">
                      <h3 class="font-semibold text-lg text-teal-800 mb-2 flex items-center"><i class="fas fa-balance-scale ml-2"></i> أهمية تعدد المقاربات</h3>
                     <p class="text-gray-700 text-sm">تعدد المواقف والمعايير لا يعني بالضرورة ضياع الحقيقة، بل قد يشير إلى أهمية اعتماد مقاربات متعددة لفهم جوانبها المختلفة. فالحقيقة العلمية قد تحتاج لمعايير تختلف عن الحقيقة الفلسفية أو الوجودية، وقيمتها قد تختلف باختلاف السياق والغاية.</p>
                  </div>
             </div>
              <div class="bg-sky-100 border border-sky-300 p-6 rounded-lg shadow">
                  <h3 class="font-bold text-sky-800 mb-2 flex items-center"><i class="fas fa-book-reader ml-2"></i> دعوة للتفكير النقدي</h3>
                  <p class="text-sky-700">
                      يدعونا هذا الدرس إلى التفكير النقدي في مصادر معرفتنا، والتمييز بين الرأي والمعرفة المؤسسة، وتقييم المعايير المختلفة للحقيقة، والتساؤل حول الغايات والقيم التي نسعى لتحقيقها من خلال بحثنا عن الحقيقة.
                  </p>
              </div>
        </section>

        <section class="mb-16">
             <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center axis-header">مراجعة المفاهيم الأساسية (انقر للتعريف)</h2>
             <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-5">
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-lightbulb text-4xl text-yellow-500 mb-2"></i> <h4 class="font-bold">الحقيقة</h4> </div> <div class="flip-card-back"> <p>مطابقة الفكر لموضوعه أو الواقع، أو صفة للقضايا اليقينية غير الخاطئة.</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-comments text-4xl text-gray-500 mb-2"></i> <h4 class="font-bold">الرأي</h4> </div> <div class="flip-card-back"> <p>معرفة عامية ظنية لا تقوم على برهان، عكس المعرفة العلمية.</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-flask text-4xl text-blue-500 mb-2"></i> <h4 class="font-bold">العلم</h4> </div> <div class="flip-card-back"> <p>معرفة تقوم على منهج واستدلال واستنباط وبناء.</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-bolt text-4xl text-orange-500 mb-2"></i> <h4 class="font-bold">الحدس</h4> </div> <div class="flip-card-back"> <p>إدراك عقلي مباشر وفوري للحقائق البديهية (ديكارت).</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-project-diagram text-4xl text-purple-500 mb-2"></i> <h4 class="font-bold">الاستنباط</h4> </div> <div class="flip-card-back"> <p>استنتاج حقائق جديدة من مقدمات يقينية بشكل غير مباشر.</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-vial-circle-check text-4xl text-green-500 mb-2"></i> <h4 class="font-bold">معيار التجربة</h4> </div> <div class="flip-card-back"> <p>التحقق من صدق الأفكار بمطابقتها للواقع الحسي عبر الملاحظة والاختبار.</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-check-to-slot text-4xl text-indigo-500 mb-2"></i> <h4 class="font-bold">معيار التطابق (كانط)</h4> </div> <div class="flip-card-back"> <p>تطابق الفكر (بمقولاته القبلية) مع الواقع (بمعطياته الحسية).</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-arrows-rotate text-4xl text-red-500 mb-2"></i> <h4 class="font-bold">الجدل (الديالكتيك)</h4> </div> <div class="flip-card-back"> <p>عملية تطور الحقيقة عبر الصراع بين الأطروحة ونقيضها للوصول لتركيب أعلى (هيجل).</p> </div> </div> </div>
                 <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-hand-holding-dollar text-4xl text-cyan-500 mb-2"></i> <h4 class="font-bold">المنفعة (براغماتية)</h4> </div> <div class="flip-card-back"> <p>قيمة الحقيقة تكمن في نتائجها العملية المفيدة (وليام جيمس).</p> </div> </div> </div>
                  <div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-gem text-4xl text-amber-500 mb-2"></i> <h4 class="font-bold">القيمة</h4> </div> <div class="flip-card-back"> <p>الأهمية أو الغاية التي تُطلب من أجلها الحقيقة (قد تكون عملية، وجودية، أخلاقية).</p> </div> </div> </div>
            </div>
        </section>

        <section class="mb-16">
            <h2 class="text-3xl font-bold text-gray-800 mb-12 text-center axis-header">اختبر فهمك (أقسام منفصلة)</h2>

            <div id="problematicsQuizSection" class="quiz-section">
                <h3 class="quiz-title"><i class="fas fa-question-circle text-blue-500 mr-2"></i> اختبار الإشكاليات الفلسفية</h3>
                <div class="space-y-6">
                    <div class="quiz-question">
                        <h4 class="font-semibold text-lg mb-3">س1: الإشكالية المحورية للمحور الأول (الحقيقة والرأي) تدور حول:</h4>
                        <div class="space-y-2">
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qp1" value="a" data-correct="true" class="ml-2"> طبيعة العلاقة بين الحقيقة والمعرفة العامية (الرأي) وإمكانية كون الرأي عائقاً أو سبيلاً للحقيقة.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qp1" value="b" class="ml-2"> البحث عن المعيار الوحيد والمطلق للحقيقة.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qp1" value="c" class="ml-2"> تحديد القيمة العملية أو الأخلاقية للحقيقة.</label>
                        </div>
                    </div>
                    <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س2: المحور الثاني (معايير الحقيقة) يطرح إشكاليات حول:</h4>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qp2" value="a" class="ml-2"> دور القلب والعاطفة في إدراك الحقيقة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qp2" value="b" data-correct="true" class="ml-2"> المقاييس المختلفة (العقلية، التجريبية، إلخ) للحكم على صدق قضية ما، وإمكانية كفاية معيار واحد.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qp2" value="c" class="ml-2"> علاقة الحقيقة بالوهم والعنف والمنفعة.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                        <h4 class="font-semibold text-lg mb-3">س3: الإشكالية الأساسية للمحور الثالث (الحقيقة بوصفها قيمة) تتمحور حول:</h4>
                        <div class="space-y-2">
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qp3" value="a" class="ml-2"> التمييز بين المعرفة العلمية والرأي العامي.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qp3" value="b" class="ml-2"> تحديد هل العقل أم التجربة هو مصدر الحقيقة.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qp3" value="c" data-correct="true" class="ml-2"> التساؤل عن غاية الحقيقة وأهميتها وقيمتها (هل هي في ذاتها أم في نتائجها؟ وما علاقتها بالقيم الأخرى؟).</label>
                        </div>
                    </div>
                </div>
                <button id="submitProblematicsQuiz" class="mt-8 w-full bg-blue-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-blue-700 transition duration-300 text-lg">
                    إرسال إجابات الإشكاليات <i class="fas fa-paper-plane mr-2"></i>
                </button>
                <div id="problematicsResult" class="mt-6"></div>
            </div>

            <div id="conceptsQuizSection" class="quiz-section">
                <h3 class="quiz-title"><i class="fas fa-book-open text-green-500 mr-2"></i> اختبار المفاهيم الفلسفية</h3>
                 <div class="space-y-6">
                    <div class="quiz-question">
                        <h4 class="font-semibold text-lg mb-3">س1: مفهوم <span class="text-gray-600 font-bold">"الرأي"</span> في سياق الدرس يشير إلى:</h4>
                        <div class="space-y-2">
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="a" data-correct="true" class="ml-2"> معرفة عامية ظنية لا تستند إلى برهان عقلي.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="b" class="ml-2"> الحقيقة العلمية المثبتة بالتجربة.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="c" class="ml-2"> الإدراك الحدسي المباشر للمبادئ الأولى.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="d" class="ml-2"> النتيجة النهائية للبحث الفلسفي.</label>
                        </div>
                    </div>
                     <div class="quiz-question">
                        <h4 class="font-semibold text-lg mb-3">س2: <span class="text-blue-600 font-bold">"المعرفة العلمية"</span> تتميز بكونها:</h4>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="a" class="ml-2"> فطرية وموجودة لدى كل الناس.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="b" data-correct="true" class="ml-2"> بنائية وتقوم على منهج وتتجاوز الأخطاء.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="c" class="ml-2"> مطابقة للآراء الشائعة في المجتمع.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="d" class="ml-2"> قائمة على الاعتقاد والتسليم فقط.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س3: <span class="text-orange-600 font-bold">"الحدس"</span> عند ديكارت هو:</h4>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="a" class="ml-2"> الاستنتاج المنطقي خطوة بخطوة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="b" class="ml-2"> المعرفة القائمة على التجربة الحسية.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="c" data-correct="true" class="ml-2"> إدراك عقلي مباشر وفوري للأفكار الواضحة البديهية.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="d" class="ml-2"> الرأي الشائع بين الناس.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س4: <span class="text-green-600 font-bold">"معيار التجربة"</span> للحقيقة يؤكد على أهمية:</h4>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="a" data-correct="true" class="ml-2"> الواقع الحسي والملاحظة والاختبار العملي.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="b" class="ml-2"> الاستدلال العقلي المجرد والبداهة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="c" class="ml-2"> آراء القلب والعواطف الداخلية.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="d" class="ml-2"> الصراع بين الأضداد (الجدل).</label>
                         </div>
                     </div>
                    <div class="quiz-question">
                        <h4 class="font-semibold text-lg mb-3">س5: مفهوم <span class="text-red-600 font-bold">"الجدل" أو "الديالكتيك"</span> كمعيار للحقيقة (عند هيجل) يشير إلى:</h4>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="a" class="ml-2"> تطابق الفكر مع الواقع الحسي.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="b" class="ml-2"> وضوح الأفكار وبداهتها للعقل.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="c" data-correct="true" class="ml-2"> تطور الحقيقة عبر الصراع بين الأطروحة ونقيضها والوصول لتركيب جديد.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="d" class="ml-2"> منفعة الفكرة ونتائجها العملية.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س6: الموقف البراغماتي (وليام جيمس) يربط قيمة الحقيقة بـ:</h4>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="a" class="ml-2"> مطابقتها للعقل المجرد.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="b" data-correct="true" class="ml-2"> نتائجها العملية المفيدة في الواقع (المنفعة).</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="c" class="ml-2"> انكشاف الوجود وعلاقته باللاحقيقة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="d" class="ml-2"> قدرتها على نبذ العنف وتحقيق الحوار.</label>
                         </div>
                     </div>
                 </div>
                 <button id="submitConceptsQuiz" class="mt-8 w-full bg-green-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-green-700 transition duration-300 text-lg">
                     إرسال إجابات المفاهيم <i class="fas fa-paper-plane mr-2"></i>
                 </button>
                 <div id="conceptsResult" class="mt-6"></div>
             </div>

            <div id="stancesQuizSection" class="quiz-section">
                 <h3 class="quiz-title"><i class="fas fa-users text-purple-500 mr-2"></i> اختبار المواقف الفلسفية</h3>
                 <div class="space-y-6">
                     <div class="quiz-question">
                        <h4 class="font-semibold text-lg mb-3">س1: يعتبر <span class="text-red-700 font-bold">باشلار</span> أن الرأي يمثل:</h4>
                        <div class="space-y-2">
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="a" data-correct="true" class="ml-2"> عائقاً إبستيمولوجياً أمام المعرفة العلمية الحقيقية.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="b" class="ml-2"> نقطة انطلاق ضرورية للمعرفة العلمية.</label>
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="c" class="ml-2"> شكلاً من أشكال الحقيقة التي يدركها القلب.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="d" class="ml-2"> المعيار النهائي للحكم على صدق الأفكار.</label>
                        </div>
                    </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س2: يرى <span class="text-blue-700 font-bold">باسكال</span> أن المبادئ الأولى للحقيقة تُدرك بواسطة:</h3>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="a" class="ml-2"> العقل والاستدلال المنطقي فقط.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="b" data-correct="true" class="ml-2"> القلب (الحدس المباشر) أساساً، ثم يستدل عليها العقل.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="c" class="ml-2"> التجربة الحسية والملاحظة فقط.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="d" class="ml-2"> آراء المجتمع وعاداته.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س3: يتفق <span class="text-yellow-700 font-bold">ديكارت وسبينوزا</span> على أن معيار الحقيقة الأساسي هو:</h3>
                         <div class="space-y-2">
                            <label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="a" class="ml-2"> مطابقة الفكرة للتجربة الحسية.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="b" data-correct="true" class="ml-2"> الوضوح والبداهة العقلية للفكرة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="c" class="ml-2"> منفعة الفكرة ونتائجها العملية.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="d" class="ml-2"> تطور الفكرة عبر الجدل والتناقض.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س4: يرى <span class="text-purple-700 font-bold">كانط</span> أن المعرفة الحقيقية بالعالم تتطلب:</h3>
                         <div class="space-y-2">
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="a" class="ml-2"> الاعتماد على العقل وحده دون الحاجة للتجربة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="b" class="ml-2"> الاعتماد على التجربة الحسية وحدها دون تدخل العقل.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="c" data-correct="true" class="ml-2"> تركيباً بين مبادئ العقل القبلية ومعطيات التجربة الحسية (تطابق الفكر والواقع).</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="d" class="ml-2"> الإيمان والتسليم بالحقائق الدينية.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س5: الموقف البراغماتي لـ <span class="text-orange-600 font-bold">وليام جيمس</span> يعتبر أن الفكرة تكون حقيقية إذا كانت:</h3>
                         <div class="space-y-2">
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="a" class="ml-2"> واضحة وبديهية للعقل.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="b" data-correct="true" class="ml-2"> مفيدة وتؤدي إلى نتائج عملية ناجحة.</label>
                             <label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="c" class="ml-2"> متطابقة مع الواقع بشكل مطلق.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="d" class="ml-2"> قادرة على تجاوز التيه واللاحقيقة.</label>
                         </div>
                     </div>
                     <div class="quiz-question">
                         <h4 class="font-semibold text-lg mb-3">س6: يؤكد <span class="text-red-700 font-bold">إريك فايل</span> على أن غياب الحقيقة أو رفضها يؤدي إلى:</h3>
                         <div class="space-y-2">
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs6" value="a" class="ml-2"> زيادة المنفعة العملية.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs6" value="b" data-correct="true" class="ml-2"> العنف (بدءاً من اللغة والفكر وصولاً للفعل).</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs6" value="c" class="ml-2"> الوصول المباشر للمعرفة البديهية.</label>
                              <label class="flex items-center cursor-pointer"><input type="radio" name="qs6" value="d" class="ml-2"> تطور الفكر عبر الجدل.</label>
                         </div>
                     </div>
                 </div>
                 <button id="submitStancesQuiz" class="mt-8 w-full bg-purple-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-purple-700 transition duration-300 text-lg">
                      إرسال إجابات المواقف <i class="fas fa-paper-plane mr-2"></i>
                  </button>
                 <div id="stancesResult" class="mt-6"></div>
             </div>

        </section>
        </div> <a href="#main-concepts-overview" onclick="event.preventDefault(); scrollToElement('#main-concepts-overview');"
       class="floating-btn bg-pink-600 text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg hover:bg-pink-700"> <i class="fas fa-arrow-up text-xl"></i>
    </a>

    <script>
        document.addEventListener('DOMContentLoaded', () => {
            // Add fade-in animation to body or main container
            document.body.classList.add('fade-in');

            // Attach event listeners to respective submit buttons
            document.getElementById('submitProblematicsQuiz')?.addEventListener('click', () => submitSpecificQuiz('problematics'));
            document.getElementById('submitConceptsQuiz')?.addEventListener('click', () => submitSpecificQuiz('concepts'));
            document.getElementById('submitStancesQuiz')?.addEventListener('click', () => submitSpecificQuiz('stances'));
        });

        // Generic function to handle submission for any quiz type
        function submitSpecificQuiz(quizType) {
            const quizSection = document.getElementById(`${quizType}QuizSection`);
            if (!quizSection) {
                 console.error(`Quiz section not found for type: ${quizType}`);
                 return;
            }

            // Select only the direct child divs that represent questions within this section's content area
            const questions = quizSection.querySelectorAll(':scope > .space-y-6 > .quiz-question');
            const totalQuestions = questions.length;
            const resultDiv = document.getElementById(`${quizType}Result`);
            let score = 0;

            // Define question prefixes for radio button names
            let namePrefix = '';
            if (quizType === 'problematics') namePrefix = 'qp';
            else if (quizType === 'concepts') namePrefix = 'qc';
            else if (quizType === 'stances') namePrefix = 'qs';
            else {
                console.error(`Unknown quiz type: ${quizType}`);
                return;
            }

             resultDiv.innerHTML = ''; // Clear previous results
             clearQuizFormatting(quizSection); // Clear previous formatting

            questions.forEach((questionDiv, index) => {
                const questionNumber = index + 1;
                // Ensure querySelector is robust against potential nesting issues if structure changes
                const selectedAnswer = questionDiv.querySelector(`input[name="${namePrefix}${questionNumber}"]:checked`);

                if (selectedAnswer) {
                    if (selectedAnswer.hasAttribute('data-correct')) {
                        score++;
                        // Add visual feedback for correct answer
                        selectedAnswer.parentElement.classList.add('text-green-600', 'font-semibold');
                    } else {
                        // Add visual feedback for incorrect answer and show correct one
                        selectedAnswer.parentElement.classList.add('text-red-600');
                        const correctAnswer = questionDiv.querySelector(`input[data-correct="true"]`);
                        if(correctAnswer) {
                             correctAnswer.parentElement.classList.add('text-green-600', 'font-semibold', 'bg-green-100', 'p-1', 'rounded');
                        }
                    }
                } else {
                     // Optional: Highlight questions that were not answered
                     const questionTitle = questionDiv.querySelector('h4'); // Use h4 for question title
                     if(questionTitle) questionTitle.classList.add('text-yellow-600', 'font-bold'); // Indicate unanswered
                }
            });


            const percentage = totalQuestions > 0 ? Math.round((score / totalQuestions) * 100) : 0;

            let feedbackMessage = '';
            let resultClass = '';
            let buttonClass = '';
             // Use quizType to determine button color
            if (quizType === 'problematics') buttonClass = 'bg-blue-600 hover:bg-blue-700';
            else if (quizType === 'concepts') buttonClass = 'bg-green-600 hover:bg-green-700';
            else if (quizType === 'stances') buttonClass = 'bg-purple-600 hover:bg-purple-700';
            else buttonClass = 'bg-gray-600 hover:bg-gray-700'; // Fallback


            if (percentage >= 80) {
                feedbackMessage = `ممتاز! (${score}/${totalQuestions}) إجابات صحيحة.`;
                resultClass = 'bg-green-100 text-green-800 mt-6 p-4 rounded-lg shadow';
            } else if (percentage >= 50) {
                feedbackMessage = `جيد! (${score}/${totalQuestions}) إجابات صحيحة. تحتاج لمراجعة بسيطة.`;
                resultClass = 'bg-yellow-100 text-yellow-800 mt-6 p-4 rounded-lg shadow';
            } else {
                feedbackMessage = `تحتاج إلى مراجعة هذا القسم. (${score}/${totalQuestions}) إجابات صحيحة.`;
                resultClass = 'bg-red-100 text-red-800 mt-6 p-4 rounded-lg shadow';
            }

            resultDiv.className = resultClass;
            resultDiv.innerHTML = `
                <h4 class="font-bold text-lg mb-2">النتيجة: ${percentage}%</h4>
                <p class="mb-3">${feedbackMessage}</p>
                <button onclick="retryQuiz('${quizType}')" class="mt-2 ${buttonClass} text-white py-2 px-4 rounded-lg font-medium transition duration-300">
                    أعد المحاولة <i class="fas fa-redo mr-1"></i>
                </button>
            `;

             // Scroll result into view smoothly
              resultDiv.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
        }

        // Function to clear quiz formatting for a specific section
        function clearQuizFormatting(quizSection) {
             if (!quizSection) return;
             const quizContent = quizSection.querySelector(':scope > .space-y-6'); // Target the direct container of questions
             if (!quizContent) return;

             // Remove feedback styles from labels
             const labels = quizContent.querySelectorAll('label');
             labels.forEach(label => {
                 label.classList.remove('text-green-600', 'font-semibold', 'text-red-600', 'bg-green-100', 'p-1', 'rounded');
             });
              // Remove highlight from unanswered question titles
             const questionTitles = quizContent.querySelectorAll('.quiz-question h4');
             questionTitles.forEach(title => title.classList.remove('text-yellow-600', 'font-bold'));
        }

        // Generic smooth scroll function
        function scrollToElement(selector) {
             const element = document.querySelector(selector);
             if (element) {
                 element.scrollIntoView({ behavior: 'smooth', block: 'start' });
             }
        }


         // Retry function for a specific quiz
        function retryQuiz(quizType) {
             const quizSection = document.getElementById(`${quizType}QuizSection`);
             const resultDiv = document.getElementById(`${quizType}Result`);

             if(quizSection && resultDiv) {
                 // Clear radio buttons
                 const radioButtons = quizSection.querySelectorAll('input[type="radio"]');
                 radioButtons.forEach(rb => rb.checked = false);

                 // Clear result div
                 resultDiv.innerHTML = '';
                 resultDiv.className = 'mt-6'; // Reset result div style

                 // Clear formatting
                 clearQuizFormatting(quizSection);

                 // Scroll to the top of that specific quiz section
                 quizSection.scrollIntoView({ behavior: 'smooth', block: 'start' });
             } else {
                 console.error(`Could not find section or result div for quiz type: ${quizType}`);
                 // Fallback: scroll to top of page if quiz section not found
                 scrollToElement('body');
             }
        }
    </script>

<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=methodya/vetit" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>