@font-face{font-family:'Almarai';src:url('../fonts/almarai-light.ttf') format('truetype');font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:'Almarai';src:url('../fonts/almarai-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Almarai';src:url('../fonts/almarai-bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Almarai';src:url('../fonts/almarai-extrabold.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
/* Language control stays next to Contact Us in both layouts. */
body .header .links .language-switch{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:6px;margin:0;background:transparent;border:1px solid #ffffff55;border-radius:7px;cursor:pointer;line-height:1;min-width:44px;min-height:38px}
body .header .links .language-switch img{display:block;width:32px;height:22px;object-fit:cover;border-radius:2px}
.language-switch:focus-visible{outline:3px solid #01a3d3;outline-offset:3px}
html[lang="ar"] body{font-family:'Almarai',Tahoma,Arial,sans-serif;letter-spacing:0}
html[dir="rtl"] body,html[dir="rtl"] main,html[dir="rtl"] .footer{text-align:right}
html[dir="rtl"] :is(h1,h2,h3,h4,p,label,summary,th,td,nav,strong,.kicker,.tag,.breadcrumbs){text-align:right;letter-spacing:normal!important}
html[dir="rtl"] :is(input,select,textarea){text-align:right;font-family:inherit}
html[dir="rtl"] input:is([type="email"],[type="tel"]){direction:ltr;text-align:right}
html[dir="rtl"] :is(h1,h2){line-height:1.5!important}
html[dir="rtl"] :is(.hero-content,.hero-copy,.print-hero-copy,.cc-hero-copy){text-align:right}
html[dir="rtl"] :is(.btn,.app-button,.quote-cta-button,.career-button){letter-spacing:normal}
html[dir="rtl"] .header .links .nav-cta{margin-left:0;margin-right:auto}
html[dir="rtl"] .header .solution-links{left:auto;right:0;text-align:right}
html[dir="rtl"] .header .mineral-submenu{left:auto;right:100%;text-align:right}
html[dir="rtl"] .header :is(.solution-toggle,.minerals-toggle){text-align:right}
html[dir="rtl"] .header .minerals-toggle:after{transform:rotate(90deg)}
html[dir="rtl"] .brand{letter-spacing:0}

html[dir="rtl"] .header .brand:after{content:none}
html[dir="rtl"] .footer .brand:after{content:none}

html[dir="rtl"] .footer nav a:hover{transform:translateX(-5px)}
html[dir="rtl"] .branch-list span:before{margin-right:0;margin-left:.4rem}
html[dir="rtl"] .bidi-contact{unicode-bidi:plaintext}
html[dir="rtl"] :is(.feature-list,.print-checks,ul,ol){padding-inline-start:1.5rem;padding-inline-end:0}
html[dir="rtl"] :is(.hero-content,.quote-cta-inner,.cc-hero-grid,.contact-grid,.print-brief-grid,.footer-grid-expanded){direction:rtl}
html[dir="rtl"] :is(.product-viewer,.viewer,.library-model,canvas,.hero-slider-controls){direction:ltr}
html[dir="rtl"] .hero-content{margin-left:auto;margin-right:0;padding-right:0}
html[dir="rtl"] .hero:after{background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.91) 34%,rgba(255,255,255,.25) 68%,rgba(255,255,255,.02))}
html[dir="rtl"] .contact-enquiry-form .btn{justify-self:start}
@media(max-width:900px){html[dir="rtl"] .header .mineral-submenu{right:auto;left:auto}body .header .links .language-switch{align-self:flex-start}html[dir="rtl"] .header .links .nav-cta{margin-right:0}}
@media(max-width:700px){html[dir="rtl"] .header .brand:after{content:none}html[dir="rtl"] .footer .brand:after{content:none}html[dir="rtl"] :is(h1,h2){overflow-wrap:break-word}html[dir="rtl"] .footer-grid-expanded{column-gap:1rem}}
html[lang="ar"]:not(.language-ready) body{visibility:hidden}
html[lang="ar"]{--sans:'Almarai',Tahoma,Arial,sans-serif;--serif:'Almarai',Tahoma,Arial,sans-serif}
html[lang="ar"] body,html[lang="ar"] body *,html[lang="ar"] body *::before,html[lang="ar"] body *::after{font-family:'Almarai',Tahoma,Arial,sans-serif!important}
body .header .language-switch-mobile{display:none}
@media(max-width:900px){body .header .nav>.language-switch-mobile{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:44px;height:38px;padding:5px;border:1px solid #01a3d344;border-radius:7px;background:transparent;cursor:pointer;margin-inline-start:auto}body .header .language-switch-mobile img{width:30px;height:20px;object-fit:cover;border-radius:2px}body .header .language-switch-mobile+.menu{margin-inline-start:0}}
html[dir="rtl"] .bag:after{content:'نموذج'}
html[dir="rtl"] .openings-card:after{content:'الوظائف'}
html[dir="rtl"] .careers-page .openings-card:after{content:'لا توجد شواغر'}
html[dir="rtl"] .footer:after{content:none}
/* Arabic hero composition: subjects left, copy and shading right. */
html[dir="rtl"] .home-page .brand-slide:after{background:linear-gradient(270deg,rgba(1,163,211,.13),rgba(1,163,211,.07) 30%,transparent 68%),linear-gradient(270deg,rgba(7,24,33,.82),rgba(7,24,33,.62) 35%,rgba(7,24,33,.08) 72%),linear-gradient(180deg,rgba(7,24,33,.4),transparent 25%,transparent 75%,rgba(7,24,33,.38))}
html[dir="rtl"] .home-page .brand-slide-copy{max-width:48%}
html[dir="rtl"] .home-page #hero-team .brand-slide-photo{object-position:25% 65%;transform:none}
html[dir="rtl"] .home-page #hero-manufacturing .brand-slide-photo{object-position:30% center}
html[dir="rtl"] .home-page .brand-slide-link span{transform:scaleX(-1)}
@media(max-width:900px){html[dir="rtl"] .home-page .brand-slide-copy{max-width:58%}}
@media(max-width:600px){html[dir="rtl"] .home-page .brand-slide-copy{max-width:100%}html[dir="rtl"] .home-page .brand-slide:after{background:linear-gradient(180deg,rgba(7,24,33,.25),rgba(7,24,33,.08) 22%,rgba(7,24,33,.86) 65%,rgba(7,24,33,.96))}html[dir="rtl"] .home-page #hero-team .brand-slide-photo{object-position:23% center}}
/* Keep the complete bag group above the copy on narrow Arabic screens. */
@media(max-width:600px){html[dir="rtl"] .home-page #hero-team .brand-slide-photo{inset:70px 0 auto;height:125vw;max-height:54%;object-position:7% center;mask-image:linear-gradient(#000 88%,transparent)}}
