@font-face {
    font-family: 'MyFarsi';
    /*src: url('../fonts/fa_font.woff2') format('woff2');*/
    src: url('../fonts/IranNastaliq.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fa-Nastaliq';
    src: url('../fonts/IranNastaliq.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fa-Nazanin';
    src: url('../fonts/BNazanin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fa-Vazir';
    src: url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* static/css/fonts.css */
/* Persian/Arabic fonts */
/*@font-face {*/
/*    font-family: 'Vazirmatn';*/
/*    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Vazirmatn';*/
/*    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');*/
/*    font-weight: 700;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/


.fa-font-Nastaliq {
    font-family: 'Fa-Nastaliq', sans-serif;
    direction: rtl;        /* RTL layout */
}

.fa-font-Arash {
    font-family: 'Fa-Arash', sans-serif;
    direction: rtl;        /* RTL layout */
    font-weight: bold;

}

/** body {*/
/*    font-family: 'Fa-Vazir', sans-serif;*/
/*    direction: rtl;        !* RTL layout *!*/
/*}*/


/*===============================*/
/* Persian/Arabic Font */
/*@font-face {*/
/*    font-family: 'Vazirmatn';*/
/*    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Vazirmatn';*/
/*    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');*/
/*    font-weight: 700;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*!* Apply RTL font family *!*/
/*html.rtl body {*/
/*    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;*/
/*}*/

/*html.rtl h1, html.rtl h2, html.rtl h3,*/
/*html.rtl h4, html.rtl h5, html.rtl h6,*/
/*html.rtl .navbar, html.rtl .btn,*/
/*html.rtl input, html.rtl textarea, html.rtl select {*/
/*    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;*/
/*}*/

/* Apply RTL fonts */
.rtl body,
.rtl h1, .rtl h2, .rtl h3, .rtl h4, .rtl h5, .rtl h6,
.rtl p, .rtl span, .rtl a, .rtl li, .rtl div {
    /*font-family: 'Vazirmatn', 'Tahoma', sans-serif;*/
    font-family: 'Fa-Vazir', sans-serif;
}

/* Adjust font sizes for RTL */
.rtl {
    font-size: 1.05rem; /* Slightly larger for readability */
    line-height: 1.8;    /* More line height for RTL scripts */
}