/* Import Tajwal font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajwal:wght@200;300;400;500;700;800;900&display=swap');

/* Apply Tajwal font to Arabic text */
[dir="rtl"] {
    font-family: 'Tajwal', sans-serif !important;
}

/* Apply Tajwal font to specific elements even in LTR when they contain Arabic text */
[lang="ar"],
.arabic-text {
    font-family: 'Tajwal', sans-serif !important;
}

/* Adjust font weights */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Tajwal', sans-serif !important;
    font-weight: 700;
}

[dir="rtl"] .font-bold {
    font-weight: 700;
}

[dir="rtl"] .font-semibold {
    font-weight: 600;
}

[dir="rtl"] .font-medium {
    font-weight: 500;
}

[dir="rtl"] .font-normal {
    font-weight: 400;
}

[dir="rtl"] .font-light {
    font-weight: 300;
}

/* Fix number alignments in Arabic text */
[dir="rtl"] .ltr-nums {
    direction: ltr;
    display: inline-block;
}