/* ==========================================================================
   /public_html/assets/css/global.css
   Global font setup: Noto Kufi Arabic (regular 400, bold 700)
   ========================================================================== */

/* --- Layout guardrails (add first) --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; margin: 0; }
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* Regular (400) */
@font-face{
  font-family: "Noto Kufi Arabic";
  src: url("/assets/fonts/noto-kufi-arabic-v26-arabic-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face{
  font-family: "Noto Kufi Arabic";
  src: url("/assets/fonts/noto-kufi-arabic-v26-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Apply globally */
html, body{
  font-family: "Noto Kufi Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ensure form controls inherit */
button, input, select, textarea{
  font: inherit;
}

/* Utility class if you need to force the font on any element */
.noto{ font-family: "Noto Kufi Arabic", sans-serif !important; }
