/* =========================================================
   Approved Arms Company (AAC.SA) — Brand Stylesheet
   Palette derived from the AAC logo:
   deep royal blue → sky blue, with an orange growth accent.
   ========================================================= */

:root{
  /* Brand blues */
  --navy:      #0A2A5E;
  --blue-900:  #0E4DA4;
  --blue-700:  #1974C5;
  --blue-500:  #2E9BE0;
  --sky:       #41BFF2;
  --cyan:      #0793A4;
  /* Brand orange */
  --orange-700:#EB6609;
  --orange:    #F67309;
  --orange-500:#FB8B1E;
  --orange-300:#FDB731;
  /* Neutrals */
  --ink:       #0f2038;
  --body:      #45566d;
  --muted:     #7286a0;
  --line:      #e4edf7;
  --bg:        #ffffff;
  --soft:      #f3f8fd;
  --soft-2:    #eaf3fc;

  /* Gradients */
  --grad-blue:   linear-gradient(135deg, var(--blue-900) 0%, var(--blue-500) 55%, var(--sky) 100%);
  --grad-orange: linear-gradient(135deg, var(--orange-700) 0%, var(--orange) 45%, var(--orange-300) 100%);
  --grad-navy:   linear-gradient(160deg, #0a2551 0%, #0E4DA4 60%, #14589b 100%);

  --radius:   18px;
  --radius-sm:12px;
  --shadow-sm: 0 4px 16px rgba(14,77,164,.07);
  --shadow:    0 18px 45px -20px rgba(11,45,120,.30);
  --shadow-lg: 0 40px 80px -30px rgba(11,45,120,.40);
  --ring: 0 0 0 4px rgba(46,155,224,.18);

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-body);
  color:var(--body);
  background:var(--bg);
  line-height:1.65;
  font-size:17px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); color:var(--ink); line-height:1.12; letter-spacing:-.02em; font-weight:800; }
svg{ fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

.container{ width:min(var(--container), 92vw); margin-inline:auto; }
.grad-text{
  background:var(--grad-orange);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- Section scaffolding ---------- */
.section{ padding:104px 0; position:relative; }
.section-soft{ background:linear-gradient(180deg,var(--soft) 0%, #fff 100%); }
.section-head{ max-width:720px; margin:0 auto 56px; text-align:center; }
.section-head.light h2,.section-head.light .section-sub{ color:#fff; }
.kicker{
  display:inline-block; font-family:var(--font-head); font-weight:700; font-size:.78rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--blue-700);
  padding:7px 15px; border-radius:100px; background:var(--soft-2);
  margin-bottom:18px;
}
.kicker.light{ color:#fff; background:rgba(255,255,255,.14); }
.section-head h2{ font-size:clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom:14px; }
.section-sub{ color:var(--muted); font-size:1.08rem; }

/* ---------- Buttons ---------- */
.btn{
  --pad:15px 28px;
  display:inline-flex; align-items:center; gap:9px; padding:var(--pad);
  font-family:var(--font-head); font-weight:700; font-size:.98rem;
  border-radius:100px; cursor:pointer; border:0; transition:.35s var(--ease);
  white-space:nowrap;
}
.btn .ico{ width:19px; height:19px; }
.btn-primary{ background:var(--grad-blue); color:#fff; box-shadow:0 14px 30px -10px rgba(14,77,164,.6); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 22px 40px -12px rgba(14,77,164,.65); }
.btn-primary:hover .ico{ transform:translateX(4px); }
.btn-primary .ico{ transition:.35s var(--ease); }
.btn-orange{ background:var(--grad-orange); color:#fff; box-shadow:0 14px 30px -10px rgba(235,102,9,.55); }
.btn-orange:hover{ transform:translateY(-3px); box-shadow:0 22px 42px -12px rgba(235,102,9,.6); }
.btn-ghost{ background:#fff; color:var(--blue-900); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--blue-500); color:var(--blue-700); transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.btn-block{ width:100%; justify-content:center; }
.link-arrow{ display:inline-flex; align-items:center; gap:7px; font-weight:700; color:var(--blue-700); font-family:var(--font-head); }
.link-arrow .ico{ width:18px; height:18px; transition:.3s var(--ease); }
.link-arrow:hover .ico{ transform:translateX(4px); }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:60;
  padding:16px 0; transition:.4s var(--ease);
}
.site-header.scrolled{
  background:rgba(255,255,255,.86); backdrop-filter:blur(14px);
  box-shadow:0 6px 24px -14px rgba(11,45,120,.35); padding:10px 0;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.header-brands{ display:flex; align-items:center; flex-shrink:0; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:46px; height:46px; object-fit:contain; filter:drop-shadow(0 4px 8px rgba(14,77,164,.22)); transition:.4s var(--ease); }
.site-header.scrolled .brand-mark{ width:40px; height:40px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{ font-family:var(--font-head); font-weight:800; color:var(--ink); font-size:1.02rem; letter-spacing:-.01em; }
.brand-sub{ font-size:.74rem; color:var(--muted); font-weight:600; letter-spacing:.02em; }
.brand-sub .dot{ color:var(--orange); }
.brand-divider{ width:1px; height:34px; margin:0 14px; background:var(--line); }
.vision-link{ display:flex; align-items:center; border-radius:8px; transition:.3s var(--ease); }
.vision-link:hover{ transform:translateY(-2px); }
.vision-link:focus-visible{ outline:0; box-shadow:var(--ring); }
.vision-logo{ width:68px; height:46px; object-fit:contain; transition:.4s var(--ease); }
.site-header.scrolled .vision-logo{ width:60px; height:40px; }

.nav{ display:flex; align-items:center; gap:6px; }
.nav a{
  font-family:var(--font-head); font-weight:600; font-size:.95rem; color:var(--ink);
  padding:9px 15px; border-radius:100px; transition:.25s var(--ease);
}
.nav a:not(.nav-cta):hover{ background:var(--soft-2); color:var(--blue-700); }
.nav-cta{ background:var(--grad-blue); color:#fff !important; margin-left:6px; box-shadow:0 10px 22px -12px rgba(14,77,164,.7); }
.nav-cta:hover{ transform:translateY(-2px); }

.lang-switch{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-head); font-weight:700; font-size:.9rem; color:var(--blue-900) !important; border:1.5px solid var(--line); padding:8px 14px !important; border-radius:100px; margin-inline-start:4px; transition:.25s var(--ease); }
.lang-switch:hover{ border-color:var(--blue-500); background:var(--soft-2); transform:translateY(-2px); }
.lang-switch .ico-globe{ width:17px; height:17px; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:26px; height:2.5px; background:var(--ink); border-radius:2px; transition:.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position:relative; padding:150px 0 90px; overflow:hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, #eaf5ff 0%, transparent 60%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}
.hero-bg{ position:absolute; inset:0; overflow:hidden; z-index:0; }
.blob{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.5; }
.blob-a{ width:520px; height:520px; right:-120px; top:-140px; background:radial-gradient(circle,#bfe3ff,transparent 70%); }
.blob-b{ width:460px; height:460px; left:-140px; bottom:-180px; background:radial-gradient(circle,#ffd9b0,transparent 70%); opacity:.4; }
.grid-lines{
  position:absolute; inset:0;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:52px 52px; opacity:.35;
  mask-image:radial-gradient(700px 500px at 30% 30%, #000, transparent 75%);
}
.hero-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.08fr .92fr; gap:48px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-family:var(--font-head);
  font-weight:700; font-size:.82rem; letter-spacing:.02em; color:var(--blue-900);
  background:#fff; border:1px solid var(--line); padding:9px 16px; border-radius:100px;
  box-shadow:var(--shadow-sm); margin-bottom:24px;
}
.pulse{ width:9px; height:9px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 0 rgba(246,115,9,.6); animation:pulse 2s infinite; }
@keyframes pulse{ 70%{ box-shadow:0 0 0 10px rgba(246,115,9,0);} 100%{ box-shadow:0 0 0 0 rgba(246,115,9,0);} }
.hero h1{ font-size:clamp(2.5rem, 5.4vw, 4rem); line-height:1.04; margin-bottom:20px; }
.hero-lead{ font-size:1.18rem; color:var(--body); max-width:540px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }
.hero-trust{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-trust div{ display:flex; flex-direction:column; }
.hero-trust strong{ font-family:var(--font-head); font-size:2rem; color:var(--blue-900); line-height:1; }
.hero-trust span{ font-size:.82rem; color:var(--muted); font-weight:600; margin-top:5px; }

.hero-visual{ display:flex; justify-content:center; }
.hero-logo-wrap{ position:relative; width:min(430px,80vw); aspect-ratio:1; display:grid; place-items:center; }
.hero-logo{
  width:78%; position:relative; z-index:3;
  filter:drop-shadow(0 30px 45px rgba(14,77,164,.25));
  animation:float 6s ease-in-out infinite;
}
@keyframes float{ 50%{ transform:translateY(-16px);} }
.orbit{ position:absolute; border-radius:50%; border:1.5px dashed rgba(46,155,224,.35); }
.orbit-1{ inset:4%; animation:spin 26s linear infinite; }
.orbit-2{ inset:16%; border-color:rgba(246,115,9,.28); animation:spin 20s linear infinite reverse; }
@keyframes spin{ to{ transform:rotate(360deg);} }
.chip{
  position:absolute; z-index:4; background:#fff; border:1px solid var(--line);
  padding:9px 16px; border-radius:100px; font-family:var(--font-head); font-weight:700;
  font-size:.82rem; color:var(--blue-900); box-shadow:var(--shadow);
  animation:float 5s ease-in-out infinite;
}
.chip-1{ top:6%; left:-6%; }
.chip-2{ bottom:12%; right:-8%; animation-delay:.8s; color:var(--orange-700); }
.chip-3{ bottom:-2%; left:12%; animation-delay:1.6s; }

.scroll-hint{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:3; width:26px; height:42px; border:2px solid var(--blue-500); border-radius:16px; display:grid; }
.scroll-hint span{ width:5px; height:9px; background:var(--blue-500); border-radius:3px; justify-self:center; margin-top:8px; animation:scrolldot 1.6s infinite; }
@keyframes scrolldot{ 0%{ transform:translateY(0); opacity:1;} 70%{ transform:translateY(12px); opacity:0;} 100%{ opacity:0;} }

/* ---------- Marquee ---------- */
.marquee-wrap{ background:var(--navy); overflow:hidden; padding:18px 0; }
/* Force stable LTR mechanics so the loop behaves identically in EN and AR */
.marquee{ display:flex; overflow:hidden; direction:ltr;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%); }
.marquee-track{ display:flex; flex-wrap:nowrap; width:max-content; animation:marquee 45s linear infinite; }
.marquee-track:hover{ animation-play-state:paused; }
.marquee-group{ display:flex; align-items:center; gap:26px; padding-inline-end:26px; flex:0 0 auto; white-space:nowrap; }
.marquee-track span{ font-family:var(--font-head); font-weight:700; font-size:1rem; color:#cfe2ff; letter-spacing:.04em; opacity:.85; }
.marquee-track i{ color:var(--orange-300); font-style:normal; }
/* Two identical halves (2 groups each) → -50% shifts exactly one half = seamless, gap-free */
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
/* Arabic reads right-to-left, so run the ticker the natural direction */
[dir="rtl"] .marquee-track{ animation-direction:reverse; }

/* ---------- At a glance ---------- */
.glance-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.glance-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:34px 28px; text-align:center; box-shadow:var(--shadow-sm);
  transition:.4s var(--ease);
}
.glance-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.stat-num{ font-family:var(--font-head); font-weight:800; font-size:3rem; line-height:1;
  background:var(--grad-blue); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-label{ margin-top:10px; font-weight:600; color:var(--muted); font-size:.95rem; }
.glance-cta{ text-align:left; background:var(--grad-navy); color:#fff; border:0; display:flex; flex-direction:column; justify-content:space-between; }
.glance-cta p{ color:#dbe8ff; font-weight:600; margin-bottom:16px; }
.glance-cta .link-arrow{ color:var(--orange-300); }

/* ---------- Vision Mission Values ---------- */
.vmv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.vmv-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:38px 32px;
  box-shadow:var(--shadow-sm); position:relative; overflow:hidden; transition:.4s var(--ease);
}
.vmv-card::before{ content:""; position:absolute; inset:0 0 auto 0; height:5px; background:var(--grad-blue); transform:scaleX(0); transform-origin:left; transition:.5s var(--ease); }
.vmv-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow); }
.vmv-card:hover::before{ transform:scaleX(1); }
.vmv-icon{ width:60px; height:60px; border-radius:16px; background:var(--soft-2); display:grid; place-items:center; color:var(--blue-700); margin-bottom:22px; }
.vmv-icon svg{ width:28px; height:28px; }
.vmv-card:nth-child(2) .vmv-icon{ background:#fff0e2; color:var(--orange-700); }
.vmv-card h3{ font-size:1.35rem; margin-bottom:12px; }
.vmv-card p{ font-size:1rem; }

/* ---------- What sets us apart ---------- */
.apart-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.apart-item{
  position:relative; padding:34px 34px 34px 90px; border-radius:var(--radius);
  background:var(--soft); border:1px solid var(--line); transition:.4s var(--ease);
}
.apart-item:hover{ background:#fff; box-shadow:var(--shadow); transform:translateY(-4px); }
.apart-no{
  position:absolute; left:30px; top:32px; font-family:var(--font-head); font-weight:800;
  font-size:1.5rem; width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
  background:var(--grad-orange); color:#fff; box-shadow:0 10px 20px -8px rgba(235,102,9,.5);
}
.apart-item h3{ font-size:1.22rem; margin-bottom:9px; }

/* ---------- Services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.service-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:34px 28px;
  box-shadow:var(--shadow-sm); transition:.4s var(--ease); position:relative; overflow:hidden;
}
.service-card::after{ content:""; position:absolute; right:-40px; bottom:-40px; width:120px; height:120px; border-radius:50%; background:var(--soft-2); transition:.5s var(--ease); z-index:0; }
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.service-card:hover::after{ background:var(--soft); transform:scale(1.6); }
.service-card>*{ position:relative; z-index:1; }
.service-icon{ width:58px; height:58px; border-radius:16px; background:var(--grad-blue); display:grid; place-items:center; color:#fff; margin-bottom:22px; box-shadow:0 12px 24px -10px rgba(14,77,164,.6); }
.service-icon svg{ width:27px; height:27px; }
.service-card:nth-child(even) .service-icon{ background:var(--grad-orange); box-shadow:0 12px 24px -10px rgba(235,102,9,.55); }
.service-card h3{ font-size:1.18rem; margin-bottom:10px; }
.service-card p{ font-size:.98rem; }

/* ---------- Why choose us ---------- */
.why-section{ overflow:hidden; }
.why-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
  background:var(--grad-navy); border-radius:32px; padding:60px; color:#fff; box-shadow:var(--shadow-lg);
  position:relative; overflow:hidden;
}
.why-grid::before{ content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle,rgba(246,115,9,.35),transparent 70%); }
.why-copy{ position:relative; z-index:2; }
.why-copy h2{ color:#fff; font-size:clamp(1.8rem,3vw,2.5rem); margin-bottom:18px; }
.why-copy p{ color:#d6e5ff; font-size:1.1rem; margin-bottom:28px; }
.why-copy strong{ color:#fff; }
.why-list{ position:relative; z-index:2; display:grid; gap:16px; }
.why-list li{ display:flex; align-items:center; gap:14px; font-family:var(--font-head); font-weight:700; font-size:1.15rem; color:#fff;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); padding:16px 22px; border-radius:14px; transition:.35s var(--ease); }
.why-list li:hover{ background:rgba(255,255,255,.13); transform:translateX(6px); }
.check{ width:26px; height:26px; border-radius:50%; background:var(--grad-orange); flex:none; position:relative; }
.check::after{ content:""; position:absolute; left:8px; top:6px; width:6px; height:11px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }

/* ---------- Timeline ---------- */
.timeline{ position:relative; display:grid; grid-template-columns:repeat(2,1fr); gap:32px 56px; }
.tl-line{ display:none; }
.tl-step{ display:flex; gap:22px; }
.tl-node{
  flex:none; width:52px; height:52px; border-radius:16px; background:var(--grad-blue); color:#fff;
  display:grid; place-items:center; font-family:var(--font-head); font-weight:800; font-size:1.4rem;
  box-shadow:0 14px 26px -10px rgba(14,77,164,.6);
}
.tl-step:nth-child(odd) .tl-node{ background:var(--grad-orange); box-shadow:0 14px 26px -10px rgba(235,102,9,.55); }
.tl-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 28px; box-shadow:var(--shadow-sm); flex:1; transition:.4s var(--ease); }
.tl-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.tl-tag{ display:inline-block; font-family:var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--blue-700); background:var(--soft-2); padding:5px 12px; border-radius:100px; margin-bottom:12px; }
.tl-step:nth-child(odd) .tl-tag{ color:var(--orange-700); background:#fff0e2; }
.tl-card h3{ font-size:1.28rem; margin-bottom:8px; }
.tl-card>p{ font-size:.98rem; margin-bottom:16px; }
.ticks{ display:grid; gap:9px; }
.ticks li{ position:relative; padding-left:28px; font-size:.96rem; color:var(--body); }
.ticks li::before{ content:""; position:absolute; left:0; top:7px; width:16px; height:16px; border-radius:50%; background:var(--soft-2);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231974C5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size:11px; background-repeat:no-repeat; background-position:center; }
.ticks.two{ grid-template-columns:1fr 1fr; gap:12px 28px; }

/* ---------- Eligibility ---------- */
.elig-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:48px; }
.elig-card{ padding:28px 26px; border-radius:var(--radius); border:1px solid var(--line); background:#fff; box-shadow:var(--shadow-sm); border-top:4px solid var(--blue-500); transition:.4s var(--ease); }
.elig-card:nth-child(2){ border-top-color:var(--orange); }
.elig-card:nth-child(3){ border-top-color:var(--sky); }
.elig-card:nth-child(4){ border-top-color:var(--orange-300); }
.elig-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.elig-card h3{ font-size:1.12rem; margin-bottom:10px; }
.elig-card p{ font-size:.96rem; }

.two-col{ display:grid; grid-template-columns:1.15fr .85fr; gap:26px; }
.panel{ background:var(--soft); border:1px solid var(--line); border-radius:var(--radius); padding:36px; }
.panel-title{ display:flex; align-items:center; gap:12px; font-size:1.3rem; margin-bottom:22px; }
.panel-ico{ font-size:1.2rem; }
.panel-dark{ background:var(--grad-navy); color:#fff; border:0; }
.panel-dark .panel-title{ color:#fff; }
.agencies{ display:grid; gap:12px; }
.agencies li{ display:flex; align-items:center; gap:16px; font-family:var(--font-head); font-weight:700; font-size:1.05rem; color:#fff;
  padding:14px 18px; background:rgba(255,255,255,.07); border-radius:12px; border:1px solid rgba(255,255,255,.1); transition:.3s var(--ease); }
.agencies li:hover{ background:rgba(255,255,255,.14); }
.agencies li span{ width:34px; height:34px; flex:none; border-radius:9px; background:var(--grad-orange); display:grid; place-items:center; font-size:.85rem; }

.disclaimer{ margin-top:36px; text-align:center; font-size:.85rem; color:var(--muted); font-style:italic; max-width:760px; margin-inline:auto; }
.disclaimer.light{ color:rgba(255,255,255,.7); }

/* ---------- Invest (navy) ---------- */
.section-navy{ background:var(--grad-navy); color:#fff; overflow:hidden; position:relative; }
.section-navy::before{ content:""; position:absolute; top:-120px; right:-100px; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(65,191,242,.3),transparent 70%); }
.section-navy::after{ content:""; position:absolute; bottom:-140px; left:-100px; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle,rgba(246,115,9,.25),transparent 70%); }
.adv-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; position:relative; z-index:2; }
.adv-card{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.13); border-radius:var(--radius); padding:30px 26px; backdrop-filter:blur(6px); transition:.4s var(--ease); }
.adv-card:hover{ background:rgba(255,255,255,.12); transform:translateY(-6px); }
.adv-wide{ grid-column:span 2; display:flex; flex-direction:column; }
.adv-ico{ width:52px; height:52px; border-radius:14px; background:var(--grad-orange); display:grid; place-items:center; color:#fff; margin-bottom:18px; box-shadow:0 12px 24px -12px rgba(235,102,9,.6); }
.adv-ico svg{ width:25px; height:25px; }
.adv-card:nth-child(odd) .adv-ico{ background:var(--grad-blue); }
.adv-card h3{ color:#fff; font-size:1.2rem; margin-bottom:9px; }
.adv-card p{ color:#cfe0f7; font-size:.97rem; }

/* ---------- Sectors ---------- */
.sector-cloud{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; max-width:940px; margin:0 auto; }
.sector-cloud span{
  font-family:var(--font-head); font-weight:700; font-size:1rem; color:var(--blue-900);
  background:#fff; border:1px solid var(--line); padding:13px 24px; border-radius:100px;
  box-shadow:var(--shadow-sm); cursor:default; transition:.3s var(--ease);
}
.sector-cloud span:hover{ transform:translateY(-4px) scale(1.04); color:#fff; background:var(--grad-blue); border-color:transparent; box-shadow:var(--shadow); }
.sector-cloud span:nth-child(3n):hover{ background:var(--grad-orange); }

/* ---------- Purpose ---------- */
.purpose-section{ background:linear-gradient(180deg,#fff 0%,var(--soft) 100%); }
.purpose-inner{ max-width:860px; margin:0 auto; text-align:center; }
.purpose-inner h2{ font-size:clamp(1.8rem,3.6vw,2.7rem); margin-bottom:20px; }
.purpose-inner>p{ font-size:1.15rem; color:var(--body); margin-bottom:30px; }
.purpose-pills{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.purpose-pills span{ font-family:var(--font-head); font-weight:700; color:var(--blue-900); background:#fff; border:1px solid var(--line); padding:14px 26px; border-radius:14px; box-shadow:var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq-tabs{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:34px; }
.faq-tab{ font-family:var(--font-head); font-weight:600; font-size:.92rem; color:var(--body); background:#fff; border:1.5px solid var(--line); padding:10px 20px; border-radius:100px; cursor:pointer; transition:.3s var(--ease); }
.faq-tab:hover{ border-color:var(--blue-500); color:var(--blue-700); }
.faq-tab.is-active{ background:var(--grad-blue); color:#fff; border-color:transparent; box-shadow:0 10px 22px -12px rgba(14,77,164,.6); }
.faq-list{ max-width:860px; margin:0 auto; display:grid; gap:14px; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:var(--shadow-sm); overflow:hidden; transition:.3s var(--ease); }
.faq-item[hidden]{ display:none; }
.faq-item[open]{ box-shadow:var(--shadow); border-color:transparent; }
.faq-item summary{
  list-style:none; cursor:pointer; padding:22px 58px 22px 26px; position:relative;
  font-family:var(--font-head); font-weight:700; font-size:1.06rem; color:var(--ink);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:""; position:absolute; right:24px; top:50%; transform:translateY(-50%);
  width:22px; height:22px; border-radius:50%; background:var(--soft-2);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231974C5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size:13px; background-repeat:no-repeat; background-position:center; transition:.3s var(--ease);
}
.faq-item[open] summary::after{ transform:translateY(-50%) rotate(135deg); background-color:var(--orange); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.faq-body{ padding:0 26px 24px; }
.faq-body p{ color:var(--body); font-size:1rem; }

/* ---------- Contact / CTA ---------- */
.cta-section{ background:var(--grad-navy); color:#fff; overflow:hidden; position:relative; }
.cta-section::before{ content:""; position:absolute; top:-100px; left:-80px; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle,rgba(65,191,242,.28),transparent 70%); }
.cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; position:relative; z-index:2; }
.cta-copy h2{ color:#fff; font-size:clamp(1.9rem,3.2vw,2.6rem); margin-bottom:16px; }
.cta-copy>p{ color:#cfe0f7; font-size:1.1rem; margin-bottom:30px; }
.contact-list{ display:grid; gap:20px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.ci{ width:44px; height:44px; flex:none; border-radius:12px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); display:grid; place-items:center; color:var(--orange-300); }
.ci svg{ width:21px; height:21px; }
.contact-list strong{ display:block; font-family:var(--font-head); color:#fff; font-size:.82rem; text-transform:uppercase; letter-spacing:.1em; margin-bottom:3px; }
.contact-list span{ color:#cfe0f7; font-size:1rem; }
.contact-list a{ color:#cfe0f7; transition:.2s; }
.contact-list a:hover{ color:#fff; }

.cta-form{ background:#fff; border-radius:24px; padding:38px; box-shadow:var(--shadow-lg); color:var(--ink); }
.cta-form h3{ font-size:1.4rem; margin-bottom:22px; }
.field{ margin-bottom:16px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field label{ display:block; font-family:var(--font-head); font-weight:700; font-size:.82rem; color:var(--ink); margin-bottom:7px; }
.field input,.field select,.field textarea{
  width:100%; font-family:var(--font-body); font-size:.98rem; color:var(--ink);
  padding:13px 15px; border:1.5px solid var(--line); border-radius:11px; background:var(--soft);
  transition:.25s var(--ease); resize:vertical;
}
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--blue-500); background:#fff; box-shadow:var(--ring); }
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }
.form-or{ display:flex; align-items:center; gap:14px; margin:16px 0; color:var(--muted); font-size:.85rem; font-weight:600; }
.form-or::before,.form-or::after{ content:""; flex:1; height:1px; background:var(--line); }
.btn-whatsapp{ background:#25D366; color:#fff; box-shadow:0 14px 30px -12px rgba(37,211,102,.6); }
.btn-whatsapp:hover{ transform:translateY(-3px); box-shadow:0 22px 40px -14px rgba(37,211,102,.65); background:#20bd5a; }
.ico-wa{ width:20px; height:20px; }
.form-note{ margin-top:14px; text-align:center; color:var(--blue-700); font-weight:700; font-family:var(--font-head); }
.form-note.is-error{ color:#d64545; }
.form-note.is-loading{ color:var(--muted); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy); color:#b8cbe6; padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brandlink{ margin-bottom:18px; }
.footer-brandlink .brand-name{ color:#fff; }
.footer-brandlink .brand-sub{ color:#8fa9cc; }
.footer-brand p{ font-size:.98rem; max-width:340px; color:#9db4d4; }
.footer-col h4{ color:#fff; font-size:1rem; margin-bottom:18px; }
.footer-col a{ display:block; color:#9db4d4; font-size:.96rem; padding:5px 0; transition:.2s; }
.footer-col a:hover{ color:var(--orange-300); transform:translateX(4px); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px 24px; padding-top:26px; font-size:.85rem; color:#7f97b8; }
.fb-info{ display:flex; flex-direction:column; gap:4px; }
.built-by{ display:flex; align-items:center; gap:11px; }
.footer-grid .built-by{ grid-column:1 / -1; margin-top:4px; }
.built-by span{ font-size:.8rem; color:#7f97b8; font-weight:600; letter-spacing:.01em; white-space:nowrap; }
.ramz-logo{ height:26px; width:auto; opacity:.9; transition:opacity .3s var(--ease); }
.built-by:hover .ramz-logo{ opacity:1; }
.built-by:focus-visible{ outline:0; box-shadow:var(--ring); border-radius:8px; }
@media (max-width:560px){ .footer-bottom{ flex-direction:column; align-items:flex-start; } }

/* ---------- To top ---------- */
.to-top{ position:fixed; right:26px; bottom:26px; z-index:50; width:48px; height:48px; border-radius:14px;
  background:var(--grad-blue); color:#fff; display:grid; place-items:center; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(14px); transition:.35s var(--ease); }
.to-top.show{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ transform:translateY(-4px); }
.to-top svg{ width:22px; height:22px; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(34px); transition:.8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .glance-grid,.services-grid,.elig-grid,.adv-grid{ grid-template-columns:repeat(2,1fr); }
  .adv-wide{ grid-column:span 2; }
  .apart-grid,.vmv-grid,.timeline{ grid-template-columns:1fr; }
  .vmv-grid{ gap:20px; }
}
@media (max-width:1120px){
  .nav{
    position:fixed; inset:0 0 0 auto; width:min(320px,84vw); flex-direction:column; align-items:stretch;
    background:#fff; padding:96px 24px 30px; gap:6px; box-shadow:-20px 0 60px -20px rgba(11,45,120,.4);
    transform:translateX(100%); transition:.4s var(--ease); z-index:55;
  }
  .nav.open{ transform:none; }
  .nav a{ padding:14px 18px; font-size:1.05rem; border-radius:12px; }
  .nav-cta{ margin-top:10px; text-align:center; }
  .nav-toggle{ display:flex; z-index:60; }
}
@media (max-width:860px){
  body{ font-size:16px; }
  .section{ padding:76px 0; }
  .hero-grid{ grid-template-columns:1fr; text-align:center; }
  .hero-copy{ order:2; }
  .hero-visual{ order:1; }
  .hero-actions,.hero-trust{ justify-content:center; }
  .hero-lead{ margin-inline:auto; }
  .why-grid,.two-col,.cta-grid{ grid-template-columns:1fr; }
  .why-grid{ padding:40px 30px; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:30px; }
}
@media (max-width:560px){
  .glance-grid,.services-grid,.elig-grid,.adv-grid{ grid-template-columns:1fr; }
  .adv-wide{ grid-column:span 1; }
  .ticks.two{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .why-grid{ border-radius:22px; }
  .cta-form{ padding:28px 22px; }
  .hero-trust{ gap:22px; }
  .brand-sub{ display:none; }
  .brand{ gap:8px; }
  .brand-mark,.site-header.scrolled .brand-mark{ width:38px; height:38px; }
  .brand-name{ font-size:.84rem; }
  .brand-divider{ height:30px; margin:0 9px; }
  .vision-logo,.site-header.scrolled .vision-logo{ width:50px; height:34px; }
  .header-inner{ gap:10px; }
  .chip-1{ left:-2%; } .chip-2{ right:-2%; }
}
@media (max-width:380px){
  .brand-name{ font-size:.76rem; }
  .brand-mark,.site-header.scrolled .brand-mark{ width:34px; height:34px; }
  .brand-divider{ margin-inline:7px; }
  .vision-logo,.site-header.scrolled .vision-logo{ width:44px; height:30px; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
}

/* =========================================================
   RTL / ARABIC
   ========================================================= */
[dir="rtl"]{
  --font-body: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Cairo", "Tajawal", sans-serif;
}
[dir="rtl"] body{ letter-spacing:0; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4{ letter-spacing:0; line-height:1.25; }

/* Directional flips */
[dir="rtl"] .nav-cta{ margin-left:0; margin-right:6px; }
[dir="rtl"] .lang-switch{ margin-inline-start:4px; }
[dir="rtl"] .btn .ico,
[dir="rtl"] .link-arrow .ico{ transform:scaleX(-1); }
[dir="rtl"] .btn-primary:hover .ico{ transform:scaleX(-1) translateX(4px); }
[dir="rtl"] .link-arrow:hover .ico{ transform:scaleX(-1) translateX(4px); }

/* Numbered "what sets us apart" cards */
[dir="rtl"] .apart-item{ padding:34px 90px 34px 34px; }
[dir="rtl"] .apart-no{ left:auto; right:30px; }

/* Tick lists */
[dir="rtl"] .ticks li{ padding-left:0; padding-right:28px; }
[dir="rtl"] .ticks li::before{ left:auto; right:0; }

/* Hover nudges */
[dir="rtl"] .why-list li:hover{ transform:translateX(-6px); }
[dir="rtl"] .footer-col a:hover{ transform:translateX(-4px); }
[dir="rtl"] .link-arrow:hover .ico{ transform:scaleX(-1) translateX(4px); }

/* Left-aligned bits that should follow start */
[dir="rtl"] .glance-cta{ text-align:right; }

/* Back-to-top to the left in RTL */
[dir="rtl"] .to-top{ right:auto; left:26px; }

/* Mobile nav slides in from the left in RTL */
@media (max-width:860px){
  [dir="rtl"] .nav{ inset:0 auto 0 0; transform:translateX(-100%); box-shadow:20px 0 60px -20px rgba(11,45,120,.4); }
  [dir="rtl"] .nav.open{ transform:none; }
}

/* Keep phone numbers / latin tokens LTR inside RTL text */
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] .hero-trust strong,
[dir="rtl"] .stat-num{ direction:ltr; unicode-bidi:isolate; }
[dir="rtl"] .contact-list a[href^="tel:"]{ display:inline-block; }
[dir="rtl"] .footer-col a[href^="tel:"]{ display:inline-block; }
