/* Arabic / RTL overrides */
html[dir=rtl] body,html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3,html[dir=rtl] h4,html[dir=rtl] h5,html[dir=rtl] h6,html[dir=rtl] p,html[dir=rtl] a,html[dir=rtl] span,html[dir=rtl] button,html[dir=rtl] input,html[dir=rtl] li,html[dir=rtl] .sec-title,html[dir=rtl] .hero-title,html[dir=rtl] .th-btn,html[dir=rtl] .th-btn2,html[dir=rtl] .th-btn3{font-family:"Almarai",sans-serif}
html[dir=rtl] i,html[dir=rtl] .fa,html[dir=rtl] .fas,html[dir=rtl] .far,html[dir=rtl] .fal,html[dir=rtl] .fab{font-family:"Font Awesome 6 Pro","Font Awesome 6 Brands"}
html[dir=rtl] .hero-title,html[dir=rtl] .sec-title{line-height:1.35;letter-spacing:0}
html[dir=rtl] .accordion-button,html[dir=rtl] .faq-text,html[dir=rtl] .box-text{text-align:right}
html[dir=rtl] .channels-orbit,html[dir=rtl] .platform-track,html[dir=rtl] .hero-channels,html[dir=rtl] .orbit-track{direction:ltr}
html[dir=rtl] .brand-name,html[dir=rtl] .header-logo,html[dir=rtl] .footer-logo{direction:ltr}
/* every text element in Almarai (template sets fonts through variables and many specific selectors) */
html[dir=rtl],html[dir=rtl] body,html[dir=rtl] :root{--title-font:"Almarai",sans-serif;--title-font2:"Almarai",sans-serif;--body-font:"Almarai",sans-serif;--theme-font:"Almarai",sans-serif}
html[dir=rtl] *:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class*="fa-"]):not(svg):not(svg *){font-family:"Almarai",sans-serif !important}
html[dir=rtl] .brand-name{font-family:"Inter",sans-serif !important}
.award-item.style2 .box-title .step-label{display:block;font-size:14px;font-weight:400;opacity:.65;margin-bottom:6px}
.award-item.style2 .box-title{font-size:22px;line-height:1.4}
/* logo marquee must run left-to-right even on an RTL page */
html[dir=rtl] .platform-rows,html[dir=rtl] .platform-row,html[dir=rtl] .platform-group{direction:ltr}
/* features cards: tag, full description, bullet list */
.feature-area2 .box-title .feat-tag{display:block;font-size:13px;font-weight:400;color:#6a7f8c;margin-bottom:6px}
.feature-area2 .box-title{line-height:1.4}
.feature-area2 .feat-list{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.feature-area2 .feat-list li{font-size:13px;padding:4px 12px;border-radius:30px;background:#F2F9DA;color:#072032;line-height:1.6}
/* reviews slider bleeds to the left in RTL (it covered the rating block) */
@media(min-width:1200px){html[dir=rtl] .testiSlide7{margin-right:0 !important;margin-left:-60% !important}}
/* footer logo aligned with the rest of the column (right side) */
html[dir=rtl] .footer-layout4.style2 .footer-logo{direction:rtl;justify-content:flex-start !important}
html[dir=rtl] .footer-layout4.style2 .footer-logo a{direction:ltr}
/* FAQ accordion: icon on the left, text on the right */
html[dir=rtl] .accordion-button{text-align:right;padding:12px 14px 12px 54px}
html[dir=rtl] .accordion-button:after{right:auto !important;left:0 !important}
html[dir=rtl] .accordion-body{text-align:right}
/* rating block label stays centered under 100% */
html[dir=rtl] .testi-box3-review .counter .box-text,html[dir=rtl] .testi-box3-review .counter{text-align:center}
/* template buttons: arrow icon moves to the left, text starts from the right */
html[dir=rtl] .th-btn3{padding-left:70px !important;padding-right:20px !important}
html[dir=rtl] .th-btn3 .icon{right:auto !important;left:4px !important;margin-left:0 !important;margin-right:10px}
html[dir=rtl] .header-layout6 .header-button .th-btn3{padding-left:72px !important;padding-right:24px !important}
html[dir=rtl] .header-layout6 .header-button .th-btn3 .icon{left:6px !important;top:10px}
html[dir=rtl] .header-layout6 .header-button .th-btn3{padding-inline:66px 20px !important}
html[dir=rtl] .header-layout6 .header-button .th-btn3 .icon{left:6px !important;right:auto !important;top:6px}
html[dir=rtl] .header-layout6 .header-button .th-btn3{padding-left:66px !important;padding-right:20px !important}
html[dir=rtl] .mz-crumbs,html[dir=rtl] .mz-page-hero h1{direction:rtl}
html[dir=rtl] .mz-prose[dir=rtl]{text-align:right}
html[dir=rtl] .mz-prose[dir=ltr]{text-align:left}
html[dir=rtl] .lang-dd ul{inset-inline-end:auto;inset-inline-start:0}
