/* إعادة ضبط أساسية */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* حاوية السكشن الأساسية */
.service-section {
  background-color: #0d5c75; /* لون الخلفية الأزرق */
  color: #ffffff;
  padding: 40px 20px;
  direction: rtl; /* توجيه النص للغة العربية */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110vh;
}

.container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* تنسيق قسم النصوص */
.content-box {
  flex: 1;
  max-width: 550px;
}

.title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0f2f1;
  margin-bottom: 30px;
  text-align: justify;
}

.phone-number {
  direction: ltr;
  display: inline-block;
  font-weight: bold;
}

/* تنسيق الزر */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #0d5c75;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* تنسيق قسم الصورة */
.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-box img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 25px; /* انحناء زوايا الصورة */
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* تجاوب التصميم مع الشاشات الصغيرة (الموبايل) */
@media (max-width: 768px) {
  .container {
    flex-direction: column-reverse; /* الصورة تظهر فوق أو تحت حسب الرغبة */
    text-align: center;
  }

  .content-box {
    max-width: 100%;
  }

  .description {
    text-align: center;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  direction: rtl;
}

.main-container {
  width: 100%;
}

/* ------------ 1. قسم الأعطال الشائعة ------------ */
.common-faults {
  background-color: #dbe4e9; /* خلفية القسم العلوي الفاتحة */
  padding: 50px 20px 70px;
  text-align: center;
}

.section-title {
  color: #2b4c5e;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.cards-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.card {
  background-color: rgba(255, 255, 255, 0.4); /* شفافية بسيطة خلف الكروت */
  border-radius: 15px;
  padding: 25px 20px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
}

.card h3 {
  color: #2b4c5e;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.card p {
  color: #556b78;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ------------ 2. قسم الحلول المقدمة ------------ */
.solutions-section {
  background-color: #0b2239; /* خلفية أزرق داكن */
  color: #ffffff;
  padding: 40px 20px 50px;
  text-align: center;
  position: relative;
}

/* شريط عنوان "الحلول المقدمة" الممتد */
.pill-header {
  background-color: #ffffff;
  color: #2b4c5e;
  max-width: 900px;
  margin: 0 auto 35px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center; /* المحاذاة لليسار مثل الصورة */
  padding-left: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.intro-text {
  font-size: 1.15rem;
  margin-bottom: 25px;
  color: #e0eaf0;
}

/* قائمة النقاط */
.features-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 25px;
  text-align: right;
  display: inline-block;
}

.features-list li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  position: relative;
  padding-right: 20px;
  color: #ffffff;
}

.features-list li::before {
  content: "•";
  color: #ffffff;
  font-size: 1.5rem;
  position: absolute;
  right: 0;
  top: -3px;
}

.call-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e0eaf0;
}

.phone {
  direction: ltr;
  display: inline-block;
  font-weight: bold;
}

/* زر حجز موعد */
.btn-container {
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-btn {
  background-color: #1a4261;
  color: #ffffff;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #24577f;
}

/* Responsive design للموبايل */
@media (max-width: 768px) {
  .pill-header {
    text-align: center;
    padding-left: 20px;
  }

  .btn-container {
    justify-content: center;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  direction: rtl;
}

.features-wrapper {
  width: 100%;
}

/* ------------ 1. قسم مميزات مركز الصيانة ------------ */
.features-section {
  background-color: #dbe4e9; /* اللون الخلفي الفاتح للقسم العلوي */
  padding: 50px 20px 60px;
  text-align: center;
}

.section-title {
  color: #3f7d9e;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center; /* العنوان محاذى لليسار مثل التصميم */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
}

.features-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.feature-card {
  background-color: #5b92b1; /* لون الكروت الأزرق المتوسط */
  color: #ffffff;
  padding: 25px 20px;
  border-radius: 20px;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ------------ 2. قسم الضمان وقطع الغيار ------------ */
.guarantee-section {
  background-color: #173248; /* الأزرق الداكن للقسم السفلي */
  color: #ffffff;
  padding: 15px 10px;
  text-align: center;
}

.guarantee-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.guarantee-text {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 950px;
  margin: 0 auto;
  color: #d2e1eb;
}

/* التجاوب مع الموبايل */
@media (max-width: 768px) {
  .section-title {
    text-align: center;
    padding-left: 0;
  }

  .features-cards {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 100%;
  }
}
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
