@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRAN-Rounded.eot');
    src: url('../fonts/eot/IRAN-Rounded.eot?#iefix') format('embedded-opentype'),
         url('../fonts/woff/IRAN-Rounded.woff') format('woff'),
         url('../fonts/ttf/IRAN-Rounded.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/eot/IRAN-Rounded.eot');
    src: url('../fonts/eot/IRAN-Rounded.eot?#iefix') format('embedded-opentype'),
         url('../fonts/woff/IRAN-Rounded.woff') format('woff'),
         url('../fonts/ttf/IRAN-Rounded.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRAN-Rounded.eot');
    src: url('../fonts/eot/IRAN-Rounded.eot?#iefix') format('embedded-opentype'),
         url('../fonts/woff/IRAN-Rounded.woff') format('woff'),
         url('../fonts/ttf/IRAN-Rounded.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/eot/IRAN-Rounded.eot');
    src: url('../fonts/eot/IRAN-Rounded.eot?#iefix') format('embedded-opentype'),
         url('../fonts/woff/IRAN-Rounded.woff') format('woff'),
         url('../fonts/ttf/IRAN-Rounded.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/eot/IRAN-Rounded.eot');
    src: url('../fonts/eot/IRAN-Rounded.eot?#iefix') format('embedded-opentype'),
         url('../fonts/woff/IRAN-Rounded.woff') format('woff'),
         url('../fonts/ttf/IRAN-Rounded.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRAN-Rounded.eot');
    src: url('../fonts/eot/IRAN-Rounded.eot?#iefix') format('embedded-opentype'),
         url('../fonts/woff/IRAN-Rounded.woff') format('woff'),
         url('../fonts/ttf/IRAN-Rounded.ttf') format('truetype');
    font-display: swap;
}

/* Global font family reset - Force IRANRounded everywhere */
* {
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

html, body {
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

/* Override any third-party font declarations - EXCEPT Font Awesome icons */
input, textarea, select, button, a, p, h1, h2, h3, h4, h5, h6, 
span, div, section, article, nav, header, footer, main, aside,
table, tr, td, th, ul, ol, li, form, label, legend, fieldset,
.w3-container, .w3-panel, .w3-card, .w3-button, .w3-input {
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

/* Font Awesome icons should keep their original font family */
.fa, .fas, .far, .fab, .fal, .fad, .fak, .fat {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* Override any inline styles or external CSS */
[style*="font-family"] {
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

/* Override any CSS classes that might have font-family */
.font-family-inherit, .font-family-sans, .font-family-serif, .font-family-mono {
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}
  