/* AZO V5.76 — shared navigation-aligned rail, Arabic editorial rhythm,
   rounded video-toned liquid glass. Keep AZO orange palette and original copy. */
:root{
  --azo-page-max:1210px;
  --azo-page-gutter:clamp(24px,3.25vw,58px);
  --azo-body-leading:1.83;
}
/* Navigation and all content sections respect a common central alignment. */
html body .nav-pill{
  width:min(calc(100% - 2 * var(--azo-page-gutter)),var(--azo-page-max))!important;
  max-width:var(--azo-page-max)!important;
  box-sizing:border-box;
}
html body .container,
html body #hero .hero-center,
html body #about.about-v513 .about-shell,
html body #work.azo-work-v519 .azo-work-container,
html body #partners .azo-logo-gallery,
html body #partners .azo-partners-action,
html body #testimonials .azo-feedback-marquee{
  width:min(calc(100% - 2 * var(--azo-page-gutter)),var(--azo-page-max))!important;
  max-width:var(--azo-page-max)!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
html body #hero .hero-center{padding-inline:0!important}
/* Long Arabic copy needs clear paragraphs, not uniformly huge text. */
html[dir="rtl"] body :is(h1,h2,h3,h4){letter-spacing:normal!important}
html body :is(.hero-title,.about-heading,.azo-work-title,.azo-services-intro h2,
 .azo-partners-head h2,.azo-testimonials-head h2,.section-heading,
 .azo-service-card h3,.azo-v569-work-heading h3){
 text-wrap:balance;overflow-wrap:break-word;
}
html body :is(.hero-description,.about-declaration,.about-paragraph,
 .azo-work-declaration,.azo-work-description,.azo-route-desc,
 .azo-services-intro>p,.azo-service-promise,.azo-service-description,
 .azo-partners-lead,.azo-partners-description,.azo-testimonials-subtitle,
 .contact-copy>p,.section-lead,.azo-v569-feature-service,
 .azo-v569-work-heading p){
 text-wrap:pretty;overflow-wrap:break-word;
}
/* Hierarchical breathing room; preserve title/content order and existing wording. */
html body #about.about-v513 .about-declaration{
 line-height:1.74!important;max-width:38ch;
}
html body #about.about-v513 .about-narrative{
 gap:clamp(17px,2.2vw,29px)!important;
}
html body #about.about-v513 .about-paragraph{
 line-height:1.94!important;max-width:68ch;
}
html body #work.azo-work-v528 .azo-work-intro{
 max-width:960px!important;
 padding-bottom:clamp(24px,3.2vw,44px)!important;
 margin-bottom:clamp(24px,3.2vw,44px)!important;
}
html body #work.azo-work-v528 .azo-work-intro .azo-work-title{
 font-size:clamp(3.7rem,6.45vw,6.25rem)!important;
 line-height:1.19!important;
 margin-bottom:clamp(16px,2vw,25px)!important;
}
html body #work.azo-work-v528 .azo-work-intro .azo-work-declaration{
 font-size:clamp(1.18rem,1.85vw,1.6rem)!important;
 line-height:1.7!important;max-width:42ch!important;margin-bottom:15px!important;
}
html body #work.azo-work-v528 .azo-work-intro .azo-work-description{
 font-size:clamp(.96rem,1.15vw,1.13rem)!important;
 line-height:1.96!important;max-width:67ch!important;
}
html body #work .azo-route-desc{line-height:1.91!important;max-width:67ch}
html body #services .azo-services-intro{max-width:840px;margin-inline:auto}
html body #services .azo-services-intro h2{line-height:1.23!important;margin-bottom:17px!important}
html body #services .azo-services-intro>p{line-height:1.92!important;max-width:66ch;margin-inline:auto}
html body #services .azo-service-promise{line-height:1.69!important;margin-bottom:14px!important}
html body #services .azo-service-description{line-height:1.91!important}
html body #partners .azo-partners-head{max-width:850px;margin-inline:auto}
html body #partners .azo-partners-head h2{line-height:1.22!important;margin-bottom:17px!important}
html body #partners .azo-partners-lead{line-height:1.67!important;margin-bottom:12px!important}
html body #partners .azo-partners-description{line-height:1.9!important;max-width:67ch;margin-inline:auto}
html body #testimonials .azo-testimonials-head{max-width:840px;margin-inline:auto}
html body #testimonials .azo-testimonials-subtitle{line-height:1.85!important;max-width:68ch;margin-inline:auto}
html body #contact .section-heading{line-height:1.23!important;margin-bottom:17px!important}
html body #contact .contact-copy>p{max-width:56ch!important;line-height:1.89!important}
/* Single, smooth, rounded glass edge. The underlying video colours remain subtle. */
html body .azo-v569-feature-glass{
  --azo-feature-radius:clamp(21px,2.6vw,32px);
  position:relative!important;
  border-radius:var(--azo-feature-radius)!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border:1px solid rgba(255,255,255,.34)!important;
  background:linear-gradient(138deg,rgba(248,159,41,.33),rgba(255,255,255,.065) 50%,rgba(221,124,44,.24))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.45),0 16px 48px rgba(116,55,16,.12)!important;
  -webkit-mask-image:-webkit-radial-gradient(white,black);
}
html body .azo-v569-feature-glass::before{content:none!important;display:none!important}
html body .azo-v569-feature-glass::after{
  content:""!important;display:block!important;position:absolute!important;
  inset:0!important;z-index:0!important;pointer-events:none!important;
  width:100%!important;height:100%!important;
  border:0!important;border-radius:var(--azo-feature-radius)!important;
  box-shadow:none!important;
  background-image:linear-gradient(132deg,rgba(248,159,41,.19),rgba(221,124,44,.11)),var(--azo-v572-ambient)!important;
  background-position:center!important;background-size:cover!important;
  opacity:.54!important;filter:blur(14px) saturate(1.15)!important;
  mix-blend-mode:soft-light!important;
  -webkit-mask-image:radial-gradient(ellipse 94% 90% at 49% 49%,#000 34%,rgba(0,0,0,.63) 64%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 94% 90% at 49% 49%,#000 34%,rgba(0,0,0,.63) 64%,transparent 100%)!important;
  transition:opacity .28s ease!important;
}
html body .azo-v569-feature-glass>.azo-v569-feature-main,
html body .azo-v569-feature-glass>.azo-v569-feature-bottom{position:relative!important;z-index:1!important}
html body .azo-v569-feature-glass .azo-v569-feature-bottom{
 border-top:1px solid rgba(255,255,255,.18)!important;
 box-shadow:none!important;
}
@media(max-width:760px){
 :root{--azo-page-gutter:clamp(18px,4.65vw,26px)}
 html body .nav-pill{width:calc(100% - 2 * var(--azo-page-gutter))!important}
 html body #work.azo-work-v528 .azo-work-intro .azo-work-title{
  font-size:clamp(2.65rem,11.3vw,4.15rem)!important;line-height:1.21!important;
 }
 html body #work.azo-work-v528 .azo-work-intro .azo-work-declaration{
  font-size:clamp(1.08rem,4.6vw,1.28rem)!important;line-height:1.73!important;
 }
 html body #work.azo-work-v528 .azo-work-intro .azo-work-description{
  font-size:clamp(.92rem,3.8vw,1.04rem)!important;line-height:1.9!important;
 }
 html body #about.about-v513 .about-declaration{line-height:1.73!important;max-width:100%}
 html body #about.about-v513 .about-paragraph{line-height:1.88!important}
 html body #services .azo-services-intro>p,
 html body #services .azo-service-description,
 html body #partners .azo-partners-description,
 html body #contact .contact-copy>p{line-height:1.84!important}
 html body .azo-v569-feature-glass{--azo-feature-radius:20px}
 html body .azo-v569-feature-glass::after{opacity:.38!important;filter:blur(10px) saturate(1.08)!important}
}
@media(prefers-reduced-motion:reduce){html body .azo-v569-feature-glass::after{transition:none!important}}
