body {
  font-family: "Cairo", sans-serif;
  color: #1f2937;
  background-color: #fffaf5;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
}

/* حاويات عامة */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-spacing {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* ==========================================
   2. البانر العلوي (Hero Banner Section)
   ========================================== */
.hero-banner {
  background: linear-gradient(135deg, #1f100c 0%, #9d6d5a 100%);
  color: #ffffff;
  padding: 60px 20px 40px 20px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* الجانب الأيمن: النصوص */
.hero-content-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-badge {
  display: inline-block;
  background-color: rgba(255, 237, 213, 0.2);
  color: #fed7aa;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(254, 215, 170, 0.4);
}

.hero-content-side h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
}

.hero-description {
  font-size: 1.1rem;
  color: #ffedd5;
  line-height: 1.9;
}

/* أزرار اتصل وواتساب */
.hero-cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn-call {
  background-color: #a4876f;
  color: #431407;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(251, 146, 60, 0.3);
}

.btn-call:hover {
  background-color: #f97316;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #10b981;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
  background-color: #059669;
  transform: translateY(-2px);
}

/* قائمة المميزات داخل البانر */
.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #fed7aa;
  font-weight: 600;
}

/* الجانب الأيسر: الصورة والبطاقة العائمة */
.hero-image-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-img-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.technician-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 380px;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(67, 20, 7, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 8px;
  border-right: 4px solid #fb923c;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.floating-badge span {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.floating-badge small {
  display: block;
  font-size: 0.8rem;
  color: #fed7aa;
}

/* الكاردات الأربعة في أسفل البانر */
.hero-bottom-cards {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.container-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bottom-card-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.bottom-card-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.8rem;
  background: rgba(251, 146, 60, 0.25);
  padding: 10px;
  border-radius: 8px;
}

.card-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.card-text small {
  font-size: 0.8rem;
  color: #ffedd5;
}

/* ==========================================
   3. محتوى الصفحة الرئيسي والسايدبار
   ========================================== */
.intro-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.content-box {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.03),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  border: 1px solid #fed7aa;
}

.content-box h2 {
  color: #9a3412;
  font-size: 1.5rem;
  margin-bottom: 15px;
  margin-top: 25px;
  font-weight: 700;
}

.content-box h2:first-of-type {
  margin-top: 0;
}

.content-box p {
  color: #4b5563;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* السايدبار الجانبي */
.sidebar-box {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cta-box {
  background: linear-gradient(135deg, #c2410c, #7c2d12);
  color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 0.95rem;
  color: #ffedd5;
  margin-bottom: 20px;
}

.btn-phone {
  display: block;
  background-color: #fb923c;
  color: #431407;
  padding: 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-phone:hover {
  background-color: #f97316;
  color: #ffffff;
}

.btn-whatsapp-side {
  display: block;
  background-color: #10b981;
  color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp-side:hover {
  background-color: #059669;
}

.features-sidebar {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #fed7aa;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.features-sidebar h4 {
  color: #9a3412;
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #fed7aa;
  padding-bottom: 8px;
}

.features-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.features-sidebar li {
  font-weight: 600;
  color: #4b5563;
  font-size: 0.95rem;
}

/* ==========================================
   4. الأقسام التفصيلية وكاردات المحتوى
   ========================================== */
.section-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #fed7aa;
  margin-bottom: 30px;
}

.section-card h2 {
  color: #9a3412;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-card p {
  color: #4b5563;
  font-size: 1.05rem;
}

/* القوائم التفصيلية (مثل الأعطال والنصائح) */
.detailed-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.detailed-list li {
  background: #fff7ed;
  padding: 12px 18px;
  border-radius: 8px;
  border-right: 4px solid #ea580c;
  color: #4b5563;
  font-size: 1rem;
}

.detailed-list li strong {
  color: #1f2937;
}

/* الأسئلة الشائعة (FAQ) */
.faq-item {
  margin-top: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #fed7aa;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h4 {
  color: #1f2937;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.faq-item p {
  color: #4b5563;
  font-size: 1rem;
}

/* ==========================================
   5. أقسام الماركات والمناطق (Grids)
   ========================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.brand-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 20px;
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brand-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: #ea580c;
}

.brand-box h3 {
  color: #9a3412;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.brand-box p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* شبكة المناطق والأحياء */
.areas-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.area-item {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 20px;
  border-radius: 12px;
  border-top: 4px solid #ea580c;
}

.area-item h3 {
  color: #1f2937;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.area-item p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ==========================================
   6. التجاوب مع الشاشات المختلفة (Media Queries)
   ========================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content-side {
    align-items: center;
  }

  .sub-badge {
    margin: 0 auto;
  }

  .hero-features-list {
    justify-content: center;
  }

  .container-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

  .brands-grid,
  .areas-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content-side h1 {
    font-size: 2rem;
  }

  .container-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid,
  .areas-detailed-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-call,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================
   تنسيقات سكشن سياسة الخصوصية (Privacy Policy CSS)
   ========================================== */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.privacy-item {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 22px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-right: 4px solid #0ea5e9;
}

.privacy-item:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.1);
}

.privacy-item h3 {
  color: #0f172a;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.privacy-item p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}

.privacy-footer-note {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border: 1px dashed #0284c7;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

.privacy-footer-note p {
  font-size: 0.95rem;
  color: #0f172a;
  margin: 0;
}

/* التجاوب مع الشاشات الصغيرة والمتوسطة */
@media (max-width: 768px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}
/* تنسيق صندوق التنبيه بطبيعة المركز (لسنا الوكيل الرئيسي) */
.privacy-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-right: 4px solid #f59e0b;
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
}

.privacy-disclaimer-box h3 {
  color: #b45309;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-disclaimer-box p {
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
/* ==========================================
   تنسيقات الفوتر القوي - مؤسسة المعتمد جروب
   ========================================== */

.main-footer {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
  color: #ffffff;
  padding-top: 60px;
  margin-top: 50px;
  border-top: 4px solid #0284c7;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1.1fr;
  gap: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* عمود اليمين (اللوجو والاسم) */
.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #0f172a;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.footer-title-group h3 {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.footer-title-group span {
  font-size: 0.85rem;
  color: #38bdf8;
  font-weight: 600;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

.footer-disclaimer-note small {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* عمود الوسط (اللينكات) */
.footer-col h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid #0284c7;
  width: fit-content;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-links-list li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #38bdf8;
  transform: translateX(-4px);
}

/* عمود اليسار (أرقام الاتصال) */
.footer-contact-col p {
  font-size: 0.92rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.footer-contacts-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hotline-btn {
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.4);
}
.hotline-btn:hover {
  background: rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

.phone-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.phone-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.whatsapp-btn {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.footer-contact-btn .f-icon {
  font-size: 1.2rem;
  color: #38bdf8;
}
.whatsapp-btn .f-icon {
  color: #25d366;
}

.footer-contact-btn .f-text small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-contact-btn .f-text strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* شريط الحقوق السفلي */
.footer-bottom-bar {
  background-color: #05080e;
  padding: 18px 0;
  text-align: center;
}

.footer-bottom-content p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom-content strong {
  color: #e2e8f0;
}

/* التجاوب مع الشاشات الصغيرة والمتوسطة */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col:last-child {
    grid-column: span 1;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 10px;
}
