/* Persian/Farsi Font Configuration */
@font-face {
    font-family: 'IRANYekanWeb';
    src: url('/fonts/yekan/iranyekanwebregularfanum.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('/fonts/yekan/iranyekanwebboldfanum.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('/fonts/yekan/iranyekanweblightfanum.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Apply Persian font to all elements */
* {
    font-family: 'IRANYekanWeb', 'Noto Sans Arabic', 'Tahoma', 'Arial', sans-serif !important;
}

/* Ensure proper text direction for Persian content */
body {
    direction: rtl;
    text-align: right;
    font-family: 'IRANYekanWeb', 'Noto Sans Arabic', 'Tahoma', 'Arial', sans-serif;
}

/* Fix for input fields */
input, textarea, select {
    font-family: 'IRANYekanWeb', 'Noto Sans Arabic', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
}

/* Fix for navigation menus */
nav, .nav, .navbar {
    font-family: 'IRANYekanWeb', 'Noto Sans Arabic', 'Tahoma', 'Arial', sans-serif;
}

/* Ensure proper character spacing */
* {
    letter-spacing: 0;
    word-spacing: 0;
}

/* Fix for specific elements that might have encoding issues */
h1, h2, h3, h4, h5, h6, p, span, div, a, li {
    font-family: 'IRANYekanWeb', 'Noto Sans Arabic', 'Tahoma', 'Arial', sans-serif;
}


