/* ========== Arabic Text Line Spacing Improvements ========== */

/* Arabic Text General Styling */
[style*="font-family:Noto Kufi Arabic"],
[style*="font-family: Noto Kufi Arabic"],
.arabic-text,
p[style*="Noto Kufi Arabic"],
h1[style*="Noto Kufi Arabic"],
h2[style*="Noto Kufi Arabic"],
h3[style*="Noto Kufi Arabic"],
h4[style*="Noto Kufi Arabic"],
h5[style*="Noto Kufi Arabic"],
h6[style*="Noto Kufi Arabic"] {
  line-height: 1.8 !important;
  margin-bottom: 15px !important;
}

/* FAQ Section Arabic Text Spacing */
.faq-wrapper .accordion-item .accordion-collapse .accordion-body,
.faq-wrapper .accordion-item .accordion-header .accordion-button {
  line-height: 1.8 !important;
}

.faq-wrapper .accordion-item .accordion-collapse .accordion-body p {
  line-height: 1.8 !important;
  margin-bottom: 15px !important;
}

/* General Arabic paragraph spacing */
p[style*="Noto Kufi Arabic"] {
  line-height: 1.9 !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px;
}

/* Arabic headings spacing */
h1[style*="Noto Kufi Arabic"],
h2[style*="Noto Kufi Arabic"],
h3[style*="Noto Kufi Arabic"] {
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  margin-top: 15px !important;
}

/* Arabic text in sections */
.section-title h6[style*="Noto Kufi Arabic"],
.section-title h2[style*="Noto Kufi Arabic"] {
  line-height: 1.7 !important;
  margin-bottom: 18px !important;
}

/* Contact Section Arabic Text */
.contact-section-4 .section-title h6,
.contact-section-4 .section-title h2 {
  line-height: 1.7 !important;
  margin-bottom: 18px !important;
}

/* Hero Section Arabic Text */
.hero-content h1[style*="Noto Kufi Arabic"],
.hero-content h2[style*="Noto Kufi Arabic"],
.hero-content p[style*="Noto Kufi Arabic"] {
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

/* List items with Arabic text */
ul li[style*="Noto Kufi Arabic"],
ol li[style*="Noto Kufi Arabic"] {
  line-height: 1.8 !important;
  margin-bottom: 10px !important;
}

/* About Section Arabic Text */
.about-wrapper .about-content p[style*="Noto Kufi Arabic"],
.about-wrapper .about-content h1[style*="Noto Kufi Arabic"],
.about-wrapper .about-content h2[style*="Noto Kufi Arabic"],
.about-wrapper .about-content h3[style*="Noto Kufi Arabic"] {
  line-height: 1.8 !important;
  margin-bottom: 18px !important;
}

/* General Arabic text line height improvements */
body *[style*="Noto Kufi Arabic"] {
  line-height: 1.8 !important;
}

/* Specific improvements for question-answer format */
.faq-content p,
.question-answer p,
.services-description p {
  line-height: 1.9 !important;
  margin-bottom: 20px !important;
}

/* Arabic text containers */
.arabic-content,
[lang="ar"],
[dir="rtl"] {
  line-height: 1.8 !important;
}

.arabic-content p,
[lang="ar"] p,
[dir="rtl"] p {
  line-height: 1.9 !important;
  margin-bottom: 18px !important;
}

.arabic-content h1,
.arabic-content h2,
.arabic-content h3,
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3 {
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

/* ========== RTL Accordion Arrow Fixes ========== */

/* FAQ Accordion Button Arrow Direction for RTL */
[dir="rtl"] .faq-wrapper .accordion-item .accordion-header .accordion-button::after,
[dir="rtl"] .accordion-button::after {
  content: "\f100" !important;
}