
:root {
  --navy-950: #2f2341;
  --navy-900: #6e4d9e;
  --navy-800: #7e5cab;
  --navy-700: #4b8fae;
  --gold-500: #f49e24;
  --gold-400: #f4b227;
  --gold-200: #fff0c9;
  --cream: #fcfaff;
  --white: #ffffff;
  --ink: #30253b;
  --muted: #72697d;
  --line: rgba(13, 33, 59, 0.12);
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.13);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Tajawal", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: linear-gradient(rgba(11,31,58,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -3;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.page-glow { position: fixed; border-radius: 50%; filter: blur(80px); opacity: .2; pointer-events: none; z-index: -2; }
.page-glow--one { width: 420px; height: 420px; background: var(--gold-400); top: -160px; left: -120px; }
.page-glow--two { width: 520px; height: 520px; background: #77a9d0; bottom: -230px; right: -230px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: .3s ease;
}
.site-header.scrolled {
  padding: 9px 0;
  background: rgba(251,248,241,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; justify-content: center; text-align: center; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  overflow: hidden; padding: 0;
  width: 49px; height: 49px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-400);
  font-family: "Tajawal", Tahoma, Arial, sans-serif; font-weight: 800; font-size: 17px;
  box-shadow: 0 10px 26px rgba(11,31,58,.15);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.35; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.brand-copy strong { font-family: "Tajawal", Tahoma, Arial, sans-serif; font-size: 15px; display: block; line-height: 1.2; }
.brand-copy small { color: var(--muted); font-size: 11px; display: block; margin-top: 7px; line-height: 1.5; }
.main-nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 14px; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; right: 0; bottom: -7px; width: 0; height: 2px;
  background: var(--gold-500); transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--navy-900); color: var(--white); }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--navy-900); border-radius: 99px; }

.hero { padding-top: 170px; min-height: 830px; display: flex; align-items: center; }
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(213,167,59,.18);
  border-radius: 50%; left: -370px; top: 40px; box-shadow: 0 0 0 80px rgba(213,167,59,.03), 0 0 0 160px rgba(213,167,59,.02);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 80px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--navy-700); font-weight: 700; font-size: 13px; letter-spacing: .1px; }
.eyebrow span { width: 34px; height: 2px; background: var(--gold-500); }
.eyebrow--light { color: var(--gold-200); }
.hero h1, .section-heading h2, .booking-copy h2 {
  font-family: "Tajawal", Tahoma, Arial, sans-serif;
  margin: 18px 0 22px; line-height: 1.45; letter-spacing: -.8px;
}
.hero h1 { font-size: clamp(44px, 5vw, 70px); }
em { color: var(--gold-500); font-style: normal; }
.hero-lead { max-width: 670px; color: #4e5b6c; font-size: 18px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }
.btn {
  border: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 24px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy-900); color: var(--white); box-shadow: 0 16px 34px rgba(11,31,58,.18); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.68); }
.btn-gold { width: 100%; background: var(--gold-500); color: var(--navy-950); }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #6c7786; font-size: 13px; }
.hero-trust i { width: 4px; height: 4px; background: var(--gold-500); border-radius: 50%; }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.portrait-shell { position: relative; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.portrait-shell::before {
  content: ""; position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #183b61, #071426 68%);
  box-shadow: 0 35px 80px rgba(7,20,38,.3);
}
.portrait-shell img {
  position: relative; z-index: 3; width: 73%; aspect-ratio: 1; object-fit: cover; object-position: center 5%;
  border-radius: 50%; border: 8px solid rgba(255,255,255,.92); box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.portrait-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(213,167,59,.5); }
.portrait-ring--one { inset: 2%; animation: spin 24s linear infinite; }
.portrait-ring--one::before, .portrait-ring--two::before { content: ""; position: absolute; width: 11px; height: 11px; background: var(--gold-500); border-radius: 50%; top: 10%; right: 15%; box-shadow: 0 0 0 7px rgba(213,167,59,.14); }
.portrait-ring--two { inset: 15%; border-color: rgba(255,255,255,.22); animation: spinReverse 18s linear infinite; }
.portrait-ring--two::before { width: 7px; height: 7px; top: auto; right: auto; bottom: 9%; left: 13%; background: #9fc5e5; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
.portrait-badge {
  position: absolute; z-index: 4; min-width: 150px; padding: 14px 18px; border-radius: 18px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.portrait-badge strong { display: block; width: 100%; color: var(--navy-900); font-family: "Tajawal"; font-size: 17px; text-align: center; }
.portrait-badge span { display: block; width: 100%; color: var(--muted); font-size: 11px; text-align: center; margin-top: 6px; }
.portrait-badge--top { top: 10%; right: -2%; }
.portrait-badge--bottom { bottom: 8%; left: -5%; }
.signature-card {
  position: absolute; z-index: 5; bottom: 0; right: 50%; transform: translateX(50%);
  background: var(--navy-900); color: var(--white); padding: 17px 26px; border-radius: 18px; text-align: center; min-width: 300px;
  box-shadow: 0 20px 44px rgba(7,20,38,.22);
}
.signature-card span { display: block; font-family: "Tajawal"; font-weight: 700; font-size: 14px; }
.signature-card small { color: var(--gold-400); }

.numbers-strip { background: var(--white); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; text-align: center; border-left: 1px solid var(--line); }
.stat:last-child { border-left: 0; }
.stat strong { display: block; color: var(--navy-900); font-family: "Tajawal"; font-size: 38px; line-height: 1.3; }
.stat span { color: var(--muted); font-size: 13px; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading h2 { font-size: clamp(31px, 4vw, 48px); }
.section-heading p { color: var(--muted); max-width: 720px; margin: 0; }
.section-heading--center { text-align: center; max-width: 800px; margin: 0 auto 54px; }
.section-heading--center .eyebrow { justify-content: center; }
.about-copy { font-size: 17px; color: #4f5b6b; }
.strengths { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.strengths span { padding: 8px 14px; border-radius: 999px; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 12px; }

.section-dark {
  background: var(--navy-950); color: var(--white); overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(213,167,59,.12), transparent 30%), radial-gradient(circle at 90% 80%, rgba(72,128,171,.14), transparent 28%);
}
.section-dark .section-heading p { color: rgba(255,255,255,.62); margin-inline: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.service-card {
  min-height: 320px; padding: 30px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.10); transition: .3s ease;
}
.service-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: rgba(213,167,59,.10); left: -60px; bottom: -60px; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(213,167,59,.42); background: rgba(255,255,255,.14); }
.service-no { color: var(--gold-400); font-weight: 800; font-size: 13px; letter-spacing: 1px; }
.service-card h3 { font-family: "Tajawal"; font-size: 20px; margin: 16px 0 10px; }
.service-card p { color: rgba(255,255,255,.80); font-size: 14px; }
.service-card ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.service-card li { font-size: 11px; color: var(--gold-200); border: 1px solid rgba(213,167,59,.22); padding: 5px 10px; border-radius: 999px; }

.journey-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.timeline { position: relative; padding-right: 30px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; right: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding: 0 30px 36px 0; }
.timeline-item::before { content: ""; position: absolute; right: -30px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold-500); }
.timeline-year { color: var(--gold-500); font-weight: 800; font-size: 12px; }
.timeline-item h3 { margin: 7px 0 4px; font-family: "Tajawal"; font-size: 19px; }
.timeline-item p { color: var(--muted); margin: 0; }
.timeline-item--accent { padding: 26px 30px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); }
.timeline-item--accent::before { top: 34px; }
.timeline-item--accent p { color: rgba(255,255,255,.66); }

.qualifications { background: #f3efe6; }
.qualification-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qualification-card { padding: 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.72); border: 1px solid rgba(11,31,58,.09); box-shadow: 0 16px 40px rgba(7,20,38,.05); }
.qualification-year { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--gold-200); color: var(--navy-900); font-weight: 800; font-size: 12px; }
.qualification-card h3 { font-family: "Tajawal"; font-size: 17px; margin: 16px 0 6px; }
.qualification-card p { color: var(--muted); font-size: 13px; margin: 0; }

.insight-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.insight-card { min-height: 460px; border-radius: var(--radius-xl); padding: 50px; background: linear-gradient(150deg, var(--navy-900), #173f66); color: var(--white); display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); }
.quote-mark { font-family: Georgia, serif; font-size: 100px; line-height: .6; color: var(--gold-400); }
.insight-card blockquote { margin: 20px 0 28px; font-family: "Tajawal"; font-size: clamp(22px, 3vw, 34px); line-height: 1.8; }
.insight-card p { color: var(--gold-200); }
.process ol { list-style: none; padding: 0; counter-reset: process; }
.process li { counter-increment: process; display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process li::before { content: "0" counter(process); width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--white); color: var(--gold-500); font-weight: 800; box-shadow: 0 8px 20px rgba(7,20,38,.06); grid-row: span 2; }
.process strong { font-family: "Tajawal"; }
.process span { color: var(--muted); font-size: 13px; }

.booking-section { background: var(--navy-900); color: var(--white); }
.booking-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.booking-copy h2 { font-size: clamp(32px, 4vw, 48px); }
.booking-copy p { color: rgba(255,255,255,.66); }
.booking-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.booking-features span { border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 7px 12px; font-size: 12px; color: var(--gold-200); }
.booking-form { background: var(--white); color: var(--ink); border-radius: var(--radius-xl); padding: 34px; box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form label { display: grid; gap: 8px; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.booking-form input, .booking-form textarea, .booking-form select {
  width: 100%; border: 1px solid var(--line); background: #fafbfc; border-radius: 12px; padding: 12px 14px; outline: none; transition: border .2s ease, box-shadow .2s ease;
}
.booking-form input:focus, .booking-form textarea:focus, .booking-form select:focus { border-color: var(--community-orange); box-shadow: 0 0 0 4px rgba(213,167,59,.12); }
.booking-form textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: 11px; text-align: center; }
.form-result { display: none; margin-top: 16px; border-radius: 14px; padding: 14px; background: #f6f2e6; color: var(--navy-900); white-space: pre-wrap; font-size: 12px; }
.form-result.visible { display: block; }

.site-footer { background: var(--navy-950); color: var(--white); padding: 70px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .65fr 2.2fr; gap: 42px; align-items: start; }
.brand--footer .brand-mark { background: var(--gold-500); color: var(--navy-950); }
.brand--footer .brand-copy small { color: rgba(255,255,255,.5); }
.footer-grid p { color: rgba(255,255,255,.55); max-width: 520px; }
.footer-grid h3 { font-family: "Tajawal"; font-size: 14px; color: var(--gold-400); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a, .footer-grid span { color: rgba(255,255,255,.64); font-size: 13px; }

.social-links { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; width: 100%; max-width: 760px; }
.social-links a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.10); border-radius: 10px; transition: .2s ease; }
.social-links a:hover { border-color: var(--community-orange); color: var(--white); transform: translateY(-2px); }
.social-links b { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); }
.social-links b svg { width: 14px; height: 14px; display: block; fill: currentColor; }
.social-links a:hover b { background: var(--community-cyan); transform: scale(1.06); }
.social-links span { font-size: 12px; }

.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: center; text-align: center; color: rgba(255,255,255,.4); font-size: 11px; }
.floating-contact { position: fixed; left: 22px; bottom: 22px; z-index: 40; background: var(--gold-500); color: var(--navy-950); padding: 13px 18px; border-radius: 999px; font-weight: 800; font-size: 12px; box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 100; background: var(--navy-950); color: var(--white); border-radius: 14px; padding: 12px 18px; transition: .25s ease; box-shadow: var(--shadow); font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* إظهار المحتوى افتراضيًا حتى لو تعطلت JavaScript أو إضافات التحسين */
.reveal { opacity: 1 !important; transform: none !important; transition: opacity .75s ease, transform .75s ease; }
.reveal.in-view { opacity: 1 !important; transform: none !important; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (max-width: 1020px) {
  .hero-grid, .about-grid, .journey-grid, .insight-grid, .booking-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 135px; }
  .hero-content { text-align: center; }
  .hero-content .eyebrow, .hero-actions, .hero-trust { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { min-height: 500px; }
  .services-grid, .qualification-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { max-width: 760px; }
}

@media (max-width: 760px) {
  .social-links { grid-template-columns: repeat(2, minmax(130px, 1fr)); width: 100%; max-width: none; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 78px 0; }
  .site-header { background: rgba(251,248,241,.92); backdrop-filter: blur(15px); border-bottom: 1px solid var(--line); }
  .brand-copy { display: none; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 72px; right: 12px; left: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border: 0; text-align: center; margin-top: 6px; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: 41px; }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 390px; }
  .portrait-shell { width: 340px; }
  .portrait-badge { min-width: 125px; padding: 10px 13px; }
  .portrait-badge strong { font-size: 13px; }
  .portrait-badge span { font-size: 9px; }
  .signature-card { min-width: 245px; padding: 13px 18px; }
  .signature-card span { font-size: 11px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .services-grid, .qualification-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .insight-card { min-height: auto; padding: 32px; }
  .booking-form { padding: 22px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-contact { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


.ltr-content { direction: ltr; unicode-bidi: isolate; display: inline-block; }


/* هوية المشاركة المجتمعية مع الإبقاء على الخط الموحّد والانتقالات */
:root {
  --site-font: "Tajawal", Tahoma, Arial, sans-serif;
  --community-purple: #6e4d9e;
  --community-orange: #f49e24;
  --community-cyan: #55bde1;
  --community-aqua: #71c3bf;
  --navy-950: #2f2341;
  --navy-900: #6e4d9e;
  --navy-800: #7e5cab;
  --navy-700: #4b8fae;
  --gold-500: #f49e24;
  --gold-400: #f4b227;
  --gold-200: #fff0c9;
  --cream: #fcfaff;
  --ink: #30253b;
  --muted: #72697d;
  --line: rgba(110, 77, 158, .16);
  --shadow: 0 24px 70px rgba(47, 35, 65, .14);
}

html, body, button, input, textarea, select,
.hero h1, .section-heading h2, .booking-copy h2,
.brand-mark, .brand-copy strong, .portrait-badge strong,
.signature-card span, .stat strong, .service-card h3,
.timeline-item h3, .qualification-card h3,
.insight-card blockquote, .process strong, .footer-grid h3,
.pricing-type, .pricing-price strong {
  font-family: var(--site-font) !important;
}

body::before {
  background-image:
    linear-gradient(rgba(110,77,158,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,77,158,.035) 1px, transparent 1px);
}
.page-glow--one { background: var(--community-orange); }
.page-glow--two { background: var(--community-cyan); }
.site-header.scrolled { background: rgba(252,250,255,.92); }

/* الأسعار */
.pricing-section { background: #f8f4fc; }
.pricing-section .section-heading p { max-width: 660px; margin: 18px auto 0; color: var(--muted); }
.pricing-grid {
  width: min(100%, 900px);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pricing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 360px;
  padding: 42px 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 55px rgba(47,35,65,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--community-purple), var(--community-orange), var(--community-cyan));
}
.pricing-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--community-cyan), var(--community-purple), var(--community-orange));
}
.pricing-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(244,158,36,.10);
  left: -85px;
  bottom: -85px;
  pointer-events: none;
}
.pricing-card:nth-child(2)::after { background: rgba(85,189,225,.12); }
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110,77,158,.32);
  box-shadow: 0 28px 70px rgba(47,35,65,.14);
}
.pricing-type { color: var(--navy-900); font-size: 21px; font-weight: 800; display: block; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 9px; margin: 24px 0 14px; direction: ltr; }
.pricing-price strong { color: var(--gold-500); font-size: clamp(50px, 6vw, 68px); line-height: 1; font-weight: 900; }
.pricing-price span { color: var(--community-cyan); font-weight: 800; direction: rtl; }
.pricing-card p { color: var(--muted); max-width: 330px; margin: 0 auto 28px; }
.pricing-button { margin-top: auto; min-width: 170px; position: relative; z-index: 1; }

/* النقاط الصغيرة مرتبطة بانتقالات الأقسام */
.eyebrow span {
  background: linear-gradient(90deg, var(--community-purple), var(--community-orange), var(--community-cyan));
  border-radius: 999px;
  transition: width .45s ease, filter .45s ease;
}
.reveal.in-view .eyebrow span,
.section-heading.in-view .eyebrow span { width: 46px; filter: saturate(1.12); }

.section-heading.reveal { position: relative; }
.section-heading.reveal::after {
  content: "";
  display: block;
  width: 64px;
  height: 10px;
  margin-top: 20px;
  background:
    radial-gradient(circle at 5px 5px, var(--community-purple) 0 4px, transparent 4.5px),
    radial-gradient(circle at 32px 5px, var(--community-orange) 0 4px, transparent 4.5px),
    radial-gradient(circle at 59px 5px, var(--community-cyan) 0 4px, transparent 4.5px);
  opacity: 0;
  transform: translateX(20px) scale(.72);
  transform-origin: center;
  transition: opacity .55s ease .22s, transform .65s cubic-bezier(.2,.75,.2,1) .22s;
}
.section-heading--center.reveal::after { margin-inline: auto; }
.section-heading.reveal.in-view::after {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: communityDotsFlow 2.8s ease-in-out 1s infinite;
}

.hero-trust i {
  box-shadow: 0 0 0 0 rgba(110,77,158,.25);
  animation: communityDotPulse 2.2s ease-in-out infinite;
}
.hero-trust i:nth-of-type(1) { background: var(--community-purple); animation-delay: 0s; }
.hero-trust i:nth-of-type(2) { background: var(--community-orange); animation-delay: .25s; }
.hero-trust i:nth-of-type(3) { background: var(--community-cyan); animation-delay: .5s; }

.timeline-item::before {
  transition: transform .45s ease, background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.timeline.in-view .timeline-item::before {
  animation: timelineDotIn .7s cubic-bezier(.2,.8,.2,1) both, communityDotPulse 2.4s ease-in-out 1s infinite;
}
.timeline.in-view .timeline-item:nth-child(1)::before { background: var(--community-purple); border-color: var(--community-purple); animation-delay: .08s, 1s; }
.timeline.in-view .timeline-item:nth-child(2)::before { background: var(--community-orange); border-color: var(--community-orange); animation-delay: .18s, 1.2s; }
.timeline.in-view .timeline-item:nth-child(3)::before { background: var(--community-cyan); border-color: var(--community-cyan); animation-delay: .28s, 1.4s; }
.timeline.in-view .timeline-item:nth-child(4)::before { background: var(--community-aqua); border-color: var(--community-aqua); animation-delay: .38s, 1.6s; }

.portrait-ring--one::before { background: var(--community-orange); box-shadow: 0 0 0 7px rgba(244,158,36,.18); }
.portrait-ring--two::before { background: var(--community-cyan); box-shadow: 0 0 0 6px rgba(85,189,225,.16); }

.reveal {
  filter: blur(4px);
  transform: translateY(30px) scale(.985);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1), filter .75s ease;
}
.reveal.in-view { filter: blur(0); transform: translateY(0) scale(1); }

@keyframes communityDotsFlow {
  0%, 100% { filter: saturate(1); transform: translateX(0) scale(1); }
  35% { filter: saturate(1.28); transform: translateX(-4px) scale(1.08); }
  70% { filter: saturate(1.08); transform: translateX(4px) scale(.96); }
}
@keyframes communityDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(110,77,158,.20); }
  50% { transform: scale(1.55); box-shadow: 0 0 0 6px rgba(85,189,225,0); }
}
@keyframes timelineDotIn {
  from { opacity: 0; transform: scale(.25); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 820px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: auto; }
}

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



/* روابط مجالات الخبرة: تنقل المستخدم إلى النتيجة المرتبطة */
html { scroll-behavior: smooth; }
.hero-trust a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 999px;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}
.hero-trust a:hover,
.hero-trust a:focus-visible {
  color: var(--community-purple);
  background: rgba(213, 167, 59, .12);
  transform: translateY(-1px);
  outline: none;
}
.service-card { scroll-margin-top: 120px; }
.service-card.trust-highlight {
  animation: trustResultPulse 1.6s ease;
  border-color: var(--community-orange);
}
@keyframes trustResultPulse {
  0% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(248, 158, 22, .34); }
  35% { transform: translateY(-7px); box-shadow: 0 0 0 12px rgba(248, 158, 22, .10), 0 22px 45px rgba(113, 75, 163, .16); }
  100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(248, 158, 22, 0); }
}

/* الرمز الرسمي للريال السعودي */
.sar-symbol {
  width: 27px;
  height: 31px;
  display: inline-block;
  flex: 0 0 auto;
  background-color: var(--community-cyan);
  -webkit-mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTI0LjE0IDEyNTYuMzkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTY5OS42MiwxMTEzLjAyaDBjLTIwLjA2LDQ0LjQ4LTMzLjMyLDkyLjc1LTM4LjQsMTQzLjM3bDQyNC41MS05MC4yNGMyMC4wNi00NC40NywzMy4zMS05Mi43NSwzOC40LTE0My4zN2wtNDI0LjUxLDkwLjI0WiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEwODUuNzMsODk1LjhjMjAuMDYtNDQuNDcsMzMuMzItOTIuNzUsMzguNC0xNDMuMzdsLTMzMC42OCw3MC4zM3YtMTM1LjJsMjkyLjI3LTYyLjExYzIwLjA2LTQ0LjQ3LDMzLjMyLTkyLjc1LDM4LjQtMTQzLjM3bC0zMzAuNjgsNzAuMjdWNjYuMTNjLTUwLjY3LDI4LjQ1LTk1LjY3LDY2LjMyLTEzMi4yNSwxMTAuOTl2NDAzLjM1bC0xMzIuMjUsMjguMTFWMGMtNTAuNjcsMjguNDQtOTUuNjcsNjYuMzItMTMyLjI1LDExMC45OXY1MjUuNjlsLTI5NS45MSw2Mi44OGMtMjAuMDYsNDQuNDctMzMuMzMsOTIuNzUtMzguNDIsMTQzLjM3bDMzNC4zMy03MS4wNXYxNzAuMjZsLTM1OC4zLDc2LjE0Yy0yMC4wNiw0NC40Ny0zMy4zMiw5Mi43NS0zOC40LDE0My4zN2wzNzUuMDQtNzkuN2MzMC41My02LjM1LDU2Ljc3LTI0LjQsNzMuODMtNDkuMjRsNjguNzgtMTAxLjk3di0uMDJjNy4xNC0xMC41NSwxMS4zLTIzLjI3LDExLjMtMzYuOTd2LTE0OS45OGwxMzIuMjUtMjguMTF2MjcwLjRsNDI0LjUzLTkwLjI4WiIvPgo8L3N2Zz4=") center / contain no-repeat;
  mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTI0LjE0IDEyNTYuMzkiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTY5OS42MiwxMTEzLjAyaDBjLTIwLjA2LDQ0LjQ4LTMzLjMyLDkyLjc1LTM4LjQsMTQzLjM3bDQyNC41MS05MC4yNGMyMC4wNi00NC40NywzMy4zMS05Mi43NSwzOC40LTE0My4zN2wtNDI0LjUxLDkwLjI0WiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEwODUuNzMsODk1LjhjMjAuMDYtNDQuNDcsMzMuMzItOTIuNzUsMzguNC0xNDMuMzdsLTMzMC42OCw3MC4zM3YtMTM1LjJsMjkyLjI3LTYyLjExYzIwLjA2LTQ0LjQ3LDMzLjMyLTkyLjc1LDM4LjQtMTQzLjM3bC0zMzAuNjgsNzAuMjdWNjYuMTNjLTUwLjY3LDI4LjQ1LTk1LjY3LDY2LjMyLTEzMi4yNSwxMTAuOTl2NDAzLjM1bC0xMzIuMjUsMjguMTFWMGMtNTAuNjcsMjguNDQtOTUuNjcsNjYuMzItMTMyLjI1LDExMC45OXY1MjUuNjlsLTI5NS45MSw2Mi44OGMtMjAuMDYsNDQuNDctMzMuMzMsOTIuNzUtMzguNDIsMTQzLjM3bDMzNC4zMy03MS4wNXYxNzAuMjZsLTM1OC4zLDc2LjE0Yy0yMC4wNiw0NC40Ny0zMy4zMiw5Mi43NS0zOC40LDE0My4zN2wzNzUuMDQtNzkuN2MzMC41My02LjM1LDU2Ljc3LTI0LjQsNzMuODMtNDkuMjRsNjguNzgtMTAxLjk3di0uMDJjNy4xNC0xMC41NSwxMS4zLTIzLjI3LDExLjMtMzYuOTd2LTE0OS45OGwxMzIuMjUtMjguMTF2MjcwLjRsNDI0LjUzLTkwLjI4WiIvPgo8L3N2Zz4=") center / contain no-repeat;
  transform: translateY(3px);
}
.sr-only {
  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;
}
.pricing-card .sar-symbol { background-color: var(--community-cyan) !important; }



/* ضبط التناسق بعد التحديث */
.portrait-badge--bottom { bottom: 14%; }
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin-inline: auto;
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
  .portrait-badge--bottom { bottom: 11%; }
}



/* حقل مدة الجلسة */
.field-hint { color: var(--muted); font-size: 12px; font-weight: 600; margin-inline-start: 6px; }


/* الرحلة العلمية التفاعلية */
.qualification-journey {
  background:
    radial-gradient(circle at 90% 12%, rgba(85,189,225,.10), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(244,158,36,.09), transparent 30%),
    #fbf9fd;
  overflow: hidden;
}
.qualification-journey .section-heading p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
}
.journey-summary {
  width: max-content;
  margin: 24px auto 0;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(110,77,158,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 34px rgba(47,35,65,.06);
}
.journey-summary strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--community-orange);
  color: #fff;
  font-size: 16px;
}
.journey-summary span { color: var(--navy-900); font-weight: 700; font-size: 13px; }
.academic-journey { margin-top: 54px; }
.journey-years {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  max-width: 920px;
  margin: 0 auto 32px;
  padding: 0 14px;
}
.journey-years::before {
  content: "";
  position: absolute;
  right: 8%;
  left: 8%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(85,189,225,.40), rgba(110,77,158,.50), rgba(244,158,36,.46));
}
.journey-year {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 46px;
  margin: auto;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: 800 13px/1 var(--site-font);
  box-shadow: 0 9px 25px rgba(47,35,65,.08);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.journey-year::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  right: 50%;
  bottom: -17px;
  transform: translateX(50%);
  background: var(--community-cyan);
  box-shadow: 0 0 0 4px #fbf9fd;
}
.journey-year:hover { transform: translateY(-3px); color: var(--community-purple); }
.journey-year.is-active {
  background: var(--community-purple);
  color: #fff;
  box-shadow: 0 15px 34px rgba(110,77,158,.22);
}
.journey-year.is-active::after { background: var(--community-orange); transform: translateX(50%) scale(1.28); }
.journey-stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 16px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.journey-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(110,77,158,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.90);
  color: var(--community-purple);
  box-shadow: 0 12px 30px rgba(47,35,65,.08);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.journey-arrow:hover { transform: translateY(-3px); background: var(--community-purple); color: #fff; }
.journey-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-feature {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(110,77,158,.13);
  border-radius: 34px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 28px 75px rgba(47,35,65,.10);
}
.journey-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--community-purple), var(--community-orange), var(--community-cyan));
}
.journey-feature.is-changing { animation: journeySwap .38s ease both; }
@keyframes journeySwap {
  0% { opacity: .42; transform: translateY(7px) scale(.992); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.journey-feature-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #382a4d, #49365f);
}
.journey-feature-visual::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,.03) 60%, transparent 61%);
}
.journey-feature-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 176px;
  height: 112px;
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.journey-feature-mark svg,
.journey-feature-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.20);
}
.journey-feature-flag {
  position: absolute;
  z-index: 3;
  left: 36px;
  bottom: 30px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--community-purple);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .35px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.journey-feature-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(244,158,36,.33);
}
.journey-feature-orbit--one { width: 250px; height: 250px; }
.journey-feature-orbit--two { width: 310px; height: 310px; border-color: rgba(85,189,225,.22); }
.journey-feature-content {
  padding: 46px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.journey-feature-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.journey-feature-year {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--community-orange);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}
.journey-feature-category {
  padding: 7px 13px;
  border: 1px solid rgba(110,77,158,.15);
  border-radius: 999px;
  background: rgba(110,77,158,.07);
  color: var(--community-purple);
  font-weight: 800;
  font-size: 12px;
}
.journey-feature-title {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.45;
}
.journey-feature-institution { margin: 0 0 7px; color: var(--community-purple); font-weight: 800; font-size: 17px; }
.journey-feature-detail { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.journey-feature-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
.journey-feature-meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-900); font-size: 12px; font-weight: 700; }
.journey-feature-meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--community-cyan); }
.journey-feature-meta span:nth-child(2) i { background: var(--community-orange); }
.journey-thumbs {
  max-width: 1040px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.journey-thumb {
  position: relative;
  min-height: 86px;
  padding: 15px 44px 14px 15px;
  border: 1px solid rgba(110,77,158,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  text-align: right;
  font-family: var(--site-font);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.journey-thumb:hover { transform: translateY(-3px); border-color: rgba(110,77,158,.32); }
.journey-thumb.is-active {
  border-color: var(--community-purple);
  background: #fff;
  box-shadow: 0 12px 30px rgba(47,35,65,.08);
}
.journey-thumb-year { display: block; margin-bottom: 5px; color: var(--community-orange); font-size: 12px; font-weight: 900; }
.journey-thumb-title { display: block; color: var(--navy-900); font-size: 12px; font-weight: 800; line-height: 1.55; }
.journey-thumb-flag { position: absolute; right: 13px; top: 50%; width: 24px; height: 18px; transform: translateY(-50%); display: block; overflow: hidden; border-radius: 4px; box-shadow: 0 2px 7px rgba(0,0,0,.16); }
.journey-thumb-flag svg, .journey-thumb-flag img { width: 100%; height: 100%; display: block; object-fit: cover; }
@media (max-width: 900px) {
  .journey-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 9px; }
  .journey-feature { grid-template-columns: 230px minmax(0, 1fr); }
  .journey-feature-content { padding: 34px 30px; }
  .journey-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .journey-years { grid-template-columns: repeat(5, minmax(58px, 1fr)); overflow-x: auto; padding: 6px 0 20px; }
  .journey-years::before { right: 10%; left: 10%; }
  .journey-year { width: 62px; height: 42px; }
  .journey-stage { grid-template-columns: 1fr; }
  .journey-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; }
  .journey-arrow:hover { transform: translateY(-50%); }
  .journey-arrow--prev { right: 14px; }
  .journey-arrow--next { left: 14px; }
  .journey-feature { grid-template-columns: 1fr; min-height: 0; }
  .journey-feature-visual { min-height: 230px; }
  .journey-feature-mark { width: 128px; height: 94px; border-radius: 22px; padding: 8px; }
  .journey-feature-orbit--one { width: 190px; height: 190px; }
  .journey-feature-orbit--two { width: 245px; height: 245px; }
  .journey-feature-flag { left: 24px; bottom: 22px; width: 46px; height: 46px; font-size: 12px; }
  .journey-feature-content { padding: 28px 24px 34px; text-align: center; align-items: center; }
  .journey-feature-topline { justify-content: center; }
  .journey-feature-meta { justify-content: center; }
  .journey-thumbs { grid-template-columns: 1fr; }
}


/* مؤهلات علمية — إعادة بناء كاملة بدون تموضع مطلق للأعلام */
.credentials-showcase {
  max-width: 1080px;
  margin: 46px auto 0;
}
.credential-years {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.credential-year {
  min-width: 78px;
  height: 46px;
  border: 1px solid rgba(110,77,158,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--muted);
  font-family: var(--site-font);
  font-weight: 800;
  cursor: pointer;
  transition: .22s ease;
}
.credential-year:hover { transform: translateY(-2px); border-color: rgba(110,77,158,.35); color: var(--community-purple); }
.credential-year.is-active { background: var(--community-purple); color: #fff; border-color: var(--community-purple); box-shadow: 0 12px 30px rgba(110,77,158,.20); }
.credential-main { max-width: 980px; margin: 0 auto; }
.credential-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(110,77,158,.14);
  border-radius: 34px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 75px rgba(47,35,65,.10);
}
.credential-copy {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.credential-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.credential-current-year, .credential-category { padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.credential-current-year { background: var(--community-orange); color: #fff; }
.credential-category { color: var(--community-purple); background: rgba(110,77,158,.07); border: 1px solid rgba(110,77,158,.15); }
.credential-title { margin: 0 0 10px; color: var(--community-purple); font-size: clamp(28px,3vw,42px); line-height: 1.45; }
.credential-institution { margin: 0 0 6px; color: var(--navy-900); font-size: 18px; font-weight: 800; }
.credential-detail { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.credential-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; }
.credential-meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-900); font-size: 12px; font-weight: 700; }
.credential-meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--community-cyan); }
.credential-meta span:nth-child(2) i { background: var(--community-orange); }
.credential-visual {
  min-height: 360px;
  padding: 42px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
  background: linear-gradient(145deg,#382a4d,#49365f);
}
.credential-flag-frame {
  width: 190px;
  height: 122px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 40px rgba(0,0,0,.18);
}
.credential-flag-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.20);
}
.credential-school-code {
  min-width: 66px;
  min-height: 50px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: #fff;
  color: var(--community-purple);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .35px;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}
.credential-country { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; }
.credential-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 18px 0 0; }
.credential-arrow {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(110,77,158,.16); border-radius: 15px;
  background: #fff; color: var(--community-purple); cursor: pointer;
  box-shadow: 0 10px 26px rgba(47,35,65,.08); transition: .2s ease;
}
.credential-arrow:hover { background: var(--community-purple); color: #fff; transform: translateY(-2px); }
.credential-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.credential-counter { min-width: 60px; text-align: center; color: var(--muted); font-size: 13px; }
.credential-counter b { color: var(--community-purple); font-size: 18px; }
.credential-thumbs {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin-top: 22px;
}
.credential-thumb {
  min-height: 86px;
  padding: 13px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(110,77,158,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  text-align: right;
  font-family: var(--site-font);
  cursor: pointer;
  transition: .22s ease;
}
.credential-thumb:hover { transform: translateY(-3px); border-color: rgba(110,77,158,.32); }
.credential-thumb.is-active { border-color: var(--community-purple); background: #fff; box-shadow: 0 12px 30px rgba(47,35,65,.08); }
.credential-thumb img { width: 34px; height: 24px; display: block; object-fit: cover; object-position: center; border-radius: 5px; box-shadow: 0 2px 7px rgba(0,0,0,.16); }
.credential-thumb span { min-width: 0; }
.credential-thumb b { display: block; margin-bottom: 4px; color: var(--community-orange); font-size: 11px; }
.credential-thumb small { display: block; color: var(--community-purple); font-size: 11px; line-height: 1.45; font-weight: 800; }
.credential-card.is-changing { animation: credentialSwap .3s ease both; }
@keyframes credentialSwap { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 850px) {
  .credential-card { grid-template-columns: 1fr 250px; }
  .credential-copy { padding: 38px 34px; }
  .credential-visual { min-height: 330px; }
  .credential-thumbs { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .credential-years { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .credential-card { grid-template-columns: 1fr; }
  .credential-visual { order: -1; min-height: auto; padding: 34px 24px; }
  .credential-copy { padding: 30px 24px 34px; text-align: center; align-items: center; }
  .credential-topline, .credential-meta { justify-content: center; }
  .credential-flag-frame { width: 170px; height: 108px; }
  .credential-thumbs { grid-template-columns: 1fr; }
}




.dr-yousef-elementor-root {
  --community-purple: {{color_purple}};
  --community-orange: {{color_orange}};
  --community-cyan: {{color_cyan}};
  --navy-950: {{color_navy}};
  --navy-900: {{color_navy}};
}
.elementor-widget-dr-yousef-site > .elementor-widget-container { margin:0 !important; padding:0 !important; }


/* Elementor modular layout reset */
.elementor-widget-dr-yousef-header,.elementor-widget-dr-yousef-hero,.elementor-widget-dr-yousef-stats,.elementor-widget-dr-yousef-about,.elementor-widget-dr-yousef-services,.elementor-widget-dr-yousef-journey,.elementor-widget-dr-yousef-qualifications,.elementor-widget-dr-yousef-method,.elementor-widget-dr-yousef-pricing,.elementor-widget-dr-yousef-booking,.elementor-widget-dr-yousef-footer{margin-bottom:0!important;}
.elementor-page .elementor-column-gap-default>.elementor-column>.elementor-element-populated{padding:0!important;}
.elementor-page .elementor-section.elementor-section-boxed>.elementor-container{max-width:none!important;}

@media (max-width: 520px) {
  .social-links { grid-template-columns: 1fr; }
}


/* v26: إصلاح توافق Elementor ومنع تمدد القسم الرئيسي خارج الشاشة */
.elementor-page,
.elementor-page #page,
.elementor-page .site,
.elementor-page .elementor,
.elementor-page .elementor-section,
.elementor-page .elementor-container,
.elementor-page .elementor-column,
.elementor-page .elementor-widget-wrap,
.elementor-page .elementor-widget,
.elementor-page .elementor-widget-container {
  max-width: 100%;
  min-width: 0;
}
.elementor-page .elementor-widget-dr-yousef-header > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-hero > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-stats > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-about > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-services > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-journey > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-qualifications > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-method > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-pricing > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-booking > .elementor-widget-container,
.elementor-page .elementor-widget-dr-yousef-footer > .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}
.hero,
.hero .container,
.hero-grid,
.hero-content,
.hero-visual { min-width: 0; max-width: 100%; }
.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(34px, 5vw, 80px);
  overflow: visible;
}
.hero-content { overflow-wrap: anywhere; }
.hero-content h1,
.hero-content p { max-width: 100%; }

/* قص الصورة داخل دائرة مستقلة حتى لا تتأثر بأنماط Elementor العامة */
.portrait-photo-mask {
  position: relative;
  z-index: 3;
  width: 73%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,.92);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
  clip-path: circle(50% at 50% 50%);
}
.portrait-photo-mask img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  object-position: center 5% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}
/* تعطيل تنسيق الصورة القديم بعد إضافة قناع القص */
.portrait-shell > img { display: none !important; }

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero {
    padding-top: 145px;
    min-height: auto;
  }
  .hero-content {
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
  }
  .hero-content .eyebrow,
  .hero-actions,
  .hero-trust { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { min-height: 520px; }
}

@media (max-width: 760px) {
  .hero { padding-top: 115px; }
  .hero-visual { min-height: 405px; }
  .portrait-shell { width: min(340px, calc(100vw - 44px)); }
  .portrait-photo-mask { width: 74%; border-width: 6px; }
  .portrait-badge--top { right: 0; }
  .portrait-badge--bottom { left: 0; }
}

@media (max-width: 430px) {
  .hero-visual { min-height: 365px; }
  .portrait-shell { width: min(300px, calc(100vw - 28px)); }
  .portrait-badge { min-width: 112px; padding: 9px 10px; }
  .portrait-badge--top { top: 7%; right: -2px; }
  .portrait-badge--bottom { bottom: 12%; left: -2px; }
  .signature-card { min-width: 225px; max-width: calc(100vw - 36px); }
}
