/*/*/
/* القواعد الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
}

header {
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    text-align: center;
}

/*/*/
/* (ايقونة الواتس اب) */
.whatsapp-modern {
  position: fixed;
  bottom: 25px;
  left: 25px; /* صار على الشمال */
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  padding: 18px;
  border-radius: 50%;
  text-align: center;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  animation: blink-glow 1.5s infinite;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-modern:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* تأثير وميض متوهج ناعم */
@keyframes blink-glow {
  0%, 100% {
    box-shadow: 0 0 15px #25D366, 0 0 25px #25D366;
  }
  50% {
    box-shadow: 0 0 5px #128C7E, 0 0 15px #128C7E;
  }
}

/*/*/
/* (Navbar) */
header {
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      background:#fff;
      backdrop-filter: blur(10px);
      z-index: 1000;
      padding: 10px 30px;
      box-shadow: 0 2px 5px#f5a623;
    }

    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }
      .navbar2 {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }
    .logo img {
  width: 60px;
  height: 60px;
  border-radius: 60%;
  object-fit: cover;
}


    .nav-links {
      display: flex;
      gap: 25px;
    }

    .nav-links a {
      color: #333;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      transition: color 0.3s;
    }
    .nav-linkss a {
      color: #333;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #f5a623;
    }
    .nav-linkss a:hover {
      color: #f5a623;
    }

    .right-section {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .language-select select {
      padding: 5px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .social-icons a {
      color: #333;
      font-size: 18px;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #f5a623;
    }

    .menu-toggle {
      display: none;
      font-size: 24px;
      cursor: pointer;
      color: #333;
    }

    @media (max-width: 768px) {
      .nav-links,
      .right-section {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        margin-top: 10px;
        padding: 10px 0;
      }

      .nav-links.active,
      .right-section.active {
        display: flex;
      }

      .menu-toggle {
        display: block;
      }

      header {
        padding: 10px 20px;
      }
    }

    /* Add space for fixed navbar */
    main {
      padding-top: 80px;
    }




    
/*/
/* قسم الصور المتنقلة */
.workshop-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.workshop-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
    width:70%; /* عرض الحاوية الكامل */
    max-width: 70%;
    margin: 0 auto; /* توسيط الحاوية */
    height: 400px; /* تقليل ارتفاع الحاوية */
    
}

.workshop-image {
    width: 100%; /* جعل الصورة تتناسب مع عرض الحاوية */
    height: 100%; /* ضبط ارتفاع الصورة ليتناسب مع الحاوية */
    object-fit:contain; /* الحفاظ على الأبعاد دون تمديد أو قص للصورة */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease; /* تأثير التلاشي عند التغيير */
}
/* إعدادات الأسهم */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.arrow.left {
    left: 5px; /* المسافة من الجهة اليسرى */
}

.arrow.right {
    right: 5px; /* المسافة من الجهة اليمنى */
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 1); /* تفاعل عند المرور */
}

/*/*/
/* عرض سريع للخدمات */
.quick-services {
    padding: 40px 20px;
    background-color: #f0f0f0;
    text-align: center;
    margin-top: 20px;
  }
  
  .quick-services h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 20px;
  }
  
  .quick-services h3 {
    font-size: 30px;
    color: #f5a623;
    margin-bottom: 20px;
  }
  
  .quick-services p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* Responsive Styling */
  @media (max-width: 1024px) {
    .quick-services h2,
    .quick-services h3 {
      font-size: 26px;
    }
  
    .quick-services p {
      font-size: 17px;
      padding: 0 10px;
    }
  }
  
  @media (max-width: 768px) {
    .quick-services h2,
    .quick-services h3 {
      font-size: 24px;
    }
  
    .quick-services p {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .quick-services {
      padding: 30px 15px;
    }
  
    .quick-services h2,
    .quick-services h3 {
      font-size: 22px;
    }
  
    .quick-services p {
      font-size: 15px;
    }
  }
  

/*/*/
/* أزرار تفاعلية */
.quick-links {
    padding: 40px 20px;
    text-align: center;
    margin-top: 20px;
    background-color: #e0e0e0;
}

.quick-links h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 20px;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* مسافة بين الأزرار */
}

.button {
    padding: 15px 25px;
    background-color: #f5a623;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #333; /* لون خلفية مختلف عند التمرير */
}

/*/*/
/* تنسيق الخدمات */
.services-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service h3 {
    font-size: 24px;
    color: #f5a623;
    margin-bottom: 10px;
}

.service p {
    font-size: 16px;
    color: #666;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* لجعل القسم متجاوبًا مع الشاشات الصغيرة */
@media (max-width: 1024px) {
    .service {
        width: 45%; /* يصبح عرض الخدمة 45% للشاشات المتوسطة */
    }
}

@media (max-width: 768px) {
    .service {
        width: 100%; /* يصبح عرض الخدمة 100% للشاشات الصغيرة */
        margin-bottom: 20px; /* إضافة مسافة بين العناصر في الشاشات الصغيرة */
    }

    .services-section h2 {
        font-size: 28px; /* تصغير حجم العنوان الرئيسي للشاشات الصغيرة */
    }

    .service h3 {
        font-size: 22px; /* تصغير حجم العناوين في الشاشات الصغيرة */
    }

    .service p {
        font-size: 14px; /* تصغير حجم النصوص */
    }
}

/*/*/
/* قسم الفوتر (اتصل بنا) */
.footer {
    background-color: #121212;
    color: #f1f1f1;
    padding: 50px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .footer-title {
    font-size: 28px;
    color: #f5a623;
    margin-bottom: 40px;
  }
  
  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  /* الفروع */
  .branches {
    flex: 1 1 60%;
    text-align: left;
  }
  
  .branch-card {
    background-color: #1e1e1e;
    border-left: 5px solid #f5a623;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .branch-card a {
    color: #f5a623;
    text-decoration: none;
  }
  
  /* المهندسين */
  .engineers {
    flex: 1 1 35%;
    text-align: left;
  }
  
  .engineer-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 5px solid #f5a623;
  }
  
  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffcc70;
  }
  /* الحقوق */
  footer p {
    font-size: 14px;
    color: #888;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-grid {
      flex-direction: column;
      text-align: center;
    }
  
    .branches, .engineers {
      text-align: center;
    }
  }

  /*/*/
  /*صفحة الخارجية للخدمات */
  .hh {
    text-align: center;
    color: #111;
    font-size: 2.5rem;
    margin-bottom: 60px;
    margin-top: 20px;
  }

  .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 4px solid #f7941d;
  }

  .timeline-event {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
  }

  .timeline-event::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #f7941d;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #f7941d66;
  }

  .event-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #f7941d;
    margin-bottom: 10px;
  }

  .event-desc {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    line-height: 1.6;
    font-size: 1rem;
  }

  @media (max-width: 600px) {
    .timeline {
      padding-left: 20px;
    }
    .timeline-event {
      padding-left: 20px;
    }
  }
/*/*/
/*تنسيق صفحة من نحن*/
.about {
    padding: 60px 20px;
    background-color: #f9f9f9;
    color: #333;
    font-family: 'Open Sans', sans-serif;
  }
  
  .about .container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .about h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color:#d35400;
    text-align: center;
  }
  
  .about h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
    color:#d35400;
    
  }
  
  .about p {
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
  }





  
