@import url("/assets/index-f145d107.css");

:root {
  --ink: #10233f;
  --ink-soft: #52647d;
  --brand: #0052d4;
  --brand-dark: #003f9f;
  --gold: #d4af37;
  --paper: #ffffff;
  --surface: #f4f7fb;
  --line: #dfe7f1;
  --success: #08783e;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 18px 48px rgba(15, 35, 63, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: var(--brand-dark); }
.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 1px 3px rgba(17, 24, 39, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand-icon {
  width: 32px;
  height: 32px;
  color: var(--brand);
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.main-nav a {
  color: #34465f;
  text-decoration: none;
  font-weight: 700;
  padding: .55rem .8rem;
  border-radius: 999px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--brand-dark); background: #eaf2ff; }
.header-cta,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta { padding: .7rem 1.1rem; background: var(--gold); color: #172238; }
.primary-cta { padding: .85rem 1.35rem; background: var(--brand); color: white; box-shadow: 0 10px 24px rgba(23, 105, 224, .25); }
.secondary-cta { padding: .8rem 1.25rem; border: 1px solid var(--line); background: white; color: var(--ink); }
.header-cta:hover,
.primary-cta:hover,
.secondary-cta:hover { transform: translateY(-2px); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #eef4ff;
  color: #111827;
  cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, .52);
  transition: opacity .25s ease, visibility .25s ease;
}
.menu-backdrop.is-open { visibility: visible; opacity: 1; }
body.menu-open { overflow: hidden; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 15% 5%, rgba(245, 184, 46, .22), transparent 24rem),
    linear-gradient(135deg, #071b36 0%, #123f78 55%, #1769e0 100%);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  inset-inline-end: -120px;
  bottom: -220px;
  border: 64px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}
.hero .breadcrumbs a { color: #d9e9ff; }
.hero .breadcrumbs span { color: #aecaf1; }
.eyebrow {
  display: inline-flex;
  padding: .35rem .8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #eaf3ff;
  font-weight: 800;
  font-size: .88rem;
}
.hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.hero-lead {
  max-width: 850px;
  margin: 1.25rem 0 0;
  color: #d9e9ff;
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  align-items: center;
  margin-top: 1.35rem;
  color: #c7dbf5;
  font-size: .9rem;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
  padding: 48px 0 72px;
}
.article-card,
.toc-card,
.related-section,
.blog-card,
.blog-intro {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.article-card { overflow: hidden; }
.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dbe4ee;
}
.article-body { padding: clamp(24px, 5vw, 52px); }
.article-body,
.article-card,
.blog-card,
.related-card { min-width: 0; }
.article-body figure { max-width: 100%; margin: 1.5rem 0; }
.article-body img:not(.article-cover) {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.article-body h2,
.article-body h3 { scroll-margin-top: 105px; color: #0d2a4e; }
.article-body h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.5;
  padding-bottom: .65rem;
  border-bottom: 2px solid #e8eef6;
}
.article-body h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: .65rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}
.article-body h3 {
  margin: 2rem 0 .65rem;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  line-height: 1.6;
}
.article-body p { margin: .75rem 0 1.1rem; color: #253a55; }
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem 1rem 2.25rem;
  border-radius: var(--radius-md);
  background: #f7faff;
  border: 1px solid #e1eaf6;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin: .35rem 0; padding-inline-start: .25rem; }
.article-body a {
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.article-body a:hover { color: var(--brand); }
.toc-card {
  position: sticky;
  top: 98px;
  padding: 22px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.toc-title { margin: 0 0 1rem; font-size: 1.1rem; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin: .35rem 0; }
.toc-list .toc-h3 { padding-inline-start: 1rem; font-size: .88rem; }
.toc-list a {
  display: block;
  padding: .4rem .55rem;
  border-radius: 9px;
  color: #4b5d74;
  text-decoration: none;
  line-height: 1.55;
}
.toc-list a:hover,
.toc-list a.active { color: var(--brand-dark); background: #eaf2ff; }
.service-cta {
  margin-top: 3rem;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0b274a, #155fca);
  color: white;
}
.service-cta h2 { margin: 0 0 .65rem; color: white; border: 0; padding: 0; }
.service-cta h2::after { display: none; }
.service-cta p { color: #dbeaff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.related-wrap { padding: 0 0 72px; }
.related-section { padding: clamp(24px, 5vw, 42px); }
.related-section h2 { margin: 0 0 1.25rem; }
.related-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.related-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfdff;
}
.related-card h3 { margin: 0 0 .55rem; line-height: 1.6; }
.related-card a { text-decoration: none; color: var(--ink); }
.related-card a:hover { color: var(--brand); }
.related-card p { color: var(--ink-soft); margin: 0; font-size: .92rem; }
.blog-hero { padding-bottom: 62px; }
.blog-intro {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: clamp(22px, 5vw, 38px);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.blog-intro p { margin: 0; color: var(--ink-soft); max-width: 760px; }
.blog-main { padding: 52px 0 78px; }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(15,35,63,.14); }
.blog-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-content { padding: 24px; }
.blog-card .tag { color: var(--brand-dark); font-weight: 800; font-size: .86rem; }
.blog-card h2 { margin: .55rem 0 .75rem; line-height: 1.55; font-size: 1.35rem; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover { color: var(--brand); }
.blog-card p { color: var(--ink-soft); margin: 0 0 1rem; }
.read-more { font-weight: 900; text-decoration: none; }
.site-footer { padding: 48px 0 110px; background: #111827; color: #9ca3af; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .75rem;
}
.footer-brand .brand-icon { width: 26px; height: 26px; }
.site-footer h2,
.site-footer h3 { color: white; margin-top: 0; }
.footer-title { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 900; }
.footer-heading { margin: 0 0 1rem; color: #fff; font-size: 1.05rem; font-weight: 900; }
.site-footer a { color: #dceaff; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .45rem 0; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; text-align: center; }
.developer-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  color: #6b7280;
  text-decoration: none;
}
.developer-credit img { width: auto; height: 34px; max-width: 160px; opacity: .82; }
.developer-credit:hover { color: #60a5fa; }
.floating-actions {
  position: fixed;
  z-index: 999;
  inset-inline-end: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}
.floating-actions a {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-weight: 900;
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.30);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.floating-actions a:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(0,0,0,.34); }
.floating-actions svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.float-call { background: #064fc4; }
.float-call:hover { background: #003b95; }
.float-whatsapp { background: #08783e; }
.float-whatsapp:hover { background: #056332; }
@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed;
    z-index: 1001;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(84vw, 360px);
    padding: 88px 22px 24px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 7px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -18px 0 50px rgba(17, 24, 39, .24);
    visibility: hidden;
    transform: translateX(110%);
    transition: transform .28s ease, visibility .28s ease;
  }
  [dir="rtl"] .main-nav { transform: translateX(110%); }
  .main-nav.is-open { visibility: visible; transform: translateX(0); }
  .main-nav a { width: 100%; padding: .8rem 1rem; font-size: 1rem; }
  .menu-toggle { position: relative; z-index: 1002; }
  body.menu-open .menu-toggle { position: fixed; top: 18px; inset-inline-end: 18px; }
  .article-shell { grid-template-columns: 1fr; }
  .toc-card { position: static; grid-row: 1; max-height: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .header-inner { width: min(100% - 24px, 1180px); min-height: 70px; }
  .brand { gap: .45rem; font-size: clamp(.86rem, 3.8vw, 1rem); }
  .brand-icon { width: 28px; height: 28px; }
  .hero { padding: 42px 0 34px; }
  .hero h1 { font-size: clamp(1.75rem, 8.5vw, 2.35rem); overflow-wrap: anywhere; }
  .hero-lead { font-size: .98rem; }
  .article-shell { padding-top: 28px; gap: 20px; }
  .article-body { padding: 22px 18px 30px; }
  .article-cover { aspect-ratio: 16 / 9; object-position: center; }
  .article-body h2 { margin-top: 2.15rem; font-size: 1.4rem; }
  .article-body h3 { font-size: 1.12rem; }
  .article-body p,
  .article-body li { overflow-wrap: anywhere; }
  .article-body ul,
  .article-body ol { padding: .9rem 2rem .9rem .9rem; }
  .toc-card { padding: 18px; border-radius: var(--radius-md); }
  .related-grid,
  .blog-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .blog-intro { align-items: flex-start; flex-direction: column; }
  .blog-card img { aspect-ratio: 16 / 9; object-position: center; }
  .blog-card-content { padding: 20px 18px; }
  .service-cta .cta-actions { flex-direction: column; }
  .service-cta .cta-actions a { width: 100%; }
  .floating-actions { inset-inline-end: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 8px; }
  .floating-actions a { width: 56px; height: 56px; }
  .site-footer { text-align: center; }
  .footer-brand { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Primary site chrome: mirrors the homepage header, drawer and footer. */
.primary-site-header .container,
.primary-site-footer .container {
  width: 100%;
}

.primary-site-header a,
.primary-site-footer a,
.primary-mobile-menu a {
  text-decoration: none;
}

.primary-services-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.primary-services:hover .primary-services-menu,
.primary-services:focus-within .primary-services-menu,
.primary-services-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-mobile-backdrop {
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
}

.primary-mobile-menu {
  visibility: hidden;
  transform: translateX(105%);
  opacity: 0;
  overflow-y: auto;
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
}

.primary-mobile-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.primary-mobile-menu.is-open {
  visibility: visible;
  transform: translateX(0);
  opacity: 1;
}

body.primary-menu-open { overflow: hidden; }
body.primary-menu-open .floating-actions { visibility: hidden; opacity: 0; }

.primary-site-footer .footer-brand-logo {
  width: auto;
  height: 40px;
  max-width: 180px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .primary-site-footer .footer-brand-logo { margin-inline: 0; }
}

@media (min-width: 1024px) {
  .primary-mobile-menu,
  .primary-mobile-backdrop { display: none !important; }
}
