/* IRANSans Font Face */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_UltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Font for Persian (Farsi) */
html[lang="fa"],
html[lang="fa"] body,
html[lang="fa"] *,
body.lang-fa,
body.lang-fa * {
    font-family: 'IRANSans', 'Arial', sans-serif !important;
    direction: rtl !important;
}

/* Font for English */
html[lang="en"],
html[lang="en"] body,
html[lang="en"] *,
body.lang-en,
body.lang-en * {
    font-family: 'Roboto', 'Arial', sans-serif !important;
    direction: ltr !important;
}

/* Default to Persian */
html, body {
    font-family: 'IRANSans', 'Arial', sans-serif !important;
    direction: rtl !important;
}

