/* تحسين شريط العناوين */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0; /* تقليل ارتفاع الشريط */
    text-align: center;
    z-index: 1000;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* جعل القائمة في صف واحد */
.navbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* تقليل المسافة بين العناصر */
.navbar-links li {
    position: relative;
    margin: 0 8px; /* تقليل المسافة الجانبية بين العناوين */
}

/* تصغير المسافة داخل الأزرار */
.navbar-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px; /* يمكن تصغيره أكثر لو أردت */
    font-weight: bold;
    padding: 6px 10px; /* تقليل المسافة الداخلية */
    transition: 0.3s;
}

.navbar-links a:hover {
    color: #f4a261;
}
/* تعديل التصميم على الشاشات الصغيرة (الموبايل) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* يجعل القائمة عمودية على الشاشات الصغيرة */
        padding: 5px 0;
    }

    .navbar-links {
        flex-direction: row; /* يجبر العناصر على البقاء في صف واحد */
        overflow-x: auto; /* يسمح بالتمرير إذا لم تتسع العناصر */
        white-space: nowrap; /* يمنع نزول العناصر إلى سطر جديد */
        width: 100%;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .navbar-links a {
        font-size: 14px; /* تصغير الخط */
        padding: 8px 10px; /* تقليل المسافات */
    }
}

/* تحسين القائمة المنسدلة */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 1;
    background: rgba(0, 0, 0, 0.412);
    display: none;
    list-style: none;
    padding: 0;
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px;
    text-align: left;
}

.dropdown-menu a {
    color: white;
}

.dropdown-menu a:hover {
    color: #f4a261;
}

/* تحسين شبكة الصور */
.container {
    max-width: 1200px;
    margin: 100px auto;
    text-align: center;
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.image-grid img:hover {
    transform: scale(1.1);
}

/* قسم المحتوى الرئيسي */
.container {
    text-align: center;
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

.container h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.container p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* الشبكة الخاصة بالصور */
.image-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.image-grid img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* تحسينات للأجهزة الصغيرة */
@media (max-width: 768px) {

    .image-grid {
        flex-direction: column;
        align-items: center;
    }
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    text-align: center;
}
section {
    padding: 40px 20px;
    background-color: #ffffff;
    margin: 30px auto;
    border-radius: 12px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
section h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
}
section p {
    font-size: 18px;
    color: #444;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}
.features {
    width: 90%;
    margin: auto;
    text-align: left;
}
.feature-box {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.styled-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    justify-content: center;
}
.styled-list li {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 15px;
    background-color: #1a58bcde;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}
.styled-list li:hover {
    background-color: #e37916;
    transform: scale(1.05);
}


.contact-container {
    display: flex;
    justify-content: space-between;
    height: 100vh;
  }
  
    /* الجزء الأيسر */
    .left-section {
      background-color: #001f3f; /* الخلفية الكحلية */
      color: white;
      flex: 1; /* تقسيم الصفحة بالتساوي */
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 20px 30px; /* زيادة الحشوة لتوسيع المسافة بين المحتوى والحواف */
    }
    
    .contact-title {
      font-size: 3rem;
      margin-bottom: 60px;
      margin-left: 20px; /* لإبعاد العنوان عن الحافة اليسرى */
    }
    
    .contact-info {
      font-size: 1rem;
      margin-bottom: 10px;
      margin-left: 20px; /* لإبعاد النصوص عن الحافة اليسرى */
    }
    
    .contact-info i {
      margin-right: 10px; /* المسافة بين الأيقونات والنص */
    }
    
    /* تنسيق الأزرار */
    .social-media {
      text-align: center;
      margin-top: 20px;  /* تعديل المسافة العلوية حسب الحاجة */
    }
    
    /* تعديل زر الأيقونات */
  .social-button {
    background-color: transparent;  /* خلفية شفافة */
    border: none;                   /* إزالة الحدود */
    padding: 10px;                  /* زيادة المساحة الداخلية للزر */
    width: 70px;                    /* تحديد عرض الزر */
    height: 70px;                   /* تحديد ارتفاع الزر */
    display: inline-block;          /* لجعل الزر يتصرف كعنصر كتلي */
    cursor: pointer;                /* تغيير شكل المؤشر عند المرور */
  }
    .social-button:hover {
      background-color: #365899; /* تغيير اللون عند التمرير */
    }
    /* تعديل الصورة داخل الزر لتعبئته بالكامل */
  .social-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
    /* الجزء الأيمن */
    .right-section {
      background-color: white; /* الخلفية البيضاء */
      color: #001f3f; /* النص باللون الكحلي */
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 50px;
    }
    
    .quotation-title {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
    
    .service-text {
      font-size: 1.2rem;
      margin-bottom: 20px;
    }
    
    .contact-form {
      display: flex;
      flex-direction: column;
    }
    
    .contact-form label {
      font-size: 1rem;
      margin-bottom: 5px;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 1rem;
    }
    
    .contact-form button {
      background-color: orange;
      color: white;
      padding: 15px;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s;
      font-size: 1rem;
    }
    
    .contact-form button:hover {
      background-color: darkorange;
    }
    
    
    /* استجابة الشاشات الصغيرة */
    @media (max-width: 768px) {
      .contact-container {
        flex-direction: column; /* ترتيب الأقسام عموديًا */
        height: auto; /* جعل الارتفاع تلقائيًا */
      }
    
      /* الجزء الأيسر */
      .left-section {
        padding: 20px; /* تقليل الحشوة */
        text-align: center; /* توسيط النصوص */
      }
    
      .contact-title {
        font-size: 2rem; /* تصغير حجم العنوان */
        margin-bottom: 30px; /* تقليل المسافة السفلية */
        margin-left: 0; /* إزالة المسافة الجانبية */
      }
    
      .contact-info {
        font-size: 0.9rem; /* تصغير حجم النص */
        margin-left: 0; /* إزالة المسافة الجانبية */
      }
    
      .social-media {
        justify-content: center; /* توسيط الأزرار */
        margin-left: 0; /* إزالة المسافة الجانبية */
      }
    
      .social-button {
        width: 50px; /* تصغير عرض الزر */
        height: 50px; /* تصغير ارتفاع الزر */
      }
    
      /* الجزء الأيمن */
      .right-section {
        padding: 20px; /* تقليل الحشوة */
        text-align: center; /* توسيط النصوص */
      }
    
      .quotation-title {
        font-size: 2rem; /* تصغير حجم العنوان */
        margin-bottom: 15px; /* تقليل المسافة السفلية */
      }
    
      .service-text {
        font-size: 1rem; /* تصغير النص */
        margin-bottom: 15px; /* تقليل المسافة السفلية */
      }
    
      .contact-form {
        width: 100%; /* جعل الفورم يأخذ العرض الكامل */
      }
    
      .contact-form input,
      .contact-form textarea,
      .contact-form select {
        font-size: 0.9rem; /* تصغير حجم النصوص داخل الحقول */
        padding: 8px; /* تقليل الحشوة الداخلية */
      }
    
      .contact-form button {
        font-size: 0.9rem; /* تصغير النص داخل الزر */
        padding: 12px; /* تقليل الحشوة */
      }
    }
    
    
    