/* ============================================================
   HTML — How To Market Like A Pro
   Redesign · Vanilla CSS · Dark/Light · EN/AR
   ============================================================ */

:root {
  --navy: #16284F;
  --navy-deep: #0C1630;
  --navy-deeper: #080F22;
  --orange: #F5991F;
  --orange-soft: #FFB64D;
  --orange-deep: #D97E06;

  /* Light theme (default via data-theme) */
  --bg: #F7F8FC;
  --bg-2: #FFFFFF;
  --bg-3: #EEF1F8;
  --ink: #101B38;
  --ink-2: #44506E;
  --ink-3: #7B86A3;
  --line: rgba(22, 40, 79, 0.1);
  --card: #FFFFFF;
  --card-hover: #FFFFFF;
  --glow: rgba(245, 153, 31, 0.18);
  --hero-grad: radial-gradient(1200px 600px at 75% -10%, rgba(245,153,31,.14), transparent 60%),
               radial-gradient(900px 500px at 10% 110%, rgba(22,40,79,.10), transparent 60%);
  --nav-bg: rgba(247, 248, 252, 0.75);
  --shadow: 0 20px 60px -24px rgba(22, 40, 79, 0.25);
  --shadow-sm: 0 8px 30px -12px rgba(22, 40, 79, 0.18);
}

[data-theme="dark"] {
  --bg: #080F22;
  --bg-2: #0C1630;
  --bg-3: #101C3C;
  --ink: #F2F5FC;
  --ink-2: #ABB6D3;
  --ink-3: #6B7696;
  --line: rgba(242, 245, 252, 0.09);
  --card: #0E1A38;
  --card-hover: #122147;
  --glow: rgba(245, 153, 31, 0.22);
  --hero-grad: radial-gradient(1200px 600px at 75% -10%, rgba(245,153,31,.13), transparent 60%),
               radial-gradient(900px 500px at 10% 110%, rgba(46,86,180,.12), transparent 60%);
  --nav-bg: rgba(8, 15, 34, 0.72);
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Sora", "Alexandria", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
}

[dir="rtl"] body, body[dir="rtl"], html[lang="ar"] body {
  font-family: "Alexandria", "Sora", system-ui, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--orange); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

/* ---------- Noise overlay ---------- */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-deeper);
  display: grid; place-items: center;
  transition: opacity .7s ease, visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo {
  width: 110px; height: 110px; margin-inline: auto;
  border-radius: 50%;
  animation: preloaderPulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(245,153,31,.4);
}
@keyframes preloaderPulse {
  0% { box-shadow: 0 0 0 0 rgba(245,153,31,.45); transform: scale(.96); }
  70% { box-shadow: 0 0 0 36px rgba(245,153,31,0); transform: scale(1); }
  100% { box-shadow: 0 0 0 0 rgba(245,153,31,0); transform: scale(.96); }
}
.preloader__bar {
  width: 180px; height: 2px; margin: 28px auto 0;
  background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  animation: loadbar 1.4s ease forwards;
}
@keyframes loadbar { to { width: 100%; } }
.preloader__tag {
  margin-top: 16px; color: #8d99bb; font-size: 12px; letter-spacing: .35em;
  text-transform: uppercase;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  z-index: 300;
}

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
  padding-block: 18px;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.nav__logo img { width: 46px; height: 46px; border-radius: 50%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.nav__logo:hover img { transform: rotate(360deg); }
.nav__logo b { color: var(--ink); letter-spacing: .02em; }
.nav__logo small { display: block; font-size: 9.5px; font-weight: 500; color: var(--orange); letter-spacing: .14em; text-transform: uppercase; }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a {
  position: relative; padding: 9px 14px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); border-radius: 10px; transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); background: var(--bg-3); }
.nav__links a::after {
  content: ""; position: absolute; bottom: 3px; inset-inline-start: 50%; translate: -50% 0;
  width: 0; height: 2px; border-radius: 2px; background: var(--orange); transition: width .3s;
}
[dir="rtl"] .nav__links a::after { translate: 50% 0; }
.nav__links a:hover::after, .nav__links a.active::after { width: 16px; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center; color: var(--ink);
  transition: transform .4s, background .3s, border-color .3s;
  overflow: hidden; position: relative;
}
.theme-toggle:hover { transform: rotate(25deg) scale(1.06); border-color: var(--orange); }
.theme-toggle svg { width: 19px; height: 19px; position: absolute; transition: transform .5s cubic-bezier(.3,1.5,.5,1), opacity .3s; }
.theme-toggle .sun { transform: translateY(0); opacity: 1; }
.theme-toggle .moon { transform: translateY(150%); opacity: 0; }
[data-theme="dark"] .theme-toggle .sun { transform: translateY(-150%); opacity: 0; }
[data-theme="dark"] .theme-toggle .moon { transform: translateY(0); opacity: 1; }

.lang-switch {
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  border: 1.5px solid var(--orange); color: var(--orange);
  background: transparent; transition: all .3s;
}
.lang-switch:hover { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -8px var(--orange); }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); position: relative; z-index: 310;
}
.burger span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  margin: 4px auto; border-radius: 2px; transition: .35s cubic-bezier(.2,.8,.2,1);
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; scale: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav__logo small { display: none; }
  .nav__logo b { font-size: 18px; }
  .nav__logo img { width: 40px; height: 40px; }
  .lang-switch { padding: 8px 14px; font-size: 12.5px; }
  .nav__inner { gap: 12px; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 300;
    background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    clip-path: circle(0% at calc(100% - 60px) 40px);
    transition: clip-path .6s cubic-bezier(.6,.05,.25,1);
    margin: 0;
  }
  [dir="rtl"] .nav__links { clip-path: circle(0% at 60px 40px); }
  .nav__links.open { clip-path: circle(150% at calc(100% - 60px) 40px); }
  [dir="rtl"] .nav__links.open { clip-path: circle(150% at 60px 40px); }
  .nav__links a { font-size: 22px; font-weight: 600; opacity: 0; translate: 0 18px; transition: opacity .4s, translate .4s; }
  .nav__links.open a { opacity: 1; translate: 0 0; }
  .nav__links.open a:nth-child(1) { transition-delay: .15s; }
  .nav__links.open a:nth-child(2) { transition-delay: .2s; }
  .nav__links.open a:nth-child(3) { transition-delay: .25s; }
  .nav__links.open a:nth-child(4) { transition-delay: .3s; }
  .nav__links.open a:nth-child(5) { transition-delay: .35s; }
  .nav__links.open a:nth-child(6) { transition-delay: .4s; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 60px;
  background: var(--hero-grad);
  overflow: hidden;
}

/* Full-bleed image hero */
.hero--full { min-height: 100svh; padding-bottom: 140px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, transparent 45%),
    linear-gradient(100deg, var(--hero-veil) 0%, var(--hero-veil-soft) 52%, transparent 85%);
}
[dir="rtl"] .hero__bg::after {
  background:
    linear-gradient(to top, var(--bg) 2%, transparent 45%),
    linear-gradient(-100deg, var(--hero-veil) 0%, var(--hero-veil-soft) 52%, transparent 85%);
}
:root {
  --hero-veil: rgba(238, 241, 248, 0.94);
  --hero-veil-soft: rgba(238, 241, 248, 0.6);
}
[data-theme="dark"] {
  --hero-veil: rgba(8, 15, 34, 0.92);
  --hero-veil-soft: rgba(8, 15, 34, 0.55);
}
.hero--full .hero__inner { grid-template-columns: minmax(0, 720px); }
@media (max-width: 960px) { .hero--full .hero__inner { text-align: start; } .hero--full .hero__cta { justify-content: flex-start; } .hero--full p.lead { margin-inline: 0; } }
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: orbFloat 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero__orb--1 { width: 420px; height: 420px; background: var(--orange); opacity: .14; top: -120px; inset-inline-end: -80px; }
.hero__orb--2 { width: 340px; height: 340px; background: #3B63C4; opacity: .16; bottom: -100px; inset-inline-start: -90px; animation-delay: -6s; }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -50px) scale(1.15); }
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 70%);
}
.hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; text-align: center; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  animation: blink 1.8s ease infinite;
}
@keyframes blink { 50% { opacity: .3; box-shadow: 0 0 12px var(--orange); } }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.02em;
}
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 .accent,
.hero h1 .accent .word > span {
  background: linear-gradient(100deg, var(--orange) 10%, var(--orange-soft) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; display: inline-block;
}
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .word > span { display: inline-block; translate: 0 110%; animation: wordUp .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes wordUp { to { translate: 0 0; } }

.hero p.lead { margin-top: 24px; max-width: 540px; color: var(--ink-2); font-size: 17px; }
@media (max-width: 960px) { .hero p.lead { margin-inline: auto; } }

.hero__cta { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 960px) { .hero__cta { justify-content: center; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; border: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn--primary { background: linear-gradient(120deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 14px 34px -12px var(--orange); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--orange-soft), var(--orange));
  opacity: 0; transition: opacity .35s;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px var(--orange); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn--primary:hover svg { transform: scaleX(-1) translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }

/* hero visual */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__ring {
  position: absolute; border: 1px dashed var(--line); border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero__ring--1 { width: 115%; aspect-ratio: 1; }
.hero__ring--2 { width: 92%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 28s; }
@keyframes spin { to { rotate: 360deg; } }
.hero__img-wrap {
  width: min(420px, 85%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  animation: heroFloat 6s ease-in-out infinite;
  position: relative; overflow: visible;
}
@keyframes heroFloat { 50% { transform: translateY(-16px); } }
.hero__img-wrap img { width: 78%; border-radius: 50%; }
.hero__chip {
  position: absolute; padding: 10px 16px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  animation: chipFloat 5s ease-in-out infinite;
}
.hero__chip b { color: var(--orange); font-size: 16px; }
.hero__chip--1 { top: 8%; inset-inline-start: -4%; animation-delay: -1s; }
.hero__chip--2 { bottom: 14%; inset-inline-end: -6%; animation-delay: -2.5s; }
.hero__chip--3 { top: 46%; inset-inline-end: -12%; animation-delay: -4s; }
@media (max-width: 960px) { .hero__chip--3 { inset-inline-end: 0; } }
@keyframes chipFloat { 50% { transform: translateY(-10px); } }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-3); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
}
.hero__scroll .line { width: 1.5px; height: 44px; background: var(--line); overflow: hidden; border-radius: 2px; }
.hero__scroll .line::after {
  content: ""; display: block; width: 100%; height: 40%;
  background: var(--orange); animation: scrollHint 1.8s ease infinite;
}
@keyframes scrollHint { from { translate: 0 -100%; } to { translate: 0 260%; } }

/* ---------- Marquee (partners) ---------- */
.partners { padding-block: 70px; border-block: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden; }
.partners__label { text-align: center; color: var(--ink-3); font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 36px; }
.marquee { display: flex; overflow: hidden; user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 56px; padding-inline-end: 56px; flex-shrink: 0; min-width: 100%; justify-content: space-around; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
[dir="rtl"] .marquee__track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(100%); } }
.marquee__item {
  width: 104px; height: 104px; flex-shrink: 0; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 14px;
  filter: grayscale(1); opacity: .72;
  transition: filter .4s, opacity .4s, transform .4s, box-shadow .4s;
}
.marquee__item img { max-height: 72px; object-fit: contain; border-radius: 12px; }
.marquee__item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-6px) scale(1.06); box-shadow: var(--shadow-sm); }

/* ---------- Sections base ---------- */
section { position: relative; }
.section { padding-block: 110px; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 700; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head--center .kicker::after { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head h2 {
  margin-top: 16px; font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.015em; line-height: 1.15;
}
html[lang="ar"] .section-head h2 { letter-spacing: 0; line-height: 1.4; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; }

/* reveal animation */
.reveal { opacity: 0; translate: 0 44px; transition: opacity .9s cubic-bezier(.2,.8,.2,1), translate .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; }
.reveal-scale { opacity: 0; scale: .92; transition: opacity .9s cubic-bezier(.2,.8,.2,1), scale .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; scale: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-scale { opacity: 1; translate: 0 0; scale: 1; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; gap: 44px; } }
.about__text p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.about__text p strong { color: var(--ink); }
.about__points { margin-top: 28px; display: grid; gap: 14px; }
.about__points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15px; }
.about__points .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; margin-top: 1px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: grid; place-items: center; color: #fff;
}
.about__points .tick svg { width: 13px; height: 13px; }

/* Stats strip under hero */
.stats-strip { position: relative; z-index: 5; margin-top: -100px; padding-bottom: 40px; }
.stats-strip .stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .stats-strip { margin-top: -70px; } .stats-strip .stats { grid-template-columns: repeat(2, 1fr); } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  padding: 30px 26px; border-radius: 24px;
  background: var(--card); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.stat::after {
  content: ""; position: absolute; inset-inline-end: -30px; top: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  transition: scale .5s; scale: 0;
}
.stat:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(245,153,31,.4); }
.stat:hover::after { scale: 1.6; }
.stat__num { font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 800; color: var(--orange); line-height: 1.1; display: flex; align-items: baseline; }
.stat__num .plus { font-size: .6em; margin-inline-start: 2px; }
.stat__label { margin-top: 6px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.stat__icon { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 18px; background: var(--bg-3); display: grid; place-items: center; color: var(--orange); }
.stat__icon svg { width: 22px; height: 22px; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } }
.service {
  position: relative; border-radius: 26px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  padding: 30px 26px 34px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s;
  will-change: transform;
}
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .45s;
  background: linear-gradient(160deg, rgba(245,153,31,.1), transparent 55%);
}
.service:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: rgba(245,153,31,.45); }
.service:hover::before { opacity: 1; }
.service__num {
  position: absolute; top: 20px; inset-inline-end: 22px;
  font-size: 44px; font-weight: 800; color: var(--ink);
  opacity: .07; letter-spacing: -.03em; transition: opacity .4s, color .4s;
}
.service:hover .service__num { opacity: .9; color: var(--orange); }
.service__img {
  width: 92px; height: 92px; border-radius: 24px; overflow: hidden;
  margin-bottom: 22px; background: var(--bg-3);
  display: grid; place-items: center;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service:hover .service__img { transform: scale(1.08) rotate(-3deg); }
.service h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service p { color: var(--ink-2); font-size: 14.5px; }
.service__link {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-weight: 700; font-size: 14px;
}
.service__link svg { width: 15px; height: 15px; transition: transform .3s; }
[dir="rtl"] .service__link svg { transform: scaleX(-1); }
.service:hover .service__link svg { transform: translateX(5px); }
[dir="rtl"] .service:hover .service__link svg { transform: scaleX(-1) translateX(5px); }

/* ---------- Why us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why__grid { grid-template-columns: 1fr; } }
.why-card {
  border-radius: 24px; padding: 32px 28px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
  position: relative; overflow: hidden;
}
.why-card::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 100%; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
[dir="rtl"] .why-card::after { transform-origin: right; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.why-card:hover::after { transform: scaleX(1); }
.why-card__icon {
  width: 56px; height: 56px; border-radius: 18px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 26px -10px var(--orange);
  transition: transform .5s cubic-bezier(.3,1.5,.5,1);
}
.why-card:hover .why-card__icon { transform: rotate(-8deg) scale(1.1); }
.why-card__icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
@media (max-width: 960px) { .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 620px) { .process__grid { grid-template-columns: 1fr; } }
.process__line {
  position: absolute; top: 34px; inset-inline: 12%; height: 2px;
  background: var(--line); z-index: 0;
}
.process__line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-soft)); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .process__line span { background: linear-gradient(-90deg, var(--orange), var(--orange-soft)); margin-inline-start: auto; }
.process__grid.in .process__line span { width: 100%; }
@media (max-width: 960px) { .process__line { display: none; } }
.step { position: relative; z-index: 1; text-align: center; padding-inline: 18px; }
.step__dot {
  width: 68px; height: 68px; margin-inline: auto; border-radius: 50%;
  background: var(--card); border: 2px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--orange);
  transition: border-color .4s, box-shadow .4s, transform .4s;
}
.step:hover .step__dot { border-color: var(--orange); box-shadow: 0 0 0 8px var(--glow); transform: scale(1.08); }
.step h3 { margin-top: 20px; font-size: 16.5px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; }

/* ---------- Testimonials ---------- */
.testimonials { overflow: hidden; }
.t-columns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-height: 640px; overflow: hidden; position: relative;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}
@media (max-width: 960px) { .t-columns { grid-template-columns: repeat(2, 1fr); } .t-col:nth-child(3) { display: none; } }
@media (max-width: 620px) { .t-columns { grid-template-columns: 1fr; } .t-col:nth-child(2) { display: none; } }
.t-col { display: flex; flex-direction: column; gap: 22px; animation: tScroll 42s linear infinite; }
.t-col--rev { animation-direction: reverse; }
.t-columns:hover .t-col { animation-play-state: paused; }
@keyframes tScroll { to { transform: translateY(-50%); } }
.t-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 24px; transition: border-color .3s;
}
.t-card:hover { border-color: rgba(245,153,31,.4); }
.t-card__stars { color: var(--orange); font-size: 14px; letter-spacing: 3px; margin-bottom: 12px; }
.t-card__text { font-size: 14.5px; color: var(--ink-2); }
.t-card__name { margin-top: 16px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.t-card__name::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--navy));
  opacity: .85;
}

/* ---------- News ---------- */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .news__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.news-card {
  border-radius: 26px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.news-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.news-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-deep); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.news-card:hover .news-card__img img { transform: scale(1.07); }
.news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.news-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-card__meta svg { width: 13px; height: 13px; }
.news-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.45; }
.news-card .news-card__more { margin-top: auto; padding-top: 18px; color: var(--orange); font-weight: 700; font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  border-radius: 34px; padding: clamp(44px, 7vw, 90px);
  text-align: center; color: #fff;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 120%, rgba(245,153,31,.3), transparent 70%),
              radial-gradient(500px 260px at 90% -20%, rgba(59,99,196,.35), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.015em; }
html[lang="ar"] .cta h2 { letter-spacing: 0; }
.cta h2 .accent { color: var(--orange); }
.cta p { margin: 18px auto 34px; max-width: 520px; color: #aeb9d6; font-size: 16px; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cta .btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 16px; }
.contact-info__item {
  display: flex; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  padding: 20px 22px; border-radius: 20px;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.contact-info__item:hover { transform: translateX(6px); border-color: rgba(245,153,31,.4); box-shadow: var(--shadow-sm); }
[dir="rtl"] .contact-info__item:hover { transform: translateX(-6px); }
.contact-info__icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff; display: grid; place-items: center;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-info__item b { font-size: 15.5px; direction: ltr; unicode-bidi: embed; }
.socials { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
  transition: all .3s;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-4px); box-shadow: 0 10px 22px -8px var(--orange); }
.socials svg { width: 19px; height: 19px; }

.contact-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--bg);
  color: var(--ink); font-family: inherit; font-size: 15px;
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--glow);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 180px 0 90px;
  background: var(--hero-grad);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
html[lang="ar"] .page-hero h1 { letter-spacing: 0; line-height: 1.3; }
.page-hero h1 .accent { color: var(--orange); }
.page-hero .crumb { margin-top: 16px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.page-hero .crumb a { color: var(--orange); }
.page-hero .crumb span { margin-inline: 8px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deeper); color: #c6cfe6;
  padding: 80px 0 0; position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 15% 0%, rgba(245,153,31,.08), transparent 60%);
  pointer-events: none;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; position: relative; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer__brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer__brand b { color: #fff; font-size: 22px; }
.footer__brand small { display: block; color: var(--orange); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.footer p { font-size: 14.5px; color: #93a0c2; max-width: 380px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; letter-spacing: .04em; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: #93a0c2; font-size: 14.5px; transition: color .3s, padding .3s; }
.footer__links a:hover { color: var(--orange); padding-inline-start: 6px; }
.footer__contact { display: grid; gap: 14px; font-size: 14.5px; }
.footer__contact div { display: flex; gap: 10px; align-items: center; color: #93a0c2; }
.footer__contact svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.footer__contact bdi { direction: ltr; }
.footer__bottom {
  margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: #7684a8; position: relative;
}
.footer__bottom .heart { color: var(--orange); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
  animation: waPulse 2.6s ease infinite;
}
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.4); }
  70% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,0); }
}

/* back to top */
.to-top {
  position: fixed; bottom: 96px; inset-inline-end: 32px; z-index: 150;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity .4s, translate .4s, background .3s;
}
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.to-top svg { width: 18px; height: 18px; }
