:root{
  --blue:#0a3597;--blue2:#06235f;--navy:#07152f;--gold:#f4b72a;--gold2:#d9940b;
  --ink:#111827;--muted:#667085;--soft:#f5f7fb;--white:#fff;--line:#e6eaf0;
  --radius:22px;--shadow:0 20px 60px rgba(7,21,47,.12);--container:1220px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}a{text-decoration:none;color:inherit}.container{width:min(var(--container),calc(100% - 40px));margin:auto}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:16px;top:16px;z-index:9999;background:#fff;padding:10px 14px;border-radius:8px}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(15px);border-bottom:1px solid rgba(6,35,95,.08)}
.nav-wrap{height:82px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;max-width:285px}.brand>a,.brand .custom-logo-link{display:flex;align-items:center}.brand img,.brand .custom-logo{width:auto;height:58px;object-fit:contain}.main-nav{margin-left:auto}.nav-list{display:flex;gap:24px;list-style:none;margin:0;padding:0}.nav-list a{font-weight:700;font-size:14px;color:#26334b}.nav-list a:hover{color:var(--blue)}.nav-call{display:flex;align-items:center;gap:8px;padding:11px 14px;border-radius:999px;background:var(--navy);color:#fff;font-weight:800;font-size:13px}.nav-call svg{width:17px;height:17px}.menu-toggle{display:none;background:none;border:0;padding:8px}.menu-toggle span{display:block;width:26px;height:2px;background:var(--navy);margin:5px}
.hero{min-height:760px;position:relative;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--navy)}.hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(3,16,48,.92) 0%,rgba(3,22,68,.74) 48%,rgba(2,13,36,.35) 100%)}.hero-content{position:relative;z-index:2;padding:120px 0 95px;max-width:850px;margin-left:max(20px,calc((100vw - var(--container))/2))}.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:12px;margin-bottom:18px}.eyebrow:before{content:"";width:32px;height:3px;background:currentColor;border-radius:2px}.eyebrow.dark{color:var(--blue)}.hero h1{font-size:clamp(48px,6.2vw,88px);line-height:.98;letter-spacing:-.05em;margin:0 0 24px;max-width:850px}.hero p{font-size:20px;max-width:690px;color:#e8edf7;margin:0 0 32px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;border-radius:999px;font-weight:900;font-size:14px;transition:.25s ease;border:1px solid transparent}.btn:hover{transform:translateY(-2px)}.btn-gold{background:var(--gold);color:#111}.btn-gold:hover{background:#ffc84d}.btn-ghost{border-color:rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.08)}.btn-whatsapp{background:#1fbf65;color:#fff}.btn-whatsapp svg{width:22px}.btn-outline-dark{border-color:#ccd3df;color:var(--navy);margin-top:10px}.hero-trust{display:flex;gap:22px;flex-wrap:wrap;margin-top:44px;color:#dce5f6;font-size:13px;font-weight:800}.hero-trust span:before{content:"✓";color:var(--gold);margin-right:8px}
.section{padding:105px 0}.section-soft{background:var(--soft)}.section-dark{background:var(--navy);color:#fff}.stats{padding:28px 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.12)}.stat{padding:28px 30px;background:var(--navy);display:flex;flex-direction:column}.stat strong{font-size:34px;color:var(--gold)}.stat span{color:#d4dced;font-size:13px}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.section h2,.why h2,.contact h2,.profile-cta h2{font-size:clamp(38px,4.8vw,62px);line-height:1.04;letter-spacing:-.04em;margin:0 0 22px}.lead{font-size:19px;color:#4d5b72;max-width:720px}.vision-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}.vision-grid article{padding:24px;border:1px solid var(--line);border-radius:18px}.vision-grid span{color:var(--gold2);font-weight:900}.vision-grid h3{margin:8px 0}.vision-grid p{color:var(--muted);font-size:14px}.text-link{color:var(--blue);font-weight:900}.about-media{position:relative}.about-media img{width:100%;height:620px;object-fit:cover;border-radius:28px;box-shadow:var(--shadow)}.media-badge{position:absolute;left:-28px;bottom:28px;background:#fff;padding:20px 22px;border-radius:16px;box-shadow:var(--shadow);display:flex;flex-direction:column}.media-badge strong{color:var(--navy)}.media-badge span{font-size:13px;color:var(--muted)}
.section-head{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:44px}.section-head>div{max-width:720px}.section-head h2{margin-bottom:0}.section-head>p{max-width:420px;color:var(--muted);margin:0}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.service-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 8px 30px rgba(16,31,60,.07);border:1px solid #edf0f5;transition:.3s}.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.service-card img{width:100%;height:250px;object-fit:cover}.service-card-body{padding:24px}.service-card h3{font-size:21px;margin:0 0 10px;color:var(--navy)}.service-card p{color:var(--muted);font-size:14px;margin:0}
.why{padding:105px 0}.why-grid{align-items:stretch}.why-image img{height:100%;min-height:650px;width:100%;object-fit:cover;border-radius:26px}.why-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.why-list article{padding:18px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}.why-list strong{display:block;color:var(--gold);margin-bottom:5px}.why-list p{margin:0;color:#c8d3e8;font-size:13px}
.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.project-card{border-radius:22px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 8px 30px rgba(7,21,47,.06)}.project-media{overflow:hidden}.project-media img{width:100%;height:340px;object-fit:cover;transition:.5s}.project-card:hover .project-media img{transform:scale(1.04)}.project-info{padding:24px}.project-info span{color:var(--gold2);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.project-info h3{font-size:24px;margin:8px 0 3px;color:var(--navy)}.project-info p{margin:0;color:var(--muted)}
.tag-grid{display:flex;flex-wrap:wrap;gap:10px}.tag-grid span{padding:11px 15px;background:#fff;border:1px solid var(--line);border-radius:999px;font-weight:800;font-size:13px;color:#2d3a51;box-shadow:0 4px 15px rgba(12,35,76,.04)}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:260px;gap:14px}.gallery-item{margin:0;overflow:hidden;border-radius:18px;background:#ddd}.gallery-item.wide{grid-column:span 2;grid-row:span 2}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.45s}.gallery-item:hover img{transform:scale(1.05)}
.profile-cta{padding:75px 0}.profile-cta-grid{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}.profile-cta h2{max-width:850px;margin-bottom:12px}.profile-cta p{color:#c9d4e8;max-width:760px;margin:0}
.contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:70px}.contact-cards{display:grid;gap:12px;margin-top:30px}.contact-cards a{display:flex;justify-content:space-between;gap:25px;padding:18px 20px;border:1px solid var(--line);border-radius:14px}.contact-cards span{color:var(--muted);font-size:13px}.contact-cards strong{color:var(--navy)}.contact-panel{background:var(--soft);border-radius:26px;padding:40px;border:1px solid var(--line)}.contact-label{color:var(--gold2);font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:.12em}.contact-panel h3{font-size:34px;color:var(--navy);margin:7px 0}.contact-panel p{color:var(--muted);margin-bottom:24px}.contact-panel .btn{width:100%}
.site-footer{background:#050f23;color:#c7d2e7}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:70px;padding:72px 0}.footer-logo{height:65px;width:auto;background:#fff;border-radius:10px;padding:5px;margin-bottom:22px}.site-footer h3{color:#fff;margin:0 0 16px}.site-footer a,.site-footer span{display:block;margin:8px 0;font-size:14px}.site-footer a:hover{color:var(--gold)}.footer-bottom{border-top:1px solid rgba(255,255,255,.08)}.footer-bottom-inner{display:flex;justify-content:space-between;gap:20px;padding:20px 0;font-size:12px}.footer-credit a{display:inline;margin:0}.footer-credit strong{color:var(--gold)}
.floating-whatsapp{position:fixed;right:24px;bottom:28px;z-index:999;display:flex;align-items:center;gap:9px;background:#20bd67;color:#fff;padding:13px 16px;border-radius:999px;box-shadow:0 14px 35px rgba(0,0,0,.2);font-weight:900;font-size:13px}.floating-whatsapp svg{width:24px;height:24px}.mobile-actions{display:none}
.content-area{max-width:900px}.content-area h1{font-size:48px}.content-area img{border-radius:18px}
.reveal{opacity:1;transform:none}.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.js .reveal.in-view{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.reveal{opacity:1;transform:none}}
@media(max-width:1050px){.nav-call{display:none}.split,.contact-grid{grid-template-columns:1fr;gap:44px}.about-media img{height:520px}.service-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(3,1fr)}.profile-cta-grid{grid-template-columns:1fr}.why-image img{min-height:480px}}
@media(max-width:820px){.nav-wrap{height:72px}.brand img,.brand .custom-logo{height:48px}.menu-toggle{display:block;margin-left:auto}.main-nav{position:absolute;top:72px;left:0;right:0;background:#fff;display:none;border-top:1px solid var(--line);box-shadow:0 18px 35px rgba(8,24,55,.09)}.main-nav.open{display:block}.nav-list{flex-direction:column;padding:18px 20px;gap:0}.nav-list a{display:block;padding:12px 4px}.hero{min-height:700px}.hero-content{margin-left:20px;padding-right:20px}.hero h1{font-size:52px}.stats-grid{grid-template-columns:repeat(2,1fr)}.section,.why{padding:78px 0}.section-head{display:block}.section-head>p{margin-top:16px}.project-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:220px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.floating-whatsapp{bottom:76px;right:16px}.floating-whatsapp span{display:none}.floating-whatsapp{width:54px;height:54px;padding:14px;justify-content:center}.mobile-actions{position:fixed;bottom:0;left:0;right:0;z-index:998;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 20px rgba(0,0,0,.08)}.mobile-actions a{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px;font-weight:900}.mobile-actions a:last-child{background:#1fbf65;color:#fff}.mobile-actions svg{width:19px}.site-footer{padding-bottom:58px}}
@media(max-width:600px){.container{width:min(100% - 28px,var(--container))}.hero{min-height:650px;background-position:58% center}.hero h1{font-size:44px}.hero p{font-size:17px}.hero-actions .btn{width:100%}.hero-trust{gap:10px 16px}.stats-grid{grid-template-columns:1fr 1fr}.stat{padding:20px}.stat strong{font-size:28px}.vision-grid,.why-list,.service-grid{grid-template-columns:1fr}.about-media img{height:420px}.media-badge{left:12px;right:12px}.project-media img{height:250px}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:310px}.gallery-item.wide{grid-column:auto;grid-row:auto}.footer-grid{grid-template-columns:1fr;gap:35px}.footer-grid>div:first-child{grid-column:auto}.footer-bottom-inner{flex-direction:column;gap:4px}.contact-cards a{flex-direction:column;gap:4px}.section h2,.why h2,.contact h2,.profile-cta h2{font-size:39px}}

.contact-socials{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.contact-socials a{padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--blue);font-weight:800;font-size:12px}.contact-socials a:hover{border-color:var(--blue);transform:translateY(-1px)}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}


/* ===== FINAL BILINGUAL SYSTEM — GEOMETRY LOCKED ===== */
.hero-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center;z-index:0;
}
.language-switcher{
  display:flex;align-items:center;gap:7px;direction:ltr;white-space:nowrap;
  padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;
  box-shadow:0 5px 18px rgba(7,21,47,.05);font-size:12px;font-weight:900;color:#7a8495;
  flex:0 0 auto;
}
.language-switcher a{padding:4px 7px;border-radius:999px;transition:.2s;color:#56627a}
.language-switcher a.active{background:var(--blue);color:#fff}
.language-switcher a:hover{color:var(--gold2)}
.language-switcher a.active:hover{color:#fff}

/*
 * IMPORTANT:
 * English and Arabic use the SAME LTR layout geometry.
 * Arabic only changes text reading direction/alignment.
 * No flex/grid order, left/right positioning, widths, margins or mobile controls are mirrored.
 */
body.riyan-ar{
  direction:ltr;
  font-family:Tahoma,Arial,"Segoe UI",sans-serif;
}

/* Arabic text containers only */
body.riyan-ar .hero-content,
body.riyan-ar .section-head>div,
body.riyan-ar .section-head>p,
body.riyan-ar .vision-grid article,
body.riyan-ar .service-card-body,
body.riyan-ar .why-grid>div:last-child,
body.riyan-ar .why-list article,
body.riyan-ar .project-info,
body.riyan-ar .manpower-wrap,
body.riyan-ar .profile-cta-grid>div,
body.riyan-ar .contact-grid>div,
body.riyan-ar .contact-panel,
body.riyan-ar .footer-grid>div,
body.riyan-ar .media-badge,
body.riyan-ar .entry-content,
body.riyan-ar .content-area,
body.riyan-ar .listing-entry,
body.riyan-ar .error-page{
  direction:rtl;
  text-align:right;
}

/* Components whose physical order/placement must remain exactly like English */
body.riyan-ar .site-header,
body.riyan-ar .nav-wrap,
body.riyan-ar .main-nav,
body.riyan-ar .nav-list,
body.riyan-ar .split,
body.riyan-ar .section-head,
body.riyan-ar .stats-grid,
body.riyan-ar .service-grid,
body.riyan-ar .why-list,
body.riyan-ar .project-grid,
body.riyan-ar .gallery-grid,
body.riyan-ar .profile-cta-grid,
body.riyan-ar .contact-grid,
body.riyan-ar .footer-grid,
body.riyan-ar .footer-bottom-inner,
body.riyan-ar .hero-actions,
body.riyan-ar .hero-trust,
body.riyan-ar .contact-cards,
body.riyan-ar .mobile-actions,
body.riyan-ar .language-switcher{
  direction:ltr;
}

/* Text within geometry-locked components can still read RTL */
body.riyan-ar .nav-list li,
body.riyan-ar .nav-list a{
  direction:rtl;
  text-align:right;
}
body.riyan-ar .eyebrow{
  direction:rtl;
  letter-spacing:0;
}
body.riyan-ar h1,
body.riyan-ar h2,
body.riyan-ar h3{
  letter-spacing:0;
}
body.riyan-ar .hero h1{line-height:1.12}
body.riyan-ar .section h2,
body.riyan-ar .why h2,
body.riyan-ar .contact h2,
body.riyan-ar .profile-cta h2{line-height:1.16}

body.riyan-ar .tag-grid{
  direction:rtl;
  justify-content:flex-start;
}
body.riyan-ar .contact-cards a{
  direction:rtl;
  text-align:right;
}
body.riyan-ar .contact-panel .btn{
  direction:rtl;
}
body.riyan-ar .footer-bottom-inner>span:first-child{
  direction:rtl;
  text-align:right;
}
body.riyan-ar .footer-credit{
  direction:ltr!important;
  text-align:left!important;
}
body.riyan-ar .floating-whatsapp{
  direction:rtl;
}

/* Keep hero position identical in both languages */
body.riyan-ar .hero-content{
  margin-left:max(20px,calc((100vw - var(--container))/2));
  margin-right:0;
}

.single-featured{margin-bottom:28px}
.single-featured img{width:100%;max-height:620px;object-fit:cover;border-radius:22px}
.listing-entry{padding:26px 0;border-bottom:1px solid var(--line)}
.listing-entry h2{margin:0 0 8px}
.error-page{min-height:52vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
body.riyan-ar .error-page{align-items:flex-start}

/* Tablet/mobile: header controls and section layout remain physically identical to English */
@media(max-width:1100px){
  .language-switcher{margin-left:auto;margin-right:0}
  body.riyan-ar .language-switcher{margin-left:auto;margin-right:0}
}
@media(max-width:820px){
  .language-switcher{margin-left:0;margin-right:6px}
  body.riyan-ar .language-switcher{margin-left:0;margin-right:6px}
  body.riyan-ar .main-nav,
  body.riyan-ar .nav-list{
    direction:ltr;
  }
  body.riyan-ar .nav-list li,
  body.riyan-ar .nav-list a{
    direction:rtl;
    text-align:right;
  }

  /* Lock logo, language and hamburger positions */
  body.riyan-ar .nav-wrap{
    direction:ltr;
  }
  body.riyan-ar .brand{
    order:0;
  }
  body.riyan-ar .language-switcher{
    order:1;
  }
  body.riyan-ar .menu-toggle{
    order:2;
    margin-left:auto;
    margin-right:0;
  }

  /* Lock floating WhatsApp and mobile action positions */
  body.riyan-ar .floating-whatsapp{
    right:16px;
    left:auto;
  }
  body.riyan-ar .mobile-actions{
    left:0;
    right:0;
    direction:ltr;
  }
}
@media(max-width:600px){
  .language-switcher{padding:5px 7px;font-size:11px;gap:4px}

  body.riyan-ar .hero-content{
    margin-left:20px;
    margin-right:20px;
    padding-left:0;
    padding-right:20px;
  }

  /* Exact same card/media geometry as English */
  body.riyan-ar .media-badge{
    left:12px;
    right:12px;
  }
  body.riyan-ar .hero-actions .btn{
    width:100%;
  }

  .hero-bg{object-position:58% center}
}
