
/* ── Aswaq Libya overrides ─────────────────────────────────────────── */
:root{--color-primary:#4F86FF;--al-blue:#4F86FF;--al-blue-2:#8FB0FF;--al-navy:#06101F}
.al-wordmark{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;line-height:1}
.al-seal{width:40px;height:40px;color:var(--al-blue);flex:none}
.al-wordmark-text{display:flex;flex-direction:column;font-family:var(--font-heading);font-weight:700;font-size:17px;letter-spacing:.14em}
.al-wordmark-text b{font-weight:400;letter-spacing:.14em;color:var(--al-blue-2)}
.al-wordmark-text small{font-family:"Noto Naskh Arabic",serif;font-weight:500;font-size:11px;letter-spacing:0;color:rgba(255,255,255,.55);margin-top:3px;direction:rtl}
.preloader .loader-logo .al-wordmark{justify-content:center}
.xb-logo-mobile .al-wordmark{margin-bottom:10px}
.al-accent{color:var(--al-blue-2)}
.hero .title{max-width:15ch}
/* parties */
.al-parties{max-width:1180px;margin:0 auto 70px}
.al-party{padding:34px 34px 36px;height:100%;border-radius:20px;background:rgba(255,255,255,.02)}
.al-kicker{display:block;font-family:var(--font-heading);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--al-blue-2);margin-bottom:16px}
.al-party h3{font-size:34px;color:#fff;margin-bottom:14px;letter-spacing:-.01em}
.al-party h3 small{display:block;font-size:15px;font-weight:400;font-family:var(--font-body);color:var(--color-gray);margin-top:6px;letter-spacing:0}
.al-party p{color:var(--color-gray);font-size:16px;line-height:1.65;margin:0}
/* standards strip */
.xb-brand-item.al-std{padding:0 34px}
.xb-brand-item.al-std span{font-family:var(--font-heading);font-size:22px;font-weight:700;color:#fff;white-space:nowrap;letter-spacing:-.01em;opacity:.85}
/* audit-trail seal in the marquee centre */
.al-log-seal{display:inline-grid;place-items:center;width:110px;height:110px;border-radius:50%;background:var(--al-navy);border:1px solid rgba(255,255,255,.12);color:var(--al-blue)}
.al-log-seal svg{width:58px;height:58px}
.xb-marquee-item p{font-family:var(--font-body)}
/* counters */
.xb-contact-item .prefix{font-size:.6em;vertical-align:top;margin-right:2px}
/* sector cards: hide leftover tech row spacing */
.xb-project-content .xb-item---btn{margin-top:40px}
/* form select placeholder */
.nice-select .current{color:#fff}
/* footer copyright arabic */
.copyright-item p{font-size:14px}
@media (max-width:767px){.al-party{padding:26px 22px}.al-party h3{font-size:26px}.xb-brand-item.al-std span{font-size:18px}}

.xb-contact-item .xb-item--number{font-size:clamp(44px,4.2vw,64px);white-space:nowrap}
.xb-contact-item .xb-item--content{font-size:15px}

/* ── v5.2 layout fixes ─────────────────────────────────────────────── */
/* section titles: stack kicker / heading / button instead of the template's run-in line */
.custom-sec-title .sub-title{display:inline-block;transform:none;margin-bottom:22px}
.custom-sec-title .title{display:block!important;margin:0 auto 38px;line-height:1.15;letter-spacing:-.05em}
.custom-sec-title .xb-heading-btn{transform:none;display:inline-block!important}
/* about title: plain, no inline art */
.al-about-title .title{font-size:50px;line-height:1.25;max-width:900px;letter-spacing:-.04em}
@media (max-width:767px){.al-about-title .title{font-size:32px}}
/* method title: keep tidy without the diamond gif */
.process-title .title,.feature-sec-title .title{letter-spacing:-.05em}
/* sector cards: facts as a vertical list, not a flex row with 127px gaps */
.xb-project-content .xb-item--list{display:block;margin:26px 0 0;gap:0}
.xb-project-content .xb-item--list li{display:block;margin-top:10px;line-height:1.5}
/* CBL counters: keep the figures inside the card */
.xb-contact-item{max-width:230px}
.xb-contact-item .xb-item--number{font-size:clamp(40px,3.3vw,54px);letter-spacing:-.03em;white-space:nowrap}
.xb-contact-item .prefix{font-size:.55em;vertical-align:top;margin-right:1px}
/* footer wordmark: one line, mail pill centred on it */
.xb-footer-heading .title{font-size:clamp(32px,8.6vw,240px);line-height:1;white-space:nowrap;letter-spacing:.02em;text-align:center}
.xb-footer-heading .mail{top:50%}
.xb-footer-nav{margin-top:30px}
.xb-footer-bottom .contact-method{white-space:nowrap;text-transform:none}
.xb-footer-bottom .contact-item img{width:22px}

/* ── v5.4 contrast + backgrounds ───────────────────────────────────── */
:root{--color-gray:#B9C3D8;--color-body:#04070F}
body{background-color:#04070F}
/* cards: firmer surfaces and clearer edges */
.xb-border::after{background:linear-gradient(146deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,.14) 38%,rgba(79,134,255,.28) 100%)}
.xb-feature-item .xb-item--inner,.al-party,.xb-contact-form,.xb-brand-wrap,.xb-industries-item .xb-item--inner{background:rgba(9,17,34,.78)!important;backdrop-filter:blur(12px)}
.xb-feature-item .xb-item--inner::before,.xb-brand-wrap::before{opacity:.35}
.xb-project-content .xb-item--inner{background:rgba(5,10,22,.82)!important}
.xb-service-item{background:linear-gradient(200deg,rgba(14,26,52,.9) 0%,rgba(6,12,26,.95) 100%)!important}
.xb-service-item.active{background:linear-gradient(200deg,rgba(20,38,78,.92) 0%,rgba(8,16,34,.96) 100%)!important}
p,.xb-item--content,.sub-title,.xb-project-content .xb-item--list{color:var(--color-gray)}
.hero .sub-title{color:#D6DDEB}
.xb-feature-item .xb-item--content,.xb-industries-item .xb-item--content{color:#C3CCDF}
/* remove decorative smears / wedges */
.xb-contact-conent .shape{display:none}
/* hero seal */
.al-hero-seal svg{width:min(300px,62vw);height:auto;display:block;margin-left:auto}
.al-spin,.al-spin-rev{transform-origin:160px 160px;animation:al-spin 60s linear infinite}
.al-spin-rev{animation-direction:reverse;animation-duration:90s}
@keyframes al-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.al-spin,.al-spin-rev{animation:none}}
@media (max-width:991px){.hero-style .al-hero-seal{transform:none;margin:24px auto 0}.al-hero-seal svg{margin:0 auto;width:200px}}
/* standards strip: text items must never be clipped */
.brand-sub-title p{text-transform:none}
.xb-brand-item.al-std{max-width:none!important;flex:none}
@media (max-width:767px){.xb-brand-item.al-std{padding:0 18px}.xb-brand-item.al-std span{font-size:16px}.xb-brand-inner{gap:0;margin-right:0}.xb-brand-wrap{padding:20px 0 40px}}
.hero-style .al-hero-seal{margin-left:0;margin-right:0;transform:translateY(-24px)}
@media (max-width:767px){.custom-sec-title .title{font-size:34px}.custom-sec-title .title br{display:none}.al-about-title .title{font-size:30px}}
.xb-feature-img{z-index:0}
/* form: honeypot + status */
.al-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.al-form-note{margin:22px 0 -10px;font-size:15px;line-height:1.5;padding:12px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#D6DDEB}
.al-form-note.is-ok{border-color:rgba(79,134,255,.5);background:rgba(79,134,255,.12);color:#fff}
.al-form-note.is-error{border-color:rgba(255,120,120,.5);background:rgba(255,90,90,.1);color:#FFD5D5}
.form-btn[disabled]{opacity:.6;cursor:progress}

/* ── language toggle ──────────────────────────────────────────────── */
.header-btn{display:flex;align-items:center;gap:14px}
.al-lang{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.18);color:#fff;font-family:var(--font-heading);font-size:14px;letter-spacing:.04em;text-decoration:none;transition:.25s}
.al-lang:hover{border-color:var(--al-blue);color:var(--al-blue-2)}
.al-lang-mobile{margin:26px 0 0;display:inline-flex}
@media (max-width:991px){.header-btn .al-lang{display:none}}

/* ── Arabic (RTL) ─────────────────────────────────────────────────── */
html.al-ar body,html.al-ar h1,html.al-ar h2,html.al-ar h3,html.al-ar h4,html.al-ar .title,html.al-ar .sub-title,html.al-ar .thm-btn,html.al-ar .al-kicker,html.al-ar .xb-item--title,html.al-ar .xb-title,html.al-ar label,html.al-ar input,html.al-ar textarea,html.al-ar .nice-select,html.al-ar .main-menu ul li a,html.al-ar .xb-footer-nav-item .title{font-family:"IBM Plex Sans Arabic",var(--font-body),sans-serif;letter-spacing:0!important}
html.al-ar h1,html.al-ar h2,html.al-ar h3,html.al-ar .title{font-weight:600}
html.al-ar .hero .title{max-width:20ch;font-size:clamp(40px,5.2vw,84px);line-height:1.25}
html.al-ar .sec-title .title{line-height:1.35}
html.al-ar .custom-sec-title .title{line-height:1.3}
html.al-ar .al-about-title .title{line-height:1.45}
html.al-ar .xb-project-content .xb-item--title{letter-spacing:0;line-height:1.3}
html.al-ar .xb-footer-heading .title{font-family:var(--font-heading)}   /* keep Latin wordmark */
html.al-ar .al-wordmark-text{font-family:var(--font-heading)}
html.al-ar .xb-marquee-item p,html.al-ar .xb-marquee-item span,html.al-ar .xb-brand-item span{direction:ltr;unicode-bidi:isolate}
/* mirror the pieces the template hard-codes as left-to-right */
html.al-ar .text-end{text-align:left!important}
html.al-ar .xb-feature-item .xb-item--inner,html.al-ar .al-party,html.al-ar .xb-project-content,html.al-ar .xb-input-field label{text-align:right}
html.al-ar .xb-input-field label{left:auto;right:56px}
html.al-ar .xb-input-field img{left:22px;right:auto}
html.al-ar .xb-input-field input,html.al-ar .xb-input-field textarea{padding-left:20px;padding-right:56px;text-align:right}
html.al-ar .nice-select{text-align:right;padding-right:56px;padding-left:44px}
html.al-ar .nice-select::after{right:auto;left:22px}
html.al-ar .nice-select .list{left:auto;right:0;text-align:right}
html.al-ar .xb-item--list li span{unicode-bidi:plaintext}
html.al-ar .xb-service-item .xb-item--title{direction:rtl}
html.al-ar .agency-btn .text{direction:rtl}
html.al-ar .al-hero-seal svg{margin-left:auto;margin-right:0}
html.al-ar .hero-style .al-hero-seal{margin-left:0}
@media (min-width:992px){html.al-ar .hero-style .al-hero-seal{transform:translateY(-24px)}}
html.al-ar .xb-footer-bottom .contact-method,html.al-ar .copyright-item p{unicode-bidi:plaintext}
html.al-ar .al-form-note{text-align:right}
html.al-ar .xb-service-item .xb-item--icon{right:auto;left:0}
html.al-ar .xb-service-item .xb-item--head-item{padding-left:64px;padding-right:0}
html.al-ar .xb-service-item .xb-item--title{max-width:none;direction:rtl;text-align:right}
html.al-ar .xb-contact-item .xb-item--number{direction:ltr;unicode-bidi:isolate;display:inline-block}
html.al-ar .xb-contact-item{text-align:right}
html.al-ar .service-vertical-text .xb-item--title{writing-mode:vertical-rl;text-orientation:mixed;transform:none;top:56px;left:50%;right:auto;width:auto;height:auto;margin-left:-.55em;display:block;text-align:start;justify-content:flex-start;line-height:1.1}
