* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: #fff;
    overflow-x: hidden;
    
    margin: 0;
    padding: 0;
}

.logo img {
    height: 80px; /* يمكنك التحكم في الارتفاع لتقليل سمك المنيو */
    width: auto;
    display: block;
	/* التحريك لليمين */


    
}
/* المنيو - تقليل البادينج السفلي *//* الحاوية */
.hero-container {
  width: 100%;
  overflow: hidden;
}

/* wrapper الصورة لتثبيت relative */
.hero-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

/* الصورة والشادو مخفيان افتراضياً (نسخة الويب) */
.hero-img,
.hero-shadow-bottom {
  display: none;
}

/* التعديل الجديد للمنيو بجانب اللوجو مباشرة */
.navbar {
    
    display: flex;
    justify-content: flex-start; /* تغيير التوزيع ليبدأ من اليمين */
    align-items: center;
    padding: 15px;
    background: #fff;
    position: relative;
    z-index: -500;
    gap:200px; /* المسافة بين اللوجو وأول عنصر في المنيو */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px; /* المسافة بين روابط المنيو وبعضها */
}

/* باقي الكود كما هو لضمان التنسيق */
/* تعديل روابط المنيو */
.nav-links li a {
    text-decoration: none;
    color: #333;
    
    /* تكبير حجم الخط */
    font-size: 1.8rem; /* جربي 1.5 أو 1.6 حسب ذوقك */
    
    /* جعل الخط عريض (Bold) */
    font-weight: 300; /* الرقم 700 يعطي سماكة واضحة جداً */
    
    white-space: nowrap; 
    transition: all 0.3s ease;
}

/* تعديل الرابط النشط (Active) ليتناسب مع الحجم الجديد */
.nav-links li a.active {
    border: 2px solid #333; /* زيادة سمك الإطار قليلاً */
    padding: 8px 15px;      /* تعديل المسافات الداخلية لتناسب الخط الكبير */
    border-radius: 30px;
}
/* السيكشن - عرض كامل وبدون هوامش */
/* السيكشن - استبدال اللون بالخلفية المطلوبة */
.hero-section {
    position: relative;
    width: 100%; 
    height: 120vh; 
    
    /* 1. تحديد الصورة */
    background-image: url('hero.png');
    
    /* 2. نمنع الصورة من التكرار */
    background-repeat: no-repeat;
    
    /* 3. نضبط الحجم ليكون العرض 100% والارتفاع تلقائي */
    background-size: 100% auto; 
    
    /* 4. التحريك: center (أفقياً) و 100px (رأسياً من الأعلى للأسفل) */
    /* يمكنك زيادة الرقم 100px إذا أردتِ نزولاً أكثر */
    background-position: center 100px; 
    
    /* 5. لون خلفية للسيكشن (اختياري) لملء الفراغ الذي سيظهر في الأعلى */
    background-color: #041f2d; 

    border-radius: 60px 60px 0 0; 
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    margin-top: 10px;
    padding-top: 200px; 
    overflow: visible;
}
/* الكارد - الحفاظ على شفافية الزجاج ليظهر ما خلفه */

/* إزالة التأثيرات القديمة التي قد تشوه الخلفية الجديدة */
.hero-section::after {
    display: none; /* إخفاء الفرشاة القديمة إذا كانت تتعارض مع صورة hero.png */
}

/* الأزرار */
/* تنسيق الأزرار داخل الهيرو */
.btn {
    text-decoration: none;
    padding: 19px 45px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
	font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;

    /* لون الخلفية الداكن المطابق للصورة */
    background: #041f2d; 

    /* الإطار النحيف جداً لإبراز الحواف */
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* السحر هنا: دمج الظلال الخارجية والداخلية */
    box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 0.5), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.4),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.4);
}

.btn:hover {
    /* تأثير بسيط عند الهوفر لزيادة البروز */
    transform: translateY(-2px);
    background: #052636;
    box-shadow: 
        0px 15px 25px rgba(0, 0, 0, 0.6), 
        inset 0px 2px 4px rgba(255, 255, 255, 0.15);
}

.btn:active {
    /* تأثير الضغط للداخل */
    transform: scale(0.98);
    box-shadow: 
        inset 0px 4px 8px rgba(0, 0, 0, 0.8);
}

/* الشخصية - وضعية ثابتة */


/* الزوايا الملونة المضافة في الصورة */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('brush-stroke.png') no-repeat; /* إذا كان لديك ملف للفرشاة الملونة */
    opacity: 0.5;
}


/* الكارد الرئيسي - تأكدي من إضافة هذه الخصائص */
.main-card {
    /* ... الخصائص السابقة (blur, background, etc) ... */
    display: flex;
    flex-direction: column; /* ترتيب العناصر تحت بعضها */
    align-items: center;    /* توسيط العناصر أفقياً */
    text-align: center;     /* توسيط النصوص */
    padding: 60px 40px;
}

/* اللوجو داخل الهيرو */
.main-logo img {
    max-width: 350px; 
    height: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;  /* لضمان التوسيط */
    margin-right: auto; /* لضمان التوسيط */
}

/* الوصف (الكلام) */
.description {
    color: #cfd8dc;
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 650px;
    /* مسح أي margin-right قديم وتوسيطه */
    margin-left: auto;
    margin-right: auto;
	font-weight: 700;
}

/* مجموعة الأزرار */
.buttons-group {
    display: flex;
    justify-content: center; /* توسيط الأزرار */
    gap: 20px;
    width: 100%;
}
/*تاني سيكشن */
/* تنسيق سيكشن من نحن العام */
.about-section {
    background-color: #041f2d; /* نفس لون خلفية الهيرو */
  
    color: #fff;
    text-align: center;
}

.about-header h1 {
    font-size: 3.1rem;
	font-weight:1100;
	
    margin-bottom: 10px;
	color: #ffffff;
}
.services-header h1 {
    font-size: 3.1rem;
	font-weight:1100;
    margin-bottom: 10px;
		color: #ffffff;
}
.about-header .underline {
    width: 100px;
    height: 4px;
    background: #8e9a64; /* اللون الزيتي من الصورة */
    margin: 0 auto 20px;
    border-radius: 2px;
}

.about-intro {
	 font-size: 1.5rem;
	font-weight:700;
    max-width: 1200px;
    margin: 0 auto 50px;
    line-height: 1.8;
    color: #ffffff;
}

/* الشبكة الخاصة بالكروت */
.about-grid {
    position: relative;
    width: 100%;
    
    /* إلغاء الارتفاع الثابت 200vh وجعله مرن مع المحتوى */
    height: auto; 
    min-height: 110vh; /* يضمن أن السيكشن لا يقل عن طول الشاشة */
    
    background-image: url('services.png');
    
    /* تجعل الصورة تغطي المساحة بالكامل وتظهر أكبر قدر منها */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    
    /* إزالة أي هوامش خارجية قد تسبب فراغات */
    margin: 0;
    
    /* إضافة مساحة داخلية (Padding) عشان الكروت ماتلزقش في أطراف الصورة */
    padding: 100px 5%;
    
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start; /* لتبدأ الكروت من أعلى الخلفية */
    flex-wrap: wrap;
}

/* الكروت داخل الشبكة (بدون جلاس - صلبة) */
.about-grid .info-card, 
.about-grid .values-card {
 /* لون صلب ليبرز فوق الصورة */


    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* ستايل الفقاعة الزجاجية الموحد */
/* كارد القيم */
/* تنسيق عنوان قيمنا داخل الكارد */
.values-card h3 {
    font-size: 2.5rem;    /* تكبير الحجم (يمكنك زيادته لـ 2.5rem حسب الرغبة) */
    font-weight: 900;     /* أقصى درجة للبولد ليكون عريضاً جداً */
    margin-bottom: 25px;  /* مسافة تحت العنوان قبل البدء في قائمة القيم */
    color: #ffffff;       /* التأكد من اللون الأبيض */
    text-align: center;   /* توسيط العنوان */
	  padding-left: 50px;
}
.values-list {
	 font-size: 1.5rem;
	font-weight:700;
	width:350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
	  padding-left: 60px;
}

.value-item {
    padding: 19px;
    border-radius: 50px;
    font-weight: bold;
box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 0.8), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.8),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255,255,255,0.8);
}

/* ألوان القيم كما في الصورة */
.value-red { background: rgba(144, 105, 96, 0.9); }
.value-blue { background: rgba(30, 56, 70, 0.9); }
.value-green { background: rgba(72, 89, 62, 0.9); }
.value-orange { background: rgba(135, 63, 41, 0.9); }
.value-dark { background: rgba(20, 40, 50, 0.9); }

/* حاوية الرؤية والرسالة */
.vision-mission-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 300px;
}

.info-card {
    text-align: right;

}

.info-card1 h3 {

    font-size: 1.8rem;
    color: #fff;
	   font-size: 2.5rem;    /* تكبير الحجم (يمكنك زيادته لـ 2.5rem حسب الرغبة) */
    font-weight: 900;     /* أقصى درجة للبولد ليكون عريضاً جداً */
 /* مسافة تحت العنوان قبل البدء في قائمة القيم */
    color: #ffffff;       /* التأكد من اللون الأبيض */
    text-align: center;   /* توسيط العنوان */

}

.info-card1 p {
    color: #cfd8dc;

	   font-size: 1.5rem;    /* تكبير الحجم (يمكنك زيادته لـ 2.5rem حسب الرغبة) */
   /* أقصى درجة للبولد ليكون عريضاً جداً */

 /* مسافة تحت العنوان قبل البدء في قائمة القيم */
    color: #ffffff;       /* التأكد من اللون الأبيض */
    text-align: center;   /* توسيط العنوان */

}
.info-card2 h3 {
padding-top:190px;
    font-size: 1.8rem;
    color: #fff;
	   font-size: 2.5rem;    /* تكبير الحجم (يمكنك زيادته لـ 2.5rem حسب الرغبة) */
    font-weight: 900;     /* أقصى درجة للبولد ليكون عريضاً جداً */
 /* مسافة تحت العنوان قبل البدء في قائمة القيم */
    color: #ffffff;       /* التأكد من اللون الأبيض */
    text-align: center;   /* توسيط العنوان */

}

.info-card2 p {
    color: #cfd8dc;

	   font-size: 1.5rem;    /* تكبير الحجم (يمكنك زيادته لـ 2.5rem حسب الرغبة) */
   /* أقصى درجة للبولد ليكون عريضاً جداً */

 /* مسافة تحت العنوان قبل البدء في قائمة القيم */
    color: #ffffff;       /* التأكد من اللون الأبيض */
    text-align: center;   /* توسيط العنوان */

}
.center-text {
    text-align: center;
    width: 100%;
    display: block;
	padding-left:100px;
}
.services-section {
    background-color: #041f2d; /* اللون الكحلي الغامق جداً */
    padding: 100px 20px;
    text-align: center;
    font-family: 'Tajawal', sans-serif;
     max-width: 2500px;
		width: % !important;
}

/* الحاوية الكبيرة التي تضم كل الصفوف */
.services-main-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
     max-width: 2500px;
    margin: 0 auto;
	width: 100% !important;
	
	
}

/* الصف الذي يجمع الكبسولات */
.row-container {
		width: 100% !important;
     max-width: 2500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* تأثير الحفر للإطار الكبير */
box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 1), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.8),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.8);
}

/* الكبسولة الواحدة (العادية المحفورة) */





.underline-brush {
    width: 140px;
    height: 20px;
    background: rgba(135, 63, 41, 0.4); /* بديل للفرشاة باللون البرتقالي */
    margin: 5px auto 50px;
    border-radius: 50%;
    filter: blur(8px);
}

/*section 4 */
.full-bg-section {
    width: 100%;
    /* تجعل الارتفاع يتحدد بناءً على عرض الصورة الحقيقي لمنع الفراغات */
    height: auto; 
    aspect-ratio: 16 / 9; /* غيري هذه النسبة حسب أبعاد صورتك (مثلاً 4/3 أو 1/1) */
    
    background-image: url('bg.png');
    background-size: 100% 100%; /* تجبر الصورة على ملء المساحة بالكامل */
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    
    /* إزالة أي هوامش قد تسبب الفراغ الأبيض */
    margin: 0;
    padding: 0;
}

.full-bg-section .content {
    position: relative;
    z-index: 2;
    padding: 20px;
    
    /* تحديد عرض الكتلة */
    max-width: 700px; 
    
    /* تحريك الكتلة كاملة لجهة اليمين */
    margin-right: 15%;   /* هذه النسبة تتحكم في بعده عن الحافة اليمنى */
    margin-left: auto;  /* لدفع الفراغ لليسار */

    /* توسيط النص داخل هذه الكتلة */
    text-align: center; 
}

.full-bg-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 400;
    /* نلغي المارجن اللي كان بيسنتره في نص الشاشة كلها ونخليه يتوسط داخل الـ content */
    margin: 0 auto 15px auto; 
}

.full-bg-section p {
    font-size: 1.6rem;
    margin-bottom: 25px;
    /* نضمن أن الفقرة متمركزة */
    margin: 0 auto 25px auto;
	  font-weight: 700;
}

/* لجعل أيقونات السوشيال ميديا تتوسط أيضاً تحت الكلام */
.full-bg-section .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
/* تنسيق الزر داخل السيكشن الجديد */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff5722; /* يمكنك تغيير اللون ليناسب براندك */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}
:root {
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text-color: #7a7a7a; /* Adjust based on your exact brand gray */
}



/* الحاوية الأب للكبسولة */
/* الحاوية الأب للكبسولة */
/* الحاوية الأب */
.service-wrapper {
    position: relative !important;
    flex: 1 !important;
    display: flex !important;
    z-index: 10;
	    max-width: 2500px !important;
	
}

/* رفع الأولوية عند النقر لضمان الظهور فوق المنيو أو أي سيكشن علوي */
.service-wrapper.active {
    z-index: 99999 !important; 
	     max-width: 2500px;
}

/* تعديل الكارد ليظهر بالأعلى */
/*services cards */
 .services-section {
            background-color: #041f2d;
            padding: 100px 5%;
            text-align: center;
            overflow: visible; /* ضروري جداً لظهور الكروت خارج حدود السيكشن */
	 
        }

        .services-header h2 { color: white; font-size: 2.8rem; margin-bottom: 40px; }

        .services-main-container {
            display: flex;
            flex-direction: column;
            gap: 60px; /* مسافة لضمان عدم تداخل الكروت */
            max-width: 1000px;
            margin: 0 auto;
			border: 0px solid rgba(255, 255, 255, 0.1);
			
        }

        .row-container {

            border-radius: 100px;
      padding: 30px 30px;
            display: flex;
            justify-content: space-around;
            align-items: center;
box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 0.6), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.4),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.4);
          border: 0px solid rgba(255, 255, 255, 0.1);
        }
border: 0px solid rgba(255, 255, 255, 0.1);


        .service-wrapper {
            position: relative;
            flex: 1;
            display: flex;
            justify-content: center;
			    height: 100px;
			
			
        }

        .capsule-item {
            color: #ffffff;
			padding-top:10px;
            padding: 30px 30px;
            width: 90%;
			    height: 80px;
            border-radius: 50px;
            cursor: pointer;
            transition: 0.4s;
            font-size: 1.5rem;
            text-align: center;
		box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 1), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.8),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.8) !important;
    border: 0px solid rgba(255,255,255,0.8);
}
        .active-orange { background: #873f29; font-weight: bold; }
        .active-green { background: #48593e; font-weight: bold; }

        /* الكارد الأبيض (Dropdown Card) */
        .dropdown-card {
            position: absolute;
            width: 280px;
			color:#ffffff;
 font-size: 1.9rem !important;
            padding: 20px;
            border-radius: 25px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
            pointer-events: none;
            text-align: center;
			box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 0.6), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.4),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.4);
  
        }

        .dropdown-card h3 { color:#ffffff; font-size: 1.7rem; margin-bottom: 8px; }
        .dropdown-card p { color: #ffffff; font-size: 1.2rem; line-height: 1.5; }

        /* --- التحكم في الاتجاهات --- */

        /* الصف الأول: يظهر من فوق الكبسولة */
        .row-top .dropdown-card {
            bottom: 180%; /* نقطة البداية (مخفي فوق) */
            transform: translateY(-30px);
        }
        .row-top .service-wrapper:hover .dropdown-card {
            opacity: 1;
            visibility: visible;
            bottom: 130%; /* يستقر فوق الكبسولة */
            transform: translateY(0);
        }

        /* الصف الثاني: يظهر من تحت الكبسولة */
        .row-bottom .dropdown-card {
            top: 180%; /* نقطة البداية (مخفي تحت) */
            transform: translateY(30px);
        }
        .row-bottom .service-wrapper:hover .dropdown-card {
            opacity: 1;
            visibility: visible;
            top: 130%; /* يستقر تحت الكبسولة */
            transform: translateY(0);
        }

        /* سهم الكارد (المثلث) */
        .dropdown-card::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            border: 10px solid transparent;
        }
        .row-top .dropdown-card::after { top: 100%; border-top-color: #fff; }
        .row-bottom .dropdown-card::after { bottom: 100%; border-bottom-color: #fff; }

/*end of services cards*/
.partners-section {
    background-color: #041f2d; /* اللون الكحلي الغامق نفس الصورة */
    padding: 80px 0;
    text-align: center;
    direction: rtl;
}

.partners-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق العنوان */
.partners-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Tajawal', sans-serif;
}

/* صورة الخط المموج تحت العنوان */
.title-decoration {
    width: 200px;
    height: auto;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* توزيع اللوجوهات */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px; /* المسافة بين اللوجوهات */
}

.partner-item {
    flex: 0 1 180px; /* حجم افتراضي لكل لوجو */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* تحويل اللوجوهات للون الأبيض تماماً مثل الصورة */
    opacity: 0.9;
}

/* تأثير عند مرور الماوس */
.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item:hover img {
    opacity: 1;
    filter: brightness(1) invert(0); /* اختياري: إرجاع اللوجو لألوانه الأصلية عند المرور عليه */
}

/* ضبط التصميم للموبايل */
@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
    }
    .partner-item {
        flex: 0 1 120px;
    }
    .partners-header h2 {
        font-size: 2rem;
    }
}
/* السيكشن الرئيسي */
.clients-section-fixed {
    background-color: #041f2d; /* نفس لون الخلفية في الصورة */
    padding: 100px 5%;
    text-align: center;
}

/* تنسيق العنوان */
.section-title-box h2 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Tajawal', sans-serif;
}

.wave-line {
    width: 200px;
    margin-bottom: 60px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.clients-section-fixed {
    background-color: #041f2d;
    padding: 80px 2%; /* تقليل البادينج الجانبي لزيادة مساحة العرض */
    text-align: center;
	padding-left:50;
 padding-right:50;
}

.clients-flex-container {
    display: flex;
    flex-direction: row;     /* رص العناصر أفقياً (جنب بعض) */
    flex-wrap: wrap;         /* السماح بالنزول لسطر جديد عند امتلاء الصف */
    justify-content: center; /* توسيط الشعارات في المنتصف */
    align-items: center;     /* محاذاة الشعارات رأسياً في الصف الواحد */
    gap: 30px 50px;          /* المسافة بين اللوجوهات (30px رأسياً و 50px أفقياً) */
    max-width: 100%;         /* استغلال كامل عرض الشاشة */
    margin: 0 auto;

}

.client-item {
    display: inline-flex;
    flex: 0 0 auto;          /* يمنع العناصر من التمدد القسري، يأخذ حجم الصورة فقط */
}

.client-item img {
    height: 60px;            /* توحيد الارتفاع لتبدو الصفوف منتظمة */
    width: auto;             /* العرض يتغير حسب حجم اللوجو (عريض أو كنز) */
    max-width: 150px;        /* أقصى عرض للوجوهات الطويلة جداً */

    
    object-fit: contain;
    filter: brightness(0) invert(1); /* اللون الأبيض الصافي */
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.client-item img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* للموبايل: نصغر حجم اللوجوهات عشان يفضلوا برضه جنب بعض */
@media (max-width: 768px) {
    .clients-flex-container {
        gap: 5px 5px;
    }
    .client-item img {
        height: 40px; 
    }
}
@media (max-width: 768px) {

    /* منع السكرول الأفقي */
    html, body {
        overflow-x: hidden;
    }

    /* ================= NAVBAR ================= */
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px;
    }

    .nav-links li a {
        font-size: .8rem;
    }

}
/* تأكدي أن السكشن الأصلي يحتوي على position: relative */
@media (max-width: 768px) {
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        /* الحفاظ على أبعاد الصورة الأصلية تماماً */
        background-image: url('hero.png');
        background-size: 100% auto;
        background-position: center 100px;
        background-repeat: no-repeat;
        background-color: #041f2d;
        
        position: relative;
        padding-top: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden; /* لمنع أي مشاكل في العرض */
    }

    /* هذا هو الشادو - تم تعديله ليكون فوق الصورة وبقوة أكبر */
    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0; /* يغطي كل السكشن */
        /* التدرج يبدأ من اللون القوي في الأسفل ويختفي للأعلى */
  background: linear-gradient(to top, 
    #041f2d 0%,          /* لون كامل في القاع */
    #041f2d 65%,         /* يبدأ بالتحلل بعد أول 20% */
    rgba(4, 31, 45, 0.8) 45%, /* شفافية متوسطة في المنتصف */
    rgba(4, 31, 45, 0.4) 70%, /* شفافية خفيفة جداً */
    transparent 100%     /* يختفي تماماً في الأعلى */
);
        z-index: 2; /* يضمن الظهور فوق الصورة */
        pointer-events: none;
    }

    /* المحتوى (اللوجو، النصوص، الأزرار) */
    .main-card {
        position: relative;
        z-index: 3; /* فوق الشادو */
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .main-logo img {
        max-width: 200px;
        height: auto;
        margin-bottom: 20px;
		right:10px
    }

    .description {
        font-size: 1.1rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .buttons-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 85%;
        padding: 15px;
        font-size: 1.2rem;
    }

	.about-section {
    padding: 40px 15px; /* إضافة مساحة داخلية جانبية للموبايل */
}

.about-header h1, 
.services-header h1 {
    font-size: 2rem; /* تصغير الخط من 3.1 لـ 2 ليناسب عرض الشاشة */
    font-weight: 800; /* تقليل الوزن قليلاً ليصبح مريحاً للعين */
    margin-bottom: 8px;
}

.about-header .underline {
    width: 60px; /* تقليل طول الخط السفلي */
    height: 3px;
    margin-bottom: 15px;
}

.about-intro {
    font-size: 1.1rem; /* تصغير النص الوصفي ليناسب الموبايل */
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 10px; /* ضمان عدم التصاق النص بحواف الشاشة */

    text-align-last: center; /* لضمان بقاء آخر سطر في المنتصف */
}
}
@media (max-width: 768px) {
    .about-grid {
        background-image: none !important; /* إخفاء الصورة */
        background-color: #041f2d;
        padding: 40px 20px;
        flex-direction: column;
        gap: 30px;
    }

    /* تطبيق تأثير الزجاج المطلوب على الكروت */
    .about-grid .info-card, 
    .about-grid .values-card {
        width: 100%;
        background: rgba(255, 255, 255, 0.05); /* شفافية خفيفة */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 30px;
        padding: 30px 20px;

        /* التأثير الذي طلبتِه بالضبط */
        box-shadow: 
            inset 0px 4px 10px rgba(255, 255, 255, 0.5), /* اللمعة الداخلية البيضاء */
            0px 20px 40px rgba(0, 0, 0, 0.3);           /* الظل الخارجي */
        
        border: 1px solid rgba(255, 255, 255, 0.1);    /* إطار نحيف */
    }

    /* ضبط النصوص لتناسب الزجاج في الموبايل */
    .values-card h3 {
        font-size: 1.8rem;
        padding-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .values-list {
        width: 100%;
        padding-left: 0;
        align-items: center;
        gap: 12px;
    }

    .value-item {
        width: 90%;
        text-align: center;
        font-size: 1rem;
        padding: 12px;
        /* الحفاظ على ستايل الفقاعات الملونة */
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .vision-mission-container {
        width: 100%;
        gap: 25px;
    }
}
/* 1. إخفاء نسخة الموبايل من الديسكتوب */
.mobile-only {
    display: none;
}

/* 2. كود الموبايل (داخل الميديا كويري) */
@media (max-width: 768px) {
    /* إخفاء سيكشن الديسكتوب تماماً */
    .about-grid {
        display: none !important;
    }

    /* إظهار سيكشن الموبايل */
    .mobile-only {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 40px 20px;
        background-color: #041f2d; /* الخلفية الداكنة */
    }

    /* تأثير الزجاج (Glassmorphism) بلمعته الداخلية */
    .glass-effect {
        width: 100%;
   
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 25px;
        padding: 35px 20px;
        text-align: center;
        /* لون الخلفية الداكن المطابق للصورة */
    background: #041f2d; 

    /* الإطار النحيف جداً لإبراز الحواف */
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* السحر هنا: دمج الظلال الخارجية والداخلية */
    box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 0.5), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.4),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.4);
    }

    .glass-effect h3 {
        color: #fff;
        font-size: 1.8rem;
        margin-bottom: 15px;
        font-weight: 800;
    }

    .glass-effect p {
        color: #cfd8dc;
        line-height: 1.7;
        font-size: 1.1rem;
        margin: 0;
    }

    /* تنسيق قائمة القيم في الموبايل */
    .mobile-values-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
        margin-top: 10px;
    }

    .m-value {
        width: 85%;
        padding: 12px;
        border-radius: 50px;
        font-weight: bold;
        color: white;
        text-align: center;
        font-size: 1rem;
       /* لون الخلفية الداكن المطابق للصورة */
    background: #041f2d; 

    /* الإطار النحيف جداً لإبراز الحواف */
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* السحر هنا: دمج الظلال الخارجية والداخلية */
    box-shadow: 
        /* ظل خارجي ناعم يعطي عمق */
        0px 10px 20px rgba(0, 0, 0, 0.5), 
        /* لمعة داخلية علوية خفيفة جداً للبروز */
        inset 0px 2px 4px rgba(255, 255, 255, 0.4),
        /* ظل داخلي سفلي لتعميق شكل الزر */
        inset 0px -2px 6px rgba(0, 0, 0, 0.4);
    }
}
@media (max-width: 768px) {
    /* ... الأكواد السابقة لـ .mobile-only و .glass-effect كما هي ... */

    /* تنسيق قائمة القيم في الموبايل بالوانها الاصلية */
    .mobile-values-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
        margin-top: 20px;
    }

    .m-value {
        width: 90%; /* عرض الزرار داخل الكارد */
        padding: 15px;
        border-radius: 50px;
        font-weight: bold;
        color: white;
        text-align: center;
        font-size: 1.1rem;
        
        /* الإطار والظلال الداخلية الموحدة لكل الأزرار */
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 
            0px 8px 15px rgba(0, 0, 0, 0.4), 
            inset 0px 2px 4px rgba(255, 255, 255, 0.4),
            inset 0px -2px 6px rgba(0, 0, 0, 0.4);
    }

    /* استعادة الألوان الأصلية لكل زر */
    .value-red { background: rgba(144, 105, 96, 0.95) !important; }
    .value-blue { background: rgba(30, 56, 70, 0.95) !important; }
    .value-green { background: rgba(72, 89, 62, 0.95) !important; }
    .value-orange { background: rgba(135, 63, 41, 0.95) !important; }
    .value-dark { background: rgba(20, 40, 50, 0.95) !important; }
}
@media (max-width: 768px) {
    /* 1. ضبط السيكشن الرئيسي */
    .services-section {
		
        padding: 60px 15px !important;
        overflow: hidden;
    }

    .services-header h1 {
		
        font-size: 2rem !important;
        margin-bottom: 0px;
			
    }

    /* 2. تحويل الحاوية لترتيب عمودي بسيط */
    .services-main-container {
        gap: 20px !important;
    }

    /* 3. تحويل الـ row-container من صف إلى حاوية شفافة */
    .row-container {
        flex-direction: column !important;
        border-radius: 20px !important;
        padding: 10px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        gap: 15px;
    }

    /* 4. تحويل الكبسولات إلى كروت زجاجية مستقلة */
    .service-wrapper {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .capsule-item {
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
        border-radius: 50px !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* تأثير الزجاج بلمعة */
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: 
            inset 0px 4px 10px rgba(255, 255, 255, 0.3), 
            0px 10px 20px rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* 5. جعل الكارد (Dropdown) يظهر تحت الكبسولة مباشرة بدلاً من الطفو */
    .dropdown-card {
        position: relative !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        pointer-events: auto !important;
        bottom: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.02) !important;
        padding: 15px !important;
        border-radius: 0 0 20px 20px !important;
        margin-top: -10px;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-top: none !important;
    }

    .dropdown-card h3 {
        font-size: 1.3rem !important;
        color: #fff !important;
    }

    .dropdown-card p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }

    /* إخفاء المثلث الصغير لأنه لم يعد له داعي في الموبايل */
    .dropdown-card::after {
        display: none !important;
    }

    /* ألوان التمييز (Orange & Green) */
    .active-orange { 
        background: linear-gradient(135deg, #873f29, #a34e35) !important; 
    }
    .active-green { 
        background: linear-gradient(135deg, #48593e, #5a6e4d) !important; 
    }
}
@media (max-width: 768px) {
    /* الحفاظ على حجم صورة الزينة كما هي في الكود الأصلي */
   

    /* تصغير حجم اللوجوهات فقط */
    .partners-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px 10px !important; /* مسافة 20px بين الصفوف و 10px بين اللوجوهات */
        width: 100% !important;
        max-width: 400px !important; /* تحديد عرض الحاوية لضمان كسر السطور */
        margin: 0 auto !important;
    }

    .partner-item {
        /* لتظهر 3 في الصف: 100% تقسيم 3 مع مراعاة الجاب */
        flex: 0 0 calc(33.33% - 15px) !important; 
        display: flex !important;
        justify-content: center !important;
    }

    .partner-item img {
        max-width: 70px !important; /* تصغير اللوجو ليناسب توزيع الـ 3 في الصف */
        height: auto !important;
        filter: brightness(0) invert(1) !important;
    }

    /* ملاحظة: التوسيط التلقائي لـ justify-content سيجعل الصف الثاني (الذي يحتوي على 2 فقط) يتوسط الشاشة تلقائياً تحت الثلاثة */
}
@media (max-width: 768px) {
    .full-bg-section {
        /* 1. إلغاء الصورة والنسبة الثابتة */
        background-image: none !important;
        background-color: #041f2d !important; /* لون السكاشن الأساسي */
        height: auto !important;
        aspect-ratio: auto !important;
        padding: 30px 20px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .full-bg-section .content {
        /* 2. تحويل الحاوية لزجاج برتقالي بنفس ستايل قيمنا */
        width: 90% !important;        /* زيادة العرض ليأخذ 90% من مساحة الشاشة */
        max-width: 95% !important;     /* التأكد أنه لا يتجاوز عرض الشاشة */
        margin: 0 auto !important;     /* التوسيط السحري: 0 من فوق وتحت و auto من الجوانب */
        
        background: rgba(135, 63, 41, 0.9) !important; 
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-radius: 30px !important;
        padding: 25px 20px !important;

        box-shadow: 
            0px 10px 20px rgba(0, 0, 0, 0.8), 
            inset 0px 2px 4px rgba(255, 255, 255, 0.8),
            inset 0px -2px 6px rgba(0, 0, 0, 0.8) !important;
            
        border: 0px solid rgba(255, 255, 255, 0.8) !important;
        text-align: center !important;
        
        /* إضافة هذه الخاصية للتأكد من التوسيط داخل الـ flex */
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }

    .full-bg-section h2 {
        font-size: 1rem !important;
        color: #ffffff !important;
        margin-bottom: 15px !important;
    }

    .full-bg-section p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        color: #ffffff !important;
        margin-bottom: 25px !important;
    }
}

/* تأكد أن القسم الأب يسمح بالعناصر العائمة بداخله */
.full-bg-section {
    position: relative;
    overflow: hidden; /* لمنع ظهور شريط تمرير إذا كان الفيديو كبيراً */
    min-height: 400px; /* أو أي طول تريده */
}

/* تنسيق الفيديو في الزاوية اليسرى السفلية */
.bottom-left-video {
    position: absolute;
    bottom: 20px;   /* مسافة من الأسفل */
    right: 800px;     /* مسافة من اليسار */
    width: 800px;   /* يمكنك التحكم في حجم الأنيميشن من هنا */
    height: auto;
    z-index: 10;    /* لضمان ظهوره فوق الخلفية وتحت المحتوى إذا أردت */
    pointer-events: none; /* يمنع أي نقرات على الفيديو تماماً */

}

/* لجعل التصميم متجاوباً مع الموبايل */

/* حاوية الأيقونات لضمان التوسط والتباعد الصحيح */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px; /* المسافة المثالية بين الأيقونات كما في الصورة */
    margin-top: 30px; /* مسافة كافية أسفل النص */
}

/* تنسيق روابط الأيقونات لضمان عدم وجود خلفيات */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    transition: transform 0.2s ease-in-out;
}

/* ضبط حجم الصور (الأيقونات) بدقة */
.social-icons a img {
    width: 26px; /* الحجم المطابق للصورة */
    height: auto;
    display: block;
    /* لجعل كل الأيقونات باللون الأبيض النظيف */
    filter: brightness(0) invert(1); 
    opacity: 0.85; /* شفافية بسيطة لدمجها مع الخلفية الزجاجية */
}

/* تأثير بسيط عند المرور بالماوس */
.social-icons a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

/* ضبط الحجم للموبايل ليبقى متناسقاً */
@media (max-width: 768px) {
    .social-icons {
        gap: 15px;
    }
    .social-icons a img {
        width: 22px; /* تصغير بسيط جداً ليناسب شاشات الموبايل */
    }
}
/* --- إعدادات الموبايل فقط (التعديل هنا) --- */
/* --- الكاركتر في الهيرو (Web & Mobile) --- */

/* تنسيق عام للفيديوهات المستجيبة */
/* --- تنسيقات عامة لإزالة الخلفية والحدود --- */
/* الفيديو الثاني: أسفل اليسار في الفوتر */
/* إعدادات الحاويات لضمان عدم خروج الفيديو عن الحدود */
.hero-section, .full-bg-section {
    position: relative;
    overflow: hidden;
}

/* التنسيق المشترك للفيديو الأول والثاني */
.top-left-video, .bottom-left-video {
    position: absolute;
    z-index: 5;
    pointer-events: none; /* لكي لا يمنع الضغط على الأزرار */
}

.top-left-video img, .bottom-left-video img {
    width: 100%;
    height: auto;
    background: transparent !important;
    /* الحل النهائي لإزالة الخلفية السوداء الشفافة */
    mix-blend-mode: screen; 
    /* تحسين الوضوح بعد الدمج */
    filter: brightness(1.1) contrast(1.1);
}

/* الفيديو الأول (الهيرو) - أعلى اليسار */
.top-left-video {
    top: -40px; 
    left: -30px;
    width: 35%;
    max-width: 450px;
}

/* الفيديو الثاني (الفوتر) - أسفل اليسار */
.bottom-left-video {
    bottom: 0;
    left: 0;
    width: 30%;
    max-width: 200px;
}

/* تعديلات الموبايل (Responsive) */

/* الفيديو الأول في الهيرو - معالجة المربع الشفاف */
.top-left-video video {
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    
    /* 1. الدمج بنمط screen لإخفاء السواد */
    mix-blend-mode: screen; 
    
    /* 2. الفلتر السحري: 
       زيادة الـ Contrast بنسبة عالية ستمسح الرمادي الخفيف وتجعله أسود صريح، 
       وبالتالي خاصية screen ستحذفه تماماً. */
    filter: contrast(140%) brightness(110%) saturate(110%);
    
    /* 3. تنعيم الحواف */
    -webkit-mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
}

/* الفيديو الثاني في الفوتر */
.bottom-left-video video {
    width: 650px !important;
    height: auto !important;
    mix-blend-mode: screen;
    filter: contrast(120%) brightness(110%);
    background: transparent !important;
}

/* التموضع لضمان عدم وجود مسافات بيضاء */
.top-left-video {
    position: absolute;
    top: -40px; /* ارفعه أكثر لتجاوز المربع */
    left: 80px;
    width: 38%;
    max-width: 280px;
    z-index: 5;
    pointer-events: none;
}
/* --- تعديلات الموبايل النهائية والمضبوطة --- */




/* الحالة الطبيعية للزر */
.value-item {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حركة مرنة */
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* تأثير البوب آب عند الهوفر */
.value-item:hover {
    transform: scale(1.15) translateY(-5px); /* تكبير بنسبة 15% وتحريك للأعلى */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* إضافة ظل خلف الزر */
    z-index: 10; /* لضمان ظهور الزر فوق العناصر المجاورة */
}
html {
    scroll-behavior: smooth;
}
.navbar {
    position: relative; /* أو fixed لو كنتِ بتستخدميها */
    z-index: 9999 !important; /* لضمان إنه فوق كل الفيديوهات والصور */
}

.nav-links li a {
    position: relative;
    z-index: 10000;
    pointer-events: auto; /* للتأكد إن اللينك شغال */
}
@media (max-width: 768px) {
    .full-bg-section {
        /* 1. إعدادات السكشن الأساسي */
        background-image: none !important;
        background-color: #041f2d !important; 
        height: auto !important;
        min-height: 400px; /* ضمان وجود مساحة للسكشن */
        padding: 50px 0 !important; /* مسافة من فوق وتحت */
        display: flex !important;
        justify-content: center !important; /* توسيط أفقي */
        align-items: center !important;    /* توسيط رأسي */
        position: relative !important;
        width: 100% !important;
    }

    .full-bg-section .content {
        /* 2. تصحيح مكان وعرض الكارد */
        width: 85% !important;        /* عرض مناسب للموبايل */
        max-width: 90% !important;
        margin: 0 auto !important;     /* إجبار التوسيط */
        float: none !important;        /* إلغاء أي تحريك قديم */
        
        /* 3. إظهار الخلفية البرتقالية */
        background: rgba(135, 63, 41, 0.95) !important; 
        visibility: visible !important;
        opacity: 1 !important;

        /* تأثير الزجاج والبروز */
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-radius: 25px !important;
        padding: 30px 20px !important;

        /* الظل واللمعة */
        box-shadow: 
            0px 15px 35px rgba(0, 0, 0, 0.5), 
            inset 0px 2px 5px rgba(255, 255, 255, 0.4) !important;
            
        text-align: center !important;
        /* إلغاء أي إزاحة كانت موجودة في نسخة الديسكتوب */
        right: auto !important;
        left: auto !important;
    }

    /* ضمان أن النصوص داخل الكارد متمركزة */
    .full-bg-section h2, 
    .full-bg-section p {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: center !important;
        color: #ffffff !important;
    }
}

@media (max-width: 768px) {
    /* استهداف الصورة مباشرة بأقصى قوة */
    .navbar .logo img, 
    .logo img {
        height: 60px !important; /* تقليل الارتفاع للموبايل */
        width: auto !important;
        
        /* التحريك الفعلي لليمين */
        /* translateX(40px) تعني زق اللوجو لليمين 40 بكسل */
        transform: translateX(50px) !important; 
        
        /* التأكد من عدم وجود عوائق */
        position: relative !important;
        z-index: 999 !important;
    }

    /* فك قيد الحاوية الأم */
    .logo {
        padding-right: 0 !important;
        margin-right: 0 !important;
        border: none !important;
    }
}
@media (max-width: 768px) {
    
    /* 1. رجوع مقاسات فيديو الهيرو (التوب) */
/* 1. رجوع مقاسات فيديو الهيرو (التوب) */
@media (max-width: 768px) {
    .top-left-video {
        width: 130px !important;
        left: 10px !important;
        position: absolute !important;
        display: block !important;
        z-index: 9999 !important;
		

        /* قيمة الأندرويد اللي إنتي قلتي إنها مظبوطة */
        top: -18px !important; 
    }

    /* استهداف الآيفون (المقاس اللي بعتيه 333*645) */
    /* النسبة دي 0.51، فإحنا هنقول له لو النسبة قريبة من كده نفذ الكود ده */
    @media screen and (max-width: 350px) {
         .top-left-video {
            top: -5px !important; /* القيمة الخاصة للايفون الرفيع */
        }
    }
    
    /* أو بطريقة الـ Ratio لضمان دقة أعلى */
    @media screen and (max-aspect-ratio: 334/644) {
        .top-left-video {
            top: -20px !important;
        }
    }
}
    /* 2. رجوع مقاسات فيديو الفوتر (البوتوم) */
    .bottom-left-video {
        width: 130px !important;   
        height: auto !important;
        right: 280px !important;    
        bottom: 23px !important;   

        position: absolute !important;
        display: block !important;
    }

    /* 3. ضبط خصائص الفيديو الفنية بدون فلاتر معقدة */
    .top-left-video video, .bottom-left-video video {
        width: 100% !important;
        height: auto !important;
        mix-blend-mode: screen !important; /* للدمج الطبيعي */
        background: transparent !important;
        filter: none !important; /* إلغاء الفلاتر اللي بوظت الدنيا */
        -webkit-mask-image: none !important; /* إلغاء الماسك */
    }


}
/* السكشن الجديد (الحاوية الكبرى) */
.footer-wrapper {
    background-color: #041f2d !important; /* اللون الكحلي */
    width: 100%;
    overflow: hidden; /* لمنع حدوث سكرول عرضي بسبب التحريك */
    display: block;
	padding-bottom:50px;
}

.rights-footer {
    width: 100%;
    background: transparent; /* جعل خلفية الفوتر شفافة لأن السكشن خلفه كحلي */
    position: relative !important;
    
    /* 1. المسافة الرأسية (تنزيله لأسفل قليلاً وتوسيع المساحة) */
    margin-top: 10px !important; 
    
    /* 2. التحريك لليمين كما طلبتِ */
    transform: translateX(250px) !important; 

    /* 3. زيادة المسافة فوق وتحت النص داخل السكشن الكحلي */
    padding: 50px 0 !important; 
    
    text-align: left;
    direction: ltr;
    z-index: 999;
}

.rights-footer p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* للموبايل: العودة للوضع الطبيعي */
@media (max-width: 768px) {
    .footer-wrapper {
        background-color: #041f2d !important;
    }
    
    .rights-footer {
        transform: translateX(0) !important;
        margin-top: 0 !important;
        text-align: center;
        padding: 30px 20px !important;
    }
}
/* 1. حل مشكلة العرض الزائد في Index (منع السكرول الجانبي) */
html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

/* 2. توحيد الـ Navbar (بدون تدمير باقي الصفحة) */
@media (max-width: 768px) {
    /* استهداف الحاوية فقط */
    header.navbar, nav.navbar, .navbar { 
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        background: #fff !important;
        padding: 15px 0 !important;
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        margin: 0 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    }

    /* ضبط اللوجو - إلغاء أي مارجن علوي */
    .navbar .logo {
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .navbar .logo img {
        height: 55px !important; /* حجم موحد */
        width: auto !important;
    }

    /* الروابط في صف واحد كما في الصورة */
    .nav-links {
        display: flex !important;
        flex-direction: row !important; /* إجبار الصف الواحد */
        flex-wrap: nowrap !important; /* منع النزول لسطر جديد */
        justify-content: center !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .nav-links li a {
        font-size: 0.85rem !important;
        color: #333 !important;
        text-decoration: none !important;
        padding: 0px 0px !important;
    }

    /* الكبسولة النشطة (زي الصورة بالظبط) */
    .nav-links li a.active {
        border: 1.5px solid #000 !important;
        border-radius: 50px !important;
        font-weight: bold !important;
        padding: 6px 15px !important;
    }

    /* 3. حل مشكلة المسافة البيضاء فوق اللوجو في Contact وغيرها */
    .projects-header-section, 
    .contact-header-section, 
    .first-section { 
        margin-top: 0 !important; /* إلغاء أي فجوة */
        border-top-left-radius: 50px !important;
        border-top-right-radius: 50px !important;
        background-color: #041f2d !important;
    }
}
@media (max-width: 768px) {
    /* 1. توحيد السكاشن الأولى في كل الصفحات */
    .projects-header-section, 
    .contact-header-section, 
    .hero-section, 
    main section:first-of-type,
    #first-section {
        margin-top: 0 !important; /* إلغاء أي فجوة علوية */
        padding-top: 60px !important; /* مسافة داخلية موحدة من الأعلى */
        padding-bottom: 50px !important;
        background-color: #041f2d !important; /* اللون الكحلي الموحد */
        border-top-left-radius: 50px !important; /* درجة الانحناء */
        border-top-right-radius: 50px !important;
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        border-top: none !important; /* إلغاء أي خطوط قديمة */
    }

    /* 2. ضمان أن الخلفية وراء الانحناءة بيضاء دائماً */
    body, html {
        background-color: #ffffff !important;
    }

    /* 3. إلغاء أي تأثيرات "قبل" (::before) قديمة كانت مسببة مشاكل */
    .projects-header-section::before, 
    .contact-header-section::before,
    .hero-section::before {
        content: none !important;
        display: none !important;
    }
}
@media (max-width: 768px) {
    /* الحاوية الكبرى */
    .clients-flex-container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important; /* إلغاء المسافة التلقائية تماماً */
        padding: 0 !important;
        margin: 0 auto !important;
    }

    /* العنصر المحيط بالصورة */
    .client-item {
        flex: 0 0 auto !important;
        margin: 0 0px !important; /* استخدام مارجن سالب لتقريب اللوجوهات من بعضها */
        padding: 0 !important;
        display: flex !important;
    }

    /* الصورة نفسها */
    .client-item img {
        height: 30px !important; /* تصغير الارتفاع قليلاً يوفر مساحة عرضية */
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
.top-left-video video {
    background: none !important;
    background-color: transparent !important;
}
@media screen and (max-width: 768px) {
    .bottom-left-video .animated-gif {
        width: 180px !important;   /* عرض الصورة على الموبايل */
        height: 150px !important;  /* ارتفاع محدد*/
        max-width: 180px !important; /* يمنع تجاوز عرض الشاشة */
        display: block !important;
        margin: 0 auto !important; /* لو عايزة الصورة في النص */
	 transform: translateX(80px); /* يحرك الصورة قليلاً للشمال */
    }
}
.bottom-left-video .animated-gif {
    width: 600px;   /* عرض كبير للويب */
    height: auto;   /* يحافظ على النسبة */
    display: block;
    margin: 0 auto; /* لو عايزة الصورة في النص */
}

/* الحاوية */
/* الحاوية */

/* الصورة والشادو مخفيان افتراضياً (نسخة الويب) */


/* wrapper الصورة لتثبيت relative */


/* الصورة والشادو مخفيان افتراضياً (نسخة الويب) */
.hero-img,
.hero-shadow-bottom {
  display: none;
}

/* موبايل فقط */
@media (max-width: 768px) {
  .hero-img {
    display: block; /* تظهر على الموبايل فقط */
    width: 100%;
    height: auto;
  }

  .hero-shadow-bottom {
    display: block; /* يظهر على الموبايل فقط */
    position: absolute;
    bottom: 0;       
    left: 0;
    width: 100%;
    height: 80%;     /* يغطي جزء من الصورة تدريجيًا */
    background: linear-gradient(
      to top, 
      rgba(4, 31, 45, 1), /* غامق جدًا عند الأسفل */
      rgba(4, 31, 45, 0)    /* شفاف تدريجيًا للأعلى */
    );
    z-index: 10;
    pointer-events: none;
  }
}
/* موبايل فقط */
@media (max-width: 768px) {
  .main-card {
    position: relative;  /* يسمح بالظهور فوق أي خلفية */
    z-index: 20;         /* فوق أي عنصر خلفي */
    width: 90%;           /* مناسب لشاشات الموبايل */
    max-width: 400px;
    margin: 0 auto;       /* يوسّطه أفقياً */
    text-align: center;
    top: -165px;           /* يظهر فوق الخلفية */
  }
}
/* موبايل فقط */

/* موبايل فقط */
@media (max-width: 768px) {
  .hero-section {
    background-image: none; /* تختفي الصورة الخلفية بس */
  }
}
}
/* هذا هو التنسيق الخاص بالكارد عند فتحه */
