/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================
   ENGLISH FONT (Roboto)
   ========================== */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-display: swap;
}

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

/* ==========================
   PERSIAN FONT (IRANSansX)
   ========================== */
@font-face {
  font-family: 'IRANSansX';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/woff2/IRANSansX-Regular.woff2') format('woff2'),
       url('fonts/woff/IRANSansX-Regular.woff') format('woff');
  font-display: swap;
}

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

/* ==========================
   GLOBAL TYPOGRAPHY
   ========================== */
body,
button,
input,
select,
textarea {
  font-family: "IRANSansX", "Roboto", sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.heading-font,
.alt-font,
.nav > li > a {
  font-family: "IRANSansX", "Roboto", sans-serif !important;
  font-weight: 700;
}


/* ==========================
   LANGUAGE-SPECIFIC OVERRIDES
   ========================== */
html[lang="fa-IR"] body {
  font-family: "IRANSansX", sans-serif !important;
}

html[lang="en-US"] body {
  font-family: "Roboto", sans-serif !important;
}
/* ==========================
   FORCE ROBOTO FOR ENGLISH HEADINGS (Elementor Safe)
   ========================== */
html[lang="en-US"] body h1.elementor-heading-title,
html[lang="en-US"] body h2.elementor-heading-title,
html[lang="en-US"] body h3.elementor-heading-title,
html[lang="en-US"] body h4.elementor-heading-title,
html[lang="en-US"] body h5.elementor-heading-title,
html[lang="en-US"] body h6.elementor-heading-title,
html[lang="en-US"] .elementor-kit-38 h1,
html[lang="en-US"] .elementor-kit-38 h2,
html[lang="en-US"] .elementor-kit-38 h3,
html[lang="en-US"] .elementor-kit-38 h4,
html[lang="en-US"] .elementor-kit-38 h5,
html[lang="en-US"] .elementor-kit-38 h6 {
  font-family: "Roboto", sans-serif !important;
  font-weight: 700 !important;
}

