:root {
  color-scheme: light;
  --ink: #082f38;
  --teal: #0a5664;
  --teal-light: #eaf3f2;
  --gold: #c9a255;
  --paper: #f7f8f6;
  --white: #fff;
  --muted: #60747a;
  --line: rgba(8, 47, 56, .12);
  --glass: rgba(255,255,255,.68);
  --card: rgba(255,255,255,.92);
  --panel: #073b45;
  --panel-soft: #0a4a56;
  --panel-text: #f4fbfa;
  --shadow: 0 24px 70px rgba(5, 46, 54, .12);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf8f7;
  --teal: #59b7be;
  --teal-light: #123e45;
  --gold: #d7b66e;
  --paper: #071d22;
  --white: #fff;
  --muted: #9bb2b5;
  --line: rgba(206, 236, 235, .13);
  --glass: rgba(12,43,49,.72);
  --card: rgba(13,48,55,.94);
  --panel: #0b3037;
  --panel-soft: #10434b;
  --panel-text: #f4fbfa;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 7% 10%, rgba(201,162,85,.12), transparent 25%), radial-gradient(circle at 92% 85%, rgba(10,86,100,.09), transparent 24%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-shell { width: min(1180px, calc(100% - 48px)); min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
.site-header { min-height: 102px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: inline-block; width: 50px; height: 50px; overflow: hidden; flex: 0 0 auto; border-radius: 15px; background: white; box-shadow: 0 5px 20px rgba(8,47,56,.1); }
.brand-mark img { position: absolute; width: 216px; max-width: none; height: auto; top: -18px; left: -84px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.25rem; font-weight: 800; }
.brand-copy small { direction: ltr; font-family: Inter, sans-serif; color: var(--muted); font-size: .66rem; letter-spacing: .06em; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; padding-inline: 32px; color: var(--muted); font-size: .75rem; font-weight: 600; }
.site-nav a { position: relative; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; width: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: width .2s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }
.header-actions { direction: ltr; display: flex; align-items: center; gap: 16px; }
.contact-link { display: flex; align-items: center; gap: 8px; margin-right: 8px; color: var(--muted); font: 600 .82rem Inter, sans-serif; }
.contact-link svg { width: 18px; color: var(--gold); fill: currentColor; stroke: none; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--glass); cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.theme-toggle:hover { color: var(--gold); transform: translateY(-1px); }
.theme-toggle svg { grid-area: 1 / 1; width: 18px; transition: opacity .2s, transform .25s; }
.theme-toggle .sun-icon { opacity: 0; transform: rotate(-45deg) scale(.6); }
.theme-toggle .moon-icon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle .sun-icon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle .moon-icon { opacity: 0; transform: rotate(45deg) scale(.6); }
.language-toggle { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--glass); cursor: pointer; font: 600 .72rem Inter, "Noto Sans Arabic", sans-serif; }
.language-toggle span { min-width: 45px; padding: 7px 10px; border-radius: 999px; text-align: center; transition: .2s ease; }
.language-toggle .active { color: var(--white); background: var(--ink); box-shadow: 0 3px 10px rgba(8,47,56,.18); }

main { flex: 1; padding: 52px 0 28px; }
section { scroll-margin-top: 24px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 6vw, 72px); min-height: 430px; }
.hero-copy { width: 100%; max-width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: .74rem; letter-spacing: .02em; }
.eyebrow span { width: 29px; height: 2px; border-radius: 2px; background: var(--gold); }
.eyebrow b { font-weight: 700; }
h1 { margin: 15px 0 15px; font-size: clamp(2.7rem, 4.25vw, 4.25rem); line-height: 1.18; letter-spacing: -.05em; font-weight: 800; }
h1 .title-line, h1 em { white-space: nowrap; }
h1 em { color: var(--teal); font-style: normal; position: relative; }
h1 em::after { content: ""; position: absolute; height: 7px; inset-inline: 2px 0; bottom: 1px; z-index: -1; border-radius: 50%; background: rgba(201,162,85,.43); transform: rotate(-1.5deg); }
.hero-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: clamp(.9rem, 1.25vw, 1.05rem); line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 26px; }
.primary-button { display: inline-flex; align-items: center; gap: 16px; padding: 12px 19px 12px 14px; border-radius: 12px; color: var(--white); background: var(--ink); font-size: .84rem; font-weight: 700; box-shadow: 0 12px 25px rgba(8,47,56,.18); transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: var(--teal); }
.primary-button svg { width: 34px; height: 34px; padding: 9px; border-radius: 9px; color: var(--ink); background: var(--white); transform: scaleX(-1); }
.text-button { display: flex; gap: 9px; align-items: center; color: var(--ink); font-size: .8rem; font-weight: 700; }
.text-button span:last-child { color: var(--gold); font-size: 1.15rem; transition: transform .2s; }
.text-button:hover span:last-child { transform: translateX(-4px); }
.trust-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: var(--muted); }
.trust-points > span { display: flex; align-items: center; gap: 6px; }
.trust-points svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; color: var(--teal); background: var(--teal-light); stroke-width: 2.2; }
.trust-points b { font-size: .65rem; font-weight: 600; }

.visual { direction: ltr; position: relative; min-height: 360px; display: grid; place-items: center; isolation: isolate; }
.visual::before { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 42% 58% 53% 47% / 45% 43% 57% 55%; background: linear-gradient(145deg, #0e6a77, #052f38 72%); transform: rotate(-8deg); box-shadow: 0 30px 80px rgba(5,58,67,.3), inset 0 1px 0 rgba(255,255,255,.12); }
.visual::after { content: ""; position: absolute; width: 238px; height: 238px; z-index: -1; border: 1px solid rgba(201,162,85,.62); border-radius: 50%; box-shadow: 0 0 0 18px rgba(201,162,85,.035); }
.orbit { position: absolute; z-index: -1; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; }
.orbit-two { width: 420px; height: 420px; border-style: dashed; opacity: .55; }
.main-card { position: relative; z-index: 1; width: 230px; min-height: 270px; padding: 52px 22px 22px; border: 1px solid rgba(255,255,255,.62); border-radius: 26px; background: var(--card); box-shadow: 0 24px 50px rgba(3,35,41,.25); backdrop-filter: blur(16px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.match-pill { position: absolute; top: 14px; inset-inline: 16px; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: var(--muted); background: var(--teal-light); }
.match-pill i { width: 6px; height: 6px; border-radius: 50%; background: #34a778; box-shadow: 0 0 0 4px rgba(52,167,120,.12); }
.match-pill b { font-size: .55rem; font-weight: 700; }
.mini-logo .brand-mark { width: 76px; height: 76px; border-radius: 20px; box-shadow: none; }
.mini-logo .brand-mark img { width: 328px; top: -27px; left: -128px; }
.success-icon { display: grid; place-items: center; width: 32px; height: 32px; margin: -5px 0 12px; color: white; background: var(--gold); border: 4px solid white; border-radius: 50%; box-shadow: 0 6px 14px rgba(201,162,85,.3); }
.success-icon svg { width: 18px; stroke-width: 2.4; }
.main-card strong { font-size: 1.2rem; font-weight: 800; }
.main-card > span { margin-top: 5px; color: var(--muted); font-size: .68rem; line-height: 1.7; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: var(--card); box-shadow: 0 16px 30px rgba(3,35,41,.17); backdrop-filter: blur(10px); }
.floating-card span:not(.avatar) { display: grid; }
.floating-card b { color: var(--ink); font: 700 .75rem Inter, "Noto Sans Arabic", sans-serif; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: .58rem; }
.people-card { left: 1%; top: 17%; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: var(--teal); font-weight: 700; }
.company-card { right: -2%; bottom: 15%; }
.company-card svg { width: 35px; height: 35px; padding: 7px; border-radius: 10px; color: #9a7025; background: #fbf3e3; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 42px; border: 1px solid var(--line); border-radius: 22px; background: var(--glass); box-shadow: 0 16px 45px rgba(8,47,56,.06); overflow: hidden; backdrop-filter: blur(14px); }
.services article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; padding: 24px 26px; transition: background .2s; }
.services article:hover { background: var(--card); }
.services article + article { border-inline-start: 1px solid var(--line); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--teal); background: var(--teal-light); }
.service-icon.gold { color: #9a7025; background: #fbf3e3; }
.service-icon svg { width: 23px; }
.services small { color: var(--muted); font-size: .62rem; }
.services h2 { margin: 1px 0 2px; font-size: .95rem; font-weight: 750; }
.services p { margin: 0; color: var(--muted); font-size: .65rem; line-height: 1.65; }
.service-arrow { direction: ltr; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-size: 1.1rem; transition: transform .2s, background .2s; }
.services article:hover .service-arrow { transform: translateX(-3px); background: var(--teal-light); }

.why-us { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 7vw, 90px); margin-top: 48px; padding: clamp(34px, 5vw, 58px); overflow: hidden; border-radius: 30px; color: var(--panel-text); background: linear-gradient(135deg, var(--panel), var(--panel-soft)); box-shadow: 0 25px 70px rgba(4,45,53,.2); }
.why-us::before { content: ""; position: absolute; width: 340px; height: 340px; inset-inline-start: -160px; bottom: -230px; border: 1px solid rgba(215,182,110,.22); border-radius: 50%; box-shadow: 0 0 0 45px rgba(215,182,110,.035), 0 0 0 90px rgba(215,182,110,.025); }
.why-intro, .benefit-list { position: relative; z-index: 1; }
.eyebrow.light { color: #7ac6cc; }
.why-intro h2 { max-width: 420px; margin: 14px 0 13px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.35; letter-spacing: -.035em; }
.why-intro h2 em { color: #e2bf77; font-style: normal; }
.why-intro > p { max-width: 440px; margin: 0; color: rgba(244,251,250,.68); font-size: .78rem; line-height: 1.9; }
.why-intro > a { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; color: #e2bf77; font-size: .74rem; font-weight: 700; }
.why-intro > a span:last-child { direction: ltr; font-size: 1.1rem; transition: transform .2s; }
.why-intro > a:hover span:last-child { transform: translateX(-4px); }
.benefit-list { display: grid; }
.benefit-list article { display: grid; grid-template-columns: 42px 1fr; gap: 17px; align-items: start; padding: 17px 0; border-bottom: 1px solid rgba(244,251,250,.12); }
.benefit-list article:first-child { padding-top: 0; }
.benefit-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.benefit-list article > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(226,191,119,.34); border-radius: 50%; color: #e2bf77; font: 600 .66rem Inter, sans-serif; }
.benefit-list h3 { margin: 0 0 4px; font-size: .88rem; }
.benefit-list p { margin: 0; color: rgba(244,251,250,.62); font-size: .68rem; line-height: 1.7; }

footer { direction: ltr; display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font: 500 .64rem Inter, sans-serif; letter-spacing: .02em; }
.social-links { display: flex; align-items: center; gap: 18px; }
.social-links a { display: flex; align-items: center; gap: 6px; transition: color .2s; }
.social-links svg { width: 15px; height: 15px; }
.social-links a:first-child svg { fill: currentColor; stroke: none; }
.social-links a:hover { color: var(--teal); }

html[dir="ltr"] body { font-family: Inter, "Noto Sans Arabic", sans-serif; }
html[dir="ltr"] h1 { letter-spacing: -.065em; line-height: 1.05; }
html[dir="ltr"] .primary-button { padding: 12px 14px 12px 19px; }
html[dir="ltr"] .primary-button svg { transform: none; }
html[dir="ltr"] .text-button span:last-child, html[dir="ltr"] .service-arrow { transform: scaleX(-1); }

[data-theme="dark"] body::before { background: radial-gradient(circle at 7% 10%, rgba(201,162,85,.1), transparent 25%), radial-gradient(circle at 92% 85%, rgba(54,154,165,.13), transparent 26%); }
[data-theme="dark"] .language-toggle .active { color: #071d22; background: #edf8f7; }
[data-theme="dark"] .primary-button { color: #071d22; background: #edf8f7; }
[data-theme="dark"] .primary-button:hover { background: #fff; }
[data-theme="dark"] .primary-button svg { color: #edf8f7; background: #0b424b; }
[data-theme="dark"] .avatar { color: #071d22; }
[data-theme="dark"] .main-card, [data-theme="dark"] .floating-card { border-color: rgba(206,236,235,.16); }
[data-theme="dark"] .service-icon.gold, [data-theme="dark"] .company-card svg { color: #e1bd73; background: #3a321e; }

@media (max-width: 850px) {
  .page-shell { width: min(100% - 32px, 680px); }
  .site-header { min-height: 82px; }
  .site-nav, .contact-link { display: none; }
  main { padding-top: 36px; }
  .hero { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-copy { margin: auto; }
  .eyebrow, .hero-actions, .trust-points { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  h1 { font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .visual { min-height: 300px; transform: scale(.9); margin: -12px 0; }
  .services { margin-top: 20px; }
  .why-us { grid-template-columns: 1fr; gap: 34px; margin-top: 32px; text-align: center; }
  .why-intro h2, .why-intro > p { margin-inline: auto; }
  .why-intro .eyebrow { justify-content: center; }
  .benefit-list { text-align: start; }
}

@media (max-width: 560px) {
  .page-shell { width: calc(100% - 24px); }
  .brand-copy small { display: none; }
  .brand-mark { width: 44px; height: 44px; border-radius: 13px; }
  .brand-mark img { width: 190px; top: -16px; left: -74px; }
  .brand-copy strong { font-size: 1.05rem; }
  .header-actions { gap: 8px; }
  .theme-toggle { width: 38px; height: 38px; }
  .language-toggle span { min-width: 38px; padding: 6px 8px; }
  main { padding-top: 25px; }
  h1 { margin: 11px 0; font-size: clamp(2rem, 10vw, 3.4rem); }
  .hero-copy > p { max-width: 380px; font-size: .83rem; line-height: 1.8; }
  .hero-actions { margin-top: 20px; gap: 15px; }
  .primary-button { padding-block: 10px; font-size: .75rem; }
  .text-button { font-size: .72rem; }
  .trust-points { gap: 12px; margin-top: 20px; }
  .trust-points b { font-size: .58rem; }
  .visual { min-height: 250px; transform: scale(.73); margin: -32px 0; }
  .services { grid-template-columns: 1fr; margin-top: 8px; border-radius: 18px; }
  .services article { padding: 17px 16px; }
  .services article + article { border-inline-start: 0; border-top: 1px solid var(--line); }
  .services p { max-width: 235px; }
  .why-us { gap: 28px; margin-top: 24px; padding: 30px 22px; border-radius: 22px; }
  .why-intro h2 { font-size: 1.75rem; }
  .benefit-list article { grid-template-columns: 36px 1fr; gap: 13px; }
  .benefit-list article > span { width: 34px; height: 34px; }
  footer { margin-top: 20px; padding-bottom: 12px; }
}

@media (max-height: 740px) and (min-width: 851px) {
  .site-header { min-height: 82px; }
  main { padding: 22px 0 14px; }
  h1 { font-size: clamp(2.7rem, 4vw, 4.1rem); }
  .visual { transform: scale(.9); min-height: 320px; }
  .services { margin-top: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .main-card { animation: float 5s ease-in-out infinite; }
  .people-card { animation: float 6s .8s ease-in-out infinite; }
  .company-card { animation: float 5.5s .2s ease-in-out infinite reverse; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}
