:root { --brand:#163f5f; --accent:#a8792c; --profile-hero:url('images/profile/hero.png'); }
.latest-blogs-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:32px; flex-wrap:wrap; }
.latest-blogs-heading h2 { margin-bottom:0; }
.latest-blog-card { box-shadow:0 4px 20px #163f5f08; }
html { scroll-behavior:smooth; }
body { overflow-wrap:break-word; }
body, h1, h2, h3, a { letter-spacing:0 !important; }
body { font-family:'Tajawal',sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2 { line-height:1.5; }
a[href^="tel:"], a[href^="mailto:"], input[type="email"] { direction:ltr; unicode-bidi:isolate; display:inline-block; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline:3px solid #a8792c; outline-offset:5px; }
.primary-nav { display:flex; align-items:center; gap:26px; font-weight:800; white-space:nowrap; }
.primary-nav > a, .services-menu summary { color:#163f5f; padding:12px 0; border-bottom:2px solid transparent; }
.primary-nav > a:hover, .services-menu summary:hover { border-color:#a8792c; }
.primary-nav .is-active { border-color:#163f5f; }
.services-menu { position:relative; }
.services-menu summary { display:flex; align-items:center; gap:4px; cursor:pointer; list-style:none; }
.services-menu summary::-webkit-details-marker { display:none; }
.services-dropdown { position:absolute; inset-inline-start:0; top:100%; width:310px; max-width:85vw; background:white; border:1px solid #dce2e7; box-shadow:0 12px 30px #163f5f24; padding:10px; border-radius:6px; white-space:normal; }
.services-dropdown a { display:block; padding:12px; color:#163f5f; border-radius:4px; }
.services-dropdown a:hover { background:#edf3f6; }
.menu-toggle { display:none; color:#163f5f; }
.site-section { max-width:1320px; margin:auto; padding:72px 40px; }
.site-section h1 { font-size:48px; font-weight:800; color:#163f5f; line-height:1.2; margin:18px 0 26px; }
.site-section h2 { font-size:34px; font-weight:800; color:#163f5f; line-height:1.3; margin-bottom:24px; }
.site-section h3 { font-size:23px; font-weight:800; color:#163f5f; margin:20px 0 12px; }
.section-kicker { color:#a8792c; font-weight:800; margin-bottom:14px; }
.intro-copy { font-size:21px; line-height:1.9; max-width:1000px; margin-bottom:28px; color:#4a5863; }
.profile-home-hero { position:relative; min-height:580px; height:80svh; max-height:850px; display:flex; align-items:center; padding:115px 40px 50px; overflow:hidden; background:#25333d; }
.hero-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-copy { position:relative; width:100%; max-width:1240px; margin:auto; color:white; text-shadow:0 2px 12px #0009; }
.hero-copy .section-kicker { color:white; }
.hero-copy h1 { font-size:80px; line-height:1.1; font-weight:800; }
.hero-copy h2 { font-size:36px; font-weight:700; max-width:680px; margin:20px 0 30px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.site-button { display:inline-flex; align-items:center; justify-content:center; background:#163f5f; color:white; padding:15px 24px; font-weight:800; border-radius:5px; text-shadow:none; }
.site-button.secondary { background:white; color:#163f5f; }
.text-link { font-weight:800; text-decoration:underline; text-underline-offset:6px; color:inherit; }
.values-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-top:36px; }
.value-item { padding:32px; background:white; border-top:3px solid #a8792c; border-radius:6px; transition:transform .22s,box-shadow .22s; }
.value-item:nth-child(2) { border-color:#163f5f; }
.value-item:nth-child(3) { border-color:#8c3b32; }
.value-item:hover { transform:translateY(-5px); box-shadow:0 12px 24px #163f5f14; }
.value-icon { font-size:38px; color:#a8792c; transition:transform .22s; }
.value-item:hover .value-icon { transform:rotate(-5deg); }
.value-item p, .work-item p { line-height:1.8; color:#4a5863; }
.mission-band { background:#163f5f; color:white; }
.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.mission-grid h2 { color:white; }
.mission-grid p { font-size:20px; line-height:1.9; }
.mission-grid .material-symbols-outlined { font-size:38px; margin-bottom:16px; }
.services-band { background:#eaf0f3; }
.service-preview-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.service-preview { display:block; padding:26px; background:white; border-bottom:3px solid #163f5f; border-radius:5px; }
.service-preview > .material-symbols-outlined { font-size:36px; color:#a8792c; }
.service-preview:hover { background:#f8fafb; }
.works-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 26px; margin:40px 0; }
.work-item img { width:100%; height:300px; object-fit:contain; background:#e8edef; border-radius:5px; }
.work-item h2 { font-size:23px; margin:20px 0 12px; }
.partners-band { background:white; }
.partner-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; align-items:center; }
.partner-logo { height:150px; display:flex; justify-content:center; align-items:center; }
.partner-logo img { max-width:100%; width:100%; height:100%; object-fit:contain; }
.service-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:44px; margin:40px 0; align-items:start; }
.service-photo { width:100%; max-height:650px; object-fit:contain; background:#e8edef; }
.service-list li { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid #dce2e7; line-height:1.7; }
.service-list .material-symbols-outlined { flex-shrink:0; color:#a8792c; }
@media(max-width:1150px) {
 .menu-toggle { display:block; margin-inline-start:auto; }
 .primary-nav { display:none; position:absolute; inset-inline:0; top:100%; background:white; padding:16px 24px; max-height:75svh; overflow:auto; border-top:1px solid #dce2e7; }
 .primary-nav.is-open { display:block; }
 .primary-nav > a { display:block; }
 .services-dropdown { position:static; width:100%; box-shadow:none; border:0; border-inline-start:3px solid #a8792c; }
}
@media(max-width:700px) {
 .site-section { padding:48px 22px; }
 .site-section h1 { font-size:34px; }
 .site-section h2 { font-size:28px; }
 .intro-copy { font-size:18px; }
 .values-grid,.mission-grid,.works-grid,.service-detail-grid,.service-preview-grid { grid-template-columns:1fr; gap:24px; }
 .partner-grid { grid-template-columns:1fr 1fr; gap:20px; }
 .partner-logo { height:110px; }
 .profile-home-hero { padding:120px 24px 40px; min-height:540px; height:80svh; }
 .hero-copy h1 { font-size:56px; }
 .hero-copy h2 { font-size:28px; }
 .hero-copy .section-kicker { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 .value-item,.value-icon { transition:none; }
 .value-item:hover,.value-item:hover .value-icon { transform:none; }
}

.site-detail-icon { flex-shrink:0; font-size:22px; line-height:1.25; }
.contact-detail { display:flex; align-items:flex-start; gap:10px; }
.contact-detail > :last-child { min-width:0; overflow-wrap:anywhere; }
.contact-detail > .site-detail-icon { margin-top:2px; }
footer .contact-detail { gap:14px; }
footer .contact-detail > .site-detail-icon { font-size:18px; margin-top:3px; }

.contact-page { padding:160px 40px 0; max-width:1400px; margin-inline:auto; }
.contact-intro { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; margin-bottom:64px; }
.contact-intro h1 { font-size:clamp(30px,3.2vw,46px); font-weight:800; line-height:1.25; color:var(--brand); margin-bottom:24px; }
.contact-intro-copy { border-inline-start:3px solid var(--accent); padding-inline-start:22px; color:#4a5863; font-size:18px; line-height:1.8; }
.contact-intro-image { width:100%; height:340px; object-fit:cover; border-radius:10px; }
.contact-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:start; gap:32px; }
.contact-form { background:white; padding:40px; border-radius:10px; border-bottom:4px solid var(--brand); box-shadow:0 2px 12px #163f5f0a; }
.contact-form input,.contact-form select,.contact-form textarea { background:#f2f4f6; border:1px solid #dce2e7; padding:12px 14px; }
.contact-sidebar { background:#e9edf0; padding:32px; border-radius:10px; }
.contact-sidebar .contact-detail { gap:16px; }
.contact-sidebar .site-detail-icon { color:var(--brand); }
.contact-label { display:block; color:var(--brand); margin-bottom:6px; }
@media(max-width:900px) {
 .contact-page { padding:130px 24px 0; }
 .contact-intro { gap:32px; }
 .contact-layout { grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:24px; }
 .contact-form,.contact-sidebar { padding:24px; }
}
@media(max-width:640px) {
 .contact-intro,.contact-layout { grid-template-columns:1fr; }
 .contact-intro { margin-bottom:32px; }
 .contact-intro-image { height:230px; }
}

/* Shared finishing and motion. */
body > header { border-bottom:1px solid #163f5f0c; box-shadow:0 5px 20px #163f5f1a; transition:box-shadow .3s ease, background-color .3s ease; }
body > header.is-scrolled { background:#fffffff5; box-shadow:0 8px 32px #163f5f12; }
.section-kicker { display:flex; align-items:center; gap:12px; }
.section-kicker::before { content:""; width:30px; height:2px; background:currentColor; flex-shrink:0; }
.profile-home-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#081f32a6,#081f3240 65%,#081f321a); pointer-events:none; }
html[dir="rtl"] .profile-home-hero::after { background:linear-gradient(270deg,#081f32a6,#081f3240 65%,#081f321a); }
.hero-copy { z-index:1; }
.hero-photo { will-change:transform; }
.site-button, main button[type="submit"] { transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease; box-shadow:0 5px 16px #163f5f14; }
.site-button { border-radius:8px; padding:16px 28px; gap:10px; }
.text-link { transition:color .25s ease; }
.service-preview,.value-item { border-radius:12px; box-shadow:0 4px 20px #163f5f06; }
.service-preview { padding:34px; transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease; }
.service-preview > .material-symbols-outlined { display:inline-flex; padding:14px; background:#a8792c0c; border-radius:12px; }
.work-item { display:block; transition:transform .3s ease; }
.work-item img { border-radius:12px; transition:box-shadow .3s ease; }
.services-band { background:linear-gradient(135deg,#edf2f5,#f6f8f9); }
.contact-form :is(input,select,textarea) { transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease; }
.contact-form :is(input,select,textarea):focus { background:white; border-color:var(--brand); box-shadow:0 0 0 3px #163f5f12; }
.partners-band { background:#f7f8fa; border-block:1px solid #163f5f0a; }
.partners-heading { text-align:center; max-width:680px; margin:0 auto 40px; }
.partners-heading .section-kicker { justify-content:center; }
.partner-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.partner-logo { flex:0 1 calc((100% - 60px)/4); height:auto; aspect-ratio:300/140; padding:18px; background:white; border:1px solid #163f5f0c; border-radius:12px; box-shadow:0 3px 14px #163f5f04; transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease; }
.partner-logo img { display:block; width:100%; height:auto; aspect-ratio:300/140; object-fit:contain; }
.contact-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.contact-cta h2 { margin:0; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .site-button:hover,main button[type="submit"]:hover { transform:translateY(-3px); box-shadow:0 12px 26px #163f5f26; }
 .service-preview:hover,.partner-logo:hover { transform:translateY(-6px); box-shadow:0 16px 36px #163f5f10; }
 .partner-logo:hover { border-color:#a8792c55; }
 .work-item:hover { transform:translateY(-4px); }
 .work-item:hover img { box-shadow:0 14px 28px #163f5f18; }
 .text-link:hover { color:var(--accent); }
}
@media(max-width:900px) {
 .partner-logo { flex-basis:calc((100% - 40px)/3); }
}
@media(max-width:600px) {
 .partner-grid { gap:12px; }
 .partner-logo { flex-basis:calc((100% - 12px)/2); padding:10px; border-radius:8px; }
 .partners-heading { margin-bottom:28px; }
 .contact-cta { flex-direction:column; align-items:flex-start; }
 .service-preview { padding:26px; }
}
@media(prefers-reduced-motion:reduce) {
 body > header,.site-button,main button[type="submit"],.text-link,.service-preview,.value-item,.value-icon,.work-item,.work-item img,.partner-logo,.contact-form :is(input,select,textarea) { transition:none; }
 .hero-photo { will-change:auto; }
}

.projects-page .intro-copy { max-width:780px; }
.projects-toolbar { display:flex; justify-content:space-between; gap:20px; padding:22px 0; border-block:1px solid #163f5f18; color:var(--brand); font-size:14px; font-weight:700; }
.projects-grid { gap:32px; margin-top:32px; }
.project-card { background:white; border:1px solid #163f5f0c; border-radius:16px; overflow:hidden; box-shadow:0 5px 22px #163f5f08; }
.project-image-link { display:block; position:relative; overflow:hidden; background:#e8edef; }
.project-card .project-image-link img { height:auto; aspect-ratio:4/3; border-radius:0; transition:transform .6s ease; }
.project-view { position:absolute; inset-inline-end:16px; bottom:16px; display:flex; align-items:center; gap:8px; padding:9px 14px; border-radius:30px; background:#ffffffed; color:var(--brand); font-size:13px; font-weight:700; box-shadow:0 3px 14px #0001; }
.project-card-copy { padding:24px; }
.project-card-copy h2 { margin:0 0 12px; font-size:22px; }
.project-card-copy p { font-size:15px; }
.project-viewer { width:min(1100px,94vw); max-height:92dvh; padding:20px; border:1px solid #ffffff26; border-radius:16px; background:#102b40; color:white; overflow:auto; }
.project-viewer::backdrop { background:#061321df; backdrop-filter:blur(6px); }
.project-viewer-top,.project-viewer-bottom { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.project-viewer-top { margin-bottom:12px; }
.project-viewer button { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border-radius:50%; border:1px solid #ffffff40; background:#ffffff12; cursor:pointer; }
.project-viewer button:hover { background:#ffffff30; }
.project-viewer-image { width:100%; height: min(58dvh,650px); object-fit:contain; }
.project-viewer-bottom { margin-top:20px; }
.project-viewer-bottom > div { text-align:center; }
.project-viewer-bottom h2 { font-size:22px; font-weight:700; margin-bottom:6px; }
.project-viewer-description { font-size:14px; line-height:1.7; color:#d3dce2; }
body.gallery-open { overflow:hidden; }
@media(min-width:701px) and (max-width:1050px) {
 .projects-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .project-card-copy { padding:20px; }
 .project-viewer { padding:14px; }
 .project-viewer-bottom { gap:10px; align-items:flex-start; }
 .project-viewer-bottom h2 { font-size:18px; }
 .project-viewer-image { height:45dvh; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .project-image-link:hover img { transform:scale(1.035); }
}
@media(prefers-reduced-motion:reduce) {
 .project-card .project-image-link img { transition:none; }
}

.hero-brand { font-size:clamp(48px,6vw,80px); font-weight:800; line-height:1.1; }
.hero-copy .hero-service-title { font-size:clamp(28px,3vw,40px); max-width:720px; line-height:1.3; margin:16px 0; }
.hero-service-areas { font-size:20px; margin-bottom:28px; }
.service-area-copy { color:#4a5863; line-height:1.8; max-width:850px; margin-bottom:28px; }

.social-block { margin-top:28px; padding-top:24px; border-top:1px solid #163f5f18; }
.social-heading { color:var(--brand); font-size:15px; font-weight:700; margin-bottom:14px; }
.social-links { display:flex; flex-wrap:wrap; gap:10px; }
.social-link { display:inline-flex; justify-content:center; align-items:center; width:44px; height:44px; border:1px solid #163f5f14; border-radius:12px; color:var(--brand); background:white; box-shadow:0 3px 10px #163f5f06; transition:transform .25s ease,background-color .25s ease,color .25s ease,box-shadow .25s ease; }
.social-link svg { flex-shrink:0; }
footer .social-block { border-color:#ffffff24; }
footer .social-heading { color:#ffffffd9; }
footer .social-link { background:#ffffff0d; border-color:#ffffff29; color:white; box-shadow:none; }
.social-link:hover,.social-link:focus-visible { background:var(--brand); color:white; box-shadow:0 6px 18px #163f5f20; }
footer .social-link:hover,footer .social-link:focus-visible { background:white; color:var(--brand); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .social-link:hover { transform:translateY(-3px); }
}
@media(prefers-reduced-motion:reduce) {
 .social-link { transition:none; }
}
