:root {
	--navy: #14212b;
	--navy-2: #1d3140;
	--steel: #2f5266;
	--gold: #c9a24a;
	--gold-2: #e2c27a;
	--ink: #1b2329;
	--muted: #5d6b75;
	--line: #dfe5ea;
	--bg-alt: #f3f6f8;
	--white: #fff;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(20, 33, 43, .08);
	--head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
.icon { flex: none; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2.5rem; }
.mt { margin-top: 2rem; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 600; color: var(--gold); margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--navy-2); }
.prose h3 { margin-top: 1.4em; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; padding: .85em 1.6em; border-radius: 6px; text-decoration: none; border: 2px solid transparent; transition: .2s ease; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--steel); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.link-arrow { font-family: var(--head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--steel); }
.link-arrow.light { color: var(--gold-2); }

/* Top bar & header */
.topbar { background: var(--navy); color: #b9c6cf; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar-right { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.site-header { background: var(--navy-2); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 56px; height: 46px; object-fit: cover; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--head); }
.brand-text strong { color: var(--white); font-size: 1.55rem; letter-spacing: .08em; }
.brand-text small { color: var(--gold); font-size: .8rem; letter-spacing: .5em; margin-top: 3px; }
.site-nav .menu { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .6rem .9rem; color: #dbe4ea; text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--white); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; }

/* Hero */
.hero { position: relative; color: var(--white); background: linear-gradient(100deg, rgba(14,24,32,.94) 0%, rgba(20,33,43,.82) 45%, rgba(20,33,43,.45) 100%), var(--bg) center 70% / cover no-repeat; }
.hero-inner { padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem); max-width: 780px; margin-inline-start: max(16px, (100% - 1200px) / 2); }
.hero h1 { color: var(--white); }
.hero-sub { font-size: 1.2rem; color: #d2dde4; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.reg-strip { background: rgba(10,18,24,.75); border-top: 1px solid rgba(201,162,74,.35); }
.reg-strip-inner { display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; padding: 1rem 0; font-size: .95rem; color: #c9d4db; }
.reg-strip span { display: inline-flex; align-items: center; gap: .45rem; }
.reg-strip b { color: var(--gold); font-family: var(--head); letter-spacing: .1em; }
.reg-strip .icon { color: var(--gold); width: 20px; height: 20px; }

/* Banner */
.banner { color: var(--white); background: linear-gradient(90deg, rgba(14,24,32,.95), rgba(29,49,64,.8)), var(--bg) center / cover; padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 3px solid var(--gold); }
.banner h1 { color: var(--white); margin: 0; }
.banner-sub { color: #c8d4dc; font-size: 1.15rem; margin: .5rem 0 0; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #d4dee5; }
.section-dark h2 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: var(--navy); color: #c9d4db; padding: 1.6rem 1.4rem; border-radius: var(--radius); border-inline-start: 4px solid var(--gold); }
.stat strong { display: block; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--white); margin-bottom: .4rem; }
.stat span { font-size: .95rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 1.1rem; }
.service-icon .icon { width: 28px; height: 28px; }
.service-card p { color: var(--muted); margin: 0; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--gold); width: 20px; height: 20px; margin-top: .2em; }
.check-list.small { gap: .5rem; font-size: .97rem; color: var(--muted); }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.project-card[hidden] { display: none; }
.project-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { margin: .5rem 0 .3rem; }
.project-body > p { color: var(--muted); font-size: .97rem; }
.project-loc { display: flex; align-items: center; gap: .35rem; font-size: .92rem; font-weight: 600; color: var(--steel) !important; margin-bottom: .7rem; }
.project-loc .icon { width: 16px; height: 16px; color: var(--gold); }
.tag { align-self: flex-start; font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; background: rgba(201,162,74,.15); color: #8a6a22; padding: .2em .7em; border-radius: 4px; }
.project-meta { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; gap: 2rem; flex-wrap: wrap; }
.project-meta dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.project-meta dd { margin: 0; font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.filter { font-family: var(--head); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; padding: .5em 1.2em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Clients */
.client-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.client-list li { font-family: var(--head); font-size: 1.5rem; font-weight: 600; letter-spacing: .06em; color: var(--white); padding: 1.1rem 2rem; border: 1px solid rgba(201,162,74,.45); border-radius: var(--radius); min-width: 170px; text-align: center; }

/* CTA */
.cta { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3rem 0; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .3rem; }
.cta p { margin: 0; color: var(--navy-2); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta .btn-gold { background: var(--navy); color: var(--white); }
.cta .btn-gold:hover { background: var(--steel); }
.cta .btn-outline-light { border-color: var(--navy); color: var(--navy); }
.cta .btn-outline-light:hover { background: var(--navy); color: var(--white); }

/* About */
.side-card { background: var(--navy); color: #c9d4db; padding: 2rem; border-radius: var(--radius); border-top: 4px solid var(--gold); }
.side-card h3 { color: var(--white); }
.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(201,162,74,.4); color: var(--white); padding: .3em .85em; border-radius: 999px; font-size: .92rem; }
.ceo { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.ceo-logo { border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 110px; }
.signature { margin-top: 1.5rem; font-family: var(--head); font-size: 1.2rem; color: var(--navy); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.value-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.team-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.team-list strong { font-family: var(--head); font-size: 1.2rem; color: var(--navy); }
.team-list span { color: var(--muted); font-size: .95rem; }
.org { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.org-top { display: inline-block; background: var(--navy); color: var(--white); font-family: var(--head); letter-spacing: .06em; padding: .6em 1.4em; border-radius: 6px; }
.org-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; position: relative; padding-top: 1rem; border-top: 2px solid var(--gold); }
.org-row div { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: .6em .4em; font-size: .9rem; font-weight: 600; color: var(--navy-2); }
.org-note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); }

/* Services gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 1rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }
.gallery img:nth-child(2) { grid-column: span 2; }

/* Certifications */
.reg-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.reg-cards div { background: var(--navy); border-radius: var(--radius); padding: 1.4rem; border-inline-start: 4px solid var(--gold); }
.reg-cards span { display: block; color: #a9b8c2; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.reg-cards strong { font-family: var(--head); font-size: 1.7rem; color: var(--white); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.cert { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg-alt); border-radius: 6px; }
.cert figcaption { margin-top: .8rem; font-size: .93rem; color: var(--navy-2); font-weight: 500; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card .icon { width: 42px; height: 42px; padding: 9px; background: var(--navy); color: var(--gold); border-radius: 10px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.contact-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 440px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* Footer */
.site-footer { background: #0e171e; color: #9fb0bb; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.site-footer h4 { color: var(--white); font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c4d0d8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 1rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); margin-top: .2em; }
.reg-list li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: .4rem; color: var(--white); font-family: var(--head); font-size: 1.1rem; letter-spacing: .05em; }
.reg-list span { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .88rem; }

/* Responsive */
@media (max-width: 1020px) {
	.service-grid, .project-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.reg-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-2); display: none; border-top: 1px solid rgba(255,255,255,.08); }
	.site-nav.open { display: block; }
	.site-nav .menu { flex-direction: column; padding: .5rem 16px 1rem; }
	.split, .ceo { grid-template-columns: 1fr; }
	.ceo-logo { position: static; max-width: 200px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar-inner > span:first-child { display: none; }
	.service-grid, .project-grid, .value-grid, .contact-cards, .footer-grid, .stats { grid-template-columns: 1fr; }
	.org-row { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 140px 140px; }
	.gallery img:first-child { grid-row: auto; grid-column: span 2; }
	.gallery img:nth-child(2) { grid-column: auto; }
	.reg-strip-inner { gap: .4rem 1.4rem; }
	.client-list li { min-width: 0; flex: 1 1 40%; font-size: 1.2rem; padding: .9rem 1rem; }
}

/* Language switch */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { font-family: 'Cairo', var(--head); font-weight: 600; font-size: .95rem; color: var(--navy); background: var(--gold); padding: .35em .9em; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.lang-switch:hover { background: var(--gold-2); color: var(--navy); }
.lang-ar .lang-switch { font-family: var(--head); letter-spacing: .05em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Arabic / right-to-left */
.lang-ar { --head: 'Cairo', 'Segoe UI', Tahoma, sans-serif; --body: 'Cairo', 'Segoe UI', Tahoma, sans-serif; }
.lang-ar body, body.lang-ar { line-height: 1.85; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4, .lang-ar .eyebrow, .lang-ar .btn, .lang-ar .site-nav a,
.lang-ar .filter, .lang-ar .tag, .lang-ar .link-arrow, .lang-ar .project-meta dt, .lang-ar .reg-cards span,
.lang-ar .site-footer h4, .lang-ar .brand-text strong, .lang-ar .client-list li, .lang-ar .org-top { letter-spacing: 0; text-transform: none; }
.lang-ar h1 { line-height: 1.35; }
.lang-ar h2, .lang-ar h3 { line-height: 1.45; }
.lang-ar .brand-text strong { font-size: 1.35rem; }
.lang-ar .brand-text small { font-family: 'Barlow Condensed', sans-serif; letter-spacing: .2em; font-size: .7rem; }
.lang-ar .hero { background: linear-gradient(-100deg, rgba(14,24,32,.94) 0%, rgba(20,33,43,.82) 45%, rgba(20,33,43,.45) 100%), var(--bg) center 70% / cover no-repeat; }
.lang-ar .banner { background: linear-gradient(-90deg, rgba(14,24,32,.95), rgba(29,49,64,.8)), var(--bg) center / cover; }
.lang-ar .cta { background: linear-gradient(-90deg, var(--gold), var(--gold-2)); }
.lang-ar .site-nav a { font-size: 1rem; padding: .6rem .7rem; }
.lang-ar .stat strong, .lang-ar .reg-cards strong, .lang-ar .project-meta dd { font-family: 'Barlow Condensed', 'Cairo', sans-serif; }
@media (max-width: 900px) {
	.header-actions { gap: .5rem; }
}
.lang-ar .brand-text strong { white-space: nowrap; }
@media (max-width: 640px) {
	.lang-ar .brand-text strong { font-size: 1.1rem; }
	.brand img { width: 46px; height: 38px; }
	.lang-switch { font-size: .85rem; padding: .3em .7em; }
}
