  /* ==========================================================================
   DREAM LAKES — v7
   Bilingual (EN/AR with RTL). GCC map. Flat blue stats. Slim type.
   ========================================================================== */

:root {
  --c-white:        #fbfbf7;
  --c-white-pure:   #ffffff;
  --c-cream:        #f4f1ea;
  --c-ink:          #0a0a0a;
  --c-ink-soft:     #2a2a2a;
  --c-ink-mute:     #6b6b6b;
  --c-line:         #e5e3dc;

  --c-blue:         #2e7fb8;
  --c-blue-deep:    #1f5f8f;
  --c-blue-soft:    #6db7e8;
  --c-blue-pale:    #d8edfa;
  --c-blue-tint:    #eef6fc;

  --c-faq-bg:       #0d2440;
  --c-faq-card:     #143358;
  --c-faq-text:     #ffffff;
  --c-faq-mute:     #9bb3cc;

  --f-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --f-arabic:  'Cairo', 'Inter', sans-serif;

  --maxw: 1440px;
  --pad-x: clamp(1.25rem, 4vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* When body has .lang-ar, switch to Cairo + RTL */
body.lang-ar {
  font-family: var(--f-arabic);
  direction: rtl;
}
body.lang-ar em {
  font-style: normal; /* Arabic doesn't use italics, keep upright */
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }
em { font-style: italic; }
::selection { background: var(--c-blue); color: var(--c-white); }

/* Numerals stay LTR even in Arabic mode */
body.lang-ar .stat__num,
body.lang-ar .region__item-num,
body.lang-ar .region__total-num,
body.lang-ar .process__num,
body.lang-ar .why-card__num,
body.lang-ar .footer__col a[href^="tel:"],
body.lang-ar .footer__col a[href^="mailto:"],
body.lang-ar .contact__direct a[href^="tel:"],
body.lang-ar .contact__direct a[href^="mailto:"],
body.lang-ar .contact__direct a[href*="instagram"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-flex;
     align-items: center;
     justify-content: center;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad-x);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(251, 251, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav__logo-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(46, 127, 184, 0.2);
  position: relative;
  flex-shrink: 0;
}
.nav__logo-dot::after {
  content: ""; position: absolute;
  top: 3px; left: 3px;
  width: 5px; height: 5px;
  background: var(--c-white-pure);
  border-radius: 50%;
  opacity: 0.7;
}
.nav__links {
  display: flex; gap: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: auto;
  margin-right: 1.5rem;
}
body.lang-ar .nav__links { margin-left: 1.5rem; margin-right: auto; }
.nav__links a { position: relative; padding: 0.25rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--c-blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right {
  display: flex; align-items: center; gap: 0.85rem;
}

.lang-toggle {
  display: inline-flex; align-items: center;
  gap: 0.4rem;
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  padding: 0.55rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.lang-toggle:hover {
  border-color: var(--c-blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(46, 127, 184, 0.3);
}
.lang-toggle__current { color: var(--c-blue); }
.lang-toggle__sep { color: var(--c-ink-mute); opacity: 0.5; }
.lang-toggle__alt { color: var(--c-ink-mute); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav__cta:hover {
  background: var(--c-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(46, 127, 184, 0.4);
}
.nav__cta-arrow { transition: transform 0.3s ease; display: inline-block; }
body.lang-ar .nav__cta-arrow { transform: scaleX(-1); }
.nav__cta:hover .nav__cta-arrow { transform: translateX(3px); }
body.lang-ar .nav__cta:hover .nav__cta-arrow { transform: scaleX(-1) translateX(3px); }

@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem var(--pad-x) 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--c-blue-pale) 0%, transparent 60%),
    var(--c-white);
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--c-blue);
  display: block;
  margin: 0;
}
body.lang-ar .hero__title em {
  margin: 0;
}

.hero__sub {
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--c-ink-soft);
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.65s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  font-weight: 600;
  z-index: 3;
  opacity: 0;
  animation: fadeUp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}
.hero__scroll-bar {
  width: 1px; height: 50px;
  background: var(--c-line);
  position: relative; overflow: hidden;
}
.hero__scroll-bar::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--c-blue);
  animation: scrollDown 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(360%); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
}
.btn--primary {
  background: var(--c-blue);
  color: var(--c-white);
}
.btn--primary:hover {
  background: var(--c-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(46, 127, 184, 0.4);
}
.btn--ghost {
  border: 1.5px solid var(--c-ink);
  color: var(--c-ink);
}
.btn--ghost:hover {
  background: var(--c-ink);
  color: var(--c-white);
  transform: translateY(-2px);
}
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { transition: transform 0.3s ease; display: inline-block; }
body.lang-ar .btn__arrow { transform: scaleX(-1); }
.btn:hover .btn__arrow { transform: translateX(4px); }
body.lang-ar .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   STATS COUNTER — flat brand blue
   ========================================================================== */
.stats {
  background: var(--c-blue);
  color: var(--c-white);
  padding: 6rem var(--pad-x);
  position: relative;
  overflow: hidden;
}
.stats__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.stats__head { margin-bottom: 4rem; }
.stats__title {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stats__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  font-weight: 400;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) {
  .stats__grid { grid-template-columns: 1fr; gap: 3rem; }
}
.stat { display: flex; flex-direction: column; gap: 0.75rem; }
.stat__num {
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-white);
  white-space: nowrap;
}
.stat__num-suffix {
  display: inline;
  white-space: nowrap;
}
.stat__num--text { letter-spacing: -0.04em; }
.stat__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */
.section-title {
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 18ch;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--c-blue);
  display: block;
  margin: 0;
}
body.lang-ar .section-title em {
  margin: 0;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--c-ink-mute);
  max-width: 50ch;
  margin-bottom: 2rem;
}

/* ==========================================================================
   WHERE WE BUILD — Country cards (Kuwait + UAE)
   ========================================================================== */
.region {
  padding: 5.5rem var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.region__head { margin-bottom: 4rem; max-width: 700px; }

.region__cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 880px) {
  .region__cards { grid-template-columns: 1fr; }
}

.country-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 28px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  overflow: hidden;
}
.country-card::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(46, 127, 184, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.country-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(46, 127, 184, 0.25);
  border-color: var(--c-blue-soft);
}
.country-card:hover::before { opacity: 1; }

.country-card--featured {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  border-color: var(--c-blue);
  color: var(--c-white);
}
.country-card--featured::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 1;
}
.country-card--featured:hover {
  border-color: var(--c-blue-deep);
  box-shadow: 0 30px 60px -25px rgba(46, 127, 184, 0.5);
}

.country-card__top {
  display: flex; align-items: center;
  margin-bottom: 1.5rem;
}
.country-card__flag {
  font-size: 3rem;
  line-height: 1;
}
.country-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--c-white);
  backdrop-filter: blur(6px);
}
.country-card__badge--alt {
  background: var(--c-blue-tint);
  color: var(--c-blue-deep);
}

.country-card__name {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.country-card__desc {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 50ch;
}
.country-card--featured .country-card__desc { color: rgba(255, 255, 255, 0.9); }
.country-card:not(.country-card--featured) .country-card__desc { color: var(--c-ink-soft); }

.country-card__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.country-card--featured .country-card__regions {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.country-card__regions span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}
.country-card:not(.country-card--featured) .country-card__regions span {
  background: var(--c-blue-tint);
  color: var(--c-blue-deep);
}
.country-card--featured .country-card__regions span {
  background: rgba(255, 255, 255, 0.18);
  color: var(--c-white);
}

.region__expand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  transition: all 0.4s ease;
}
.region__expand:hover {
  border-color: var(--c-blue);
  background: var(--c-blue-tint);
  color: var(--c-ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(46, 127, 184, 0.3);
}
.region__expand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--c-blue);
  color: var(--c-white);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}
body.lang-ar .region__expand-icon { transform: scaleX(-1); }
.region__expand:hover .region__expand-icon { transform: translateX(3px); }
body.lang-ar .region__expand:hover .region__expand-icon {
  transform: scaleX(-1) translateX(3px);
}

/* ==========================================================================
   AFFILIATE SECTION
   ========================================================================== */
.affiliate {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-blue-tint) 100%);
  padding: 5.5rem var(--pad-x);
  position: relative;
  overflow: hidden;
}
.affiliate::before {
  content: ""; position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.1), transparent 60%);
  pointer-events: none;
}
.affiliate__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}

.affiliate__hero {
  max-width: 800px;
  margin-bottom: 4rem;
}
.affiliate__eyebrow {
  display: inline-block;
  background: var(--c-white-pure);
  color: var(--c-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(46, 127, 184, 0.15);
}
.affiliate__title {
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}
.affiliate__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--c-blue);
  display: block;
}
.affiliate__lede {
  font-size: 1.1rem;
  color: var(--c-ink-soft);
  max-width: 65ch;
}

.affiliate__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (max-width: 980px) {
  .affiliate__benefits { grid-template-columns: 1fr; }
}

.benefit {
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(46, 127, 184, 0.25);
  border-color: var(--c-blue-soft);
}
.benefit--featured {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}
.benefit--featured:hover {
  border-color: var(--c-blue-deep);
  box-shadow: 0 30px 60px -25px rgba(46, 127, 184, 0.5);
}

.benefit__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-blue-tint);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.benefit--featured .benefit__icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--c-white);
}
.benefit__title {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.benefit__body {
  font-size: 0.95rem;
  color: var(--c-ink-soft);
}
.benefit--featured .benefit__body { color: rgba(255, 255, 255, 0.85); }

.affiliate__apply {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 30px 60px -30px rgba(46, 127, 184, 0.2);
}
@media (max-width: 880px) {
  .affiliate__apply { grid-template-columns: 1fr; }
}

.affiliate__apply-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.affiliate__apply-body {
  color: var(--c-ink-soft);
  font-size: 1rem;
}

.affiliate__form {
  display: flex; flex-direction: column;
  gap: 1.25rem;
}
.affiliate__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) {
  .affiliate__form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why {
  padding: 4rem var(--pad-x) 6rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.why .section-title { margin-bottom: 4rem; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) {
  .why__grid { grid-template-columns: 1fr; }
}
.why-card {
  position: relative;
  padding: 2.5rem 2.25rem;
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  display: flex; flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(46, 127, 184, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(46, 127, 184, 0.25);
  border-color: var(--c-blue-soft);
}
.why-card:hover::before { opacity: 1; }

.why-card__num {
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--c-blue);
  margin-bottom: 3rem;
}
.why-card__title {
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.why-card__lede {
  color: var(--c-ink-soft);
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}
.why-card__list {
  display: flex; flex-direction: column; gap: 0.6rem;
  font-size: 0.88rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.why-card__list li {
  position: relative; padding-left: 1.4rem;
  color: var(--c-ink-soft);
}
body.lang-ar .why-card__list li { padding-left: 0; padding-right: 1.4rem; }
.why-card__list li::before {
  content: ""; position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--c-blue);
  border-radius: 50%;
}
body.lang-ar .why-card__list li::before { left: auto; right: 0; }

/* ==========================================================================
   BRIDGE
   ========================================================================== */
.bridge { display: none; }

/* ==========================================================================
   FLASHCARD GALLERY
   ========================================================================== */
.gallery {
  background: var(--c-blue-tint);
  padding: 4rem var(--pad-x) 8rem;
}
.gallery .section-title,
.gallery .section-sub {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.gallery__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.flashcard {
  background: transparent;
  padding: 0;
  border-radius: 20px;
  perspective: 1200px;
  aspect-ratio: 4 / 5;
  position: relative;
}
.flashcard__inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 20px;
  box-shadow: 0 20px 50px -25px rgba(46, 127, 184, 0.3);
}
.flashcard.is-flipped .flashcard__inner { transform: rotateY(180deg); }
.flashcard__face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flashcard__face--front img { width: 100%; height: 100%; object-fit: cover; }
.flashcard__hint {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-ink);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
body.lang-ar .flashcard__hint { left: auto; right: 1.25rem; }
.flashcard:hover .flashcard__hint { transform: translateY(-2px); }
.flashcard__hint-icon {
  display: inline-block;
  font-size: 1rem;
  transition: transform 0.6s ease;
}
.flashcard:hover .flashcard__hint-icon { transform: rotate(180deg); }
.flashcard__face--back {
  background: linear-gradient(135deg, var(--c-blue-deep) 0%, var(--c-blue) 100%);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 2.5rem;
  transform: rotateY(180deg);
}
body.lang-ar .flashcard__face--back { text-align: right; align-items: flex-end; }
.flashcard__back-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}
.flashcard__back-desc {
  font-weight: 400;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}
.flashcard__back-cta {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  background: var(--c-white);
  padding: 5.5rem var(--pad-x);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: ""; position: absolute;
  top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.08), transparent 60%);
  pointer-events: none;
}
.process .section-title {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}
.process__list {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) {
  .process__list { grid-template-columns: 1fr; }
}
.process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2.25rem;
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.process__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -25px rgba(46, 127, 184, 0.25);
  border-color: var(--c-blue-soft);
}
.process__num {
  font-style: italic;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--c-blue);
  line-height: 1;
}
.process__step h3 {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.process__step p {
  color: var(--c-ink-soft);
  font-size: 0.95rem;
}

/* ==========================================================================
   FAQ — white background, blue accents (matches site palette)
   ========================================================================== */
.faq {
  background: var(--c-blue-tint);
  color: var(--c-ink);
  padding: 5.5rem var(--pad-x);
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: ""; position: absolute;
  top: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.15), transparent 60%);
  pointer-events: none;
}
.faq__inner {
  position: relative; z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.faq__head { text-align: center; margin-bottom: 4rem; }
.faq__title {
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: var(--c-ink);
}
.faq__sub {
  color: var(--c-ink-mute);
  font-size: 1.05rem;
}
.faq__list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
  border-color: var(--c-blue-soft);
}
.faq-item[open] {
  background: var(--c-white-pure);
  border-color: var(--c-blue);
  box-shadow: 0 12px 30px -15px rgba(46, 127, 184, 0.25);
}
.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--c-blue);
}
.faq-item__icon svg { width: 20px; height: 20px; color: var(--c-white-pure); }
.faq-item__icon--blue   { background: var(--c-blue); }
.faq-item__icon--purple { background: var(--c-blue); }
.faq-item__icon--brown  { background: var(--c-blue); }
.faq-item__icon--gray   { background: var(--c-blue); }
.faq-item__icon--teal   { background: var(--c-blue); }
.faq-item__q {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.faq-item__chev {
  font-size: 1.2rem;
  color: var(--c-ink-mute);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-item__chev { transform: rotate(180deg); color: var(--c-blue); }
.faq-item__a {
  padding: 0 1.5rem 1.5rem calc(40px + 1rem + 1.5rem);
  color: var(--c-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
body.lang-ar .faq-item__a {
  padding: 0 calc(40px + 1rem + 1.5rem) 1.5rem 1.5rem;
}
@media (max-width: 600px) {
  .faq-item__a { padding-left: 1.5rem; }
  body.lang-ar .faq-item__a { padding-right: 1.5rem; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: var(--c-white);
  padding: 5.5rem var(--pad-x);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute;
  bottom: -40%; left: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.12), transparent 60%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
@media (max-width: 880px) {
  .contact__inner { grid-template-columns: 1fr; }
}
.contact__title {
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}
.contact__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--c-blue);
  display: block;
}
.contact__body {
  color: var(--c-ink-soft);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.contact__direct {
  display: grid; gap: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.contact__direct li {
  display: grid; grid-template-columns: 110px 1fr;
  align-items: baseline; gap: 1rem;
}
.contact__direct-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-ink-mute);
}
.contact__direct a {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.contact__direct a:hover { border-color: var(--c-blue); }
.contact__form {
  display: flex; flex-direction: column;
  gap: 1.5rem;
  background: var(--c-white-pure);
  border: 1px solid var(--c-line);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: 24px;
  box-shadow: 0 20px 50px -25px rgba(46, 127, 184, 0.15);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-ink-mute);
}
.field input, .field textarea {
  font: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--c-line);
  color: var(--c-ink);
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--c-blue); }
.field textarea::placeholder, .field input::placeholder {
  color: var(--c-ink-mute); opacity: 0.5;
}
.contact__status {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
  color: var(--c-blue-deep);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER — brand blue
   ========================================================================== */
.footer {
  background: linear-gradient(135deg, var(--c-blue-deep) 0%, var(--c-blue) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem var(--pad-x) 2rem;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.footer__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}
.footer__brand { display: flex; align-items: center; gap: 0.85rem; }
.footer__brand-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  position: relative;
}
.footer__brand-mark::after {
  content: ""; position: absolute;
  top: 5px; left: 5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
}
.footer__brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-white);
  letter-spacing: -0.02em;
}
.footer__brand-ar {
  font-family: var(--f-arabic);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 480px) { .footer__links { grid-template-columns: 1fr; } }
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer__col a:hover {
  color: var(--c-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.footer__social { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   ARABIC TYPOGRAPHY FIX
   Arabic letters carry diacritics (dots/marks) above and below the baseline,
   so tight English line-heights clip them. Relax line-height in AR mode.
   ========================================================================== */
body.lang-ar .hero__title,
body.lang-ar .section-title,
body.lang-ar .stats__title,
body.lang-ar .contact__title,
body.lang-ar .affiliate__title,
body.lang-ar .affiliate__apply-title,
body.lang-ar .faq__title,
body.lang-ar .country-card__name,
body.lang-ar .why-card__title,
body.lang-ar .benefit__title,
body.lang-ar .process__step h3,
body.lang-ar .stat__num,
body.lang-ar .region__total-num,
body.lang-ar .region__item-num,
body.lang-ar .nav__logo {
  line-height: 1.45;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

/* Larger headings need slightly more breathing room */
body.lang-ar .hero__title,
body.lang-ar .section-title,
body.lang-ar .stats__title,
body.lang-ar .contact__title,
body.lang-ar .affiliate__title,
body.lang-ar .faq__title {
  line-height: 1.5;
}

/* ==========================================================================
   PILLS REMOVED — keep look clean and unified
   ========================================================================== */
.country-card__badge,
.country-card__regions,
.affiliate__eyebrow,
.flashcard__back-eyebrow,
.flashcard__hint {
  display: none !important;
}

/* ==========================================================================
   v15 — TIGHTEN & ENLIVEN
   Alternating section backgrounds, decorative blobs, smoother flow
   ========================================================================== */

/* Subtle alternating background tints to add visual rhythm */
.region {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-blue-tint) 100%);
  max-width: none;            /* full-bleed background */
  margin: 0;
  position: relative;
  overflow: hidden;
}
.region > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* Decorative floating blobs — gives sections a less sterile feel */
.region::before,
.why::before,
.process::after,
.affiliate::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.region::before {
  top: -10%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.10), transparent 65%);
}
.why { position: relative; overflow: hidden; }
.why::before {
  bottom: -15%; right: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109, 183, 232, 0.12), transparent 65%);
}
.process::after {
  bottom: -10%; left: -10%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.08), transparent 65%);
}
.affiliate::after {
  top: -10%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109, 183, 232, 0.1), transparent 65%);
}

/* Make sure section content sits above the blobs */
.region > *,
.why > *,
.process > *,
.affiliate > * { position: relative; z-index: 1; }

/* Why section gets a soft cream tint instead of pure white */
.why {
  background: var(--c-white);
}

/* Why card upgrade — subtle gradient + lift */
.why-card {
  background: linear-gradient(180deg, var(--c-white-pure) 0%, #fafcfe 100%);
}
.why-card__num {
  background: var(--c-blue-tint);
  color: var(--c-blue);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0;
}

/* Process section — slight tint for variation */
.process {
  background: linear-gradient(180deg, var(--c-blue-tint) 0%, var(--c-white) 100%);
}

/* Process step number — same circle treatment */
.process__num {
  background: var(--c-blue);
  color: var(--c-white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

/* Process step card — soft border, subtle tint on hover */
.process__step {
  background: var(--c-white-pure);
  transition: all 0.4s ease;
}
.process__step:hover {
  background: var(--c-white-pure);
  border-color: var(--c-blue);
}

/* Tighten gallery padding (was inside .gallery already, just confirm) */
.gallery { padding-top: 5rem; padding-bottom: 6rem; }
.gallery .section-title { margin-bottom: 0.75rem; }

/* Tighten contact + footer top padding */
.contact { padding: 6rem var(--pad-x); }

/* Stats — slightly more breathable but not huge */
.stats { padding: 5rem var(--pad-x); }
.stats__head { margin-bottom: 3rem; }

/* Affiliate section — keep tight */
.affiliate { padding-top: 6rem; padding-bottom: 6rem; }
.affiliate__hero { margin-bottom: 3rem; }
.affiliate__benefits { margin-bottom: 3rem; }

/* Region section — slim down */
.region { padding-top: 5rem; padding-bottom: 5rem; }
.region__head { margin-bottom: 2.5rem; }

/* FAQ — slim */
.faq { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.faq__head { margin-bottom: 2.5rem; }

/* Why section breathing */
.why { padding-top: 4rem; padding-bottom: 5rem; }
.why .section-title { margin-bottom: 3rem; }

/* Section transitions — subtle inset shadows so they "click" together */
.region,
.gallery,
.affiliate,
.faq {
  box-shadow: inset 0 1px 0 rgba(46, 127, 184, 0.05);
}

/* The "Looking to bring..." pill — make it less floating-orphan */
.region__expand {
  display: inline-flex;
  margin-top: 0;
}


/* ==========================================================================
   v18 — FILL THE GAPS, ADD MOTION
   ========================================================================== */

/* Each section's HEAD becomes a 2-column flex with decorative right-side content */
.region__head,
.why .section-title,
.process .section-title,
.gallery > .section-title,
.affiliate__hero {
  position: relative;
  z-index: 2;
}

/* Decorative floating circles that animate, fill the empty horizontal void */
.deco-blobs {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.deco-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 127, 184, 0.18) 0%, rgba(109, 183, 232, 0) 70%);
  animation: float 8s ease-in-out infinite;
}
.deco-blob:nth-child(1) {
  width: 300px; height: 300px;
  top: 10%; right: 15%;
  animation-duration: 9s;
}
.deco-blob:nth-child(2) {
  width: 200px; height: 200px;
  top: 50%; right: 35%;
  animation-duration: 11s;
  animation-delay: -2s;
  background: radial-gradient(circle, rgba(109, 183, 232, 0.22) 0%, transparent 70%);
}
.deco-blob:nth-child(3) {
  width: 150px; height: 150px;
  top: 25%; right: 5%;
  animation-duration: 13s;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(20px, -25px); }
  66%      { transform: translate(-15px, 15px); }
}

/* SVG ripple element for in-section decoration */
.deco-ripple {
  position: absolute;
  width: 280px; height: 280px;
  border: 2px solid rgba(46, 127, 184, 0.18);
  border-radius: 50%;
  animation: ripple 4s ease-out infinite;
}
.deco-ripple::before,
.deco-ripple::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 2px solid rgba(46, 127, 184, 0.14);
  border-radius: 50%;
  animation: ripple 4s ease-out infinite;
  animation-delay: 1.3s;
}
.deco-ripple::after {
  inset: 60px;
  animation-delay: 2.6s;
}
@keyframes ripple {
  0%   { transform: scale(0.6); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Wave divider between major sections — SVG inserted via CSS pseudo */
.wave-divider {
  width: 100%;
  height: 60px;
  display: block;
  position: relative;
  margin-top: -60px;
  pointer-events: none;
  z-index: 5;
}
.wave-divider svg {
  width: 100%; height: 100%;
  display: block;
}

/* Reveal animations — much smoother and more pronounced */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.85, 0.25, 1),
              transform 1.2s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals */
.why-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.why-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.flashcard.reveal:nth-child(2) { transition-delay: 0.15s; }
.flashcard.reveal:nth-child(3) { transition-delay: 0.3s; }
.process__step.reveal:nth-child(2) { transition-delay: 0.1s; }
.process__step.reveal:nth-child(3) { transition-delay: 0.2s; }
.process__step.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Why-card numbers — gentle hover spin */
.why-card__num {
  transition: transform 0.6s cubic-bezier(0.5, 0.1, 0.5, 1.4),
              background 0.4s ease, color 0.4s ease;
}
.why-card:hover .why-card__num {
  transform: rotate(360deg) scale(1.1);
  background: var(--c-blue);
  color: var(--c-white-pure);
}

/* Process step numbers — pulse on hover */
.process__step:hover .process__num {
  animation: pulse 0.6s ease;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(46, 127, 184, 0.15); }
}

/* Flashcards — better hover feel */
.flashcard {
  transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.flashcard:not(.is-flipped):hover {
  transform: translateY(-6px);
}
.flashcard__inner {
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1),
              box-shadow 0.4s ease;
}
.flashcard:hover .flashcard__inner {
  box-shadow: 0 30px 70px -25px rgba(46, 127, 184, 0.5);
}

/* Country cards — energetic entrance */
.country-card {
  transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.25, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}
.country-card:hover {
  transform: translateY(-8px) scale(1.01);
}

/* Stat numbers — count-up via transform on scroll */
.stat__num {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stats.is-visible .stat__num {
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.stats.is-visible .stat:nth-child(2) .stat__num { animation-delay: 0.15s; }
.stats.is-visible .stat:nth-child(3) .stat__num { animation-delay: 0.3s; }

@keyframes bounceIn {
  0%   { opacity: 0; transform: translateY(30px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.stat__num { opacity: 0; }
.stats.is-visible .stat__num { opacity: 1; }

/* Buttons — micro-bounce on hover */
.btn--primary, .nav__cta {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn--primary:hover, .nav__cta:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Section-title em — subtle glow accent */
.section-title em,
.hero__title em,
.contact__title em,
.affiliate__title em {
  position: relative;
  display: inline-block;
}
.section-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 8px;
  background: var(--c-blue-pale);
  z-index: -1;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.25, 1) 0.3s;
}
.section-title.is-visible em::after,
.region__head.is-visible .section-title em::after {
  transform: scaleX(1);
}

/* Smoother section background transitions */
.region {
  background:
    radial-gradient(ellipse at 90% 50%, rgba(109, 183, 232, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--c-white) 0%, var(--c-blue-tint) 100%);
}
.gallery {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(46, 127, 184, 0.08) 0%, transparent 50%),
    var(--c-blue-tint);
}
.process {
  background:
    radial-gradient(ellipse at 90% 80%, rgba(109, 183, 232, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--c-blue-tint) 0%, var(--c-white) 100%);
}
.affiliate {
  background:
    radial-gradient(ellipse at 5% 30%, rgba(46, 127, 184, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--c-white) 0%, var(--c-blue-tint) 100%);
}

/* When a section is in view, its decoration animates in */
.region.is-visible .deco-blob,
.affiliate.is-visible .deco-blob {
  animation-play-state: running;
}

/* Hero scroll indicator — make it a touch more prominent */
.hero__scroll-bar::after {
  background: linear-gradient(180deg, var(--c-blue-soft), var(--c-blue));
}

/* Nav links — smoother underline */
.nav__links a {
  transition: color 0.3s ease;
}
.nav__links a:hover {
  color: var(--c-blue);
}

/* Ensure sections that host deco-blobs are positioned containers */
.region, .why, .gallery, .process, .affiliate {
  position: relative;
}

/* Make sure deco-blobs sit BEHIND content but inside the section */
.deco-blobs {
  z-index: 0;
}

/* All section direct children get z-index 1 to sit above blobs */
.region > *:not(.deco-blobs),
.why > *:not(.deco-blobs),
.gallery > *:not(.deco-blobs),
.process > *:not(.deco-blobs),
.affiliate > *:not(.deco-blobs) {
  position: relative;
  z-index: 1;
}

/* On smaller screens, the blobs sit on the left/right edges instead of cutting in */
@media (max-width: 880px) {
  .deco-blobs {
    width: 100%;
    opacity: 0.5;
  }
}

/* ==========================================================================
   v19 — Real logo + flag/dot cleanup
   ========================================================================== */

/* New nav logo image */
.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* New footer logo image */
.footer__brand-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: var(--c-white-pure);
  padding: 2px;
}

/* Hide any leftover dot/mark elements (already removed from HTML, just in case) */
.nav__logo-dot, .footer__brand-mark { display: none !important; }

/* Hide the country card flag emojis — defensive */
.country-card__flag { display: none !important; }
/* ==========================================================================
   Arabic numeral sizing fix for why-cards and process steps
   ========================================================================== */

/* Make sure the numbers themselves are visible and properly sized */
.why-card__num,
.process__num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===== Force-fix Arabic numerals in why-cards and process steps ===== */
.why-card .why-card__num,
.why-card__num {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
}

html[lang="ar"] .why-card__num,
[lang="ar"] .why-card__num,
[dir="rtl"] .why-card__num {
  font-size: 1.4rem !important;
  padding: 0 !important;
}