/* ═══════════════════════════════════════════════════
   RESET   BASE
═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: #444;
  overflow-x: hidden;
  line-height: 1.6
}

/* Arabic font override */
[dir="rtl"] body {
  font-family: 'Cairo', sans-serif
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .h-title {
  font-family: 'Cairo', sans-serif
}

a {
  text-decoration: none;
  color: inherit
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none
}

ul {
  list-style: none
}

:root {
  --primary: #012970;
  --primary-light: #012970;
  --accent: #012970;
  --green: #198754;
  --amber: #d97706;
  --white: #fff;
  --light: #f8f9fa;
  --border: #dee2e6;
  --text: #444;
  --muted: #6c757d;
  --shadow: 0 2px 15px rgba(1, 41, 112, .06);
  --shadow-h: 0 8px 32px rgba(1, 41, 112, .16);
  --r: 8px;
  --r2: 12px;
  --pink: #E91E63;
  /* Easing tokens */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Duration tokens */
  --dur-fast: 150ms;
  --dur: 220ms;
  --dur-slow: 380ms;
}

i[class^="fa-"],
i[class*=" fa-"] {
  color: var(--primary-light) !important;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}

.rv.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════
   TOP STRIP
═══════════════════════════════════════════════════ */
.strip {
  background: linear-gradient(90deg, #7F1D1D, #DC2626, #C2410C);
  padding: 9px 48px 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  transition: margin-top 0.3s ease, opacity 0.3s ease;
}

.strip-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring);
  z-index: 5;
}

.strip-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.12);
}

[dir="rtl"] .strip {
  padding: 9px 24px 9px 48px;
}

[dir="rtl"] .strip-close {
  right: auto;
  left: 16px;
}

.strip p {
  color: #fff;
  font-size: 13px;
  font-weight: 500
}

.strip strong {
  font-weight: 700
}

.strip a {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  transition: background .2s
}

.strip a:hover {
  background: rgba(255, 255, 255, .28)
}

@media(max-width:700px) {
  .strip {
    padding: 8px 44px 8px 16px;
    gap: 8px
  }

  [dir="rtl"] .strip {
    padding: 8px 16px 8px 44px
  }

  .strip p {
    font-size: 12px
  }

  .strip-sub {
    display: none
  }

  .strip a {
    font-size: 11px;
    padding: 3px 10px;
    white-space: nowrap
  }
}

@media(max-width:420px) {
  .strip a {
    display: none
  }

  .strip {
    padding: 8px 36px 8px 12px;
    text-align: center;
    justify-content: center
  }
}

/* ═══════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════ */
#header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

@media (max-width: 1120px) {
  #header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    justify-content: flex-start;
  }

  .nav-r {
    margin-inline-start: auto;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none
}

.brand-logo img {
  height: 36px;
  width: auto;
  object-fit: contain
}

/* Footer logo (white version via filter) */
.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9
}

/* --- Desktop Nav Links --- */
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(1, 41, 112, .05);
}

/* --- Header Buttons --- */
.nav-r {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn-login:hover {
  border-color: var(--primary);
  background: rgba(1, 41, 112, 0.05);
}

.btn-cta {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(1, 41, 112, 0.15);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(1, 41, 112, 0.25);
}

/* --- Mobile Navigation Drawer (BODY LEVEL) --- */
.mobile-nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  right: 0;
  width: 280px;
  height: calc(100vh - env(safe-area-inset-top, 0px));
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 80px 0 calc(30px + env(safe-area-inset-bottom, 0px));
  gap: 0;
  box-shadow: -5px 0 30px rgba(1, 41, 112, 0.1);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(100%);
}

[dir="rtl"] .mobile-nav {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 5px 0 30px rgba(1, 41, 112, 0.1);
}

.mobile-nav-active .mobile-nav {
  transform: translateX(0) !important;
}

.mobile-nav a {
  display: block;
  padding: 15px 25px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--light);
  color: var(--primary);
}

.mobile-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 25px 28px;
  margin-top: auto;
}

.mobile-btns .btn-login,
.mobile-btns .btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  /* reset overrides from the generic .mobile-nav a rule */
  border-bottom: none;
  padding: 13px 20px;
  font-size: 14px;
}

.mobile-btns .btn-login {
  color: var(--primary);
  background: transparent;
  border: 1.5px solid var(--border);
}

.mobile-btns .btn-login:hover {
  border-color: var(--primary);
  background: rgba(1, 41, 112, 0.05);
  color: var(--primary);
}

.mobile-btns .btn-cta {
  color: #fff;
  background: var(--primary);
  border: none;
  box-shadow: 0 4px 14px rgba(1, 41, 112, 0.2);
}

.mobile-btns .btn-cta:hover {
  background: #013a94;
  color: #fff;
  box-shadow: 0 6px 18px rgba(1, 41, 112, 0.3);
}

/* Hamburger toggle button */
.mobile-nav-toggle {
  background: none;
  border: none;
  padding: 8px 10px;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease);
}

.mobile-nav-toggle:hover {
  background: rgba(1, 41, 112, .06)
}

.mobile-nav-active .mobile-nav-toggle i::before {
  content: "\f00d"
}

/* Dim overlay behind the drawer */
.mobile-nav-over {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 60, .42);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px)
}

.mobile-nav-active .mobile-nav-over {
  opacity: 1;
  pointer-events: auto
}

/* Also add lang switcher inside mobile nav */
.mobile-nav .mobile-lang {
  padding: 14px 25px;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border)
}

.mobile-nav .mobile-lang a {
  border: none;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  background: var(--light);
  color: var(--muted);
  display: inline-block;
  width: auto
}

.mobile-nav .mobile-lang a:hover {
  background: rgba(1, 41, 112, .08);
  color: var(--primary)
}

/* Media Queries for Visibility */
@media (max-width: 1120px) {
  .nav-links {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-r .btn-login,
  .nav-r .btn-cta {
    display: none;
  }
}

@media (min-width: 1121px) {

  .mobile-nav,
  .mobile-nav-toggle,
  .mobile-nav-over {
    display: none !important;
  }
}

/* On very small screens, collapse lang-btn to icon-only to save header space */
@media (max-width: 480px) {
  #header {
    padding: 0 16px;
  }

  .lang-label {
    display: none;
  }

  .lang-btn {
    padding: 7px 10px;
    gap: 0;
  }
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px 6px 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.lang-btn:hover,
.lang-dropdown.open .lang-btn {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(1, 41, 112, 0.05);
}

.lang-chevron {
  transition: transform var(--dur-fast) var(--ease);
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: 0 8px 24px rgba(1, 41, 112, 0.12), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 152px;
  z-index: 200;
  padding: 4px;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  transform-origin: top right;
}

/* invisible bridge prevents menu from closing when mouse travels between button and menu */
.lang-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
  transform-origin: top left;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown.open .lang-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.lang-menu a:hover {
  background: var(--light);
  color: var(--primary);
}

.lang-menu a.active {
  background: rgba(1, 41, 112, 0.08);
  color: var(--primary);
}

.lang-menu a.active::after {
  content: '✓';
  font-size: 11px;
  font-weight: 700;
  margin-inline-start: auto;
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  padding: 90px 48px 80px;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}



[dir="rtl"] .hero::before {
  right: auto;
  left: -80px
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(0, 112, 243, .05) 0%, transparent 70%);
  pointer-events: none
}

[dir="rtl"] .hero::after {
  left: auto;
  right: -60px
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center
}

.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: none;
  margin-bottom: 16px;
  padding: 0;
  flex-wrap: wrap;
  row-gap: 6px
}

.h-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #012970;
  border: 1px solid #012970;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(1, 41, 112, .25);
}

.h-badge-item i {
  font-size: 11px;
  color: #fff;
  opacity: .85
}

.h-badge-sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  margin: 0 6px;
  flex-shrink: 0
}

.h-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .2px;
  text-transform: none;
  margin-bottom: 14px
}

[dir="rtl"] .h-eyebrow {
  letter-spacing: 0
}

.h-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #012970;
  margin-bottom: 22px;
}

[dir="rtl"] .h-title {
  letter-spacing: 0;
  line-height: 1.4
}

.h-title em {
  font-style: italic;
  background: linear-gradient(135deg, #1351D8, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[dir="rtl"] .h-title em {
  font-style: normal
}

.h-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 36px
}

.h-desc strong {
  color: var(--primary);
  font-weight: 700
}

.h-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center
}

.btn-h1 {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(1, 41, 112, .28);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}

.btn-h1:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(1, 41, 112, .38);
}

.btn-h2 {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--primary);
  background: transparent;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring);
}

.btn-h2:hover {
  background: rgba(1, 41, 112, .06);
  transform: translateY(-1px);
}

.h-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border)
}

.h-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  box-shadow: var(--shadow)
}

/* Hero visual card */
.hero-visual {
  position: relative
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(1, 41, 112, .12);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent))
}

.hc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px
}

.hc-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary)
}

.hc-badge {
  background: #ecfdf5;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px
}

.hc-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px
}

.hkpi {
  background: var(--light);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--border)
}

.hkpi .val {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary)
}

.hkpi .lbl {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px
}

.hkpi .chg {
  font-size: 11px;
  margin-top: 2px;
  font-weight: 700;
  color: var(--green)
}

.hc-cert {
  background: rgba(1, 41, 112, .04);
  border: 1px solid rgba(1, 41, 112, .12);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px
}

.cert-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px
}

.cert-sub {
  font-size: 11px;
  color: var(--muted)
}

.cert-ok {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap
}

.hc-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px
}

.hcf {
  background: rgba(1, 41, 112, .03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  text-align: center
}

.hcf .ico {
  font-size: 16px;
  margin-bottom: 3px
}

.hcf .lb {
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase
}

[dir="rtl"] .hcf .lb {
  letter-spacing: 0
}

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.sec {
  padding: 80px 48px
}

.s-light {
  background: var(--light)
}

.s-white {
  background: #fff
}

.wrap {
  max-width: 1180px;
  margin: 0 auto
}

.section-header {
  text-align: center;
  margin-bottom: 52px
}

.section-header p {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px
}

[dir="rtl"] .section-header p {
  letter-spacing: 0
}

.section-header h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 42px);
  color: #012970;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px
}

[dir="rtl"] .section-header h2 {
  letter-spacing: 0;
  line-height: 1.5
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.section-header .desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8
}

/* ═══════════════════════════════════════════════════
   MODULES (8 features grid)
═══════════════════════════════════════════════════ */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.mod {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 26px 22px;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.mod::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
  transform-origin: left
}

[dir="rtl"] .mod::after {
  transform-origin: right
}

.mod:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-h)
}

.mod:hover::after {
  transform: scaleX(1)
}

.mod.c-blue::after {
  background: var(--primary)
}

.mod.c-cyan::after {
  background: var(--accent)
}

.mod.c-green::after {
  background: var(--green)
}

.mod.c-purple::after {
  background: #7c3aed
}

.mod.c-amber::after {
  background: var(--amber)
}

.mod.c-teal::after {
  background: #0d9488
}

.mod-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(1, 41, 112, 0.08) !important;
}

.mod h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px
}

.mod p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted)
}

.mod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px
}

.mod-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  background: rgba(1, 41, 112, .05);
  color: var(--primary);
  border: 1px solid rgba(1, 41, 112, .12)
}

/* ═══════════════════════════════════════════════════
   CLIENTS TICKER
═══════════════════════════════════════════════════ */
.clients-sec {
  background: #fff;
  padding: 36px 48px;
  border-top: 1px solid #eef2f7;
}

.cl-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px
}

[dir="rtl"] .cl-label {
  letter-spacing: 0
}

/* ── Companies ticker ───────────────────────────────────── */
.companies-ticker-outer {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.companies-ticker-track {
  display: flex;
  align-items: center;
  /* Invisible until JS fills the track & sets ticker-ready */
  opacity: 0;
  transition: opacity 300ms ease;
}

.companies-ticker-track.ticker-ready {
  opacity: 1;
  animation: companies-ticker var(--ticker-dur, 28s) linear infinite;
}

@keyframes companies-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--ticker-set-w, 50%))); }
}

@media (prefers-reduced-motion: reduce) {
  .companies-ticker-track.ticker-ready {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 1;
  }
}

/* Fixed-size slot — every logo occupies identical footprint */
.company-logo {
  width: 140px;
  height: 64px;
  margin: 0 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%) opacity(0.4);
  transition: filter 300ms ease;
  user-select: none;
}

.company-logo:hover {
  filter: grayscale(0%) opacity(1);
}

@media (min-width: 600px) {
  .company-logo {
    width: 170px;
    height: 76px;
    margin: 0 44px;
  }
}

@media (min-width: 1024px) {
  .company-logo {
    width: 200px;
    height: 88px;
    margin: 0 52px;
  }
}

/* kept for any legacy references */
.cl {
  height: 44px;
  padding: 0 20px;
  background: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  color: #011a4a;
  letter-spacing: .5px;
  flex-shrink: 0;
  border: 1.5px solid rgba(1, 26, 74, .12);
  box-shadow: 0 2px 8px rgba(1, 26, 74, .06);
}

.cl:hover {
  background: rgba(1, 26, 74, .04);
  border-color: rgba(1, 26, 74, .25);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 26, 74, .1)
}

.cl-ico {
  font-size: 13px;
  color: var(--primary-light) !important
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.split-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(1, 41, 112, .15);
  background: rgba(1, 41, 112, .05);
  color: var(--primary);
  margin-bottom: 16px
}

[dir="rtl"] .split-label {
  font-family: 'Cairo', sans-serif
}

.split-big {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #011a4a;
  margin-bottom: 14px
}

[dir="rtl"] .split-big {
  letter-spacing: 0;
  line-height: 1.5;
  font-family: 'Cairo', sans-serif
}

.split-big span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.split-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 26px
}

.split-steps {
  display: flex;
  flex-direction: column;
  gap: 0
}

.split-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border)
}

[dir="rtl"] .split-step {
  flex-direction: row
}

.split-step:last-child {
  border-bottom: none
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px
}

.step-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
  font-family: 'Nunito', sans-serif
}

[dir="rtl"] .step-body h4 {
  font-family: 'Cairo', sans-serif
}

.step-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6
}

.split-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px
}

[dir="rtl"] .split-ctas {
  flex-direction: row-reverse
}

.btn-split-p {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 5px 18px rgba(1, 41, 112, .25);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}

.btn-split-p:hover {
  background: var(--primary-light);
  transform: translateY(-1px)
}

.btn-split-o {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.btn-split-o:hover {
  border-color: var(--primary)
}

/* Signature Visual */
.sig-visual {
  background: linear-gradient(145deg, var(--primary), #1B4CC0);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(1, 41, 112, .22)
}

.sig-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 65%)
}

[dir="rtl"] .sig-visual::before {
  right: auto;
  left: -60px
}

.sig-doc {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px
}

.sd-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.sd-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Nunito', sans-serif
}

.sd-status {
  background: #ecfdf5;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px
}

.sd-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px
}

.sdl {
  height: 5px;
  border-radius: 3px;
  background: var(--light)
}

.sig-cert {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

[dir="rtl"] .sig-cert {
  flex-direction: row-reverse
}

.cert-name2 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px
}

.cert-sub2 {
  font-size: 11px;
  color: rgba(255, 255, 255, .5)
}

.cert-ok2 {
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, .12);
  border: 1px solid rgba(74, 222, 128, .2);
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap
}

.sig-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.sf {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 10px;
  text-align: center
}

.sf .ico {
  font-size: 16px;
  margin-bottom: 4px
}

.sf .lb {
  font-size: 10px;
  color: rgba(255, 255, 255, .5);
  font-weight: 700
}

/* Stock Visual */
.stock-visual {
  background: linear-gradient(145deg, #0a1c10, #0d3020);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .18)
}

.stock-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(5, 150, 105, .2) 0%, transparent 65%)
}

.stock-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px
}

.sk-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.sk-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .6)
}

.sk-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px
}

.sk-ok {
  background: rgba(5, 150, 105, .15);
  border: 1px solid rgba(5, 150, 105, .25);
  color: #34d399
}

.sk-warn {
  background: rgba(217, 119, 6, .12);
  border: 1px solid rgba(217, 119, 6, .2);
  color: #fcd34d
}

.sk-items {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.ski {
  display: flex;
  align-items: center;
  gap: 10px
}

[dir="rtl"] .ski {
  flex-direction: row-reverse
}

.ski-name {
  flex: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, .55)
}

.ski-bar {
  flex: 2;
  height: 5px;
  background: rgba(255, 255, 255, .07);
  border-radius: 3px;
  overflow: hidden
}

.ski-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #0d9488, #0070f3)
}

.ski-val {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  min-width: 36px;
  text-align: right
}

[dir="rtl"] .ski-val {
  text-align: left
}

.stock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px
}

.sst {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: 10px;
  text-align: center
}

.sst .val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  font-family: 'Nunito', sans-serif
}

.sst .lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .35);
  font-weight: 600;
  margin-top: 2px
}

/* Documents Grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px
}

.dc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 160ms ease, border-color var(--dur-fast) ease;
  will-change: transform;
}

.dc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-h);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.dc:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 41, 112, .15);
}

.dc:hover::before {
  opacity: 1;
}

.dc-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}


.dc h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px
}

.dc p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted)
}

.dc-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap
}

[dir="rtl"] .dc-flow {
  flex-direction: row-reverse
}

.dc-arrow {
  font-size: 12px;
  color: var(--muted)
}

[dir="rtl"] .dc-arrow {
  transform: scaleX(-1)
}

.dc-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  background: rgba(1, 41, 112, .05);
  color: var(--primary);
  border: 1px solid rgba(1, 41, 112, .12)
}

/* Dashboard Visual */
.dash-visual {
  background: linear-gradient(145deg, var(--primary), #1a3a6e);
  border-radius: 18px;
  padding: 26px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 56px rgba(1, 41, 112, .28)
}

.dash-visual::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(255, 255, 255, .04) 0%, transparent 60%)
}

[dir="rtl"] .dash-visual::before {
  right: auto;
  left: 0;
  background: radial-gradient(ellipse at left, rgba(255, 255, 255, .04) 0%, transparent 60%)
}

.dash-row1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px
}

.dkpi {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 14px
}

.dkpi .lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: .3px;
  text-transform: uppercase
}

[dir="rtl"] .dkpi .lbl {
  letter-spacing: 0
}

.dkpi .val {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: 'Nunito', sans-serif
}

.dkpi .chg {
  font-size: 11px;
  margin-top: 3px;
  font-weight: 700
}

.chg-up {
  color: #4ade80
}

.chg-dn {
  color: #f87171
}

.dash-row2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px
}

.dchart {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 14px
}

.chart-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: .3px;
  text-transform: uppercase
}

[dir="rtl"] .chart-label {
  letter-spacing: 0
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px
}

[dir="rtl"] .chart-bars {
  flex-direction: row-reverse
}

.bar {
  border-radius: 4px 4px 0 0;
  flex: 1
}

.drecent {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 14px
}

.ri {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.ri:last-child {
  border-bottom: none
}

.ri-name {
  font-size: 11px;
  color: rgba(255, 255, 255, .5)
}

.ri-amount {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .75)
}

/* ═══════════════════════════════════════════════════
   TARIFS / PLANS
═══════════════════════════════════════════════════ */
.plans-container {
  overflow: hidden;  /* clip sliding cards to the wrap boundary */
  padding: 4px 2px 0; /* tiny horizontal buffer so card shadows aren't hard-clipped */
}

.plans {
  margin-top: 52px;
  padding: 10px 0 40px;
  position: relative;
}

.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.2;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 5px;
}

.plan {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px;
  position: relative;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow)
}

.plan:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-h)
}

.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(1, 41, 112, .15)
}

.plan.featured::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .3px
}

/* th:text handles the label content via ::before — use data attribute trick */
.plan.featured .plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap
}

[dir="rtl"] .plan.featured .plan-badge {
  left: auto;
  right: 50%;
  transform: translateX(50%)
}

/* Base-features banner (all-plans included block) */
.base-features {
  margin-top: 28px;
  background: var(--primary-light);
  border-radius: var(--r);
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.base-features-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

[dir="rtl"] .base-features-title {
  letter-spacing: 0;
}

.base-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.base-features-list span {
  font-size: 13px;
  color: var(--light);
}

.base-features-list .sep {
  color: var(--border);
}

.plan-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px
}

[dir="rtl"] .plan-name {
  letter-spacing: 0
}

.plan-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px
}

.plan-price {
  margin-bottom: 22px
}

.plan-price .val {
  font-family: 'Nunito', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -2px
}

[dir="rtl"] .plan-price .val {
  letter-spacing: 0
}

.plan-price .unit {
  font-size: 14px;
  color: var(--muted)
}

.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px
}

.pf {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text)
}

[dir="rtl"] .pf {
  flex-direction: row-reverse
}

.pf-ico {
  color: var(--green);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px
}

.pf strong {
  font-weight: 700;
  color: var(--primary)
}

.plan-sig {
  background: rgba(1, 41, 112, .04);
  border: 1px solid rgba(1, 41, 112, .12);
  border-radius: 10px;
  padding: 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px
}

.btn-plan {
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.btn-plan-p {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 18px rgba(1, 41, 112, .25)
}

.btn-plan-p:hover {
  background: var(--primary-light);
  transform: translateY(-1px)
}

.btn-plan-o {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border)
}

.btn-plan-o:hover {
  border-color: var(--primary)
}

/* ═══════════════════════════════════════════════════
   WHY BILLOWN
═══════════════════════════════════════════════════ */
.why-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.wcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px 24px;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow)
}

.wcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
  border-color: rgba(1, 41, 112, .2)
}

.wico {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.wcard h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px
}

.wcard p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted)
}

.wtag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(1, 41, 112, .05);
  border: 1px solid rgba(1, 41, 112, .12);
  padding: 3px 10px;
  border-radius: 50px
}

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq-w {
  max-width: 760px;
  margin: 48px auto 0
}

.fi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease);
  box-shadow: var(--shadow)
}

.fi.op {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(1, 41, 112, .08)
}

.fi:hover {
  border-color: rgba(1, 41, 112, .3)
}

.fq {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .2s;
  text-transform: none;
  letter-spacing: normal;
}

[dir="rtl"] .fq {
  text-align: right
}

.fq:hover,
.fi.op .fq {
  background: rgba(1, 41, 112, .02)
}

.ft {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(1, 41, 112, 0.08);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring);
  flex-shrink: 0
}

.fi.op .ft {
  background: var(--primary-light);
  color: #fff;
  transform: rotate(45deg)
}

.fa {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: #fff;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  padding: 0 22px;
  transition: max-height 220ms ease, padding 220ms ease, opacity 180ms ease;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Nunito', sans-serif !important;
}

[dir="rtl"] .fa {
  text-align: right
}

.fi.op .fa {
  opacity: 1;
  padding-bottom: 22px;
}

/* ═══════════════════════════════════════════════════
   REDESIGNED CONTACT SECTION
═══════════════════════════════════════════════════ */
.contact {
  padding-top: 100px;
  padding-bottom: 100px;
  background: #f8fafc;
}

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.contact-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 52px;
  align-items: flex-start
}

.contact-cols-rtl {
  direction: rtl
}

.contact-col {
  flex: 1;
  min-width: 300px
}

.contact .c-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #334155;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact .c-tag i {
  font-size: 14px;
  color: #1e40af;
}

.contact .c-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact .c-desc {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}

/* Info Cards */
.c-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
}

.c-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.c-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

[dir="rtl"] .c-item:hover {
  transform: translateX(-8px);
}

.c-item .c-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-inline-end: 20px;
  flex-shrink: 0;
  background: rgba(1, 41, 112, 0.08);
}

.c-item .c-icon i {
  color: var(--primary-light);
}

.c-item .c-text {
  display: flex;
  flex-direction: column;
}

.c-item .c-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.c-item .c-val {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

/* Colors and Icons */
.c-blue .c-icon {
  background: #eff6ff;
  color: #3b82f6;
}

.c-green .c-icon {
  background: #f0fdf4;
  color: #22c55e;
}

.c-red .c-icon {
  background: #fef2f2;
  color: #ef4444;
}

.c-amber .c-icon {
  background: #fffbeb;
  color: #d97706;
}

.c-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #1e40af;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 32px;
}

/* Form Card */
.f-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.f-head {
  background: linear-gradient(160deg, #011a4e 0%, #01347d 100%);
  padding: 36px 40px;
  color: #fff;
}

.f-head h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.f-head p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
  color: #fff;
}

.f-body {
  padding: 40px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .f-row {
    grid-template-columns: 1fr;
  }
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.f-group label {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.f-group label .req {
  color: #ef4444;
}

.f-input-w {
  position: relative;
}

.f-input-w i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

[dir="rtl"] .f-input-w i {
  left: auto;
  right: 16px;
}

.f-input-w input,
.f-input-w textarea,
.f-input-w select {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px 12px 44px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

[dir="rtl"] .f-input-w input,
[dir="rtl"] .f-input-w textarea,
[dir="rtl"] .f-input-w select {
  padding: 12px 44px 12px 16px;
}

.f-input-w input:focus,
.f-input-w textarea:focus,
.f-input-w select:focus {
  outline: none;
  background: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.f-input-w textarea {
  resize: vertical;
  min-height: 120px;
}

.f-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 30px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
}

.f-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.f-check a {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: underline;
}

.f-btn {
  width: 100%;
  background: #1e40af;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}

.f-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.4);
}

.f-btn:active {
  transform: translateY(0);
}

/* Captcha adjustment */
.captcha-w {
  background: #f1f5f9;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.captcha-w img#captcha_id {
  border-radius: 8px;
  background: #fff;
}

.captcha-w .refresh-btn {
  color: #3b82f6;
  font-size: 24px;
  transition: transform .3s;
}

.captcha-w .refresh-btn:hover {
  transform: rotate(180deg);
}

.captcha-w input {
  flex: 1;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Status Messages */
.contact .sent-message,
.contact .error-message {
  padding: 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.contact .sent-message {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact .error-message {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

#captcha {
  max-width: 120px;
  margin-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════ */
.cta-s {
  background: linear-gradient(160deg, #011a4e 0%, #01347d 100%);
  padding: 90px 48px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-s::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, transparent 60%)
}

.cta-s h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 50px);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1
}

[dir="rtl"] .cta-s h2 {
  letter-spacing: 0;
  line-height: 1.5
}

.cta-s p {
  font-size: 17px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 36px;
  position: relative;
  z-index: 1
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1
}

.bcm {
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}

.bcm:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.bcg {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.bcg:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

footer {
  background: #0c1e50 !important;
  padding: 56px 48px 28px
}

.fg {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 52px;
  margin-bottom: 40px
}

.fb h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px
}

.fb p {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.75;
  max-width: 230px;
  margin-bottom: 16px
}

.fce {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .8)
}

.fc h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 13px
}

[dir="rtl"] .fc h4 {
  letter-spacing: 0
}

.fc a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 7px;
  transition: color .2s
}

.fc a:hover {
  color: #fff
}

.fcontact p {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px
}

[dir="rtl"] .fcontact p {
  flex-direction: row
}

.fcontact strong {
  color: rgba(255, 255, 255, .75)
}

.fcontact strong a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s
}

.fcontact strong a:hover {
  opacity: .8
}

.fbot {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px
}

.fbot p {
  font-size: 11px;
  color: rgba(255, 255, 255, .3)
}

.fbl {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.fbl a {
  font-size: 11px;
  color: rgba(255, 255, 255, .3);
  transition: color .2s
}

.fbl a:hover {
  color: rgba(255, 255, 255, .7)
}

.fbl-sep {
  color: rgba(255, 255, 255, .15);
  font-size: 11px;
  user-select: none
}

.fbl-cta {
  font-size: 11px !important;
  color: rgba(255, 255, 255, .5) !important;
  transition: color .2s
}

.fbl-cta:hover {
  color: rgba(255, 255, 255, .85) !important
}

.fbl-cta-primary {
  color: rgba(255, 255, 255, .75) !important;
  font-weight: 600 !important
}

.fbl-cta-primary:hover {
  color: #fff !important
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media(max-width:1100px) {
  .modules {
    grid-template-columns: repeat(2, 1fr)
  }

  .docs-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .fg {
    grid-template-columns: 1fr 1fr;
    gap: 36px
  }

  .fb {
    grid-column: 1 / -1
  }
}

@media(max-width:900px) {
  #header {
    padding: 0 20px
  }

  .hero,
  .sec,
  .cta-s,
  footer,
  .clients-sec {
    padding-left: 20px;
    padding-right: 20px
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 48px;
    min-height: auto
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .hero-visual {
    display: flex;
    justify-content: center
  }

  .hero-visual img {
    max-width: 420px;
    width: 100%
  }

  .h-title {
    font-size: clamp(26px, 7vw, 38px)
  }

  .h-desc {
    font-size: 15px;
    max-width: 100%
  }

  .modules,
  .docs-grid,
  .plans,
  .why-g,
  .fg {
    grid-template-columns: 1fr
  }

  .dash-row1 {
    grid-template-columns: repeat(2, 1fr)
  }

  .dash-row2 {
    grid-template-columns: 1fr
  }

  .contact {
    padding-top: 64px;
    padding-bottom: 64px
  }

  .contact-cols {
    gap: 36px
  }
}

@media(max-width:600px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 36px
  }

  .h-badge {
    gap: 6px
  }

  .h-badge-sep {
    display: none
  }

  .h-btns {
    flex-direction: column;
    align-items: stretch
  }

  .btn-h1,
  .btn-h2 {
    text-align: center;
    justify-content: center
  }

  .hero-visual {
    display: none
  }

  .contact {
    padding-top: 48px;
    padding-bottom: 48px
  }

  .f-head {
    padding: 24px
  }

  .f-body {
    padding: 20px
  }

  .f-row {
    grid-template-columns: 1fr
  }

  .fbot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px
  }

  .fbl {
    flex-wrap: wrap;
    gap: 12px
  }
}

/* ── Cookie Consent Banner ─────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  box-shadow: 0 -4px 24px rgba(1,41,112,.18);
}

.cookie-banner__text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: .925rem;
  line-height: 1.5;
}

.cookie-banner__text i {
  font-size: 1.15rem;
  flex-shrink: 0;
  opacity: .85;
}

.cookie-banner__link {
  color: var(--white);
  text-decoration: underline;
  white-space: nowrap;
  opacity: .85;
  transition: opacity var(--dur);
}

.cookie-banner__link:hover {
  opacity: 1;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: opacity var(--dur);
}

.cookie-banner__btn:hover {
  opacity: .88;
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--white);
  opacity: 1;
}

[dir="rtl"] .cookie-banner__text i {
  order: 1;
}

@media (max-width: 576px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }

  .cookie-banner__btn {
    align-self: flex-end;
  }
}
