/* Kazhan Advertising website. Designed and built by Ahmed Salam Rasool, 2026. */
/* =====================================================================
   Kurdish (Sorani) and Arabic pages: right-to-left.
   The page layout mirrors by itself (dir="rtl"); this file sets the
   Arabic-script font and fixes the few places that are fixed to the left.
   ===================================================================== */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .btn, html[dir="rtl"] button, html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea,
html[dir="rtl"] .navbar2 nav a, html[dir="rtl"] .eyebrow, html[dir="rtl"] .cta, html[dir="rtl"] .kz-led span, html[dir="rtl"] .t-label {
  font-family: 'Noto Kufi Arabic', 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif;
}
/* Arabic letters join up: spacing between letters breaks them apart */
html[dir="rtl"] *, html[dir="rtl"] *::before, html[dir="rtl"] *::after { letter-spacing: 0 !important; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .tag, html[dir="rtl"] .kicker { text-transform: none; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.45; }
html[dir="rtl"] body { line-height: 1.85; }
html[dir="rtl"] .page-hero h1 { max-width: 20ch; }
/* things that sit on the left in English sit on the right here */
html[dir="rtl"] th, html[dir="rtl"] td, html[dir="rtl"] .price-table th, html[dir="rtl"] .price-table td { text-align: right; }
html[dir="rtl"] ul, html[dir="rtl"] ol { padding-right: 22px; padding-left: 0; }
html[dir="rtl"] .navbar2 nav ul, html[dir="rtl"] .footer-grid ul, html[dir="rtl"] .cta-row, html[dir="rtl"] .kz-proof ul { padding-right: 0; }
html[dir="rtl"] .dropdown-menu { text-align: right; }
html[dir="rtl"] .faq-item summary { text-align: right; }
/* numbers, phone numbers, emails and web addresses stay left-to-right */
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"], html[dir="rtl"] .t-label b,
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"], html[dir="rtl"] .kz-ref { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { text-align: right; }
/* arrows that point forward point left */
html[dir="rtl"] .lnk::after { display: inline-block; transform: scaleX(-1); }
/* the WhatsApp button floats on the left */
html[dir="rtl"] .wa-float { right: auto; left: 22px; padding: 8px 8px 8px 18px; }
/* the hidden anti-robot field: hidden without pushing the page sideways */
html[dir="rtl"] .hp { left: auto !important; right: auto !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* the page's moving scene sits on the left, beside the title, and draws left to right inside */
@media (min-width:901px){ html[dir="rtl"] .page-hero .kz-stage{right:auto;left:max(28px, calc((100% - 1180px) / 2 + 28px));} }
html[dir="rtl"] .kz-canvas{direction:ltr;}
/* phone numbers line up on the right like the text around them (they read in order thanks to invisible marks) */
html[dir="rtl"] .t-label b { text-align: right; }
@media (max-width:560px){ html[dir="rtl"] .wa-float { padding: 8px; } }
/* the pulse ring circles the WhatsApp icon, which is on the right in Kurdish and Arabic */
html[dir="rtl"] .wa-float::before { left: auto; right: 8px; }

/* 23 Oct: numbers like 5,000+ and 300+ keep the plus sign after the number on right-to-left pages */
.stat b{unicode-bidi:plaintext;}

/* 31 Oct: the Kurdish and Arabic menu has 6 items now; keep it on one line on laptop screens */
@media (min-width:981px) and (max-width:1320px){
  html[dir="rtl"] header .navbar2 nav ul{gap:14px;margin:0 12px;}
  html[dir="rtl"] header .navbar2 nav > ul > li > a{font-size:15.5px;}
}
@media (min-width:981px) and (max-width:1140px){
  html[dir="rtl"] header .navbar2{padding-left:16px;padding-right:16px;}
  html[dir="rtl"] header .navbar2 nav ul{gap:9px;margin:0 8px;}
  html[dir="rtl"] header .navbar2 nav > ul > li > a{font-size:14px;}
  html[dir="rtl"] header .navbar2 nav > ul > li > a .caret{width:9px;height:9px;}
}
@media (min-width:981px) and (max-width:1060px){
  html[dir="rtl"] header .navbar2 nav ul{gap:7px;margin:0 6px;}
  html[dir="rtl"] header .navbar2 nav > ul > li > a{font-size:13px;}
}

/* 21 Nov: the LED board on Kurdish and Arabic pages reads right to left, so it moves from left to right
   (the first words come in first). Kurdish/Arabic letters get a heavier weight and slightly bigger dots,
   so their joined strokes stay whole instead of breaking into loose dots. */
html[dir="rtl"] .kz-led-track{animation-name:kzTickerR;}
@keyframes kzTickerR{from{transform:translate3d(-50%,-50%,0);}to{transform:translate3d(0,-50%,0);}}
html[dir="rtl"] .kz-led-track span{font-weight:700;font-size:25px;line-height:1.25;
  -webkit-mask:radial-gradient(circle,#000 0 1.25px,transparent 1.55px) 0 0/3px 3px;
          mask:radial-gradient(circle,#000 0 1.25px,transparent 1.55px) 0 0/3px 3px;}
@media (max-width:560px){ html[dir="rtl"] .kz-led-track span{font-size:21px;} }
