@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --navy: #10263f;
  --navy-2: #17344d;
  --navy-3: #29485f;
  --teal: #1c8076;
  --teal-dark: #14665f;
  --gold: #c7a15a;
  --gold-light: #e8d4a8;
  --sand: #f4f1e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #182c40;
  --muted: #657381;
  --line: #e4e4df;
  --shadow: 0 22px 60px rgba(16, 38, 63, 0.09);
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Tahoma, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: inherit; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--navy); background: var(--gold-light); }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; }

.site-header { position: relative; z-index: 20; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--white); }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(231,207,153,.62); border-radius: 14px 14px 14px 4px; transform: rotate(-4deg); }
.brand-mark::before, .brand-mark::after { position: absolute; content: ''; border: 1px solid rgba(231,207,153,.55); border-radius: 50%; transform: rotate(34deg); }
.brand-mark::before { width: 20px; height: 12px; }
.brand-mark::after { width: 12px; height: 20px; }
.brand-mark i, .brand-mark b { position: absolute; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); }
.brand-mark i { inset-inline-start: 9px; top: 8px; }
.brand-mark b { inset-inline-end: 9px; bottom: 8px; }
.brand-name { display: grid; gap: 0; font-weight: 700; font-size: 16px; letter-spacing: -.3px; line-height: 1.4; }
.brand-caption { color: #b8c5ce; font-weight: 400; font-size: 10px; letter-spacing: .5px; }
.primary-navigation { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 24px); }
.primary-navigation a { position: relative; padding: 31px 0 29px; color: #d3dce2; font-size: 13px; white-space: nowrap; transition: color .2s ease; }
.primary-navigation a::after { position: absolute; content: ''; height: 2px; width: 0; inset-inline-start: 0; bottom: 21px; background: var(--gold); transition: width .2s ease; }
.primary-navigation a:hover, .primary-navigation a.active { color: #fff; }
.primary-navigation a:hover::after, .primary-navigation a.active::after { width: 100%; }
.header-cta { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(231,207,153,.52); border-radius: 999px; color: var(--gold-light); font-size: 12px; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.header-cta:hover { background: var(--gold-light); color: var(--navy); }
.header-cta span { font-size: 16px; line-height: 1; }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; }

.hero-section { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 72% 20%, rgba(40,88,106,.46), transparent 36%), linear-gradient(112deg, #0c2036 0%, #10263f 55%, #17384d 100%); color: var(--white); }
.hero-section::before { position: absolute; content: ''; inset: 0; z-index: -1; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(115deg, transparent 8%, #000 78%); }
.hero-layout { min-height: 560px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 48px; padding-block: 55px 64px; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .8px; }
.eyebrow::before { width: 26px; height: 1px; content: ''; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-light span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(199,161,90,.12); }
.hero-copy h1 { margin: 0; font-size: clamp(42px, 6.1vw, 74px); line-height: 1.17; letter-spacing: -2.6px; font-weight: 700; }
.hero-role { margin: 18px 0 13px; color: var(--gold-light); font-size: clamp(14px, 1.5vw, 17px); font-weight: 500; }
.hero-role span { padding-inline: 5px; color: var(--gold); }
.hero-description { max-width: 525px; margin: 0; color: #d2dce4; font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 10px 21px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 17px; line-height: 1; }
.button-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(199,161,90,.18); }
.button-gold:hover { background: #d8b873; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--teal-dark); font-size: 13px; font-weight: 700; transition: gap .2s ease, color .2s ease; }
.text-link:hover { gap: 17px; color: var(--navy); }
.text-link-light { color: #e2e8ed; }
.text-link-light:hover { color: var(--gold-light); }
.hero-location { display: flex; align-items: center; gap: 9px; margin-top: 35px; color: #aebdc8; font-size: 12px; }
.hero-location .icon { width: 17px; height: 17px; color: var(--gold); }
.hero-art { position: relative; display: grid; place-items: center; width: min(100%, 460px); height: 420px; justify-self: center; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 270px; height: 270px; inset-inline-start: 11%; top: -120px; background: rgba(199,161,90,.065); }
.hero-glow-two { width: 300px; height: 300px; inset-inline-end: -10%; bottom: -180px; background: rgba(42,131,121,.12); }
.orbit { position: absolute; border: 1px solid rgba(219,195,146,.34); border-radius: 50%; transform: rotate(-28deg); }
.orbit-outer { width: 350px; height: 200px; }
.orbit-inner { width: 260px; height: 300px; border-color: rgba(178,199,202,.23); transform: rotate(39deg); }
.hero-seal { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 205px; height: 205px; border: 1px solid rgba(229,207,161,.62); border-radius: 50%; background: radial-gradient(circle, rgba(33,72,87,.86), rgba(15,37,59,.98) 69%); box-shadow: 0 0 0 17px rgba(231,207,153,.025), 0 0 0 38px rgba(231,207,153,.018), 0 22px 70px rgba(0,0,0,.28); text-align: center; }
.seal-kicker { color: var(--gold-light); font-size: 10px; }
.seal-rule { width: 27px; height: 1px; margin: 10px 0; background: var(--gold); }
.hero-seal strong { color: var(--white); font-size: 25px; line-height: 1.45; letter-spacing: -.7px; }
.seal-caption { margin-top: 10px; color: #bac7cf; font-size: 9px; }
.orbit-label { position: absolute; z-index: 2; padding: 6px 12px; border: 1px solid rgba(224,205,164,.34); border-radius: 999px; background: rgba(16,38,63,.86); color: #e7edf0; font-size: 11px; box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.orbit-label-top { top: 17%; inset-inline-start: 17%; }
.orbit-label-side { top: 48%; inset-inline-end: 1%; }
.orbit-label-bottom { bottom: 16%; inset-inline-start: 21%; }
.spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 18px rgba(231,207,153,.75); }
.spark-a { top: 23%; inset-inline-end: 20%; }
.spark-b { bottom: 25%; inset-inline-end: 24%; width: 4px; height: 4px; }
.spark-c { top: 46%; inset-inline-start: 9%; width: 3px; height: 3px; }
.hero-bottom-line { position: absolute; height: 1px; inset-inline: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(199,161,90,.45), transparent); }

.section { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 37px; }
.section-heading h2, .about-strip-copy h2, .section-title-vertical h2 { margin: 0; color: var(--navy); font-size: clamp(27px, 3.5vw, 40px); line-height: 1.35; letter-spacing: -1px; }
.section-heading h2 em, .about-strip-copy h2 em, .contact-information h2 em { color: var(--teal); font-style: normal; }
.section-description { max-width: 390px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.expertise-section { background: var(--paper); }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expertise-card { position: relative; min-height: 242px; padding: 24px 22px; border: 1px solid var(--line); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.expertise-card::after { position: absolute; content: ''; inset-inline: 22px; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.expertise-card:hover { transform: translateY(-5px); border-color: #d6ddd8; box-shadow: var(--shadow); }
.expertise-card:hover::after { transform: scaleX(1); }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.card-number { color: #9ba7ac; font-size: 11px; font-weight: 600; }
.icon-disc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #edf4f1; color: var(--teal); }
.icon-disc .icon { width: 20px; height: 20px; }
.expertise-card h3 { margin: 24px 0 8px; color: var(--navy); font-size: 17px; }
.expertise-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.about-strip { background: #f0eee7; }
.about-strip-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 11%; }
.about-emblem { position: relative; display: grid; place-items: center; justify-self: center; width: 290px; height: 290px; border-radius: 50%; background: linear-gradient(140deg, #123451 0%, #1c8076 100%); box-shadow: 0 26px 60px rgba(16,38,63,.17); }
.about-emblem::before, .about-emblem::after { position: absolute; content: ''; border: 1px solid rgba(230,211,170,.54); border-radius: 50%; }
.about-emblem::before { inset: 19px; }
.about-emblem::after { inset: 37px; border-color: rgba(230,211,170,.26); }
.emblem-ring { position: absolute; inset: 52px; border: 1px dashed rgba(235,221,194,.34); border-radius: 50%; }
.emblem-core { position: relative; display: grid; place-items: center; width: 108px; height: 108px; border: 1px solid var(--gold-light); border-radius: 50%; color: #fbf8ef; font-size: 55px; font-weight: 500; }
.emblem-caption { position: absolute; bottom: 44px; color: #e8dcc0; font-size: 11px; letter-spacing: .5px; }
.about-strip-copy { max-width: 620px; }
.about-strip-copy h2 { font-size: clamp(29px, 4vw, 43px); }
.about-strip-copy > p:not(.eyebrow) { max-width: 560px; margin: 20px 0 18px; color: var(--muted); font-size: 14px; line-height: 2; }
.experience-preview { background: var(--white); }
.experience-teaser-list { border-top: 1px solid var(--line); }
.experience-teaser { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--line); }
.experience-dot { width: 8px; height: 8px; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(199,161,90,.1); }
.experience-teaser h3 { margin: 0; color: var(--navy); font-size: 15px; }
.experience-teaser p { margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.teaser-city { color: #89959b; font-size: 11px; }
.cta-band { position: relative; overflow: hidden; background: var(--teal-dark); color: var(--white); }
.cta-band::after { position: absolute; content: ''; width: 410px; height: 410px; inset-inline-start: -120px; top: -240px; border: 1px solid rgba(230,211,170,.19); border-radius: 50%; box-shadow: 0 0 0 28px rgba(230,211,170,.03), 0 0 0 58px rgba(230,211,170,.025); }
.cta-band-inner { position: relative; z-index: 1; min-height: 215px; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 36px; }
.cta-band h2 { max-width: 620px; margin: 0; color: var(--white); font-size: clamp(24px, 3.3vw, 36px); line-height: 1.45; }
.button-light { min-width: 180px; background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--gold-light); }

.page-intro { position: relative; overflow: hidden; background: linear-gradient(112deg, #edf1ee, #f6f3eb 69%, #eee9dd); }
.page-intro::after { position: absolute; content: ''; width: 250px; height: 250px; inset-inline-start: -80px; bottom: -170px; border: 1px solid rgba(28,128,118,.18); border-radius: 50%; box-shadow: 0 0 0 22px rgba(28,128,118,.025), 0 0 0 50px rgba(28,128,118,.025); }
.page-intro-inner { position: relative; z-index: 1; min-height: 244px; display: flex; justify-content: space-between; align-items: center; gap: 36px; padding-block: 42px; }
.page-intro h1 { margin: 0; color: var(--navy); font-size: clamp(34px, 5vw, 52px); line-height: 1.25; letter-spacing: -1px; }
.page-lead { max-width: 640px; margin: 12px 0 0; color: #61717d; font-size: 14px; }
.page-crumb { align-self: end; margin: 0 0 9px; color: #73818a; font-size: 11px; white-space: nowrap; }
.page-crumb span { padding-inline: 9px; color: var(--gold); }

.about-page-section { background: var(--paper); }
.about-page-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; align-items: start; }
.about-lead-card { min-height: 370px; padding: 30px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.about-card-mark { display: flex; justify-content: end; margin-bottom: 49px; }
.about-card-mark .brand-mark { width: 48px; height: 48px; }
.about-lead-card .eyebrow { color: var(--gold-light); }
.about-lead-card h2 { margin: 0; color: var(--white); font-size: 30px; line-height: 1.5; }
.about-lead-card h2 em { color: var(--gold-light); font-style: normal; }
.about-card-line { width: 42px; height: 2px; margin: 21px 0 13px; background: var(--gold); }
.about-card-note { margin: 0; color: #c4d0d8; font-size: 11px; }
.about-bio h2 { margin: 0 0 17px; color: var(--navy); font-size: 26px; }
.about-bio > p:not(.eyebrow) { margin: 0 0 14px; color: #566674; font-size: 14px; line-height: 2.05; }
.contact-inline { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: var(--teal-dark); font-size: 12px; }
.contact-inline .icon { width: 18px; height: 18px; }
.two-column-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 9%; align-items: start; }
.education-section { background: #f0eee7; }
.section-title-vertical { max-width: 250px; }
.section-title-vertical h2 { font-size: 32px; }
.section-title-vertical > p:not(.eyebrow) { margin: 11px 0 0; color: var(--muted); font-size: 12px; }
.education-list { display: grid; gap: 14px; }
.education-item { display: flex; align-items: flex-start; gap: 18px; padding: 22px; border: 1px solid #e2e0d8; background: rgba(255,255,255,.66); }
.education-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: #e1efeb; color: var(--teal-dark); }
.education-item h3 { margin: 0 0 4px; color: var(--navy); font-size: 16px; }
.education-item p { margin: 0; color: #536370; font-size: 12px; }
.education-item div > span { color: #8a969b; font-size: 11px; }
.skills-section { background: var(--white); }
.skills-panel { border-top: 1px solid var(--line); }
.skill-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 55px; border-bottom: 1px solid var(--line); color: #536370; font-size: 13px; }
.skill-level { min-width: 68px; padding: 3px 10px; border-radius: 999px; background: #edf4f1; color: var(--teal-dark); text-align: center; font-size: 10px; font-weight: 600; }
.skill-note { padding-top: 16px; color: #8a969c; font-size: 11px; direction: ltr; text-align: right; }

.timeline-section { background: var(--paper); }
.timeline { position: relative; display: grid; gap: 14px; padding-inline-start: 42px; }
.timeline::before { position: absolute; content: ''; top: 18px; bottom: 18px; inset-inline-start: 17px; width: 1px; background: #d8dcd8; }
.timeline-item { position: relative; }
.timeline-marker { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; inset-inline-start: -42px; top: 23px; border: 1px solid #d9c28f; border-radius: 50%; background: var(--paper); color: #92743b; font-size: 9px; font-weight: 700; z-index: 1; }
.timeline-card { padding: 24px 26px 15px; border: 1px solid var(--line); background: var(--white); transition: box-shadow .2s ease, border-color .2s ease; }
.timeline-card:hover { border-color: #c9d7d2; box-shadow: 0 15px 38px rgba(16,38,63,.07); }
.timeline-card-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.timeline-index { margin: 0 0 4px; color: var(--teal); font-size: 10px; font-weight: 600; }
.timeline-card h2 { margin: 0; color: var(--navy); font-size: 19px; }
.timeline-role { margin: 5px 0; color: #495d6a; font-size: 13px; font-weight: 500; }
.timeline-detail { margin: 3px 0; color: var(--muted); font-size: 11px; }
.timeline-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 50%; background: #f2f0e9; color: var(--gold); }
.timeline-location { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0f0ec; color: #829097; font-size: 10px; }
.timeline-location .icon { width: 15px; height: 15px; }
.skill-detail-section { background: #f0eee7; }
.skill-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.skill-card { position: relative; min-height: 177px; padding: 21px; border: 1px solid #e1dfd7; background: rgba(255,255,255,.7); }
.skill-card-number { color: var(--gold); font-size: 10px; font-weight: 700; }
.skill-card h3 { margin: 11px 0 6px; color: var(--navy); font-size: 15px; }
.skill-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }

.certificates-section { background: var(--paper); }
.certificate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.certificate-card { position: relative; min-height: 245px; overflow: hidden; padding: 25px 27px; border: 1px solid var(--line); background: var(--white); }
.certificate-card::after { position: absolute; content: ''; width: 130px; height: 130px; inset-inline-start: -63px; bottom: -77px; border: 1px solid rgba(28,128,118,.15); border-radius: 50%; box-shadow: 0 0 0 13px rgba(28,128,118,.025), 0 0 0 28px rgba(28,128,118,.02); }
.tone-gold::after { border-color: rgba(199,161,90,.22); box-shadow: 0 0 0 13px rgba(199,161,90,.03), 0 0 0 28px rgba(199,161,90,.02); }
.tone-blue::after { border-color: rgba(42,89,127,.18); box-shadow: 0 0 0 13px rgba(42,89,127,.025), 0 0 0 28px rgba(42,89,127,.02); }
.certificate-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.certificate-index { color: #89969d; font-size: 10px; font-weight: 600; }
.certificate-rosette { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #d6e7e2; border-radius: 50%; color: var(--teal); }
.tone-gold .certificate-rosette { border-color: #ebdfc3; color: #aa843f; }
.tone-blue .certificate-rosette { border-color: #d6e1ea; color: #426d8d; }
.tone-sand .certificate-rosette { border-color: #e7dfd4; color: #93775a; }
.certificate-issuer { margin: 18px 0 3px; color: var(--teal-dark); font-size: 10px; font-weight: 700; }
.tone-gold .certificate-issuer { color: #96753b; }
.tone-blue .certificate-issuer { color: #426d8d; }
.tone-sand .certificate-issuer { color: #8c7457; }
.certificate-card h2 { margin: 0; color: var(--navy); font-size: 18px; }
.certificate-description { max-width: 480px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.certificate-card-footer { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #8c979b; font-size: 9px; }
.certificate-dash { width: 23px; height: 1px; background: var(--gold); }
.certificate-feature { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 30px; padding: 27px 29px; background: #edf1ed; border: 1px solid #dce5df; }
.certificate-feature-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--teal); }
.certificate-feature-mark .icon { width: 25px; height: 25px; }
.certificate-feature .eyebrow { margin-bottom: 3px; font-size: 9px; }
.certificate-feature h2 { margin: 0; color: var(--navy); font-size: 18px; }
.certificate-feature p:not(.eyebrow) { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.button-navy { background: var(--navy); color: var(--white); }
.button-navy:hover { background: var(--teal-dark); }

.certificate-showcase-section { background: var(--paper); }
.certificate-paper { position: relative; width: min(840px, 100%); min-height: 520px; margin: 0 auto; padding: 17px; background: #fff; border: 1px solid #dcd8ca; box-shadow: 0 26px 65px rgba(16,38,63,.13); }
.certificate-paper-border { position: absolute; inset: 15px; border: 1px solid #cbb57e; pointer-events: none; }
.certificate-paper-border::before, .certificate-paper-border::after { position: absolute; content: ''; width: 70px; height: 70px; border-color: var(--teal); border-style: solid; }
.certificate-paper-border::before { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.certificate-paper-border::after { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }
.paper-corner { position: absolute; width: 38px; height: 38px; border: 1px solid rgba(199,161,90,.72); border-radius: 50%; }
.paper-corner-one { top: 43px; left: 43px; }
.paper-corner-two { bottom: 43px; right: 43px; }
.paper-content { position: relative; z-index: 1; min-height: 486px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 55px; text-align: center; }
.paper-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 28px; color: var(--navy); text-align: right; }
.paper-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; color: var(--teal); font-size: 21px; font-weight: 600; }
.paper-brand div { display: grid; line-height: 1.55; }
.paper-brand strong { font-size: 14px; }
.paper-brand div span { color: var(--muted); font-size: 10px; }
.paper-kicker { margin: 0; color: var(--teal); font-size: 11px; font-weight: 600; }
.paper-content h2 { margin: 5px 0 12px; color: var(--navy); font-size: clamp(28px, 4vw, 40px); }
.paper-recipient { margin: 0; color: var(--muted); font-size: 12px; }
.paper-recipient-line { width: min(300px, 90%); height: 1px; margin: 17px auto 12px; background: linear-gradient(90deg, transparent, #c7a15a, transparent); }
.paper-copy { max-width: 520px; margin: 0 auto; color: #526471; font-size: 13px; line-height: 2; }
.paper-date { display: flex; gap: 9px; margin-top: 18px; color: #6e7a80; font-size: 10px; }
.paper-date strong { color: var(--navy); }
.paper-signatures { display: flex; justify-content: space-between; gap: min(18vw, 150px); width: min(540px, 100%); margin-top: 32px; }
.paper-signatures > div { display: grid; min-width: 116px; color: var(--navy); font-size: 10px; }
.signature-line { display: block; height: 1px; margin-bottom: 7px; background: #b3b5b0; }
.paper-signatures > div > span:last-child { color: #7b858a; font-size: 9px; }
.paper-seal { position: absolute; left: 50%; bottom: 25px; display: grid; place-items: center; width: 39px; height: 39px; transform: translateX(-50%); border: 1px solid #d7c28f; border-radius: 50%; color: #a18750; font-size: 9px; }
.certificate-note { display: flex; align-items: flex-start; gap: 12px; width: min(840px, 100%); margin: 20px auto 0; padding: 14px 17px; border-inline-start: 3px solid var(--gold); background: #f1eee5; color: #66727a; }
.note-mark { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: #e7dcc0; color: #80683a; font-size: 11px; font-weight: 700; }
.certificate-note p { margin: 0; font-size: 11px; line-height: 1.9; }
.showcase-back { width: min(840px, 100%); margin: 22px auto 0; }

.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 8%; align-items: start; }
.contact-information { padding-top: 12px; }
.contact-information h2 { margin: 0; color: var(--navy); font-size: clamp(29px, 3.5vw, 39px); line-height: 1.4; }
.contact-intro { max-width: 450px; margin: 13px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.contact-detail-list { border-top: 1px solid var(--line); }
.contact-detail { display: flex; align-items: center; gap: 14px; min-height: 76px; border-bottom: 1px solid var(--line); }
.detail-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: #e9f1ed; color: var(--teal-dark); }
.contact-detail > span:nth-child(2) { display: grid; gap: 1px; }
.contact-detail small { color: #859198; font-size: 10px; }
.contact-detail strong { color: var(--navy); font-size: 12px; font-weight: 600; }
.detail-arrow { margin-inline-start: auto; color: var(--gold); font-size: 15px; }
.social-section { margin-top: 25px; }
.social-section h3 { margin: 0; color: var(--navy); font-size: 14px; }
.social-section p { margin: 6px 0 0; color: #879299; font-size: 11px; }
.contact-form { padding: 31px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 55px rgba(16,38,63,.06); }
.form-heading { margin-bottom: 22px; }
.form-step { color: var(--teal); font-size: 9px; font-weight: 700; }
.form-heading h2 { margin: 5px 0 0; color: var(--navy); font-size: 24px; }
.form-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.contact-form label { display: grid; gap: 6px; margin-top: 14px; color: #445868; font-size: 11px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #dde2de; border-radius: 3px; outline: none; background: #fbfcfa; color: var(--ink); font-size: 12px; font-weight: 400; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input { min-height: 45px; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,128,118,.1); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a0a9ab; }
.form-submit { width: 100%; margin-top: 18px; }
.form-status { min-height: 19px; margin: 8px 0 0; color: var(--teal-dark); font-size: 10px; }
.not-found { text-align: center; }

.site-footer { background: #0c2035; color: #d7e0e4; }
.footer-main { display: grid; grid-template-columns: 1.15fr .75fr 1fr; gap: 8%; padding-block: 55px 43px; }
.brand-light .brand-caption { color: #aebbc4; }
.footer-brand p { max-width: 300px; margin: 18px 0 0; color: #aebbc4; font-size: 11px; line-height: 1.9; }
.footer-main h2 { margin: 0 0 15px; color: var(--gold-light); font-size: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-links h2 { margin-bottom: 7px; }
.footer-links a { color: #bdc9cf; font-size: 11px; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact a, .footer-contact p { display: flex; align-items: center; gap: 9px; margin: 9px 0; color: #c5d0d5; font-size: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--gold); }
.footer-contact p { align-items: flex-start; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 15px; border-top: 1px solid rgba(255,255,255,.11); color: #8fa0aa; font-size: 9px; }
.footer-bottom a { color: #d0d9dc; }
.footer-bottom a:hover { color: var(--gold-light); }

@media (max-width: 1020px) {
  .header-inner { gap: 18px; }
  .primary-navigation { gap: 13px; }
  .primary-navigation a { font-size: 12px; }
  .header-cta { padding-inline: 12px; }
  .hero-layout { gap: 15px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-layout { gap: 7%; }
}

@media (max-width: 780px) {
  .wrap { width: min(100% - 36px, 620px); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: var(--gold-light); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .primary-navigation { position: absolute; display: none; top: 100%; inset-inline: 0; padding: 9px 18px 17px; background: #10263f; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 32px rgba(7,20,34,.2); }
  .primary-navigation.is-open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 15px; }
  .primary-navigation a { padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-navigation a::after { bottom: 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 4px; padding-block: 50px 39px; }
  .hero-copy { max-width: none; }
  .hero-copy h1 { font-size: clamp(42px, 11vw, 63px); }
  .hero-description { max-width: 570px; font-size: 13px; }
  .hero-art { width: min(100%, 400px); height: 340px; margin-top: 9px; }
  .orbit-outer { width: 310px; height: 175px; }
  .orbit-inner { width: 225px; height: 270px; }
  .hero-seal { width: 175px; height: 175px; }
  .hero-seal strong { font-size: 22px; }
  .orbit-label-top { top: 12%; inset-inline-start: 14%; }
  .orbit-label-bottom { bottom: 12%; inset-inline-start: 18%; }
  .orbit-label-side { inset-inline-end: 4%; }
  .section { padding-block: 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 28px; }
  .section-description { max-width: 560px; }
  .expertise-card { min-height: 220px; padding: 19px; }
  .expertise-card h3 { margin-top: 19px; }
  .about-strip-layout { grid-template-columns: 1fr; gap: 38px; }
  .about-emblem { width: 230px; height: 230px; }
  .emblem-core { width: 86px; height: 86px; font-size: 44px; }
  .emblem-caption { bottom: 33px; }
  .about-strip-copy { text-align: center; }
  .about-strip-copy .eyebrow { justify-content: center; }
  .about-strip-copy > p:not(.eyebrow) { margin-inline: auto; }
  .experience-teaser { grid-template-columns: 18px 1fr; gap: 12px; padding-block: 13px; }
  .teaser-city { grid-column: 2; margin-top: -9px; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; justify-content: center; min-height: 225px; }
  .page-intro-inner { min-height: 205px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; padding-block: 31px; }
  .page-crumb { align-self: auto; margin: 0; }
  .about-page-grid, .two-column-section, .contact-layout { grid-template-columns: 1fr; gap: 37px; }
  .about-lead-card { min-height: 305px; }
  .about-card-mark { margin-bottom: 31px; }
  .section-title-vertical { max-width: 500px; }
  .timeline { padding-inline-start: 35px; }
  .timeline::before { inset-inline-start: 14px; }
  .timeline-marker { inset-inline-start: -35px; width: 30px; height: 30px; }
  .skill-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .certificate-feature { grid-template-columns: auto 1fr; }
  .certificate-feature .button { grid-column: 2; justify-self: start; }
  .contact-layout { gap: 32px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 30px); }
  .hero-layout { padding-top: 41px; }
  .hero-role { font-size: 12px; }
  .hero-actions { flex-wrap: wrap; gap: 16px; }
  .hero-location { margin-top: 25px; font-size: 10px; }
  .hero-art { height: 300px; }
  .orbit-outer { width: 265px; height: 150px; }
  .orbit-inner { width: 195px; height: 230px; }
  .hero-seal { width: 153px; height: 153px; }
  .hero-seal strong { font-size: 20px; }
  .seal-kicker { font-size: 9px; }
  .seal-caption { margin-top: 6px; }
  .orbit-label { padding: 5px 9px; font-size: 9px; }
  .orbit-label-top { inset-inline-start: 4%; top: 11%; }
  .orbit-label-side { inset-inline-end: 0; }
  .orbit-label-bottom { inset-inline-start: 10%; bottom: 10%; }
  .section-heading h2, .about-strip-copy h2 { font-size: 28px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 11px; }
  .expertise-card { min-height: 188px; }
  .expertise-card h3 { margin-top: 15px; }
  .experience-teaser h3 { font-size: 13px; }
  .experience-teaser p { font-size: 10px; }
  .cta-band h2 { font-size: 25px; }
  .page-intro h1 { font-size: 36px; }
  .page-lead { font-size: 12px; }
  .about-lead-card { min-height: 280px; padding: 24px; }
  .about-bio h2 { font-size: 23px; }
  .about-bio > p:not(.eyebrow) { font-size: 12px; }
  .education-item { padding: 16px; gap: 12px; }
  .skill-row { font-size: 11px; }
  .timeline { padding-inline-start: 29px; }
  .timeline::before { inset-inline-start: 12px; }
  .timeline-marker { inset-inline-start: -29px; width: 25px; height: 25px; font-size: 8px; }
  .timeline-card { padding: 18px 16px 13px; }
  .timeline-card h2 { font-size: 16px; }
  .timeline-role { font-size: 11px; }
  .timeline-detail { font-size: 10px; }
  .timeline-icon { width: 33px; height: 33px; }
  .skill-cards-grid, .certificate-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 150px; }
  .certificate-card { min-height: 225px; padding: 22px; }
  .certificate-feature { grid-template-columns: 1fr; gap: 12px; padding: 21px; }
  .certificate-feature .button { grid-column: auto; }
  .certificate-paper { min-height: 480px; padding: 10px; }
  .certificate-paper-border { inset: 10px; }
  .paper-content { min-height: 458px; padding: 38px 23px; }
  .paper-corner-one { top: 30px; left: 29px; }
  .paper-corner-two { bottom: 30px; right: 29px; }
  .paper-copy { font-size: 11px; }
  .paper-signatures { gap: 29px; margin-top: 27px; }
  .paper-signatures > div { min-width: 96px; font-size: 9px; }
  .paper-seal { bottom: 17px; width: 32px; height: 32px; font-size: 8px; }
  .contact-form { padding: 22px 18px; }
  .contact-information h2 { font-size: 30px; }
  .contact-detail strong { font-size: 10px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 29px 20px; padding-block: 40px 30px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* سمة ليلية موحّدة: كحلي عميق، تركواز، ولمسات ذهبية دون مساحات بيضاء */
:root {
  color-scheme: dark;
  --paper: #10263f;
  --sand: #17344d;
  --ink: #e8eff3;
  --muted: #afc0cb;
  --line: rgba(221, 232, 238, .14);
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  --surface: #17344d;
  --surface-raised: #1b3d56;
  --surface-soft: #142d46;
  --text-on-dark: #f1f5f7;
}

body {
  background: radial-gradient(ellipse at 78% 0%, rgba(28, 128, 118, .13), transparent 36%), #10263f;
  color: var(--ink);
}

.eyebrow { color: #6fc5b8; }
.eyebrow-light { color: var(--gold-light); }
.text-link { color: #78d1c3; }
.text-link:hover { color: var(--gold-light); }

.expertise-section,
.experience-preview,
.about-page-section,
.skills-section,
.timeline-section,
.certificates-section,
.certificate-showcase-section,
.contact-section,
.not-found {
  background: #10263f;
}

.about-strip,
.education-section,
.skill-detail-section {
  background: linear-gradient(125deg, #142d46 0%, #17364e 100%);
}

.page-intro {
  background: radial-gradient(ellipse at 82% 35%, rgba(28, 128, 118, .2), transparent 34%), linear-gradient(112deg, #10263f 0%, #15314a 65%, #17344d 100%);
}
.page-intro h1,
.section-heading h2,
.section-title-vertical h2,
.about-strip-copy h2,
.about-bio h2,
.education-item h3,
.timeline-card h2,
.skill-card h3,
.certificate-card h2,
.certificate-feature h2,
.contact-information h2,
.form-heading h2 {
  color: var(--text-on-dark);
}
.page-lead,
.page-crumb,
.section-description,
.about-strip-copy > p:not(.eyebrow),
.about-bio > p:not(.eyebrow),
.section-title-vertical > p:not(.eyebrow) {
  color: var(--muted);
}

.expertise-card,
.timeline-card,
.certificate-card,
.contact-form {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .15);
}
.expertise-card:hover,
.timeline-card:hover,
.certificate-card:hover,
.contact-form:hover {
  border-color: rgba(111, 197, 184, .42);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}
.expertise-card h3,
.experience-teaser h3,
.education-item h3,
.timeline-card h2,
.skill-card h3,
.certificate-card h2,
.certificate-feature h2,
.contact-detail strong,
.social-section h3,
.form-heading h2 {
  color: var(--text-on-dark);
}
.expertise-card p,
.experience-teaser p,
.timeline-role,
.timeline-detail,
.certificate-description,
.certificate-feature p:not(.eyebrow),
.contact-intro,
.certificate-note p {
  color: #bac9d2;
}
.card-number,
.teaser-city,
.timeline-location,
.certificate-index,
.contact-detail small,
.social-section p {
  color: #9cafba;
}

.education-item,
.skill-card,
.certificate-feature {
  border-color: var(--line);
  background: var(--surface-soft);
}
.education-item p,
.education-item div > span,
.skill-card p,
.skill-row,
.skill-note {
  color: #bac9d2;
}
.education-icon,
.icon-disc,
.detail-icon {
  background: rgba(28, 128, 118, .2);
  color: #80d2c5;
}
.skill-level {
  background: rgba(28, 128, 118, .25);
  color: #9de0d5;
}
.skills-panel,
.skill-row,
.experience-teaser-list,
.experience-teaser,
.contact-detail-list,
.contact-detail,
.timeline-location {
  border-color: var(--line);
}

.timeline-marker {
  border-color: rgba(199, 161, 90, .7);
  background: #10263f;
  color: var(--gold-light);
}
.timeline-icon,
.certificate-feature-mark {
  background: rgba(28, 128, 118, .22);
  color: #8bd8ca;
}
.timeline-index { color: #72cabc; }
.timeline-card h2 { color: #f1f5f7; }
.timeline-location .icon { color: var(--gold-light); }

.certificate-card::after {
  border-color: rgba(111, 197, 184, .18);
  box-shadow: 0 0 0 13px rgba(111, 197, 184, .025), 0 0 0 28px rgba(111, 197, 184, .018);
}
.certificate-issuer { color: #80d2c5; }
.tone-gold .certificate-issuer { color: #e4c98d; }
.tone-blue .certificate-issuer { color: #a5c8df; }
.tone-sand .certificate-issuer { color: #d0c0a5; }
.certificate-rosette,
.tone-gold .certificate-rosette,
.tone-blue .certificate-rosette,
.tone-sand .certificate-rosette {
  border-color: rgba(221, 232, 238, .25);
  color: #9cdbd1;
}
.certificate-feature-mark { color: #a5e1d7; }

.certificate-paper {
  border-color: rgba(199, 161, 90, .6);
  background: linear-gradient(145deg, #17344d, #10263f 78%);
  box-shadow: 0 26px 65px rgba(0, 0, 0, .3);
}
.certificate-paper-border { border-color: rgba(224, 199, 143, .64); }
.certificate-paper-border::before,
.certificate-paper-border::after { border-color: #5bc0b0; }
.paper-brand,
.paper-content h2,
.paper-signatures { color: #f1f5f7; }
.paper-brand div span,
.paper-recipient,
.paper-copy,
.paper-date,
.paper-signatures > div > span:last-child { color: #bdcbd4; }
.paper-date strong,
.paper-signatures > div > strong { color: #f1f5f7; }
.paper-mark,
.paper-seal {
  border-color: rgba(224, 199, 143, .8);
  color: var(--gold-light);
}
.signature-line { background: rgba(222, 232, 238, .42); }
.certificate-note {
  border-inline-start-color: var(--gold);
  background: #17344d;
  color: #c3d0d8;
}
.note-mark {
  background: rgba(199, 161, 90, .2);
  color: var(--gold-light);
}

.contact-detail { border-color: var(--line); }
.contact-form input,
.contact-form textarea {
  border-color: rgba(221, 232, 238, .18);
  background: #10263f;
  color: #f1f5f7;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8da2af; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #63c2b3;
  box-shadow: 0 0 0 3px rgba(28, 128, 118, .2);
}
.form-heading p { color: var(--muted); }
.form-step { color: #80d2c5; }
.form-status { color: #9de0d5; }

.button-light {
  background: var(--gold);
  color: #10263f;
}
.button-light:hover { background: var(--gold-light); }
.button-navy { background: #1c596c; color: #f4f7f8; }
.button-navy:hover { background: #22766f; }
.cta-band { background: linear-gradient(112deg, #123750, #14665f); }

.brand-mark::before { animation: orbit-spin 18s linear infinite; }
.orbit-outer { animation: orbit-spin 42s linear infinite; }
.orbit-inner { animation: orbit-spin 34s linear infinite reverse; }
.hero-seal { animation: gentle-float 6.5s ease-in-out infinite; }
.hero-glow-one { animation: glow-breathe 9s ease-in-out infinite alternate; }
.hero-glow-two { animation: glow-breathe 11s ease-in-out infinite alternate-reverse; }
.spark { animation: sparkle 2.8s ease-in-out infinite; }
.spark-b { animation-delay: .7s; }
.spark-c { animation-delay: 1.3s; }
.page-intro::after { animation: intro-drift 16s ease-in-out infinite alternate; }

@keyframes orbit-spin { to { rotate: 360deg; } }
@keyframes gentle-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes glow-breathe { from { opacity: .45; scale: .92; } to { opacity: 1; scale: 1.08; } }
@keyframes sparkle { 0%, 100% { opacity: .35; scale: .7; } 50% { opacity: 1; scale: 1.4; } }
@keyframes intro-drift { from { transform: translate3d(0, 8px, 0) rotate(-7deg); } to { transform: translate3d(15px, -10px, 0) rotate(8deg); } }

.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .72s cubic-bezier(.2,.75,.25,1), transform .72s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--motion-delay, 0ms);
}
.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.motion-ready .expertise-card.is-visible:hover { transform: translate3d(0, -5px, 0); }

@media (max-width: 780px) {
  .page-intro { background: radial-gradient(ellipse at 82% 35%, rgba(28,128,118,.18), transparent 38%), #10263f; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .motion-ready .motion-item,
  .motion-ready .motion-item.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* نظام الخط العربي الجديد: Alexandria لواجهة حديثة وعناوين أوضح */
:root {
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Tahoma, sans-serif;
}

.hero-copy h1,
.page-intro h1,
.section-heading h2,
.section-title-vertical h2,
.about-strip-copy h2,
.about-bio h2,
.timeline-card h2,
.certificate-card h2,
.certificate-feature h2,
.contact-information h2,
.form-heading h2 {
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Tahoma, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}

.brand-name,
.primary-navigation,
.header-cta,
.button {
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Tahoma, sans-serif;
}


/* الاسم التجاري اللاتيني داخل الواجهة العربية */
.brand-name[dir="ltr"],
.emblem-caption[dir="ltr"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}
.hero-copy h1[dir="ltr"],
.about-bio h2[dir="ltr"] {
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}


/* إبراز الاسم الكامل والمحافظة على توازن بطاقات التخصصات الخمس */
.hero-copy h1[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-size: clamp(30px, 5vw, 58px);
  letter-spacing: -1px;
}
.about-bio h2[dir="ltr"] {
  font-size: clamp(23px, 3vw, 34px);
  letter-spacing: -.6px;
}
@media (min-width: 1100px) {
  .expertise-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .expertise-card { padding-inline: 18px; }
}


@supports (padding: env(safe-area-inset-top)) {
  .site-header { padding-top: env(safe-area-inset-top); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}
