
  :root {
    --navy: #1F3864;
    --navy-deep: #16294a;
    --accent: #2E75B6;
    --accent-light: #9DC3E6;
    --teal: #00857C;
    --teal-light: #4FC3BA;
    --sand: #F5F0E8;
    --sand-tint: #FBF8F3;
    --white: #ffffff;
    --text: #2D2D2D;
    --muted: #5a6478;
    --line: #e3ddd1;
    --border: rgba(46,117,182,0.22);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    background: var(--sand);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 3px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
  }

  .nav-logo {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  .nav-logo span { color: var(--teal-light); }

  .nav-links {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
  }
  .nav-links::-webkit-scrollbar { display: none; } /* Chrome/Safari */

  .nav-links a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
  }

  /* HERO */
  .hero {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 55%, rgba(0,133,124,0.14) 0%, transparent 68%);
  }

  .hero-tag {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-light);
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    color: var(--white);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
  }

  .hero h1 span { color: var(--teal-light); }

  .hero-sub {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.72);
    max-width: 600px;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.55s;
  }

  .hero-cards {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
  }

  .hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 1.4rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s;
  }

  .hero-card:hover {
    background: rgba(0,133,124,0.18);
    border-color: var(--teal-light);
    color: var(--white);
    transform: translateY(-2px);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* SECTIONS */
  section {
    padding: 5rem 2rem;
    max-width: 940px;
    margin: 0 auto;
  }

  .section-tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 0.6rem;
  }

  h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
  }

  .lead {
    font-size: 1.08rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: none;
  }

  .divider {
    width: 56px;
    height: 3px;
    background: var(--teal);
    margin-bottom: 2rem;
    border-radius: 2px;
  }

  /* CARDS GRID */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.7rem;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }

  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }

  .card:hover { box-shadow: 0 8px 30px rgba(31,56,100,0.1); transform: translateY(-3px); }
  .card:hover::before { transform: scaleX(1); }

  .card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
  }
  .card h3 { font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 0.5rem; }
  .card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

  /* ACCORDION */
  .accordion { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; background: var(--white); }
  .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: var(--white);
    transition: background 0.2s;
    user-select: none;
  }
  .accordion-header:hover { background: var(--sand-tint); }
  .accordion-title { font-weight: 700; color: var(--navy); font-size: 1rem; }
  .accordion-icon {
    font-size: 1.3rem;
    color: var(--teal);
    transition: transform 0.3s;
    font-weight: 400;
    line-height: 1;
  }
  .accordion.open .accordion-icon { transform: rotate(45deg); }
  .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
  }
  .accordion.open .accordion-body { max-height: 1600px; padding: 0 1.5rem 1.5rem; }
  .accordion-body p, .accordion-body li { font-size: 0.95rem; color: var(--muted); line-height: 1.75; }
  .accordion-body ul, .accordion-body ol { padding-left: 1.25rem; margin-top: 0.5rem; }
  .accordion-body li { margin-bottom: 0.4rem; }
  .accordion-body strong { color: var(--navy); }

  /* PHRASE CARDS */
  .phrase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
  .phrase-card {
    background: var(--navy-deep);
    border-radius: 9px;
    padding: 1.2rem 1.45rem;
    border-left: 4px solid var(--teal);
  }
  .phrase-context { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-light); font-weight: 700; margin-bottom: 0.4rem; }
  .phrase-text { color: var(--white); font-size: 0.94rem; font-style: italic; line-height: 1.5; }

  /* DOCUMENT TEMPLATE */
  .doc-template {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
  }
  .doc-header {
    background: var(--navy);
    padding: 0.95rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .doc-header .doc-no {
    color: var(--navy);
    background: var(--teal-light);
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
  }
  .doc-header h3 { color: var(--white); font-size: 1.02rem; font-weight: 700; }
  .doc-body { padding: 1.5rem; }
  .doc-field { margin-bottom: 1rem; }
  .doc-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 0.25rem; }
  .doc-value { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
  .doc-value.example { font-style: italic; background: var(--sand-tint); border-radius: 6px; padding: 0.75rem 1rem; color: var(--text); border-left: 3px solid var(--accent); }

  /* DARK SECTION */
  .dark-section {
    background: var(--navy);
    padding: 5rem 2rem;
    margin: 0;
  }
  .dark-section .inner { max-width: 940px; margin: 0 auto; }
  .dark-section h2 { color: var(--white); }
  .dark-section .section-tag { color: var(--teal-light); }
  .dark-section .lead { color: rgba(255,255,255,0.66); }
  .dark-section .divider { background: var(--teal-light); }

  /* TABLE */
  .table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
  table { width: 100%; border-collapse: collapse; }
  th {
    background: var(--navy);
    color: var(--white);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 1.2rem;
    text-align: left;
    font-weight: 700;
  }
  td { padding: 0.9rem 1.2rem; font-size: 0.9rem; color: var(--muted); border-bottom: 1px solid var(--line); vertical-align: top; }
  tr:last-child td { border-bottom: none; }
  tr:nth-child(even) td { background: var(--sand-tint); }
  tr:hover td { background: #eef4fa; }
  td strong { color: var(--navy); display: block; margin-bottom: 0.2rem; }

  /* SKILLS */
  .skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
  .skill-pill {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.2s;
  }
  .skill-pill:hover { border-left-color: var(--teal); box-shadow: 0 4px 16px rgba(31,56,100,0.08); }
  .skill-pill .name { font-weight: 700; color: var(--navy); font-size: 0.96rem; }
  .skill-pill .desc { font-size: 0.83rem; color: var(--muted); }

  /* CALLOUT */
  .callout {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--teal);
    border-radius: 10px;
    padding: 1.6rem 1.75rem;
    margin-bottom: 1.5rem;
  }
  .callout .kicker {
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--teal); font-weight: 700; margin-bottom: 0.4rem;
  }
  .callout h3 { color: var(--navy); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
  .callout p { color: var(--muted); font-size: 0.95rem; }
  .callout .when {
    display: inline-block; margin-top: 0.85rem;
    background: var(--navy); color: var(--white);
    padding: 0.4rem 0.95rem; border-radius: 6px;
    font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
  }
  .callout a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .callout a:hover { text-decoration: underline; }

  /* TIMED TASK BLOCK */
  .task-steps { display: grid; gap: 0.8rem; margin: 1.25rem 0; }
  .task-step {
    background: var(--white); border: 1px solid var(--line);
    border-radius: 9px; padding: 1rem 1.25rem;
    display: flex; gap: 1rem; align-items: flex-start;
  }
  .task-step .time {
    flex-shrink: 0; background: var(--teal); color: var(--white);
    font-weight: 700; font-size: 0.78rem; border-radius: 6px;
    padding: 0.3rem 0.6rem; min-width: 62px; text-align: center;
  }
  .task-step .what strong { color: var(--navy); display: block; margin-bottom: 0.15rem; font-size: 0.96rem; }
  .task-step .what span { color: var(--muted); font-size: 0.88rem; }

  .checklist { list-style: none; padding-left: 0; margin-top: 0.5rem; }
  .checklist li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; color: var(--muted); font-size: 0.92rem; }
  .checklist li::before { content: '\2714'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

  /* FOOTER */
  footer {
    background: var(--navy);
    border-top: 3px solid var(--teal);
    text-align: center;
    padding: 2.25rem 2rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
  }
  footer strong { color: var(--teal-light); }
  footer a { color: var(--teal-light); text-decoration: none; }

  /* UTILS */
  .mt-2 { margin-top: 1rem; }
  .sep { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }

  @media (max-width: 640px) {
    nav { padding: 0 1rem; }
    .nav-links { gap: 0; }
    .nav-links a { padding: 0.35rem 0.45rem; font-size: 0.68rem; }
    section { padding: 3.5rem 1.25rem; }
    .task-step { flex-direction: column; gap: 0.5rem; }
  }


/* ---- multi-page additions ---- */
a.nav-logo { text-decoration: none; }
.nav-links a.current { color: var(--teal-light); }
body.subpage { padding-top: 60px; }
.card.linkcard { text-decoration: none; display: block; color: inherit; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.toc a { background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.95rem; font-size: 0.82rem; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: all 0.2s; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.fact { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 8px; padding: 1rem 1.2rem; }
.fact-k { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal);
  font-weight: 700; margin-bottom: 0.2rem; }
.fact-v { font-weight: 700; color: var(--navy); font-size: 1rem; }

/* buttons + email link */
.btn { display: inline-block; background: var(--navy); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 0.9rem; padding: 0.75rem 1.4rem; border-radius: 8px; transition: all 0.2s; }
.btn:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.emllink { cursor: pointer; }
footer a:hover { text-decoration: underline; }

/* brand: hero seal + lockup band */
.hero-seal { width: 200px; height: 200px; margin: 0 auto 1.6rem; background: #FBF8F3; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  animation: fadeUp 0.8s ease; }
.hero-seal img { width: 184px; height: auto; display: block; }
.brand-band { text-align: center; padding-top: 1rem; }
.brand-lockup { width: min(540px, 88%); height: auto; }
.nav-emblem { height: 30px; width: auto; vertical-align: middle; margin-right: 8px; }

/* full-width stacked cards */
.cards.stack { grid-template-columns: 1fr; }
/* contact page */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.btn.wa { background: #25D366; }
.btn.wa:hover { background: #1da851; }

/* Arabic / RTL block */
.rtl { direction: rtl; text-align: right; }
.rtl .kicker { text-align: right; }
.rtl ul { padding-right: 1.2rem; padding-left: 0; }

/* resource download list */
.res-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.9rem; margin: 1.2rem 0; }
.res-item { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  text-decoration: none; transition: all 0.2s; }
.res-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.res-item .res-name { font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.res-item .res-meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* highlights placeholder */
.placeholder { border: 1px dashed var(--line); border-radius: 10px; background: transparent; }
.placeholder .card-body, .placeholder p { color: var(--muted); }

/* print-friendly */
@media print {
  nav, footer, .btn, .btn-row, .res-item:hover, .hero-seal, .brand-band { display: none !important; }
  body, body.subpage { padding-top: 0 !important; background: #fff !important; }
  .hero { min-height: auto !important; padding: 1rem 0 !important; background: #fff !important; }
  .hero-tag, .hero-sub { color: #000 !important; }
  .hero h1 { color: #000 !important; }
  section { max-width: 100% !important; padding: 0.6rem 0 !important; page-break-inside: avoid; }
  * { color: #000 !important; box-shadow: none !important; }
  a { text-decoration: none !important; }
  .accordion .accordion-body { max-height: none !important; padding: 0 1.5rem 1.5rem !important; }
  .accordion-icon { display: none !important; }
  .callout, .card, table { border: 1px solid #ccc !important; }
  thead tr { background: #eee !important; }
}

/* about: director photo */
.about-grid { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.about-grid > div { flex: 1; min-width: 260px; }
.about-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 4px solid var(--white); box-shadow: 0 6px 22px rgba(31,56,100,0.18); }
@media (max-width: 560px) { .about-grid { justify-content: center; text-align: center; } }

/* SEO: subpage H1 styled to match section headings */
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); line-height: 1.2;
  font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1rem; }
.rtl .page-title { text-align: right; }
