/*
Theme Name: Top Scrap Dammam Premium
Theme URI: https://topscrapbuyersdammam.com
Author: Zendip
Author URI: https://zendipit.com
Description: Arabic-first bilingual premium scrap buying business theme. Arabic RTL and English LTR, responsive customizer controls.
Version: 1.10.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: top-scrap-dammam
*/
:root{--navy:#061b31;--deep:#031322;--green:#06a84c;--green2:#26d361;--text:#152b3d;--muted:#668096;--line:#e1eaf0;--paper:#f4f8fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Segoe UI',Tahoma,Arial,sans-serif;background:#fff;color:var(--text);line-height:1.65}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1240px,calc(100% - 40px));margin:auto}.topbar{background:#04192d;color:white;font-size:13px}.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:40px}.topbar-links{display:flex;flex-wrap:wrap;align-items:center;gap:23px}.topbar svg{vertical-align:middle}.topbar a:hover{color:#8cebb3}.lang-group{display:flex;direction:ltr;border:1px solid #276843;border-radius:32px;padding:2px;white-space:nowrap}.lang-group a{padding:3px 13px;border-radius:28px}.lang-group .on{background:#008d41;color:white}.header{background:#fff;box-shadow:0 5px 24px #10263317;position:relative;z-index:10}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:94px}.brand{display:flex;align-items:center;gap:12px;min-width:220px;direction:ltr}.brand img{width:79px;height:73px;object-fit:contain}.brand-words{font-weight:850;letter-spacing:-.5px;font-size:20px;color:#082039;line-height:1.1}.brand-words small{display:block;font-size:10px;letter-spacing:.6px;font-weight:750;margin-top:6px}.brand-words span{color:var(--green)}.nav{display:flex;align-items:center;gap:26px}.nav a{font-weight:750;font-size:14px}.nav a:hover,.nav a.active{color:var(--green)}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:48px;padding:11px 23px;border-radius:60px;font-weight:750;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-green{color:white;background:linear-gradient(135deg,var(--green),#007837);box-shadow:0 8px 20px #03a64922}.btn-outline{color:white;border:1px solid #cde4e2;background:#02132155}.btn-white{background:#fff;color:#087b3f}.menu-toggle{display:none;border:none;background:transparent;font-size:28px;color:var(--navy)}.hero{position:relative;min-height:515px;color:white;overflow:hidden;background:#07352e}.hero-image{position:absolute;inset:0;background-position:center;background-size:cover;transform:scale(1.02)}.hero:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#031c27fa 0%,#062c35ee 32%,#04303d79 62%,#001e321a 100%)}[dir=rtl] .hero:before{background:linear-gradient(270deg,#031c27fa 0%,#062c35ee 32%,#04303d79 62%,#001e321a 100%)}.hero .wrap{position:relative;z-index:2;min-height:515px;display:flex;align-items:center}.hero-copy{max-width:715px;padding:62px 0}.eyebrow{font-size:13px;font-weight:800;letter-spacing:1.3px;color:#75e5a0;text-transform:uppercase}.hero h1{font-size:clamp(36px,4.5vw,65px);letter-spacing:-1.5px;line-height:1.2;margin:16px 0 12px;font-weight:900}.hero h1 strong{color:#45ee77}.hero p{font-size:18px;color:#d5e8e9;max-width:570px;margin:0 0 27px}.hero-actions{display:flex;flex-wrap:wrap;gap:13px}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:35px}.feature{padding:13px 0;display:flex;align-items:center;gap:10px;border-inline-end:1px solid #a5cec76c;font-size:13px;font-weight:800}.feature:last-child{border:none}.feature-icon{width:36px;height:36px;border-radius:12px;background:#18b35133;color:#5dff8c;display:grid;place-items:center;font-size:21px}.section{padding:76px 0}.section-soft{background:var(--paper)}.heading{text-align:center;margin:0 auto 33px;max-width:750px}.heading .kicker{font-size:13px;color:var(--green);letter-spacing:1.4px;text-transform:uppercase;font-weight:850}.heading h2{color:var(--navy);font-size:clamp(27px,3.2vw,43px);line-height:1.3;margin:8px 0 10px}.heading p{margin:0;color:var(--muted)}.services-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:19px}.service-card{background:white;border:1px solid var(--line);overflow:hidden;border-radius:17px;box-shadow:0 10px 27px #0622380d;transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #0622381f}.service-card img{display:block;width:100%;height:160px;object-fit:cover}.service-content{padding:16px 15px}.service-content h3{font-size:17px;line-height:1.3;margin:0 0 8px;color:var(--navy)}.service-content p{color:#617487;font-size:12px;line-height:1.7;margin:0 0 13px;min-height:64px}.service-content a{color:var(--green);font-size:13px;font-weight:800}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.intro-photo{border-radius:22px;overflow:hidden;position:relative}.intro-photo img{display:block;width:100%;height:435px;object-fit:cover}.intro-copy .kicker{color:var(--green);font-weight:850}.intro-copy h2{font-size:clamp(28px,3vw,42px);line-height:1.3;color:var(--navy);margin:11px 0}.intro-copy p{color:#637b8a}.checks{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;padding:5px 0 22px}.checks span{font-weight:700}.checks b{color:var(--green);margin-inline-end:7px}.cta{padding:55px 0;background:linear-gradient(120deg,#061e31,#075233);color:white}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{font-size:31px;margin:0 0 6px}.cta p{margin:0;color:#d5e8e2}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.contact-panel{background:var(--paper);border:1px solid var(--line);padding:30px;border-radius:20px}.contact-panel h3{margin-top:0}.contact-line{display:flex;align-items:center;gap:12px;margin:17px 0}.contact-line b{color:var(--green)}.footer{background:#03182b;color:#d8e2ea;padding:42px 0 15px}.foot-cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer h3{color:white;margin-top:0}.footer p{color:#b5c6d4}.footer a:hover{color:#58e796}.foot-links{display:flex;flex-direction:column;gap:10px}.footer-bottom{border-top:1px solid #315062;margin-top:35px;padding-top:14px;text-align:center;font-size:12px}.footer-bottom a{color:#5af08b;font-weight:900}.float-actions{position:fixed;bottom:22px;inset-inline-end:18px;z-index:40;display:grid;gap:10px}.float-actions a{width:54px;height:54px;border-radius:50%;background:var(--green);color:white;box-shadow:0 4px 15px #0003;display:grid;place-items:center;font-size:26px}.float-actions .phone-float{background:var(--navy)}.promo-photo{width:100%;border-radius:14px;display:block;margin-top:16px}body[dir=rtl]{font-family:Tahoma,'Segoe UI',Arial,sans-serif}.lang-note{font-size:12px;color:#70859a}.wp-block-image img{max-width:100%}@media(max-width:1120px){.nav{gap:13px}.nav a{font-size:12px}.brand{min-width:185px}.brand-words{font-size:17px}.services-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.topbar-links a:nth-child(n+2){display:none}.topbar .wrap{min-height:36px}.header-inner{min-height:75px}.brand img{height:61px;width:60px}.header-cta{display:none}.menu-toggle{display:block}.nav{display:none;position:absolute;top:100%;inset-inline:0;background:#fff;padding:22px;box-shadow:0 12px 18px #0002;flex-direction:column;align-items:stretch;gap:9px}.nav.open{display:flex}.nav a{padding:9px;font-size:16px}.hero,.hero .wrap{min-height:500px}.hero-copy{padding:50px 0}.features{grid-template-columns:repeat(2,1fr)}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card img{height:150px}.intro-grid,.contact-grid{grid-template-columns:1fr}.intro-photo img{height:320px}.cta-inner{flex-direction:column;align-items:flex-start}.foot-cols{grid-template-columns:1fr 1fr}.foot-cols>div:first-child{grid-column:1/-1}}@media(max-width:470px){.wrap{width:calc(100% - 30px)}.topbar{font-size:11px}.lang-group a{padding:3px 9px}.brand-words{font-size:15px}.brand-words small{font-size:8px}.hero h1{font-size:38px}.hero p{font-size:15px}.hero-actions .btn{width:100%}.features{gap:8px}.feature{font-size:11px}.section{padding:55px 0}.services-grid{gap:10px}.service-card{border-radius:12px}.service-card img{height:122px}.service-content{padding:12px 10px}.service-content h3{font-size:14px}.service-content p{font-size:11px;min-height:115px}.checks{grid-template-columns:1fr}.foot-cols{grid-template-columns:1fr}.foot-cols>div:first-child{grid-column:auto}.cta h2{font-size:25px}}

/* v1.1: premium branded footer, accessible professional SVG contact controls */
.visually-hidden{position:absolute!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important}
.footer{position:relative;overflow:hidden;background:linear-gradient(125deg,#031321 4%,#061e32 55%,#073127 125%);color:#c0d0dc;padding:0}
.footer:before{content:"";pointer-events:none;position:absolute;width:430px;height:430px;inset-inline-end:-210px;top:-230px;background:radial-gradient(circle,#12ad5c25 0%,transparent 68%)}
.footer .wrap{position:relative}.footer-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:38px 0 32px;border-bottom:1px solid #ffffff23}.footer-kicker{font-size:12px;letter-spacing:2.4px;font-weight:850;color:#54dfa2}.footer-talk{display:inline-flex;align-items:center;gap:12px;color:white!important;background:#138947;border:1px solid #39ce7a65;border-radius:99px;padding:11px 19px;font-weight:750;transition:.2s}.footer-talk:hover{background:#19a759;transform:translateY(-2px)}.footer-talk svg,.foot-links svg{width:19px;height:19px;flex-shrink:0}
.foot-cols{grid-template-columns:1.7fr .9fr 1fr;gap:55px;padding:47px 0 52px}.footer-company{max-width:405px}.footer-brand{display:inline-flex;align-items:center;gap:13px;direction:ltr;font-weight:850;font-size:22px;color:#fff;line-height:1.1}.footer-brand img{width:67px;height:67px;object-fit:contain;background:#ffffffeb;border-radius:13px;padding:4px}.footer-brand b{color:#65ee9c}.footer-company p{font-size:14px;line-height:1.95;margin:19px 0;color:#adc2cf}.footer-location{display:inline-block;border:1px solid #ffffff24;border-radius:40px;padding:6px 13px;font-size:13px}.footer h3{position:relative;font-size:16px;margin:8px 0 22px;padding-bottom:12px}.footer h3:after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:37px;height:3px;border-radius:3px;background:var(--green)}.foot-links{gap:13px;align-items:flex-start}.foot-links a{color:#bdcfd8;transition:color .2s,transform .2s}.foot-links a:hover{color:#69f4a9;transform:translateX(2px)}[dir=rtl] .foot-links a:hover{transform:translateX(-2px)}.foot-links a:has(svg){display:inline-flex;align-items:center;gap:8px}.footer-phone{direction:ltr;unicode-bidi:isolate;display:inline-block;font-weight:750}.footer-bottom{margin:0;padding:21px 0 23px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #ffffff24;font-size:12px;color:#9cb4c4}.developer-credit{direction:ltr;unicode-bidi:isolate}.developer-credit a{font-weight:800;color:#5eed9c}.developer-credit a:hover{text-decoration:underline}
.float-actions{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom));inset-inline-end:18px;z-index:999;display:flex;flex-direction:column;gap:11px}.float-actions a{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 22px #03151c40;border:2px solid #ffffffd6;color:#fff;transition:transform .2s,box-shadow .2s}.float-actions a:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 9px 29px #03151c50}.float-actions .wa-float{background:#25d366}.float-actions .phone-float{background:#092c45}.float-actions a svg{width:30px;height:30px}.float-actions .phone-float svg{width:25px;height:25px}
a:focus-visible,button:focus-visible{outline:3px solid #54dda2;outline-offset:3px}
@media(max-width:800px){.foot-cols{gap:25px}.footer-topline{padding:26px 0}.foot-cols{padding:30px 0 35px}}
@media(max-width:470px){.footer-topline{align-items:flex-start;flex-direction:column;gap:14px}.footer-talk{width:100%;justify-content:center}.foot-cols{gap:24px}.footer-bottom{flex-direction:column;text-align:center;padding:19px 0}.float-actions{inset-inline-end:12px;bottom:calc(15px + env(safe-area-inset-bottom))}.float-actions a{width:51px;height:51px}.float-actions a svg{width:27px;height:27px}}
@media(prefers-reduced-motion:reduce){.float-actions a,.footer-talk,.foot-links a{transition:none}}

/* v1.2: stable bilingual geometry and true language metadata */
html{overflow-x:clip}body{overflow-wrap:break-word}img{max-width:100%}
/* Direction affects text, not positions of major layout blocks. */
.header-inner,.topbar .wrap,.hero .wrap,.foot-cols,.footer-bottom,.features,.services-grid,.contact-grid,.intro-grid{direction:ltr}
[dir="rtl"] .topbar-links,[dir="rtl"] .nav,[dir="rtl"] .hero-copy,[dir="rtl"] .service-content,[dir="rtl"] .heading,[dir="rtl"] .intro-copy,[dir="rtl"] .contact-panel,[dir="rtl"] .foot-cols>div,[dir="rtl"] .cta-inner,[dir="rtl"] .footer-bottom{direction:rtl;text-align:right}
[dir="ltr"] .hero-copy,[dir="ltr"] .service-content,[dir="ltr"] .heading,[dir="ltr"] .intro-copy,[dir="ltr"] .contact-panel,[dir="ltr"] .foot-cols>div{direction:ltr;text-align:left}
.heading{text-align:center!important}.hero-copy{width:100%;min-width:0}.hero h1{overflow-wrap:normal;word-break:normal;letter-spacing:0}
.hero-actions .btn svg,.contact-line svg{width:22px;height:22px;flex:none}.hero-actions .btn bdi,.header-cta{white-space:nowrap;direction:ltr}
.brand{flex:0 1 auto;min-width:0;max-width:calc(100% - 67px)}.brand-words{min-width:0;letter-spacing:0;white-space:normal}.brand-words small{line-height:1.4;overflow-wrap:normal}.brand img{flex:none}
.feature{min-width:0}.feature-icon{flex:none}.footer-brand{white-space:normal}.footer-bottom .developer-credit{direction:ltr;text-align:center}
.lang-group{flex:none}.nav{min-width:0}.contact-line a{overflow-wrap:anywhere}
@media(max-width:800px){.header-inner{direction:ltr}.nav{direction:rtl;inset-inline:0}.nav.open{display:flex}.brand{margin-left:auto}.menu-toggle{order:-1;flex:none}.hero h1{font-size:clamp(31px,7.6vw,48px)}.features{direction:ltr}.feature{direction:rtl;text-align:right}.hero-copy{padding:45px 0 60px}.header-inner{gap:12px}}
@media(max-width:470px){.brand{gap:7px}.brand img{width:56px;height:58px}.brand-words{font-size:clamp(13px,3.7vw,16px)}.brand-words small{font-size:clamp(7px,1.9vw,9px);letter-spacing:0}.hero h1{font-size:clamp(30px,8.2vw,40px);line-height:1.32}.hero p{max-width:100%;line-height:1.7}.hero-actions{width:100%}.hero-actions .btn{font-size:clamp(13px,3.5vw,16px);padding:12px 10px}.features{gap:4px}.feature{gap:5px;padding:10px 2px}.feature-icon{width:30px;height:30px;font-size:17px}.topbar-links{min-width:0;gap:5px}.topbar-links span{overflow-wrap:anywhere}}


/* v1.3 FINAL RESPONSIVE REPAIR — appended last to override historical conflicts */
html,body{max-width:100%;overflow-x:clip}
.wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
.header .brand{display:flex;align-items:center;gap:11px;min-width:0;max-width:100%;direction:ltr;flex-shrink:1}
.header .brand img{object-fit:contain;flex:0 0 auto}
.header .brand-words{display:flex;flex-direction:column;min-width:0;white-space:normal;line-height:1.15;overflow-wrap:normal;word-break:normal}
.header .brand-words small{display:block;max-width:100%;font-size:clamp(7px,1vw,11px);white-space:normal;line-height:1.3}
.hero-copy,.hero-copy *{max-width:100%}
.hero-copy h1{overflow-wrap:break-word;word-break:normal;hyphens:none}
.hero-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:0;max-width:100%}
.hero-actions .btn svg{display:inline-block;width:22px;height:22px;flex:0 0 22px}
.hero-actions .btn bdi{unicode-bidi:isolate;direction:ltr;display:inline-block}
.footer .wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.footer .foot-cols{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr) minmax(0,.9fr);gap:clamp(25px,4vw,58px);direction:ltr;align-items:start;padding:42px 0}
.footer .foot-cols>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
.footer .footer-company{max-width:none;min-width:0}
.footer .footer-brand{display:flex;align-items:center;justify-content:flex-start;gap:13px;max-width:100%;font-size:clamp(18px,2vw,23px);direction:ltr;text-align:left;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal}
.footer .footer-brand img{display:block;width:64px;height:64px;flex:0 0 64px;object-fit:contain;border-radius:14px;background:#fff;padding:6px}
.footer .footer-brand .brand-name{display:block;flex:1;min-width:0;white-space:normal;line-height:1.18}
.footer .footer-brand b{display:inline;color:#4ee18c}
.footer .footer-company p{margin:19px 0 15px;line-height:1.85;max-width:38ch}
.footer .foot-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.footer .foot-links a,.footer .foot-links span{max-width:100%;min-width:0;line-height:1.6;overflow-wrap:anywhere;word-break:normal}
.footer .footer-phone{font-size:clamp(14px,1.65vw,17px);white-space:nowrap;unicode-bidi:isolate}
.footer .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;border-top:1px solid #ffffff24;padding:23px 0;direction:ltr}
.footer .developer-credit{white-space:normal;direction:ltr;text-align:left}
.footer .footer-topline{display:flex;align-items:center;justify-content:space-between;gap:16px}
.footer .footer-talk{max-width:100%;text-align:center}
[dir="rtl"] .footer .footer-company p,[dir="rtl"] .footer .foot-cols>div,[dir="rtl"] .footer .foot-links{direction:rtl;text-align:right}
[dir="rtl"] .footer .foot-links{align-items:flex-start}
[dir="rtl"] .footer .footer-brand{direction:ltr;text-align:left}
.float-actions{position:fixed!important;inset-inline-end:18px!important;inset-inline-start:auto!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;display:flex;flex-direction:column;gap:10px;z-index:1000!important}
.float-actions a{width:52px;height:52px;flex:none}
@media(max-width:980px){
 .footer .foot-cols{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px}
 .footer .footer-company{grid-column:1/-1}
}
@media(max-width:800px){
 .header-inner{min-height:78px;gap:10px}
 .header .brand{margin-inline-start:auto;max-width:calc(100% - 60px);flex:1}
 .header .brand img{width:clamp(45px,11vw,65px);height:clamp(45px,11vw,65px)}
 .header .brand-words{font-size:clamp(14px,4vw,20px);letter-spacing:-.02em}
 .menu-toggle{order:-1;flex:0 0 44px;width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
 .nav{position:absolute;inset-inline:0;width:auto;z-index:900}
 .hero-copy{width:100%;padding:45px 0 58px}
 .hero-copy h1{font-size:clamp(31px,7.5vw,48px);line-height:1.25}
 .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%}
 .hero-actions .btn{width:100%;min-height:55px}
 .footer .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 22px}
 .footer .footer-company{grid-column:1/-1}
}
@media(max-width:600px){
 .wrap,.footer .wrap{width:calc(100% - 36px)}
 .footer .foot-cols{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:18px 0 23px!important}
 .footer .foot-cols>div{grid-column:1/-1!important;width:100%;padding:22px 0;border-bottom:1px solid #ffffff20;min-width:0}
 .footer .foot-cols>div:last-child{border-bottom:0}
 .footer .footer-brand{font-size:21px;gap:14px}
 .footer .footer-brand img{width:66px;height:66px;flex-basis:66px}
 .footer .footer-company p{max-width:100%;margin:15px 0}
 .footer .foot-links{gap:11px!important}
 .footer .footer-bottom{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:10px;padding:19px 0 25px}
 .footer .footer-bottom>span{max-width:100%;text-align:center!important}
 .footer .footer-topline{align-items:stretch;flex-direction:column;gap:16px;padding:26px 0 20px}
 .footer .footer-talk{width:100%;justify-content:center;min-height:53px;padding:12px 16px}
 .footer .footer-kicker{text-align:center}
 .float-actions{inset-inline-end:12px!important;bottom:calc(16px + env(safe-area-inset-bottom))!important}
 .float-actions a{width:49px;height:49px}
 .hero h1{font-size:clamp(29px,8vw,39px)!important}
 .topbar-links a{display:none}
 .features{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .feature{min-width:0}
}
@media(max-width:360px){.header .brand-words{font-size:13px}.header .brand-words small{font-size:7px}.header .brand img{width:43px;height:43px}.footer .footer-brand{font-size:19px}}


/* v1.5 Stable bilingual geometry: document direction controls text, not component positions. */
html,body{max-width:100%;overflow-x:clip}
.wrap,.footer .wrap{max-width:100%}
.topbar .wrap,.header-inner,.hero .wrap,.hero-actions,.features,.services-grid,.intro-grid,.contact-grid,.cta-inner,.footer .foot-cols,.footer .footer-bottom{direction:ltr}
[dir=rtl] .hero-copy,[dir=rtl] .heading,[dir=rtl] .intro-copy,[dir=rtl] .contact-panel,[dir=rtl] .service-content,[dir=rtl] .cta-inner>div,[dir=rtl] .footer .foot-cols>div,[dir=rtl] .footer .footer-topline{direction:rtl;text-align:right}
[dir=ltr] .hero-copy,[dir=ltr] .heading,[dir=ltr] .intro-copy,[dir=ltr] .contact-panel,[dir=ltr] .service-content,[dir=ltr] .cta-inner>div,[dir=ltr] .footer .foot-cols>div{direction:ltr;text-align:left}
.topbar-links{min-width:0}.topbar-links span{overflow-wrap:anywhere}.lang-group{flex-shrink:0;direction:ltr!important}
.header .brand,.footer .footer-brand{direction:ltr!important;text-align:left!important}
.header .brand-words,.footer .brand-name{unicode-bidi:isolate;direction:ltr;text-align:left}
.header .nav{direction:ltr!important}.header .nav a{white-space:nowrap;unicode-bidi:isolate}
.hero-copy{min-width:0;width:100%}.hero-copy h1{overflow-wrap:normal;word-break:normal}.hero-actions a{white-space:normal;text-align:center}
.hero-actions a svg{flex:0 0 22px}.features,.services-grid{min-width:0}.feature{min-width:0}
.service-card,.contact-panel,.intro-copy{min-width:0}.service-card img{max-width:100%}
.footer .foot-cols{direction:ltr!important}.footer .foot-cols>div{min-width:0}
.footer .footer-brand{justify-content:flex-start;flex-wrap:nowrap;max-width:100%}
.footer .footer-brand .brand-name{overflow-wrap:normal;word-break:normal;min-width:0}
.footer .foot-links{align-items:flex-start!important}
.footer .footer-phone{direction:ltr!important;unicode-bidi:isolate;white-space:normal;word-break:break-word}
.footer .footer-bottom{direction:ltr!important}.footer .developer-credit{direction:ltr!important;unicode-bidi:isolate}
.float-actions{right:14px!important;left:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important}
/* Fixed physical-side floating buttons in both languages. */
@media(max-width:800px){
 .header-inner{direction:ltr!important;display:flex!important;flex-wrap:nowrap;gap:8px}
 .header .brand{order:2;margin:0 0 0 auto!important;flex:0 1 auto;min-width:0;max-width:calc(100% - 55px)}
 .menu-toggle{order:1!important;margin:0 auto 0 0;flex:0 0 44px}
 .header .nav{position:absolute;left:0!important;right:0!important;inset-inline:0;top:100%;direction:ltr!important;max-height:calc(100dvh - 95px);overflow-y:auto}
 .header .nav a{display:block;max-width:100%;white-space:normal}
 [dir=rtl] .header .nav a{direction:rtl;text-align:right}
 [dir=ltr] .header .nav a{direction:ltr;text-align:left}
 .hero .wrap{direction:ltr!important}
 .hero-copy{max-width:100%;margin:0;padding:42px 0 52px}
 .hero h1{font-size:clamp(29px,7.5vw,43px)!important;line-height:1.28;letter-spacing:0}
 .hero-actions{width:100%;display:flex;flex-direction:column;align-items:stretch;direction:ltr!important}
 .hero-actions .btn{width:100%;max-width:100%;min-width:0}
 .features{direction:ltr!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .feature{direction:ltr!important;display:flex;align-items:center;gap:8px;text-align:left;border:0;padding:10px 4px;overflow-wrap:anywhere}
 [dir=rtl] .feature{direction:rtl!important;text-align:right}
 .footer .footer-topline{direction:ltr!important}
 .footer .foot-cols{direction:ltr!important}
 .footer .footer-brand{direction:ltr!important}
}
@media(max-width:600px){
 .wrap,.footer .wrap{width:calc(100% - 32px)}
 .topbar .wrap{direction:ltr!important;gap:6px}
 .topbar-links{font-size:11px;flex:1;min-width:0}
 .lang-group a{padding:4px 10px}
 .header .brand{gap:7px}
 .header .brand img{width:clamp(40px,11vw,56px);height:clamp(40px,11vw,56px)}
 .header .brand-words{font-size:clamp(13px,3.8vw,18px)}
 .header .brand-words small{font-size:clamp(7px,1.65vw,9px);letter-spacing:0}
 .footer .foot-cols{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 .footer .foot-cols>div{grid-column:1/-1!important;min-width:0;max-width:100%}
 .footer .footer-brand{font-size:clamp(17px,5vw,22px);gap:12px}
 .footer .footer-brand img{width:60px;height:60px;flex:0 0 60px}
 .footer .footer-bottom{display:flex!important;flex-direction:column!important;gap:10px;align-items:center!important;text-align:center!important}
 .footer .footer-bottom span{text-align:center!important}
 .footer .foot-links a{max-width:100%;overflow-wrap:anywhere}
 .float-actions{right:12px!important;left:auto!important;bottom:calc(15px + env(safe-area-inset-bottom))!important}
}

/* v1.6 premium service-area section: fixed card geometry for both languages */
.service-areas{background:radial-gradient(ellipse at 85% 0%,#173447 0%,#0b1729 42%,#080f1e 100%);color:#fff;position:relative;overflow:hidden}
.service-areas .areas-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;direction:ltr}
.service-areas .areas-head>div:first-child{max-width:760px;min-width:0}
.service-areas .areas-head h2{color:#fff;font-size:clamp(29px,4vw,44px);margin:7px 0 12px}
.service-areas .areas-head p{color:#b8c6d5;line-height:1.8;margin:0}
.service-areas .areas-kicker{font-size:12px;color:#54d990;letter-spacing:.15em;font-weight:800}
.service-areas .areas-icon{color:#4edd91;font-size:65px;line-height:1;opacity:.8}
.service-areas .areas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;direction:ltr}
.service-areas .area-card{direction:ltr;display:flex;align-items:center;gap:11px;min-width:0;min-height:76px;padding:16px 17px;background:#141f32;border:1px solid #354153;border-radius:13px;color:#fff;font-size:clamp(14px,1.2vw,17px);font-weight:650;line-height:1.4;overflow-wrap:anywhere;box-shadow:0 4px 15px #0002}
.service-areas .area-pin{display:inline-flex;color:#f05c6d;flex:0 0 21px}
.service-areas .areas-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:32px;padding-top:23px;border-top:1px solid #ffffff26;font-weight:700;direction:ltr}
.service-areas .areas-bottom .btn svg{width:21px;height:21px}
html[dir=rtl] .service-areas .areas-head>div:first-child,html[dir=rtl] .service-areas .areas-bottom>span{direction:rtl;text-align:right}
html[dir=rtl] .service-areas .area-card{direction:rtl;text-align:right;justify-content:flex-start}
html[dir=rtl] .service-areas .areas-head{flex-direction:row-reverse}
@media(max-width:1080px){.service-areas .areas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.service-areas .areas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-areas .areas-head{margin-bottom:22px}.service-areas .area-card{min-height:65px;padding:12px;font-size:14px}.service-areas .areas-bottom{flex-direction:column;align-items:stretch;text-align:center}.service-areas .areas-bottom .btn{width:100%;justify-content:center}}
@media(max-width:360px){.service-areas .areas-grid{gap:8px}.service-areas .area-card{padding:10px 8px;font-size:12px;gap:6px}.service-areas .area-pin{flex-basis:18px}}

.service-areas .areas-reference{margin-top:20px;max-width:480px;background:#152237;border:1px solid #334359;border-radius:13px;overflow:hidden}
.service-areas .areas-reference summary{padding:14px 18px;cursor:pointer;font-weight:650;color:#d9eee4;list-style-position:inside}
.service-areas .areas-reference-inner{padding:0 18px 18px}.service-areas .areas-reference img{width:100%;max-width:340px;height:auto;border-radius:10px;display:block}
html[dir=rtl] .service-areas .areas-reference{margin-left:0;margin-right:auto;direction:rtl}

/* Partner logos v1.8 — equal-size, RTL-safe, responsive motion */
.tsd-partners{overflow:hidden;background:#f7fafc;padding-block:62px 72px}
.tsd-partners .heading{margin-bottom:30px}
.tsd-marquee{overflow:hidden;width:100%;position:relative;direction:ltr;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent)}
.tsd-marquee-track{display:flex;width:max-content;animation:tsd-marquee-move 38s linear infinite;will-change:transform}
.tsd-partner-set{display:flex;gap:18px;padding-inline-end:18px;flex:none}
.tsd-partner-card{width:238px;height:180px;flex:0 0 238px;border:1px solid #dfe7ed;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(5,26,42,.07);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 16px;gap:10px;box-sizing:border-box;direction:ltr}
.tsd-partner-card img{display:block;width:100%;height:100px;max-width:204px;object-fit:contain;object-position:center;mix-blend-mode:multiply}
.tsd-partner-card span{font-size:13px;font-weight:700;color:#26364a;text-align:center;line-height:1.3;overflow-wrap:anywhere}
.tsd-marquee:hover .tsd-marquee-track,.tsd-marquee:focus-within .tsd-marquee-track{animation-play-state:paused}
@keyframes tsd-marquee-move{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:600px){.tsd-partners{padding-block:42px 48px}.tsd-partner-card{width:178px;flex-basis:178px;height:143px;padding:12px}.tsd-partner-card img{height:80px;max-width:150px}.tsd-partner-card span{font-size:11px}.tsd-partner-set{gap:12px;padding-inline-end:12px}.tsd-marquee-track{animation-duration:32s}}
@media(prefers-reduced-motion:reduce){.tsd-marquee{overflow-x:auto;mask-image:none}.tsd-marquee-track{animation:none}}

/* v1.9 - tightly scoped mobile header branding correction; preserves all other sections. */
@media (max-width:800px){
 .header .header-inner{direction:ltr!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:78px!important}
 .header .menu-toggle{order:0!important;flex:0 0 44px!important;width:44px!important;margin:0!important;line-height:1!important;padding:5px!important}
 .header .brand{order:1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;direction:ltr!important;text-align:left!important;margin:0 0 0 auto!important;flex:0 1 auto!important;min-width:0!important;max-width:calc(100% - 54px)!important;overflow:hidden}
 .header .brand img{width:62px!important;height:62px!important;flex:0 0 62px!important;object-fit:contain!important;display:block!important}
 .header .brand-words{display:block!important;flex:0 1 auto!important;min-width:0!important;max-width:100%!important;color:#082039!important;font-size:clamp(13px,3.4vw,19px)!important;font-weight:850!important;line-height:1.3!important;letter-spacing:-.025em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;direction:ltr!important;text-align:left!important}
 .header .brand-words span{display:inline!important;white-space:nowrap!important}
 .header .brand-words small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(6px,1.45vw,9px)!important;letter-spacing:0!important;line-height:1.45!important;margin-top:3px!important;font-weight:750!important}
}
@media (max-width:390px){
 .header .brand{gap:6px!important}
 .header .brand img{width:49px!important;height:49px!important;flex-basis:49px!important}
 .header .brand-words{font-size:clamp(12px,3.5vw,15px)!important}
 .header .brand-words small{font-size:6px!important}
}

/* v1.10 — mobile ONLY: permanent left branding and right hamburger in EN & AR.
   No edits to hero, partners, footer, cards or desktop. */
@media (max-width:800px) {
  .header .header-inner {direction:ltr!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
  .header .brand {order:0!important;margin:0 auto 0 0!important;flex:0 1 auto!important;min-width:0!important;max-width:calc(100% - 60px)!important;justify-content:flex-start!important;direction:ltr!important;text-align:left!important;}
  .header .menu-toggle {order:3!important;margin:0 0 0 auto!important;flex:0 0 44px!important;width:44px!important;height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .header .nav {order:2;}
  .header .header-cta {order:1;}
  html[dir="rtl"] .header .header-inner, body[dir="rtl"] .header .header-inner {direction:ltr!important;}
  html[dir="rtl"] .header .brand, body[dir="rtl"] .header .brand {order:0!important;margin:0 auto 0 0!important;justify-content:flex-start!important;}
  html[dir="rtl"] .header .menu-toggle, body[dir="rtl"] .header .menu-toggle {order:3!important;margin:0 0 0 auto!important;}
}

/* v1.11: isolated partner carousel logo fitting and accessibility */
.tsd-partners .tsd-partner-card{overflow:hidden;isolation:isolate}
.tsd-partners .tsd-partner-card img{display:block!important;object-fit:contain!important;object-position:center!important;max-height:105px!important;max-width:100%!important;min-width:0!important;mix-blend-mode:normal!important;flex-shrink:1}
.tsd-partners .tsd-partner-card span{margin:0;max-width:100%}
@media(max-width:600px){.tsd-partners .tsd-partner-card img{max-height:80px!important}}
