:root {
 --transition: all 0.3s ease;

}



        body {
            background-color: var(--bg-header);
           
            overflow-x: hidden;
        }

    

        section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: 2.5rem;
    color: var(--cr-features-t1); /* لكل قسم له متغيراته */
            margin-bottom: 15px;
            font-weight: 800;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
        
            border-radius: 2px;
        }

        .section-header p {
            font-size: 1.2rem;
              color: var(--cr-features-t2); /* لكل قسم له متغيراته */

            max-width: 700px;
            margin: 20px auto 0;
        }

        /* أنماط الهيدر الجديدة */
      
        /* أنماط قسم البطل الجديدة */
           .hero {
            background:  var(--bg-hero);
            color: white;
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
        }


        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 2;
            flex-direction: row-reverse; /* النص على اليمين والصورة على اليسار */
        }

        .hero-text {
            flex: 1;
            max-width: 600px;
            text-align: right; /* محاذاة النص لليمين */
            order: 2; /* النص يأتي ثانيًا (على اليمين) */
        }

        .hero-text h1 {
          color: var(--cr-hero-t1);
            font-size: 3.2rem;
            margin-bottom: 20px;
            font-weight: 900;
            line-height: 1.2;
        }

        .hero-text p {
          color: var(--cr-hero-t2);
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: flex; /* محاذاة الأزرار لليمين */
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            order: 1; /* الصورة تأتي أولاً (على اليسار) */
        }

        .hero-image img {
            max-width: 320px;
            filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
           
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            font-size: 1rem;
            gap: 8px;
        }

        .btn-primary {
            background-color: var(--bg-hero-btn1);
            color: var(--cr-hero-btn);
           
        }

        .btn-primary:hover {
            background-color: var(--cr-hero-btn1);
          color: var(--bg-hero-btn1);
            transform: translateY(-3px);
           
        }

        .btn-secondary {
            background-color: var(--bg-hero);
            color: var(--cr-hero-btn2);
            border: 2px solid var(--cr-hero-btn2);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background-color: var(--cr-hero-btn2);;
            color: var(--bg-hero);
            transform: translateY(-3px);
            
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        /* التعديلات للشاشات الصغيرة */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column; /* الصورة فوق والنص تحت */
            }
            
            .hero-text {
                order: 2; /* النص يأتي ثانيًا (في الأسفل) */
                text-align: center; /* مركزة النص في الشاشات الصغيرة */
                margin-bottom: 40px;
            }
            
            .hero-buttons {
                justify-content: center; /* مركزة الأزرار في الشاشات الصغيرة */
            }
            
            .hero-image {
                order: 1; /* الصورة تأتي أولاً (في الأعلى) */
                margin-bottom: 40px;
            }
            
            .hero-text h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 576px) {
            .hero-text h1 {
                font-size: 1.8rem;
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                text-align: center;
            }
        }
        /* أنماط قسم الميزات */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
      #features-t1 {
          color: var(--cr-features-t1);
            font-size: 3.2rem;
            margin-bottom: 10px;
            font-weight: 400;
            line-height: 1.2;
        }

        #features-t2 {
          color: var(--cr-features-t2);
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
#features {
  background: var(--bg-features);
}
   
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card {
    background: var(--bg-features-card);
    width: 5rem;
    height: 5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}



.feature-card iconify-icon {
    font-size: 2rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--cr-features-card-t1);
}

.feature-content p {
    color: var(--cr-features-card-t2);
    line-height: 1.6;
}

  /* أنماط قسم الباقات المعدلة */

      #packs-t1 {
          color: var(--cr-packs-t1);
            font-size: 2.3rem;
            margin-bottom: 10px;
            font-weight: 400;
            line-height: 1.2;
        }

        #packs-t2 {
          color: var(--cr-packs-t2);
            font-size: 1.1rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
#packs {
  background: var(--bg-packs);
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px)); /* تحديد الحد الأقصى للبطاقات */
    gap: 20px;
    justify-content: center; /* يضع البطاقات في الوسط عند وجود فراغ */
}




.packs-grid::-webkit-scrollbar {
    height: 8px; /* ارتفاع شريط التمرير الأفقي */
}

.packs-grid::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.pack-card {
    flex: 0 0 auto; /* منع تغيير حجم البطاقات تلقائيًا */
    width: 100%; /* بدل 300px */
      max-width: 300px; /* يحافظ على الحد الأقصى */

   background: var(--bg-packs-card);
            border-radius: 20px;
    padding: 20px; /* تقليل padding يمين/يسار لإحساس أفضل بالتوازن */
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .pack-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

        .pack-badge {
            position: absolute;
            top: 20px;
            left: 20px;
         background: var(--bg-packs-card-type);
    color: var(--cr-packs-card-type);
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 2;
        }

        .pack-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .pack-title {
    color: var(--cr-packs-card-title);
            font-weight: 700;
            font-size: 20px;
            margin-bottom: 12px;
            text-align: right;
        }

        .pack-price {
            font-size: 32px;
            font-weight: 800;
    color: var(--cr-packs-card-price);
            margin: 0;
            text-align: right;
        }
#pack-omlaa {
    font-size: 30px;
            font-weight: 600;
    color: var(--cr-packs-card-price);
            margin: 0;
            text-align: right;
}


      

        .pack-button {
            margin-bottom: 20px;
        }

        .pack-button .btn {
            display: block;
            width: 100%;
          background: var(--bg-packs-card-btn);
    color: var(--cr-packs-card-btn);
            font-weight: 700;
            font-size: 16px;
            padding: 12px;
            text-align: center;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .pack-button .btn:hover {
           background: var(--cr-packs-card-btn);
    color: var(--bg-packs-card-btn);
        }

        .pack-divider {
            border: none;
    border-top: 1px solid var(--cr-packs-card-features-divider);
            margin: 20px 0;
        }

        .pack-features-title {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 12px;
    color: var(--cr-packs-card-featuresOfpack);
            text-align: right;
        }

        .pack-features {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: right;
        }

        .pack-features li {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            font-size: 15px;
    color: var(--cr-packs-card-features-packs);
            margin-bottom: 12px;
        }

        .pack-features li iconify-icon {
    color: var(--cr-packs-card-features-icon);
            font-weight: bold;
            margin-left: 8px;
            font-size: 18px;
        }

        /* أنماط قسم المنتجات الرقمية */
#mntgat-t1 {
    color: var(--cr-mntgat-t1);
    font-size: 2.3rem;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

#mntgat-t2 {
    color: var(--cr-mntgat-t2);
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: center;
}

#mntgat {
    background: var(--bg-mntgat);
    padding: 40px 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
    gap: 25px;
    justify-content: center;
}

.category-card {
    background: var(--bg-mntgat-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-mntgat-card-type);
    color: var(--cr-mntgat-card-type);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.category-image {
    height: auto;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contian;
    transition: transform 0.3s ease;
}

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

.category-content {
    padding: 20px;
}

.category-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--cr-mntgat-card-title);
  
}

.category-description {
    color: var(--cr-mntgat-card-description);
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
    font-size: 0.95rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cr-mntgat-card-go);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    gap: 5px;
}

.category-link iconify-icon {
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: var(--accent-color);
}

.category-link:hover iconify-icon {
    transform: translateX(5px);
}

/* تجاوب الموبايل */
@media (max-width: 500px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        border-radius: 15px;
    }

   
}


        /* أنماط قسم الأسئلة الشائعة */
   
      #faq-t1 {
          color: var(--cr-faq-t1);
            font-size: 2.3rem;
            margin-bottom: 10px;
            font-weight: 400;
            line-height: 1.2;
        }

        #faq-t2 {
          color: var(--cr-faq-t2);
            font-size: 1.1rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
#faq {
  background: var(--bg-faq);
}
.faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
    background: var(--bg-faq-card);
            border-radius: var(--border-radius);
            margin-bottom: 20px;
            box-shadow: var(--box-shadow);
            overflow: hidden;
            transition: var(--transition);
        }

        .faq-item:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .faq-question {
            padding: 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
              color: var(--bg-faq-card-q);

        }

        .faq-question iconify-icon {
            transition: var(--transition);
        }

        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: var(--transition);
               color: var(--bg-faq-card-a);

            line-height: 1.8;
        }

        .faq-item.active .faq-answer {
            padding: 0 20px 20px;
            max-height: 500px;
        }

        .faq-item.active .faq-question iconify-icon {
            transform: rotate(180deg);
        }

        /* أنماط قسم الشروحات */

     #tutorials-t1 {
          color: var(--cr-tutorials-t1);
            font-size: 2.3rem;
            margin-bottom: 10px;
            font-weight: 400;
            line-height: 1.2;
        }

        #tutorials-t2 {
          color: var(--cr-tutorials-t2);
            font-size: 1.1rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
#tutorials {
  background: var(--bg-tutorials);
}

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

        .tutorial-card {
    background: var(--bg-tutorials-card);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }

        .tutorial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .tutorial-video {
            position: relative;
            padding-top: 56.25%; /* نسبة 16:9 */
            background: #000;
        }

        .tutorial-video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .tutorial-content {
            padding: 20px;
        }

        .tutorial-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
    color: var(--bg-tutorials-card-title);
        }

        .tutorial-description {
    color: var(--bg-tutorials-card-description);
            line-height: 1.6;
        }

       
        /* أنماط الاستجابة للشاشات المختلفة */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-text {
                margin-bottom: 40px;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
        }

     
        @media (max-width: 576px) {
            .hero-text h1 {
                font-size: 1.8rem;
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                text-align: center;
            }
            
            .section-header h2 {
                font-size: 1.8rem;
            }
            
            .section-header p {
                font-size: 1rem;
            }
        }

        .hidden {
            display: none !important;
        }

        /* تأثيرات التمرير */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

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