@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy-950: #06172f;
  --navy-900: #0a2347;
  --navy-800: #123565;
  --blue-700: #1559b7;
  --blue-600: #1769d2;
  --blue-500: #2683ef;
  --blue-100: #dcecff;
  --blue-50: #f1f7ff;
  --slate-900: #172338;
  --slate-700: #40516a;
  --slate-600: #5b6d85;
  --slate-300: #c9d4e2;
  --slate-200: #dce4ed;
  --slate-100: #edf2f7;
  --white: #ffffff;
  --success: #087d55;
  --danger: #b42318;
  --shadow-sm: 0 10px 30px rgba(7, 31, 66, 0.08);
  --shadow-md: 0 24px 60px rgba(7, 31, 66, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--slate-900);
  background: #fbfdff;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(38, 131, 239, .35); outline-offset: 3px; }
::selection { background: var(--blue-100); color: var(--navy-950); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; right: 12px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy-950); transform: translateY(-180%); transition: transform var(--transition); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6, 23, 47, .97); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--blue-600), var(--blue-500)); box-shadow: 0 8px 20px rgba(23, 105, 210, .28); }
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: grid; line-height: 1.35; }
.brand-copy strong { color: #fff; font-size: 16px; font-weight: 800; }
.brand-copy small { color: #a9c8f3; font-size: 12px; }
.primary-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 15px; border-radius: 12px; color: #d9e8fb; font-size: 15px; font-weight: 600; transition: color var(--transition), background var(--transition), transform var(--transition); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.nav-link.is-active { color: #fff; background: linear-gradient(135deg, var(--blue-600), #1553a8); box-shadow: 0 8px 18px rgba(23, 105, 210, .27); }
.nav-link svg { width: 17px; height: 17px; }
.header-contact { display: flex; align-items: center; gap: 9px; color: #fff; direction: rtl; font-weight: 700; font-size: 14px; }
.header-contact svg { width: 18px; height: 18px; color: #8ec3ff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: white; background: rgba(255,255,255,.07); }
.menu-toggle svg { width: 24px; height: 24px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 80px; background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 48%, #eaf4ff 100%); }
.hero::before { content: ""; position: absolute; width: 470px; height: 470px; left: -170px; top: -160px; border-radius: 50%; border: 1px solid rgba(38, 131, 239, .14); box-shadow: 0 0 0 48px rgba(38, 131, 239, .025), 0 0 0 96px rgba(38, 131, 239, .018); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45; background-image: radial-gradient(rgba(21, 89, 183, .18) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, #000 0%, transparent 35%, transparent 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; }
.hero-content { grid-column: 2; grid-row: 1; }
.hero-logos { grid-column: 1; grid-row: 1; min-height: 350px; display: flex; align-items: center; justify-content: center; gap: 40px; position: relative; }
.hero-logos::before { content: ""; position: absolute; width: 430px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(38,131,239,.16) 0, rgba(38,131,239,.03) 52%, transparent 72%); filter: blur(2px); }
.logo-slot { position: relative; z-index: 1; width: 190px; height: 230px; display: grid; place-items: center; }
.logo-slot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(11, 44, 91, .13)); }
.logo-divider { position: relative; z-index: 1; width: 1px; height: 200px; background: linear-gradient(transparent, rgba(21,89,183,.36), transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--blue-700); font-weight: 800; font-size: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: var(--blue-600); }
.hero-title { margin: 0; color: var(--navy-950); font-size: clamp(42px, 5vw, 68px); line-height: 1.18; letter-spacing: -1.2px; font-weight: 800; }
.hero-region { display: flex; align-items: center; gap: 14px; margin: 18px 0 22px; color: var(--blue-700); font-size: clamp(21px, 2.2vw, 29px); font-weight: 700; }
.hero-region::before, .hero-region::after { content: ""; width: 48px; height: 2px; border-radius: 9px; background: linear-gradient(90deg, transparent, var(--blue-500)); }
.hero-region::after { transform: scaleX(-1); }
.hero-lead { max-width: 610px; margin: 0; color: var(--slate-700); font-size: 19px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 23px; border: 1px solid transparent; border-radius: 14px; font-weight: 700; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); box-shadow: 0 14px 30px rgba(23, 105, 210, .23); }
.btn-primary:hover { box-shadow: 0 18px 35px rgba(23,105,210,.30); }
.btn-outline { color: var(--blue-700); background: rgba(255,255,255,.8); border-color: rgba(21,89,183,.35); }
.btn-outline:hover { background: var(--blue-50); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-block { width: 100%; }

.section { padding: 86px 0; }
.section-soft { background: var(--blue-50); }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading.align-start { margin-inline: 0; text-align: right; }
.section-kicker { display: inline-block; margin-bottom: 9px; color: var(--blue-700); font-weight: 800; font-size: 14px; }
.section-title { margin: 0; color: var(--navy-950); font-size: clamp(29px, 3vw, 42px); line-height: 1.35; }
.section-copy { margin: 15px auto 0; color: var(--slate-600); font-size: 17px; }
.section-line { display: block; width: 66px; height: 4px; margin: 18px auto 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); }
.align-start .section-line { margin-inline: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { position: relative; overflow: hidden; min-height: 310px; padding: 34px; border: 1px solid rgba(13,62,124,.10); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.feature-card::after { content: ""; position: absolute; left: -38px; bottom: -70px; width: 155px; height: 155px; border-radius: 50%; background: rgba(38,131,239,.05); }
.feature-card:hover { transform: translateY(-7px); border-color: rgba(23,105,210,.24); box-shadow: var(--shadow-md); }
.icon-circle { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 18px; color: var(--blue-700); background: linear-gradient(145deg, #eaf4ff, #d9ebff); }
.icon-circle svg { width: 27px; height: 27px; }
.feature-card h3 { margin: 0 0 12px; color: var(--navy-900); font-size: 24px; }
.feature-card p { margin: 0; color: var(--slate-600); }
.card-link { position: absolute; z-index: 1; bottom: 29px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-weight: 800; }
.card-link svg { width: 18px; height: 18px; transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(-5px); }

.contact-strip { position: relative; overflow: hidden; padding: 43px 0; color: #fff; background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); }
.contact-strip::before { content: ""; position: absolute; width: 340px; height: 340px; left: -120px; top: -190px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025); }
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.contact-item { min-height: 94px; display: flex; align-items: center; gap: 14px; padding: 8px 26px; border-left: 1px solid rgba(255,255,255,.14); }
.contact-item:last-child { border-left: 0; }
.contact-item-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: #8bc4ff; background: rgba(255,255,255,.04); }
.contact-item-icon svg { width: 23px; height: 23px; }
.contact-item-copy { display: grid; }
.contact-item-copy small { color: #9fbee2; font-size: 13px; }
.contact-item-copy strong, .contact-item-copy a { color: #fff; font-size: 15px; font-weight: 700; }

.page-hero { position: relative; overflow: hidden; padding: 74px 0 65px; color: #fff; background: linear-gradient(125deg, var(--navy-950), #0b3266 65%, #1559b7); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 55%); }
.page-hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-hero h1 { margin: 0; font-size: clamp(36px, 4vw, 55px); line-height: 1.35; }
.page-hero p { max-width: 720px; margin: 14px 0 0; color: #c8dcf5; font-size: 17px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: #bed8f5; font-size: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 15px; height: 15px; }

.about-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 55px; align-items: center; }
.about-copy p { color: var(--slate-700); font-size: 18px; }
.about-panel { position: relative; overflow: hidden; padding: 38px; border-radius: var(--radius-lg); color: white; background: linear-gradient(145deg, var(--navy-900), var(--blue-700)); box-shadow: var(--shadow-md); }
.about-panel::before { content: ""; position: absolute; left: -80px; top: -80px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.035); }
.about-panel .big-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.11); }
.about-panel .big-icon svg { width: 34px; height: 34px; }
.about-panel h2 { position: relative; margin: 27px 0 10px; font-size: 28px; }
.about-panel p { position: relative; margin: 0; color: #d6e7fb; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card { padding: 31px; border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.value-card h3 { margin: 18px 0 9px; color: var(--navy-900); font-size: 23px; }
.value-card p { margin: 0; color: var(--slate-600); }
.goals-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.goal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.goal-list li { display: flex; align-items: flex-start; gap: 13px; padding: 17px 19px; border: 1px solid var(--slate-200); border-radius: 15px; background: #fff; }
.goal-list svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--blue-600); }
.beneficiaries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.beneficiary { display: flex; align-items: center; gap: 13px; padding: 18px; border-radius: 16px; color: var(--navy-900); background: #eaf4ff; font-weight: 700; }
.beneficiary svg { width: 23px; height: 23px; color: var(--blue-700); }

.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.form-card { padding: 38px; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h2 { margin: 0 0 8px; color: var(--navy-950); font-size: 29px; }
.form-card > p { margin: 0 0 30px; color: var(--slate-600); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.form-group { min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--navy-900); font-weight: 700; }
.required-mark { color: var(--danger); }
.form-control { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid #ccd7e5; border-radius: 13px; color: var(--slate-900); background: #fff; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.form-control::placeholder { color: #8b99aa; }
.form-control:hover { border-color: #aabbd0; }
.form-control:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(38,131,239,.12); }
.form-control.is-invalid { border-color: var(--danger); background: #fffafa; box-shadow: 0 0 0 3px rgba(180,35,24,.08); }
textarea.form-control { min-height: 150px; resize: vertical; }
.field-error { min-height: 22px; margin: 5px 2px 0; color: var(--danger); font-size: 13px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.upload-area { position: relative; padding: 28px; border: 2px dashed #b9c9dc; border-radius: 18px; text-align: center; background: #f8fbff; transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.upload-area:hover, .upload-area.is-dragging { border-color: var(--blue-500); background: #eef7ff; }
.upload-area.is-dragging { transform: scale(1.005); }
.upload-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 17px; color: var(--blue-700); background: var(--blue-100); }
.upload-icon svg { width: 27px; height: 27px; }
.upload-area strong { display: block; color: var(--navy-900); }
.upload-area p { margin: 4px 0 16px; color: var(--slate-600); font-size: 14px; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 13px; padding: 13px 15px; border: 1px solid #cfe1f5; border-radius: 13px; background: #f5faff; }
.file-summary[hidden] { display: none; }
.file-summary-copy { min-width: 0; display: grid; }
.file-summary-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy-900); }
.file-summary-copy small { color: var(--slate-600); }
.icon-button { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; color: var(--danger); background: #fff1f0; }
.icon-button svg { width: 19px; height: 19px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 11px; }
.checkbox-row input { flex: 0 0 19px; width: 19px; height: 19px; margin-top: 4px; accent-color: var(--blue-600); }
.form-actions { display: flex; align-items: center; justify-content: flex-start; margin-top: 7px; }
.form-status { margin: 22px 0 0; padding: 15px 18px; border-radius: 13px; font-weight: 700; }
.form-status[hidden] { display: none; }
.form-status--success { color: #05613f; border: 1px solid #a9dfca; background: #edfdf6; }
.form-status--error { color: #9b1c12; border: 1px solid #f1b4ae; background: #fff2f0; }
.btn.is-loading { opacity: .78; pointer-events: none; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-aside { display: grid; gap: 18px; }
.aside-card { padding: 25px; border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.aside-card--navy { color: white; border: 0; background: linear-gradient(145deg, var(--navy-900), var(--blue-700)); }
.aside-card h3 { margin: 16px 0 8px; color: inherit; font-size: 21px; }
.aside-card p { margin: 0; color: var(--slate-600); font-size: 15px; }
.aside-card--navy p { color: #d2e3f7; }
.aside-card ul { margin: 13px 0 0; padding: 0 20px 0 0; color: var(--slate-600); }
.aside-card li + li { margin-top: 7px; }
.aside-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--blue-700); background: var(--blue-100); }
.aside-card--navy .aside-icon { color: white; background: rgba(255,255,255,.12); }
.aside-icon svg { width: 24px; height: 24px; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; gap: 15px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 21px; border: 1px solid var(--slate-200); border-radius: 17px; background: white; box-shadow: var(--shadow-sm); }
.contact-card-icon { flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: var(--blue-700); background: var(--blue-100); }
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card-copy { display: grid; }
.contact-card-copy small { color: var(--slate-600); }
.contact-card-copy strong, .contact-card-copy a { color: var(--navy-900); font-weight: 800; }
.callback-link { direction: rtl !important; text-align: right !important; line-height: 1.55; white-space: normal; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid #bfd9f6; border-radius: 14px; color: #1c4b80; background: #eef7ff; }
.notice svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; }

.privacy-content { max-width: 860px; margin-inline: auto; }
.privacy-content section { padding: 28px 0; border-bottom: 1px solid var(--slate-200); }
.privacy-content section:last-child { border-bottom: 0; }
.privacy-content h2 { color: var(--navy-900); }
.privacy-content p, .privacy-content li { color: var(--slate-700); }

.site-footer { color: #c5d7ed; background: #041226; }
.footer-main { padding: 49px 0 38px; display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 45px; }
.footer-brand h2 { margin: 0 0 8px; color: #fff; font-size: 22px; }
.footer-brand p { max-width: 540px; margin: 0; color: #92acce; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 17px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }

.empty-state { min-height: 54vh; display: grid; place-items: center; text-align: center; }
.empty-state h1 { margin: 20px 0 8px; color: var(--navy-950); font-size: 48px; }
.empty-state p { color: var(--slate-600); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 550ms ease, transform 550ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { position: fixed; inset: 78px 0 auto 0; width: 100%; max-height: calc(100dvh - 78px); overflow: auto; padding: 16px 20px 25px; background: var(--navy-950); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform 220ms ease, opacity 220ms ease, visibility 220ms; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: flex-start; }
  .menu-toggle { display: grid; place-items: center; }
  .header-contact { display: none; }
  .hero-grid { gap: 38px; }
  .logo-slot { width: 150px; height: 190px; }
  .hero-logos { gap: 25px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:last-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-item:nth-child(2) { border-left: 0; }
  .contact-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  .hero { padding: 62px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { grid-column: 1; grid-row: 1; text-align: center; }
  .hero-logos { grid-column: 1; grid-row: 2; min-height: 250px; }
  .eyebrow, .hero-region, .hero-actions { justify-content: center; }
  .hero-lead { margin-inline: auto; font-size: 17px; }
  .logo-slot { width: 135px; height: 170px; }
  .logo-divider { height: 145px; }
  .section { padding: 65px 0; }
  .cards-grid, .values-grid, .goals-layout, .about-intro, .contact-layout { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero-inner { display: block; }
  .breadcrumb { margin-top: 20px; }
  .form-card { padding: 26px 19px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .form-aside { grid-template-columns: 1fr; }
  .beneficiaries { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 70px; }
  .primary-nav { inset-block-start: 70px; max-height: calc(100dvh - 70px); }
  .brand-mark { width: 38px; height: 38px; }
  .hero-title { font-size: 37px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-logos { gap: 12px; }
  .logo-slot { width: 115px; height: 145px; }
  .logo-divider { height: 120px; }
  .cards-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-item { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .contact-item:last-child { border-bottom: 0; }
  .contact-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .feature-card { min-height: 295px; padding: 28px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* =========================================================
   الواجهة الرئيسية المعتمدة – تصميم مطابق للمرجع المرفق
   ========================================================= */
:root {
  --reference-navy: #00163d;
  --reference-navy-2: #052a6f;
  --reference-blue: #0f47d8;
  --reference-blue-2: #164fdc;
  --reference-ink: #001844;
  --reference-surface: #f5f9ff;
  --reference-container: 1438px;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: linear-gradient(100deg, #00122f 0%, #001d4f 72%, #001534 100%);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 5px 14px rgba(0, 25, 70, .16);
  backdrop-filter: none;
}

.header-inner,
.reference-header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.site-header .brand,
.site-header .header-contact {
  display: none;
}

.primary-nav {
  justify-self: auto;
}

.nav-list {
  gap: 34px;
}

.nav-link {
  min-height: 60px;
  padding: 13px 20px;
  border-radius: 12px;
  color: rgba(255,255,255,.93);
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,.08);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  transform: none;
}

.nav-link.is-active {
  color: #fff;
  background: linear-gradient(140deg, #0c3dbc, #0d48d7);
  box-shadow: 0 8px 22px rgba(7, 63, 201, .36), inset 0 1px rgba(255,255,255,.09);
}

.nav-link svg {
  width: 28px;
  height: 28px;
}

.home-page {
  background: #f5f9ff;
}

.home-page .container,
.reference-header .container {
  width: min(calc(100% - 72px), var(--reference-container));
}

.home-main {
  overflow: hidden;
}

.reference-home {
  position: relative;
  isolation: isolate;
  min-height: 846px;
  padding: 38px 0 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(118,169,238,.10), transparent 25%),
    radial-gradient(circle at 18% 23%, rgba(70,132,222,.08), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #f4f8ff 49%, #edf5ff 100%);
}

.reference-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .38;
  pointer-events: none;
  background-image:
    linear-gradient(126deg, transparent 0 72%, rgba(41,112,213,.09) 72.1% 72.25%, transparent 72.35%),
    linear-gradient(132deg, transparent 0 79%, rgba(41,112,213,.07) 79.1% 79.25%, transparent 79.35%);
}

.reference-home::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -190px;
  top: 180px;
  width: 760px;
  height: 420px;
  border-radius: 54% 0 0 52%;
  border-top: 1px solid rgba(77,137,222,.15);
  transform: rotate(-8deg);
  box-shadow:
    -44px 30px 0 -43px rgba(77,137,222,.16),
    -88px 58px 0 -87px rgba(77,137,222,.13),
    -132px 86px 0 -131px rgba(77,137,222,.10);
}

.reference-decoration {
  position: absolute;
  z-index: -1;
  width: 145px;
  height: 145px;
  opacity: .46;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(51,119,218,.32) 3px, transparent 3.5px);
  background-size: 18px 18px;
}

.reference-decoration-left {
  left: -6px;
  top: 32px;
  mask-image: linear-gradient(110deg, #000 0%, transparent 82%);
}

.reference-decoration-right {
  right: -30px;
  top: 286px;
  mask-image: linear-gradient(270deg, #000 0%, transparent 82%);
}

.reference-home-container {
  position: relative;
  z-index: 1;
}

.reference-hero-grid {
  min-height: 354px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 58px;
}

.reference-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 12px 7px 0 0;
  text-align: center;
}

.reference-hero-copy h1 {
  margin: 0;
  color: var(--reference-ink);
  font-size: clamp(48px, 4.2vw, 68px);
  line-height: 1.18;
  letter-spacing: -1.2px;
  font-weight: 800;
  text-shadow: 0 2px 1px rgba(0,25,68,.03);
}

.reference-region {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 14px 0 15px;
  color: #1049db;
  font-size: clamp(27px, 2vw, 34px);
  line-height: 1;
}

.reference-region strong {
  white-space: nowrap;
  font-weight: 800;
}

.reference-region-line {
  position: relative;
  width: 108px;
  height: 2px;
  background: #134bd8;
}

.reference-region-line::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1048d7;
  transform: translateY(-50%);
}

.reference-region-line:first-child::before { right: -1px; }
.reference-region-line:last-child::before { left: -1px; }

.reference-hero-copy p {
  margin: 0;
  color: #17213b;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.82;
  font-weight: 500;
}

.reference-logos {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 31px;
  padding-top: 3px;
}

.reference-logo {
  margin: 0;
  display: grid;
  place-items: center;
  flex: none;
}

.reference-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(18,43,93,.09));
}

.reference-logo-ministry {
  width: 252px;
  height: 327px;
}

.reference-logo-fund {
  width: 310px;
  height: 321px;
}

.reference-logo-divider {
  width: 1px;
  height: 290px;
  background: linear-gradient(transparent 0%, #7fa5df 14%, #7fa5df 86%, transparent 100%);
}

.reference-cards {
  margin-top: 10px;
  display: grid;
  direction: rtl;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.reference-card {
  position: relative;
  min-height: 250px;
  padding: 37px 42px 31px;
  overflow: hidden;
  border: 1px solid rgba(80,126,196,.17);
  border-radius: 19px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 9px 24px rgba(30,72,137,.09), inset 0 1px rgba(255,255,255,.8);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,79,185,.25);
  box-shadow: 0 17px 35px rgba(30,72,137,.13), inset 0 1px rgba(255,255,255,.8);
}

.reference-card-icon {
  position: absolute;
  top: 28px;
  right: 27px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0b3a9f;
  background: linear-gradient(145deg, #e8f0ff, #dce9ff);
}

.reference-card-icon svg {
  width: 42px;
  height: 42px;
}

.reference-card h2 {
  margin: 1px 92px 13px 0;
  color: #00143d;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
}

.reference-card p {
  margin: 0;
  color: #14203a;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 500;
}

.reference-card a {
  position: absolute;
  right: 42px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0a42dc;
  font-size: 18px;
  font-weight: 700;
}

.reference-card a svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.reference-card a:hover svg {
  transform: translateX(-4px);
}

.reference-contact-strip {
  min-height: 150px;
  margin-top: 20px;
  display: grid;
  direction: rtl;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(110deg, #062b75 0%, #052967 36%, #003184 70%, #062568 100%);
  box-shadow: 0 12px 30px rgba(2,37,102,.17), inset 0 1px rgba(255,255,255,.08);
}

.reference-contact-item {
  min-width: 0;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 14px 28px;
  border-left: 1px solid rgba(255,255,255,.24);
}

.reference-contact-item:last-child {
  border-left: 0;
}

.reference-contact-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
}

.reference-contact-icon svg {
  width: 52px;
  height: 52px;
}

.reference-contact-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  line-height: 1.5;
}

.reference-contact-copy small {
  color: rgba(255,255,255,.96);
  font-size: 18px;
  font-weight: 700;
}

.reference-contact-copy a,
.reference-contact-copy strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  direction: ltr;
  text-align: right;
}

.home-footer {
  margin-top: 0;
}

@media (min-width: 1021px) {
  .reference-header .primary-nav,
  .site-header .primary-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 1220px) {
  .home-page .container,
  .reference-header .container {
    width: min(calc(100% - 44px), 1140px);
  }

  .reference-hero-grid {
    grid-template-columns: .95fr 1.05fr;
    gap: 34px;
  }

  .reference-logo-ministry { width: 205px; height: 275px; }
  .reference-logo-fund { width: 255px; height: 274px; }
  .reference-logo-divider { height: 245px; }

  .reference-card {
    padding-inline: 29px;
  }

  .reference-card h2 {
    margin-right: 78px;
    font-size: 24px;
  }

  .reference-card-icon {
    width: 68px;
    height: 68px;
  }

  .reference-card-icon svg { width: 35px; height: 35px; }
  .reference-card p, .reference-card a { font-size: 16px; }
  .reference-card a { right: 29px; }

  .reference-contact-item {
    gap: 14px;
    padding-inline: 19px;
  }

  .reference-contact-icon { flex-basis: 46px; width: 46px; height: 46px; }
  .reference-contact-icon svg { width: 43px; height: 43px; }
  .reference-contact-copy small { font-size: 16px; }
  .reference-contact-copy a, .reference-contact-copy strong { font-size: 15px; }
}

@media (max-width: 1020px) {
  .header-inner,
  .reference-header-inner {
    min-height: 76px;
    justify-content: flex-start;
  }

  .site-header .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    width: 100%;
    max-height: calc(100dvh - 76px);
    padding: 15px 20px 25px;
    background: linear-gradient(130deg, #00122f, #002258);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
  }

  .site-header .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    align-items: stretch;
    gap: 7px;
  }

  .nav-link {
    min-height: 52px;
    justify-content: flex-start;
    font-size: 17px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .reference-home {
    padding-top: 32px;
  }

  .reference-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reference-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .reference-logos {
    grid-column: 1;
    grid-row: 2;
  }

  .reference-card h2 {
    font-size: 23px;
  }

  .reference-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-card:last-child {
    grid-column: 1 / -1;
  }

  .reference-contact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-contact-item:nth-child(2) {
    border-left: 0;
  }

  .reference-contact-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
}

@media (max-width: 700px) {
  .home-page .container,
  .reference-header .container {
    width: min(calc(100% - 28px), var(--reference-container));
  }

  .reference-home {
    padding: 30px 0 18px;
  }

  .reference-hero-copy h1 {
    font-size: clamp(35px, 10vw, 48px);
  }

  .reference-region {
    gap: 10px;
    font-size: 23px;
  }

  .reference-region-line {
    width: 55px;
  }

  .reference-region-line::before {
    width: 9px;
    height: 9px;
  }

  .reference-hero-copy p {
    font-size: 17px;
    line-height: 1.85;
  }

  .reference-hero-copy p br {
    display: none;
  }

  .reference-logos {
    gap: 14px;
  }

  .reference-logo-ministry {
    width: 136px;
    height: 185px;
  }

  .reference-logo-fund {
    width: 166px;
    height: 180px;
  }

  .reference-logo-divider {
    height: 162px;
  }

  .reference-cards {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  .reference-card,
  .reference-card:last-child {
    grid-column: auto;
    min-height: 244px;
    padding: 32px 27px 29px;
  }

  .reference-card h2 {
    margin-right: 75px;
  }

  .reference-card a {
    right: 27px;
  }

  .reference-contact-strip {
    grid-template-columns: 1fr;
    margin-top: 17px;
  }

  .reference-contact-item {
    min-height: 105px;
    justify-content: flex-start;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .reference-contact-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .reference-contact-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .reference-logo-ministry { width: 116px; height: 160px; }
  .reference-logo-fund { width: 142px; height: 158px; }
  .reference-logo-divider { height: 138px; }
  .reference-card-icon { width: 62px; height: 62px; top: 25px; right: 23px; }
  .reference-card-icon svg { width: 32px; height: 32px; }
  .reference-card h2 { margin-right: 68px; font-size: 22px; }
}

/* ضبط نهائي لأبعاد العنوان ومحتوى البطاقات وفق المرجع */
@media (min-width: 1221px) {
  .reference-hero-grid { grid-template-columns: 1.12fr .88fr; }
  .reference-hero-copy h1 { font-size: 62px; white-space: nowrap; }
}
.reference-card h2 { margin-bottom: 21px; }
.home-page [data-reveal] { opacity: 1; transform: none; }


/* تحسين وضوح الخط العربي – Cairo */
html { font-size: 16px; }
body {
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font-family: inherit; }
.hero-title, .reference-hero-copy h1 { letter-spacing: 0; }
.nav-link { font-weight: 700; }
.reference-hero-copy p { color: #101d37; font-weight: 600; }
.reference-region strong { font-weight: 800; }
.reference-card h2 { font-weight: 800; }
.reference-card p { color: #101d37; font-weight: 600; }
.reference-card a { font-weight: 800; }
.reference-contact-copy small { font-weight: 700; }
.reference-contact-copy a, .reference-contact-copy strong { font-weight: 600; }
.page-hero h1, .section-title, .form-card h2 { font-weight: 800; }
.page-hero p, .about-copy p, .value-card p, .aside-card p, .privacy-content p, .section-copy {
  color: #34475f;
  font-weight: 500;
}
.page-hero p { color: #d8e8fb; font-size: 18px; }
.about-copy p { font-size: 18px; line-height: 2; }
.form-label, .goal-list li, .checkbox-row, .notice { font-weight: 600; }
.form-control { font-weight: 500; color: #13233d; }
.footer-brand p, .footer-links, .footer-bottom-inner { font-weight: 500; }
@media (min-width: 1221px) {
  .reference-hero-copy h1 { font-size: 61px; }
}
@media (max-width: 700px) {
  .reference-card p { font-size: 17px; }
  .reference-card a { font-size: 17px; }
}

/* =========================================================
   صفحة «خدماتنا» والتحسينات العامة للصفحات الداخلية
   ========================================================= */
body { overflow-x: hidden; }
.header-inner { position: relative; }







.services-page {
  color: var(--slate-900);
  background: #fbfdff;
}

.services-page-hero p {
  max-width: 910px;
  line-height: 2;
}

.services-section {
  background: #fff;
}

.services-section .section-heading,
.services-activities-section .section-heading {
  margin-bottom: 38px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 190px;
  padding: 32px 30px 29px;
  overflow: hidden;
  border: 1px solid #d5e3f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 43, 91, .07);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}

.service-card::after {
  content: "";
  position: absolute;
  left: -55px;
  bottom: -76px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(38, 131, 239, .045);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #b7d1ed;
  box-shadow: 0 17px 38px rgba(8, 43, 91, .11);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: var(--navy-900);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 800;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #40516a;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 500;
}

.services-activities-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(38,131,239,.08), transparent 25%),
    radial-gradient(circle at 90% 90%, rgba(21,89,183,.06), transparent 28%),
    #f1f7ff;
}

.activities-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.activity-card {
  min-height: 265px;
  padding: 38px 34px;
  border: 1px solid #cbdff4;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 13px 34px rgba(8, 43, 91, .08);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: #aac9ea;
  box-shadow: 0 19px 42px rgba(8, 43, 91, .12);
}

.activity-card h3 {
  margin: 0 0 17px;
  color: var(--navy-900);
  font-size: 25px;
  line-height: 1.5;
  font-weight: 800;
}

.activity-card p {
  margin: 0;
  color: #3d506a;
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}

.services-closing-strip {
  padding: 36px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(115deg, #041b43 0%, #073a83 52%, #041b43 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.services-closing-strip p {
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.9;
  font-weight: 700;
}

.services-footer {
  border-top: 1px solid rgba(255,255,255,.08);
}

.services-footer-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #c5d7ed;
  font-size: 14px;
}

.services-footer-inner strong {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

@media (min-width: 1021px) and (max-width: 1280px) {
  .nav-list { gap: 17px; }
  .nav-link {
    padding-inline: 15px;
    font-size: 16px;
  }
}

@media (max-width: 1020px) {

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .services-page-hero p {
    font-size: 16px;
    line-height: 1.95;
  }

  .services-grid,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-card:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: 0;
    padding: 29px 24px 25px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-card p,
  .activity-card p {
    font-size: 16px;
    line-height: 1.9;
  }

  .activity-card {
    min-height: 0;
    padding: 31px 25px;
  }

  .activity-card h3 {
    font-size: 23px;
  }

  .services-footer-inner {
    min-height: 130px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
}


/* عرض محتوى صفحة الخدمات مباشرة من دون مؤثرات تؤخر ظهوره. */
.services-page [data-reveal] {
  opacity: 1;
  transform: none;
}


/* =========================================================
   إصلاح نهائي: شعار الصندوق وأيقونات بطاقات الواجهة الرئيسية
   ========================================================= */

/* أزيلت الشعارات الصغيرة من الشريط العلوي في جميع الصفحات. */

/* تصغير أيقونات البطاقات ووضعها ضمن تدفق المحتوى حتى لا تحجب العناوين. */
.reference-card {
  padding: 30px 32px 78px;
}

.reference-card-icon {
  position: static;
  float: right;
  width: 44px;
  height: 44px;
  margin: 0 0 12px 13px;
  border-radius: 12px;
  background: #e7f0ff;
  box-shadow: inset 0 0 0 1px rgba(25, 91, 189, .08);
}

.reference-card-icon svg {
  width: 21px;
  height: 21px;
}

.reference-card h2 {
  min-height: 44px;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 24px;
  line-height: 1.45;
}

.reference-card p {
  clear: both;
  margin-top: 16px;
}

.reference-card a {
  right: 32px;
}

@media (max-width: 1220px) {
  .reference-card {
    padding: 28px 27px 74px;
  }

  .reference-card-icon {
    width: 42px;
    height: 42px;
    margin-left: 12px;
  }

  .reference-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .reference-card h2 {
    min-height: 42px;
    margin: 0;
    font-size: 22px;
  }

  .reference-card a {
    right: 27px;
  }
}

@media (max-width: 700px) {
  .reference-card,
  .reference-card:last-child {
    min-height: 230px;
    padding: 27px 24px 72px;
  }

  .reference-card-icon {
    width: 40px;
    height: 40px;
    margin: 0 0 10px 11px;
    border-radius: 11px;
  }

  .reference-card-icon svg {
    width: 19px;
    height: 19px;
  }

  .reference-card h2 {
    min-height: 40px;
    margin: 0;
    font-size: 21px;
  }

  .reference-card p {
    margin-top: 14px;
  }

  .reference-card a {
    right: 24px;
    bottom: 24px;
  }
}


/* Privacy policy and form notice */
.privacy-effective-date {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid var(--blue-100);
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--navy-900);
  font-size: 14px;
}
.privacy-contact-list {
  margin: 14px 0 0;
  padding: 0 22px 0 0;
  color: var(--slate-700);
}
.privacy-contact-list li + li { margin-top: 8px; }
.privacy-contact-list a { color: var(--blue-700); font-weight: 700; }
.privacy-consent {
  margin: -2px 0 2px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.9;
}
.privacy-consent a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Contact value direction */
[data-email-link] {
  direction: ltr;
  unicode-bidi: isolate;
}


/* Final contrast fix for the navy correspondence information card */
.aside-card.aside-card--navy h3 {
  color: #ffffff;
  font-weight: 800;
}
.aside-card.aside-card--navy p {
  color: #f4f8ff;
  font-weight: 600;
}
.aside-card.aside-card--navy .aside-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, .16);
}
