:root {
  --ink: #090b47;
  --turquoise: #13d3d3;
  --muted: #52607a;
  --line: #dce5ef;
  --mist: #f4f8ff;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 16px/1.65 Inter, Arial, sans-serif; }
html[lang="ar"] body { font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #076c79; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid #078995; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.7rem); max-width: 900px; margin-bottom: 22px; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); margin-bottom: 22px; }
h3 { font-size: 1.3rem; }
p { margin-top: 0; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 20px; z-index: 100; color: white; background: var(--ink); padding: 12px 20px; }
.skip-link:focus { inset-block-start: 0; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.nav-shell { display: flex; align-items: center; min-height: 82px; gap: 28px; flex-wrap: wrap; }
.brand img { width: 190px; height: auto; }
.primary-nav { display: flex; flex-wrap: wrap; gap: 22px; margin-inline-start: auto; font-size: .88rem; font-weight: 700; }
.primary-nav a { text-decoration: none; padding-block: 8px; }
.primary-nav a[aria-current="page"] { border-bottom: 2px solid var(--turquoise); }
.language-switcher { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; direction: ltr; }
.lang-button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; font-size: 1.2rem; }
.lang-button.is-active { background: var(--ink); color: white; }
.career-hero { position: relative; padding: 72px 0 58px; background: radial-gradient(ellipse at 90% 10%, #d4faf7, transparent 48%), linear-gradient(135deg, #fff, #eef5ff); border-bottom: 1px solid var(--line); }
.kicker { display: flex; align-items: center; gap: 12px; color: #246c83; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.kicker::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; background: var(--turquoise); border-radius: 50%; }
.lead { max-width: 820px; font-size: 1.13rem; color: var(--muted); }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-block: 24px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); text-decoration: none; font-size: .91rem; font-weight: 700; }
.button:hover { border-color: #079aa7; color: var(--ink); }
.button-primary { background: var(--turquoise); border-color: var(--turquoise); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 28px 0; }
.facts span, .tag { display: inline-block; padding: 6px 11px; border: 1px solid #d2e3eb; border-radius: 8px; background: rgba(255,255,255,.9); font-size: .82rem; }
.deadline { margin-top: 22px; max-width: 860px; font-weight: 700; font-size: .9rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: .85rem; }
.career-section { padding: 64px 0 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading p { color: var(--muted); max-width: 440px; }
.offer-list { display: flex; flex-direction: column; gap: 20px; }
.offer-card { display: grid; grid-template-columns: 70px minmax(0,1fr) 200px; gap: 30px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 0 rgba(9,11,71,.025); }
.offer-index { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #b7eeee; border-radius: 16px; background: #e4faf9; font-weight: 800; }
.offer-card h2 { font-size: 1.7rem; margin-bottom: 14px; }
.offer-card p { color: var(--muted); margin-bottom: 14px; }
.offer-card .actions { align-content: center; margin: 0; flex-direction: column; justify-content: center; align-items: stretch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .74rem; background: #f5f9ff; }
.notice { margin-top: 28px; padding: 22px 26px; border-inline-start: 3px solid var(--turquoise); border-radius: 0 12px 12px 0; background: #eaf9fa; }
.notice p:last-child { margin-bottom: 0; }
.notice small, .muted { color: var(--muted); }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start; }
.detail-content section { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.detail-content section:last-child { border: 0; }
.detail-content p, .detail-content li { color: var(--muted); }
.detail-content ul, .detail-content ol { padding-inline-start: 24px; margin-bottom: 0; }
.detail-content li { padding-block: 5px; }
.apply-aside { position: sticky; top: 110px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.apply-aside .actions { flex-direction: column; align-items: stretch; }
.apply-aside p { font-size: .88rem; }
.site-footer { background: var(--ink); color: #fff; padding: 44px 0 24px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand img { width: 210px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: .88rem; }
.site-footer a:hover { color: var(--turquoise); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #bcc2da; font-size: .75rem; }
.portal-shell { max-width: 1040px; }
.portal-card { margin-top: 24px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.status-message { padding: 14px 18px; background: #edf7ff; border-radius: 10px; min-height: 50px; }
.status-message:empty { display: none; }
.status-message[data-error="true"] { color: #8b2033; background: #fff0f2; border: 1px solid #edc2cc; }
form fieldset { margin: 0 0 26px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
legend { padding-inline: 8px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; font-size: .85rem; font-weight: 700; }
.form-field.full { grid-column: 1 / -1; }
.form-field small { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; padding: 11px 12px; border: 1px solid #bac8d9; border-radius: 8px; background: #fbfdff; color: var(--ink); min-width: 0; }
input[readonly] { background: #edf2f8; }
input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--ink); margin-top: 4px; }
input[type="file"] { font-size: .88rem; }
textarea { resize: vertical; min-height: 120px; }
.check-label { display: flex; align-items: start; gap: 12px; margin-bottom: 16px; font-size: .88rem; }
.ltr, input[type="email"], input[type="url"], input[type="tel"], input[type="date"] { direction: ltr; text-align: left; unicode-bidi: isolate; }
.projects { display: flex; flex-direction: column; gap: 14px; }
.project-row { display: flex; align-items: end; gap: 10px; }
.project-row .form-field { flex: 1; }
.project-row button { flex: 0 0 auto; }
.form-hint { font-size: .85rem; color: var(--muted); margin-block: 18px; }
.reference { overflow-wrap: anywhere; padding: 16px; background: #e6faf7; border-radius: 10px; font-size: 1.05rem; font-weight: 800; }
@media (max-width: 900px) {
  .nav-shell { gap: 16px; padding-block: 16px; }
  .primary-nav { order: 3; width: 100%; justify-content: center; margin: 0; }
  .language-switcher { margin-inline-start: auto; }
  .offer-card { grid-template-columns: 55px minmax(0,1fr); gap: 20px; }
  .offer-card .actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: start; }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .apply-aside { position: static; }
  .section-heading { display: block; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .brand img { width: 150px; }
  .nav-shell { gap: 10px; }
  .lang-button { width: 33px; height: 34px; }
  .primary-nav { gap: 17px; font-size: .79rem; }
  .career-hero { padding: 44px 0 36px; }
  .career-section { padding: 38px 0 52px; }
  .offer-card { display: block; padding: 24px; }
  .offer-index { margin-bottom: 22px; }
  .offer-card .actions { margin-top: 22px; }
  .offer-card h2 { font-size: 1.45rem; }
  .portal-card { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  form fieldset { padding: 16px; }
  .project-row { align-items: stretch; flex-direction: column; }
  .project-row button { align-self: start; }
  .footer-top { align-items: start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
