/* General Styles */

/* إزالة أي مساحات بيضاء افتراضية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
  
  box-sizing: border-box;
     height: 100vh;
    overflow-x: hidden; /* منع التمرير الأفقي */
   
}

/* Full Background Section */
.background {
    
    
    height: 100vh; /* اجعل الخلفية تغطي ارتفاع الشاشة بالكامل */
        width: 100vw; /* تغطي عرض الشاشة بالكامل */

   /* width: 100%; /* اجعل الخلفية تمتد على عرض الشاشة بالكامل */
    /*background: url('images/slide2.png') no-repeat center center;   */
       background: url('images/slide3.png?v=1') no-repeat center center;  /*  */
    background-size: cover; /* اجعل الخلفية تغطي الشاشة دون تمدد أو قص */
    /*overflow: hidden; /* منع أي تجاوز للمحتوى خارج الخلفية */
     position: relative; /* تأكد أن الخلفية تكون في الموضع الصحيح */    
    
}





/* الهيدر */


.header {
  
    /*position: fixed; /* أو absolute إذا كان ذلك مطلوبًا */
    position: absolute;  
    top: 0;
    left: 0; /* تأكد من أن الهيدر يبدأ من أقصى اليسار */
    width: 100%; /* امتداد الهيدر ليغطي العرض بالكامل */
    background: rgba(0, 0, 0, 0.5); /* خلفية شفافة */
    padding: 10px 20px; /* تقليل المساحات الداخلية إذا لزم الأمر */
    display: flex;
    justify-content: space-between; /* الشعار على اليسار والقائمة على اليمين */
    align-items: center;
    z-index: 10; /* الهيدر فوق باقي المحتوى */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* إذا كنت تريد الظل */
     height: 120px; /* ارتفاع أكبر */
}


/* الشعار */
/*.logo-container {
    display: flex;
    align-items: center;
}*/

/*.logo-image {
 /*   width: 40px; /* حجم صغير للشعار */
 /*   height: 40px;
    border-radius: 50%; /* لجعل الشعار دائري */
   /* margin-right: 15px;
    border: 2px solid #ffffff; /* إطار أبيض حول الشعار */
/*}*/
/****************************************************************/

/* إصلاح الشعار */
.logo-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px; /* وضع الشعار على الجانب الأيسر */
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}



.container {
    width: 100%; /* تمديد الحاوية لتغطية العرض الكامل */
    /* إزالة أي margin زائد */
    margin: 0 auto; /* ضمان محاذاتها للوسط بدون فراغات */
/* إزالة أي padding زائد */
    padding: 0;
}

/*****************************************************************/

/* قائمة التنقل */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #FFD700; /* لون ذهبي عند المرور */
}



/***********************************/




.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-text h2 {
    font-size: 32px; /* تصغير النص ليبدو متناسقًا */
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 18px; /* حجم النص أصغر */
}


.navbar {
    display: flex;
    align-items: center;
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* Hero Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-text h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 20px;
}

/* Services Section */
.services {
    
    /*padding: 50px; */
    text-align: center;
    background: #f9f9f9;
     
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding: 20px 0; /* مسافة بسيطة داخل الخدمات */
    margin: 0 auto; /* إزالة الهوامش الزائدة */
     width: 100vw; /* يغطي العرض بالكامل بما في ذلك الهوامش */
}

.services h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.service-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.icon-box {
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 150px;
    height: 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.icon-box img {
   
    margin-bottom: 10px;
   /* width: 60px; /* عرض الصورة */
   /* height: 60px; /* ارتفاع الصورة */
   /* object-fit: cover; /* لتعديل الصورة لتناسب الأبعاد */
  /*  border-radius: 50%; /* جعل الصور دائرية */
  max-width: 100%; /* اجعل الصورة تتناسب مع عرض الحاوية */
    height: auto; /* للحفاظ على الأبعاد النسبية */
    border-radius: 10px; /* إضافة زوايا مستديرة */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* إضافة ظل خفيف */
    object-fit: cover; /* لضمان أن الصورة ملائمة للحاوية */
  
}



.icon-box h3 {
    font-size: 14px;
}

.icon-box:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100vw; /* يغطي العرض بالكامل بما في ذلك الهوامش */
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-content h3 {
    margin-bottom: 10px;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content a {
    color: #007bff;
    text-decoration: none;
}

.footer-content img {
    width: 20px;
    margin: 0 5px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
    
     .header {
        height: 80px; /* ارتفاع أصغر للشاشات الصغيرة */
        padding: 10px;
    }
    .header nav ul {
        flex-direction: column; /* ترتيب عمودي للقائمة */
    }

    .background {
        height: auto;
        min-height: 100vh;
        width: 100%;
    }
    
    
    
}
