/* ==========================================================================
   Xsender — "clean fintech light" theme layer
   --------------------------------------------------------------------------
   Loaded LAST in frontend/layouts/master.blade.php (and developer layout).
   Overrides the vendor theme (style.css + Bootstrap 5.0.2) without touching
   it. All admin-managed content (Setup Sections) is styled, never replaced.

   Direction: light & airy, white / #F5F7FB alternating sections, Xsender
   blue #07AEFF as the accent, deep blue for interactive fills so white
   button text meets WCAG AA, slate #0F172A footer.
   Type: Plus Jakarta Sans (Latin) + IBM Plex Sans Arabic (Arabic glyphs).
   RTL: logical properties throughout; Arabic pages are switched to RTL via
   :lang(ar) because the layout only sets <html lang>, not dir.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokens
   -------------------------------------------------------------------------- */
:root {
  --xs-font: "Plus Jakarta Sans", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --xs-ink: #0F172A;
  --xs-ink-2: #1E293B;
  --xs-body: #475569;
  --xs-muted: #64748B;
  --xs-faint: #94A3B8;
  --xs-line: #E5EAF2;
  --xs-line-strong: #D3DBE6;

  --xs-bg: #FFFFFF;
  --xs-bg-soft: #F5F7FB;

  --xs-brand: #07AEFF;          /* Xsender blue: fills, glows, focus, icons  */
  --xs-brand-cta: #0A74D1;      /* filled buttons (white text 4.7:1)         */
  --xs-brand-deep: #0B6BCB;     /* hover / text links (5.3:1 on white)       */
  --xs-brand-deeper: #0A57A8;   /* pressed                                   */
  --xs-brand-tint: #EAF7FF;
  --xs-brand-tint-2: #D2EEFF;

  --xs-slate-950: #0F172A;
  --xs-slate-900: #131C2F;

  --xs-r-sm: 12px;
  --xs-r-md: 16px;
  --xs-r-lg: 20px;
  --xs-r-xl: 24px;
  --xs-r-2xl: 28px;
  --xs-r-pill: 999px;

  --xs-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --xs-shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(15, 40, 90, .20);
  --xs-shadow-lg: 0 2px 6px rgba(15, 23, 42, .04), 0 28px 64px -28px rgba(10, 50, 110, .32);
  --xs-focus-ring: 0 0 0 4px rgba(7, 174, 255, .22);

  --xs-section-y: clamp(64px, 7vw, 112px);
  --xs-header-h: 72px;
  --xs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   1. Base & typography
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--xs-header-h) + 16px);
}

body {
  font-family: var(--xs-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--xs-body);
  background: var(--xs-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--xs-font);
  color: var(--xs-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.625rem); line-height: 1.14; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.125rem, 1.02rem + .35vw, 1.3125rem); line-height: 1.3; letter-spacing: -0.015em; }
h4 { font-size: 1.125rem; line-height: 1.35; font-weight: 650; }
h5 { font-size: 1rem; font-weight: 650; }

p {
  line-height: 1.65;
  text-wrap: pretty;
}

a { transition: color .2s var(--xs-ease), background-color .2s var(--xs-ease), border-color .2s var(--xs-ease); }
a:hover { color: var(--xs-brand-deep); }

::selection { background: var(--xs-brand-tint-2); color: var(--xs-ink); }

:focus-visible {
  outline: 2px solid var(--xs-brand);
  outline-offset: 3px;
}

.text--base { color: var(--xs-brand-deep) !important; }

a, button, .btn--base, .nice-select, .faq-title, .navbar-toggler, .app-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Long-form paragraphs read left/right aligned, never justified (rivers). */
.section-title .sub-title,
.banner-section .banner-content .sub-title,
.how-it-work-wrapper .how-it-work-item .item-content,
.security-system .security-system-wrapper .security-card-content,
.why-choice-us-section .choice-us-card .card-details-wrapper .content,
.app-area-content p,
.about-section .about-content p,
.service-area .service-type p,
.testimonial-section .testimonial .testimonial-content {
  text-align: start !important;
}

/* Kill decorative perpetual motion (spinning star / cog). */
section .fa-star,
section:hover .la-cog { animation: none !important; }

/* --------------------------------------------------------------------------
   2. RTL (Arabic) — the layout sets lang but not dir, so switch here.
   -------------------------------------------------------------------------- */
:root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he), [dir="rtl"] {
  direction: rtl;
}

:is(:root:lang(ar), :root:lang(fa), :root:lang(ur)) :is(h1, h2, h3, h4, h5, h6, .btn--base, p, a, label, span) {
  letter-spacing: 0 !important; /* tracking breaks Arabic joining */
}

:is(:root:lang(ar), :root:lang(fa), :root:lang(ur)) body { line-height: 1.75; }
:is(:root:lang(ar), :root:lang(fa), :root:lang(ur)) :is(h1, h2, h3) { line-height: 1.35; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn--base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--xs-r-pill);
  background: var(--xs-brand-cta);
  color: #FFFFFF;
  font-family: var(--xs-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(10, 80, 160, .25), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: background-color .2s var(--xs-ease), color .2s var(--xs-ease), border-color .2s var(--xs-ease), box-shadow .2s var(--xs-ease), transform .2s var(--xs-ease);
}
.btn--base:hover,
.btn--base:focus-visible {
  background: var(--xs-brand-deep);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(11, 107, 203, .6), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}
.btn--base:active {
  background: var(--xs-brand-deeper);
  transform: translateY(0) scale(.98);
  box-shadow: 0 1px 2px rgba(10, 80, 160, .25);
}
.btn--base:focus-visible { outline: 2px solid var(--xs-brand); outline-offset: 3px; }

/* Secondary (outline) — vendor uses .btn--base.active for it */
.btn--base.active {
  background: #FFFFFF;
  color: var(--xs-ink);
  border-color: var(--xs-line-strong);
  box-shadow: var(--xs-shadow-sm);
}
.btn--base.active:hover,
.btn--base.active:focus-visible {
  background: var(--xs-bg-soft);
  color: var(--xs-ink);
  border-color: #BFCADA;
  box-shadow: var(--xs-shadow-sm);
}
.btn.btn--base { padding: 8px 16px; }

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.header-section {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-bottom-area,
.header-section.header-fixed .header-bottom-area {
  background: rgba(255, 255, 255, .94); /* logo ships on opaque white */
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, .07);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-bottom-area { background: #FFFFFF; }
}
.header-bottom-area .navbar { min-height: var(--xs-header-h); }

.site-logo { max-width: 132px; }
.site-logo img { display: block; mix-blend-mode: multiply; }

.header-bottom-area .navbar-collapse .navbar-nav {
  margin-left: 0;
  margin-right: 0;
  margin-inline-start: 40px;
  gap: 2px;
}
.header-bottom-area .navbar-collapse .main-menu li { padding-right: 0 !important; padding-left: 0 !important; }
.header-bottom-area .navbar-collapse .main-menu li a {
  padding: 24px 12px;
  font-size: 15px !important;
  font-weight: 500;
  color: var(--xs-ink-2);
  letter-spacing: -0.005em;
}
.header-bottom-area .navbar-collapse .main-menu li a::after { display: none; }
.header-bottom-area .navbar-collapse .main-menu li a i {
  font-size: 11px;
  margin-inline-start: 4px;
  opacity: .55;
  top: 0;
}
.header-bottom-area .navbar-collapse .main-menu li a:hover,
.header-bottom-area .navbar-collapse .main-menu li:focus-within > a { color: var(--xs-brand-deep); }

/* Dropdown card */
.header-bottom-area .navbar-collapse .main-menu li .sub-menu {
  top: calc(100% - 10px);
  left: auto;
  right: auto;
  inset-inline-start: 0;
  width: 240px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-md);
  box-shadow: var(--xs-shadow-lg);
  transform: translateY(6px);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--xs-ease), transform .18s var(--xs-ease), visibility .18s;
}
.header-bottom-area .navbar-collapse .main-menu li:hover .sub-menu,
.header-bottom-area .navbar-collapse .main-menu li:focus-within .sub-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li { border-bottom: 0; }
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 500;
  color: var(--xs-ink-2);
}
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li:hover a,
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li a:focus-visible {
  background: var(--xs-bg-soft);
  color: var(--xs-brand-deep);
}

/* Right cluster */
.navbar-right { gap: 12px; }
.navbar-right ul { margin: 0; padding: 0; }
.navbar-right .help-btn {
  padding: 8px 14px;
  border: 0;
  border-radius: var(--xs-r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--xs-ink-2);
}
.navbar-right .help-btn:hover { border: 0; background: var(--xs-bg-soft); color: var(--xs-brand-deep); }

.header-action,
.navbar-right .header-action {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-action a { margin: 0; }
.header-action .btn--base { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }

.language-select {
  width: auto;
  min-width: 112px;
  margin: 0;
}
.language-select .nice-select {
  height: 40px !important;
  line-height: 38px !important;
  border-radius: var(--xs-r-pill);
  border: 1px solid var(--xs-line-strong) !important;
  background: #FFFFFF;
  padding-inline: 16px 34px;
  font-size: 14px;
  font-weight: 500;
  color: var(--xs-ink-2) !important;
}

/* nice-select (shared) */
.nice-select {
  border-radius: var(--xs-r-sm);
  border: 1px solid var(--xs-line-strong) !important;
  font-family: var(--xs-font);
}
.nice-select:after {
  border-color: var(--xs-muted);
  right: 16px;
}
.nice-select .list {
  height: auto;
  max-height: 260px;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-sm);
  background: #FFFFFF;
  box-shadow: var(--xs-shadow-lg);
  overflow-y: auto;
}
.nice-select .option {
  text-align: start;
  min-height: 36px;
  line-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--xs-ink-2);
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus { background: var(--xs-bg-soft); color: var(--xs-ink); }
.nice-select .option.selected,
.nice-select .selected { color: var(--xs-brand-deep) !important; font-weight: 600; }

/* Mobile toggler */
.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--xs-line-strong);
  border-radius: var(--xs-r-sm);
  background: #FFFFFF;
}
.navbar-toggler span {
  width: auto;
  height: auto;
  line-height: 1;
  border: 0;
  background: transparent;
  color: var(--xs-ink);
  font-size: 17px;
}
.navbar-toggler:focus-visible { box-shadow: var(--xs-focus-ring); }

@media (max-width: 1199.98px) {
  :root { --xs-header-h: 64px; }
  .header-bottom-area { padding: 0; }
  .header-bottom-area .navbar { min-height: 0; padding-block: 10px !important; }
  .site-logo { max-width: 120px; }
  .header-bottom-area .navbar-collapse {
    margin-top: 4px;
    padding: 8px 0 20px !important;
    border-top: 1px solid var(--xs-line);
    max-height: calc(100dvh - var(--xs-header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .header-bottom-area .navbar-collapse .navbar-nav { margin-inline-start: 0; width: 100%; }
  .header-bottom-area .navbar-collapse .main-menu { padding: 4px 0 12px !important; align-items: stretch; }
  .header-bottom-area .navbar-collapse .main-menu li { width: 100%; }
  .header-bottom-area .navbar-collapse .main-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 4px !important;
    font-size: 16px !important;
    font-weight: 600;
  }
  .header-bottom-area .navbar-collapse .main-menu li a i { display: none; }
  .header-bottom-area .navbar-collapse .main-menu li .sub-menu {
    position: static;
    width: auto;
    margin: 0 0 6px;
    margin-inline-start: 4px;
    padding: 0;
    padding-inline-start: 12px;
    border: 0;
    border-inline-start: 2px solid var(--xs-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .header-bottom-area .navbar-collapse .main-menu li .sub-menu li a {
    padding: 9px 10px !important;
    font-size: 15px !important;
    font-weight: 500;
    color: var(--xs-body);
  }
  .navbar-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--xs-line);
  }
  .navbar-right .help-btn { padding-inline: 4px; }
  .language-select { margin: 0 !important; justify-self: end; }
  .navbar-right .header-action:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .header-action a { display: inline-flex; }
  .header-action .btn--base { width: 100%; min-height: 46px; font-size: 15px; }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid,
  .custom-container { padding-left: 20px; padding-right: 20px; }
}

/* --------------------------------------------------------------------------
   5. Section system
   -------------------------------------------------------------------------- */
body > section:nth-of-type(even),
body > section:only-of-type:not(.banner-section) { background-color: var(--xs-bg-soft); }

body > section.pt-80,
body > section.ptb-80,
body > section.ptb-120,
body > section.pt-80.pb-80 {
  padding-top: var(--xs-section-y);
  padding-bottom: var(--xs-section-y);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 0;
}
.section-tag::before { display: none; }
.section-tag i,
.section-tag .section-element { display: none; }
.section-tag p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--xs-brand-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.section-tag p::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xs-brand);
  box-shadow: 0 0 0 4px rgba(7, 174, 255, .16);
  flex: none;
}

/* Section headings + the paragraph that follows them */
section h2.title { margin-bottom: 0; }
.section-title .sub-title,
section h2.title + p,
.app-area-content p {
  max-width: 64ch;
  margin-top: 16px;
  font-size: clamp(1rem, .96rem + .22vw, 1.125rem);
  line-height: 1.65;
  color: var(--xs-body);
}
.section-title.mb-40,
.faq-section-wrapper > .row.mb-40,
section .row.mb-40,
section .row.pb-40 { margin-bottom: clamp(32px, 4vw, 48px) !important; padding-bottom: 0 !important; }

/* Image stage used when an illustration has an opaque white background */
.how-its-work-img,
.faq-img {
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-xl);
  padding: clamp(16px, 3vw, 32px);
  overflow: hidden;
}
.how-its-work-img img,
.faq-img img { display: block; margin-inline: auto; max-height: 460px; object-fit: contain; }

/* --------------------------------------------------------------------------
   6. Hero (banner)
   -------------------------------------------------------------------------- */
.banner-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  background-color: #FFFFFF !important;
  background-image:
    radial-gradient(55% 65% at 82% 38%, rgba(7, 174, 255, .16) 0%, rgba(7, 174, 255, 0) 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(7, 174, 255, .07) 0%, rgba(7, 174, 255, 0) 70%),
    linear-gradient(180deg, #F6F9FE 0%, #FFFFFF 100%) !important;
  border-bottom: 1px solid var(--xs-line);
}
.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.bg-overlay-banner:after { display: none !important; }

.banner-section .banner-content {
  width: 100%;
  color: var(--xs-body);
}
.banner-section .banner-content .title {
  font-size: clamp(2.5rem, 1.35rem + 4vw, 4.5rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--xs-ink);
}
.banner-section .banner-content .title span {
  font-weight: inherit;
  color: var(--xs-brand-deep);
  background: linear-gradient(100deg, #0B6BCB 10%, #0890E3 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner-section .banner-content .title span svg { height: calc(100% + 28px); }
.banner-section .banner-content .title span svg path {
  stroke: var(--xs-brand);
  stroke-width: 6px;
  stroke-linecap: round;
  opacity: .85;
}
.banner-section .banner-content .sub-title {
  max-width: 58ch;
  padding-top: 28px;
  margin: 0;
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--xs-body);
}
.banner-section .banner-bottom {
  margin-top: 36px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.banner-section .static-section { gap: 12px; }
.banner-section .banner-bottom .counter {
  min-width: 148px;
  padding: 14px 20px;
  text-align: start;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-md);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--xs-shadow-md);
}
.banner-section .banner-bottom .counter .odometer,
.banner-section .banner-bottom .counter .odo-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--xs-ink);
  font-variant-numeric: tabular-nums;
}
.banner-section .odo-area,
.odometer {
  direction: ltr;
  unicode-bidi: isolate;
}
.banner-section .banner-bottom .counter .title {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--xs-muted);
}
.banner-section .banner-bottom .star { display: inline-flex; margin: 0; }
.banner-section .banner-bottom .star span {
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--xs-r-pill);
  background: var(--xs-brand-tint);
}
.banner-section .banner-bottom .star i { font-size: 15px; color: var(--xs-brand-deep); }
.banner-section .banner-bottom .star p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--xs-brand-deeper);
}

/* Glow stage behind the portrait */
.banner-wrapper .banner-img {
  position: relative;
  top: auto;
  width: min(100%, 470px);
  margin: 0;
  margin-inline: auto;
  z-index: 0;
}
.banner-wrapper .banner-img::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 6%;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #DDF3FF 30%, #9EDBFF 70%, #6BC7FF 100%);
  box-shadow: 0 0 0 18px rgba(7, 174, 255, .07), 0 0 0 44px rgba(7, 174, 255, .04), 0 40px 80px -30px rgba(7, 120, 200, .45);
}
.banner-wrapper .banner-img img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

@media (max-width: 1199.98px) {
  .banner-wrapper .banner-img {
    width: min(72%, 400px);
    margin-top: 48px;
    margin-bottom: 0;
  }
}
@media (max-width: 575.98px) {
  .banner-section .banner-content .title { font-size: clamp(2.25rem, 1.4rem + 4.6vw, 2.75rem); letter-spacing: -0.035em; }
  .banner-section .banner-bottom .counter { flex: 1 1 0; min-width: 0; }
  .banner-section .static-section { width: 100%; }
  .banner-wrapper .banner-img { width: min(86%, 340px); margin-top: 36px; }
}

/* --------------------------------------------------------------------------
   7. How it works
   -------------------------------------------------------------------------- */
.how-it-work-wrapper .how-it-work-item {
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
}
.how-it-work-wrapper .how-it-work-item:hover { transform: none; }
.how-it-work-wrapper .how-it-work-item::before { display: none; }
.how-it-work-wrapper .how-it-work-item::after { display: none; }
/* dashed connector between consecutive steps (true sequence) */
.how-it-work-wrapper .section-wrapper .how-it-work-item:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  top: 74px;
  bottom: -40px;
  left: auto;
  right: auto;
  inset-inline-start: 46px;
  width: 0;
  height: auto;
  border-radius: 0;
  background: none;
  border-inline-start: 2px dashed #C3D6EC;
  z-index: 1;
}
.how-it-work-wrapper .how-it-work-item .seciral-number { flex: none; font-size: inherit; }
.how-it-work-wrapper .how-it-work-item .seciral-number span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--xs-r-sm);
  background: var(--xs-brand-tint);
  color: var(--xs-brand-deep);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.how-it-work-wrapper .how-it-work-item .item-content {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.how-it-work-wrapper .how-it-work-item .title {
  margin-bottom: 6px;
  color: var(--xs-ink);
  font-size: 1.125rem;
}
.how-it-work-wrapper .how-it-work-item .item-content p { margin: 0; font-size: 15px; color: var(--xs-body); }

/* --------------------------------------------------------------------------
   8. Security
   -------------------------------------------------------------------------- */
.security-system .security-system-wrapper .security-system-card {
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.security-system .security-system-wrapper .security-system-card:hover { transform: none; }
.security-system .security-system-wrapper .security-system-card::before { display: none; }
.security-system .security-system-wrapper .security-system-card:hover .title { color: var(--xs-ink); }
.security-system .security-system-wrapper .icon {
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 8px;
  border-radius: 14px;
  background: var(--xs-brand-tint);
}
.security-system .security-system-wrapper .icon img {
  mix-blend-mode: multiply;
  filter: hue-rotate(52deg) saturate(1.2);
}
.security-system .security-system-wrapper .security-card-content { margin-top: 20px; }
.security-system .security-system-wrapper .security-system-card .title { margin-bottom: 8px; font-size: 1.125rem; }
.security-system .security-system-wrapper .security-card-content p { margin: 0; font-size: 15px; }

/* --------------------------------------------------------------------------
   9. Why choose us
   -------------------------------------------------------------------------- */
.choice-us-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 0 !important;
}
.why-choice-us-section .choice-us-card { display: block; margin: 0 !important; }
.why-choice-us-section .choice-us-card:hover { transform: none; }
.why-choice-us-section .choice-us-card .card-number { display: none; } /* not a sequence */
.why-choice-us-section .choice-us-card .card-details-wrapper,
.choice-us-wrapper .choice-us-card .card-details-wrapper {
  height: 100%;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  padding: 28px;
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
}
.why-choice-us-section .choice-us-card .card-details-wrapper .content { width: 100%; }
.why-choice-us-section .choice-us-card .card-details-wrapper .title,
.why-choice-us-section .choice-us-card:hover .title {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  background: none;
  border-radius: 0;
  color: var(--xs-ink) !important;
  font-size: 1.125rem;
}
.why-choice-us-section .choice-us-card .card-details-wrapper .content p { margin: 0; font-size: 15px; }
.why-choice-us-section .choice-us-card .card-details-wrapper .icon {
  width: 48px;
  height: 48px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: var(--xs-brand-tint);
  color: var(--xs-brand-deep);
  font-size: 20px;
  line-height: 48px;
  text-align: center;
}
@media (max-width: 767.98px) {
  .choice-us-wrapper { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 575.98px) {
  .security-system .security-system-wrapper .security-system-card,
  .why-choice-us-section .choice-us-card .card-details-wrapper,
  .choice-us-wrapper .choice-us-card .card-details-wrapper,
  .service-section .service-area,
  .testimonial-section .testimonial { padding: 22px; }
  .how-it-work-wrapper .how-it-work-item { padding: 18px; gap: 16px; }
  .how-it-work-wrapper .section-wrapper .how-it-work-item:not(:last-child)::after { inset-inline-start: 39px; top: 68px; }
}

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-section .testimonial {
  height: 100%;
  margin: 0 10px;
  padding: 28px;
  text-align: start;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
}
.testimonial-section .swiper-slide { height: auto; }
.testimonial-section .testimonial .testimonial-content {
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--xs-ink-2);
}
.testimonial-section .testimonial .testimonial-content::before {
  content: "\201C";
  display: block;
  height: 30px;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  color: var(--xs-brand);
}
.testimonial-section .testimonial .testimonial-content::after,
.testimonial-section .testimonial .testimonial-info::before,
.testimonial-section .testimonial .testimonial-info::after { display: none; }
.testimonial-section .testimonial .testimonial-info { display: flex; align-items: center; gap: 12px; }
.testimonial-section .testimonial .pic {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
}
.testimonial-section .testimonial .pic img { border-radius: 14px; object-fit: cover; }
.testimonial-section .testimonial .testimonial-title { margin: 0; }
.testimonial-section .testimonial .testimonial-title a {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--xs-ink);
  pointer-events: none; /* href="#" placeholder */
}
.swiper-pagination { margin-top: 28px; }
.swiper-pagination .swiper-pagination-bullet { background-color: #CBD5E1; }
.swiper-pagination .swiper-pagination-bullet-active { background-color: var(--xs-brand-cta); }

/* --------------------------------------------------------------------------
   11. Download app
   -------------------------------------------------------------------------- */
.app-section-title.pb-30 { padding-bottom: 0 !important; }
.app-btn-wrapper { margin: 28px 0 0; gap: 12px; }
.app-btn-wrapper .app-btn {
  width: auto;
  min-width: 196px;
  margin: 0;
  padding: 10px 20px 10px 14px;
  padding-inline: 14px 20px;
  gap: 12px;
  justify-content: flex-start;
  background-color: var(--xs-ink);
  border-radius: 14px;
  box-shadow: var(--xs-shadow-md);
  transition: background-color .2s var(--xs-ease), transform .2s var(--xs-ease);
}
.app-btn-wrapper .app-btn:hover { background-color: #1E293B; transform: translateY(-1px); }
.app-btn .app-icon { padding: 0; }
.app-btn .app-icon img { width: 28px; height: 28px; object-fit: contain; }
.app-btn-wrapper .app-btn span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.app-btn-wrapper .app-btn .title { font-size: 16px; font-weight: 650; color: #FFFFFF; }
.app-btn-wrapper .app-btn .icon { display: none; }
.app-btn-wrapper .app-btn .app-qr {
  top: calc(100% + 8px);
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-md);
  box-shadow: var(--xs-shadow-lg);
}
.app-section .app-img img { display: block; margin-inline: auto; }

/* --------------------------------------------------------------------------
   12. About
   -------------------------------------------------------------------------- */
.about-section .about-content .about-list { margin-top: 24px; }
.about-section .about-content .about-list li {
  gap: 12px;
  padding: 7px 0;
  color: var(--xs-ink-2);
  font-weight: 500;
}
.about-section .about-content .about-list i {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  background: var(--xs-brand-tint);
  color: var(--xs-brand-deep);
  font-size: 14px;
}
.about-section .about-viedo video {
  display: block;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-xl);
  box-shadow: var(--xs-shadow-lg);
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq-wrapper { margin-bottom: 0; }
.faq-wrapper .faq-item {
  margin-bottom: 12px;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-md);
  box-shadow: none;
  transition: border-color .2s var(--xs-ease), box-shadow .2s var(--xs-ease);
}
.faq-wrapper .faq-item:hover { border-color: var(--xs-line-strong); }
.faq-wrapper .faq-item.open { border-color: #BCE2FA; box-shadow: var(--xs-shadow-md); }
.faq-wrapper .faq-item .faq-title {
  flex-wrap: nowrap;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--xs-ink);
}
.faq-wrapper .faq-item .faq-title .title { width: auto; flex: 1; }
.faq-wrapper .faq-item .right-icon {
  flex: none;
  width: 32px;
  height: 32px;
  background: var(--xs-brand-tint);
  transition: background-color .2s var(--xs-ease);
}
.faq-wrapper .faq-item .right-icon::before,
.faq-wrapper .faq-item .right-icon::after { background: var(--xs-brand-deep); }
.faq-wrapper .faq-item.open .right-icon { background: var(--xs-brand-cta); }
.faq-wrapper .faq-item.open .right-icon::before,
.faq-wrapper .faq-item.open .right-icon::after { background: #FFFFFF; }
.faq-wrapper .faq-item .faq-content { margin: 0; padding: 0 20px 20px; border-top: 0; }
.faq-wrapper .faq-item .faq-content p { font-size: 15px; line-height: 1.65; color: var(--xs-body); }

/* --------------------------------------------------------------------------
   14. Services
   -------------------------------------------------------------------------- */
.service-section .service-area {
  z-index: auto;
  padding: 28px;
  text-align: start;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
}
.service-section .service-area .service-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
  border-radius: 14px;
  background: var(--xs-brand-tint);
  color: var(--xs-brand-deep);
  font-size: 24px;
}
.service-section .service-area .service-icon::before { display: none; }
.service-section .service-area .title { margin-bottom: 8px; font-size: 1.125rem; }
.service-area .service-type p { margin: 0; font-size: 15px; }

/* --------------------------------------------------------------------------
   15. Blog / journal
   -------------------------------------------------------------------------- */
.blog-section .blog-item {
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
  box-shadow: none;
  transition: transform .25s var(--xs-ease), box-shadow .25s var(--xs-ease), border-color .25s var(--xs-ease);
}
.blog-section .blog-item:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--xs-shadow-lg);
}
.blog-section .blog-item:hover .title { color: var(--xs-brand-deep); }
.blog-section .blog-item .blog-img,
.blog-section .blog-item .blog-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--xs-bg-soft);
}
.blog-section .blog-item .blog-img img,
.blog-section .blog-item .blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-section .blog-item .blog-content { padding: 20px 22px 8px; }
.blog-section .blog-item .blog-content .title {
  margin-bottom: 8px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}
.blog-section .blog-item .blog-content .sub-title,
.blog-section .blog-item .blog-content .sub-title * {
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: start !important;
  color: var(--xs-body) !important;
  background: transparent !important;
}
.blog-section .blog-item .blog-footer { gap: 12px; padding: 12px 22px 22px; }
.blog-section .blog-item .blog-btn .btn--base { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.blog-section .blog-item .blog-date p { gap: 6px; margin: 0; font-size: 13px; color: var(--xs-muted); }
.blog-section .blog-item .blog-date p i { font-size: 16px; }

/* Journal details sidebar */
.blog-sidebar .widget-box {
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
}
.blog-sidebar .widget-title { font-size: 1.0625rem; margin-bottom: 16px; }
.blog-details-section .blog-item:hover { transform: none; box-shadow: none; border-color: var(--xs-line); }

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-wrapper {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.contact-wrapper .row { --bs-gutter-x: 24px; }
.contact-wrapper .massage-box {
  padding: clamp(24px, 3vw, 40px);
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-xl);
  box-shadow: var(--xs-shadow-md);
}
.contact-wrapper .contact-box .contact-widget {
  gap: 18px;
  padding: 20px 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
}
.contact-wrapper .contact-item-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--xs-r-md);
  background: var(--xs-brand-tint);
}
.contact-wrapper .contact-item-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: hue-rotate(52deg) saturate(1.2);
}
.contact-wrapper .contact-box .contact-widget .contact-item-content { padding: 0; }
.contact-wrapper .contact-item-content .title { margin-bottom: 4px; font-size: 1.0625rem; }
.contact-wrapper .contact-item-content .sub-title { display: block; font-size: 15px; color: var(--xs-body); }
@media (max-width: 991.98px) {
  .contact-wrapper .massage-box { border-radius: var(--xs-r-xl); }
  .contact-wrapper .contact-box .contact-widget { border-radius: var(--xs-r-lg); }
}

/* --------------------------------------------------------------------------
   17. Product pages (save cards / transfer / payments / accept payments)
   -------------------------------------------------------------------------- */
.make-payment-wrapper .step-list { margin-top: 24px; }
.make-payment-wrapper .step-list li {
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  color: var(--xs-ink-2);
}
.make-payment-wrapper .step-list li i {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  background: var(--xs-brand-tint);
  color: var(--xs-brand-deep);
  font-size: 12px;
}
.payment-img img {
  display: block;
  border-radius: var(--xs-r-xl);
  border: 1px solid var(--xs-line);
}

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--xs-ink-2);
}
label span,
.contact-wrapper .massage-box label span { color: #D92D20; }
.form-group { margin-bottom: 16px; }

.form--control,
.form-control.form--control {
  height: 48px;
  padding: 10px 16px;
  font-family: var(--xs-font);
  font-size: 15px;
  color: var(--xs-ink);
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line-strong);
  border-radius: var(--xs-r-sm);
  box-shadow: none;
  transition: border-color .15s var(--xs-ease), box-shadow .15s var(--xs-ease);
}
textarea.form--control { height: auto; min-height: 140px; padding-top: 12px; resize: vertical; }
.form--control:hover { border-color: #BFCADA; }
.form--control:focus,
.form-control.form--control:focus,
.contact-wrapper .massage-box .form--control:focus {
  border-color: var(--xs-brand) !important;
  box-shadow: var(--xs-focus-ring) !important;
  background-color: #FFFFFF;
  outline: 0;
}
.form--control::placeholder,
.contact-wrapper .massage-box .form--control::placeholder { color: var(--xs-faint) !important; font-weight: 400; }

.show_hide_password input { padding-right: 16px; padding-inline-end: 48px; }
.account-form .show_hide_password .show-pass {
  right: auto;
  inset-inline-end: 28px;
  top: 44px !important;
  color: var(--xs-muted);
  cursor: pointer;
}

.custom-check-group label { font-weight: 500; color: var(--xs-body); }
.custom-check-group label::before {
  margin-right: 0;
  margin-inline-end: 10px;
  border-color: var(--xs-line-strong);
  border-radius: 6px;
}
.custom-check-group input:checked + label::before { background-color: var(--xs-brand-cta); border-color: var(--xs-brand-cta); }
.custom-check-group label a { color: var(--xs-brand-deep); font-weight: 600; }

/* --------------------------------------------------------------------------
   19. Auth (login / register)
   -------------------------------------------------------------------------- */
body > section.account-section {
  background-color: var(--xs-bg-soft);
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.account-section .account-wrapper > .row.align-items-center { align-items: stretch !important; }
.account-section .account-wrapper > .row > [class*="col-"]:last-child { display: flex; flex-direction: column; justify-content: center; }
.account-section .account-wrapper {
  padding: 12px;
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-2xl);
  box-shadow: var(--xs-shadow-lg);
}
.account-section .account-wrapper .account-img {
  height: 100%;
  border-radius: 16px; /* 28 outer - 12 padding: concentric */
  overflow: hidden;
}
.account-section .account-wrapper .account-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.account-section .account-wrapper .account-form { padding: clamp(20px, 3.4vw, 48px); }
.account-section .account-wrapper .account-form .account-form { padding: 0; }
.account-section .account-form .title {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.03em;
}
.account-section .account-form form > p { margin-bottom: 28px; color: var(--xs-body); }
.account-section .account-item label,
.account-section .terms-item label,
.account-section .forgot-item label { margin: 0; font-size: 14px; font-weight: 500; color: var(--xs-body); }
.account-section .text--base { font-weight: 600; }
.account-section .forgot-item.text-end { text-align: end !important; }
.account-section .btn--base.w-100 { min-height: 50px; font-size: 16px; }
@media (max-width: 991.98px) {
  .account-section .account-wrapper .account-img { aspect-ratio: 16 / 8; }
  .account-section .account-wrapper .account-img img { height: 100%; object-fit: cover; }
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer-section {
  color: var(--xs-faint);
  background-color: var(--xs-slate-950) !important;
  background-image: radial-gradient(60% 90% at 100% 0%, rgba(7, 174, 255, .10) 0%, rgba(7, 174, 255, 0) 60%) !important;
}
.footer-section .footer-content.pt-60 { padding-top: clamp(56px, 6vw, 88px); }
.footer-section .footer-text img {
  width: 140px;
  margin-bottom: 20px;
  filter: invert(1) hue-rotate(180deg) brightness(1.08);
  mix-blend-mode: screen; /* logo ships on white: invert + screen drops the box */
}
.footer-section .footer-text p { max-width: 38ch; font-size: 15px; color: var(--xs-faint); overflow-wrap: anywhere; }
.footer-section .footer-social-icon span {
  margin: 24px 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #CBD5E1;
}
.footer-section .footer-social-icon a { margin: 0; margin-inline-end: 8px; }
.footer-section .footer-social-icon i {
  width: 40px;
  height: 40px;
  line-height: 38px;
  font-size: 18px;
  color: #E2E8F0;
  background-color: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .2s var(--xs-ease), color .2s var(--xs-ease), border-color .2s var(--xs-ease);
}
.footer-section .footer-social-icon a:hover i { color: #FFFFFF; background-color: var(--xs-brand-cta); border-color: transparent; }
.footer-widget-heading { padding-bottom: 16px; }
.footer-widget-heading h3 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  color: #FFFFFF;
}
.footer-section .footer-content > .row { justify-content: space-between; }
.footer-section .footer-content > .row > [class*="col-"]:has(.footer-widget-heading):not(:has(li)):not(:has(form)) { display: none; } /* empty "Useful Links" */
.footer-section .footer-widget ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer-section .footer-widget ul li { float: none; width: auto; margin: 0; }
.footer-section .footer-widget ul li a { font-size: 15px; color: #CBD5E1; }
.footer-section .footer-widget ul li a:hover { color: var(--xs-brand); }
.footer-section .footer-text.mb-25 { margin-bottom: 18px; }
.footer-section .footer-text.mb-25 p { color: var(--xs-faint); }
.footer-section .subscribe-form input {
  height: 52px;
  margin-top: 0;
  padding: 0 20px;
  padding-inline: 20px 60px;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--xs-r-pill);
  transition: border-color .2s var(--xs-ease), box-shadow .2s var(--xs-ease);
}
.footer-section .subscribe-form input::placeholder { color: #8A99AE !important; }
.footer-section .subscribe-form input:focus { outline: 0; border-color: var(--xs-brand); box-shadow: 0 0 0 4px rgba(7, 174, 255, .2); }
.footer-section .subscribe-form button {
  top: 6px;
  right: auto;
  inset-inline-end: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--xs-brand-cta);
  transition: background-color .2s var(--xs-ease);
}
.footer-section .subscribe-form button:hover { background: var(--xs-brand); }
.footer-section .subscribe-form button i { font-size: 16px; transform: none; }
.footer-section .copyright-area { padding: 8px 0 28px; }
.footer-section .copyright-text {
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-section .copyright-text p { font-size: 14px; color: #7C8BA1; }
.footer-section .copyright-text p a { font-weight: 600; color: #CBD5E1; }
.footer-section .copyright-text p a:hover { color: var(--xs-brand); }

/* --------------------------------------------------------------------------
   21. Cookie banner, scroll-to-top
   -------------------------------------------------------------------------- */
.cookie-main-wrapper {
  gap: 20px;
  width: min(92vw, 780px);
  padding: 16px;
  padding-inline: 20px 16px;
  color: var(--xs-body);
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: var(--xs-r-lg);
  box-shadow: var(--xs-shadow-lg);
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.cookie-main-wrapper .cookie-content { flex: 1; width: auto; gap: 14px; }
.cookie-main-wrapper .cookie-content svg { flex: none; width: 28px; margin: 0; fill: var(--xs-brand); }
.cookie-main-wrapper .cookie-content p,
.cookie-main-wrapper .cookie-content p.text-white {
  width: auto;
  font-family: var(--xs-font);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--xs-body) !important;
}
.cookie-main-wrapper .cookie-content p a { color: var(--xs-brand-deep); font-weight: 600; }
.cookie-main-wrapper .cookie-btn-area { display: flex; flex: none; gap: 8px; }
.cookie-main-wrapper .cookie-btn-area button {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: var(--xs-r-pill);
  font-size: 14px;
  font-weight: 600;
}
.cookie-main-wrapper .cookie-btn-area .cookie-btn { color: #FFFFFF; background-color: var(--xs-brand-cta); }
.cookie-main-wrapper .cookie-btn-area .cookie-btn:hover { background-color: var(--xs-brand-deep); }
.cookie-main-wrapper .cookie-btn-area .cookie-btn-cross { color: var(--xs-ink); background-color: #FFFFFF; border: 1px solid var(--xs-line-strong); }
.cookie-main-wrapper .cookie-btn-area .cookie-btn-cross:hover { background-color: var(--xs-bg-soft); }
@media (max-width: 767.98px) {
  .cookie-main-wrapper .cookie-btn-area { margin-top: 14px; }
  .cookie-main-wrapper .cookie-btn-area button { flex: 1; }
}

.scrollToTop {
  right: auto;
  inset-inline-end: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--xs-ink);
  background-color: #FFFFFF;
  border: 1px solid var(--xs-line);
  border-radius: 50%;
  box-shadow: var(--xs-shadow-md);
}
.scrollToTop.active { margin-bottom: env(safe-area-inset-bottom, 0px); }
.scrollToTop:hover { color: var(--xs-brand-deep); border-color: var(--xs-line-strong); }
.scrollToTop i { font-size: 18px; }
.scrollToTop i::before { content: "\f106"; } /* angle-up instead of pointing hand */
.scrollToTop small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   22. Developer docs (developer/layouts/master)
   -------------------------------------------------------------------------- */
.developer-header {
  padding: 12px 0;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--xs-line);
  box-shadow: none;
}
.developer-wrapper .developer-logo-area .logo-text {
  margin-inline-start: 10px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  color: var(--xs-brand-deep);
  background: var(--xs-brand-tint);
  border: 0;
}
.developer-wrapper .developer-header-content .developer-header-list li a { font-weight: 600; color: var(--xs-ink-2); }
.developer-wrapper .developer-header-content .developer-header-list li a:hover { color: var(--xs-brand-deep); }
.developer-wrapper .developer-header-content .developer-header-action .btn--base { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.developer-page-container .developer-bar {
  background-color: var(--xs-bg-soft);
  border-inline-end: 1px solid var(--xs-line);
  box-shadow: none;
}
.developer-page-container .developer-bar .developer-bar-wrapper .list-divider {
  font-size: 12px;
  font-weight: 600;
  color: var(--xs-muted);
}
.developer-page-container .developer-bar .developer-bar-wrapper .developer-bar-main-menu li a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--xs-ink-2);
}
.developer-page-container .developer-bar .developer-bar-wrapper .developer-bar-main-menu li a:hover {
  background-color: #FFFFFF;
  color: var(--xs-brand-deep);
}
.developer-page-container .developer-bar .developer-bar-wrapper .developer-bar-main-menu li.active > a {
  background-color: #FFFFFF;
  color: var(--xs-brand-deep);
  font-weight: 600;
  box-shadow: var(--xs-shadow-sm), inset 0 0 0 1px var(--xs-line);
}
.developer-page-container .developer-body-wrapper { padding: clamp(24px, 4vw, 64px); }
.developer-page-container .developer-body-wrapper .developer-main-wrapper { max-width: 860px; }
.developer-page-container .developer-body-wrapper .developer-main-wrapper .heading-title {
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.developer-page-container .developer-body-wrapper .developer-main-wrapper .heading-title.text-center { text-align: start !important; }
.developer-page-container .page-change-area { max-width: 860px; }
.developer-main-wrapper p { font-size: 16px; line-height: 1.75; color: var(--xs-body); text-align: start !important; }
.developer-page-container pre,
.developer-page-container .prettyprint {
  border: 1px solid var(--xs-line) !important;
  border-radius: var(--xs-r-md);
  padding: 16px !important;
}
.page-change-area .navigation-wrapper { border-top-color: var(--xs-line); }
.page-change-area .navigation-wrapper a { color: var(--xs-ink); font-weight: 600; }
.page-change-area .navigation-wrapper a:hover { color: var(--xs-brand-deep); }
@media (max-width: 767.98px) {
  .heading-title { font-weight: 700 !important; }
}

/* --------------------------------------------------------------------------
   23. RTL fix-ups for vendor physical properties
   -------------------------------------------------------------------------- */
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .navbar-toggler {
  margin-left: 0 !important;
  margin-right: auto !important;
}
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .navbar-collapse .main-menu.me-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .nice-select { text-align: right !important; }
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .nice-select:after { right: auto; left: 16px; }
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .nice-select .list { right: auto; left: 0; }
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .about-list i.la-arrow-right,
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .step-list i.fa-arrow-right,
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .navigation-wrapper i.la-arrow-right { transform: scaleX(-1); }
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .app-btn-wrapper .app-btn .app-qr { left: auto; right: 0; transform-origin: top right; }
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .banner-section::before {
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 0%, transparent 75%);
}
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .banner-section {
  background-image:
    radial-gradient(55% 65% at 18% 38%, rgba(7, 174, 255, .16) 0%, rgba(7, 174, 255, 0) 70%),
    radial-gradient(40% 50% at 100% 0%, rgba(7, 174, 255, .07) 0%, rgba(7, 174, 255, 0) 70%),
    linear-gradient(180deg, #F6F9FE 0%, #FFFFFF 100%) !important;
}
:is([dir="rtl"], :root:lang(ar), :root:lang(fa), :root:lang(ur), :root:lang(he)) .footer-section {
  background-image: radial-gradient(60% 90% at 0% 0%, rgba(7, 174, 255, .10) 0%, rgba(7, 174, 255, 0) 60%) !important;
}

/* --------------------------------------------------------------------------
   24. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* 25. Hide the banner demo statistics (2,320 users / "Our Best Customer")
       until real figures are entered in Admin > Setup Sections > Banner. */
.banner-section .banner-bottom { display: none !important; }

/* 26. Hero glow sized from the image height, so landscape banner images
       (like the current 738x512 one) never push the glow over the text. */
.banner-section .banner-content { position: relative; z-index: 2; }
.banner-wrapper .banner-img::before {
  width: auto;
  height: 96%;
  bottom: 2%;
}
@media (max-width: 575.98px) {
  .banner-wrapper .banner-img { margin-top: 56px; }
}

/* 27. Hide the footer "Follow us" row while no social links are configured. */
.footer-section .footer-social-icon:not(:has(a)) { display: none; }
