@font-face {
  font-family: "SBC";
  src: url("../fonts/sbc.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  --_font-family---inter-tight: "SBC", sans-serif;
  --_font-family---funnel-display: "SBC", sans-serif;
  --_font-family---chivo-mono: "SBC", sans-serif;
}

body,
input,
textarea,
select,
button {
  font-family: "SBC", sans-serif;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none !important;
}

.footer-underline-button {
  display: none !important;
}

/* No colored glow behind primary buttons */
.primary-button-shape {
  display: none !important;
}

/* The sponsors strip was removed on /features; keep its dashed separator */
.section.features-banner {
  border-bottom: 1px dashed #0000001a;
}

.integration-card-link-block {
  border-bottom: 0 !important;
}

.navbar-logo-wrapper {
  gap: 10px;
  align-items: center;
  padding-left: 0;
  display: inline-flex;
}

.navbar-wordmark {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

/* ============ Dark navigation ============ */
.navbar {
  background: rgba(8, 10, 9, .96);
  border-bottom-color: rgba(255, 255, 255, .14);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
  backdrop-filter: blur(16px);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .72);
}

.navbar .nav-link:hover,
.navbar .nav-link.w--current {
  color: #fff;
}

.navbar .nav-link.w--current {
  background-image: none;
  padding-left: 0;
}

.navbar .lang-dropdown-btn {
  color: rgba(255, 255, 255, .84);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
}

.navbar .lang-dropdown-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .12);
}

.navbar .section-line {
  border-color: rgba(255, 255, 255, .12);
}

/* The footer only contains unique destinations, so its navigation uses three columns. */
.footer-top-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.section.integration .integration-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section.integration .integration-card-description {
  flex: 1;
}

.section.integration .integration-card-link-block {
  align-self: flex-start;
}

.section.integration .integration-card-logo-wrap.integration-icon-blue {
  background: #eaf3ff;
  box-shadow: inset 0 0 0 1px #0e57e11f;
}

.section.integration .integration-card-logo-wrap.integration-icon-green {
  background: #eaf9ec;
  box-shadow: inset 0 0 0 1px #00a80924;
}

.section.integration .integration-card-logo-wrap.integration-icon-indigo {
  background: #eef1ff;
  box-shadow: inset 0 0 0 1px #155eef1f;
}

.section.integration .integration-card-logo-wrap .integration-card-logo {
  width: 32px;
  max-width: 32px;
  max-height: 32px;
}

.section.faq .faq-single-accordion-wrap[data-faq-open="true"] .faq-accordion-ans-wrap {
  display: block;
}

.section.faq .faq-accordion-icon {
  transition: transform .25s ease;
}

.section.faq .faq-single-accordion-wrap[data-faq-open="true"] .faq-accordion-icon {
  transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
  .footer-top-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid.compact .footer-menu-single.last {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 479px) {
  .footer-top-grid.compact {
    grid-template-columns: 1fr;
  }

  .footer-top-grid.compact .footer-menu-single.last {
    grid-column: auto;
  }
}

/* ============ Mobile friendliness ============ */
/* Comfortable 44px+ touch targets and readable spacing on small screens. */
@media screen and (max-width: 767px) {
  .footer-menu-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
  }

  .footer-menu-list {
    grid-row-gap: 4px;
  }

  .navbar .menu-button.w-nav-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 0;
    transition: background-color .2s ease, border-color .2s ease;
  }

  .navbar .menu-button.w-nav-button:hover,
  .navbar .menu-button.w--open {
    background-color: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .38);
  }

  .hamburger-menu-icon {
    max-width: 22px;
    height: 22px;
    filter: invert(1);
  }

  .hamburger-menu-icon svg {
    display: block;
  }

  .navbar .lang-dropdown-btn {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-button-wrapper {
    grid-column-gap: 10px;
    align-items: center;
  }

  .lang-dropdown-btn {
    min-height: 44px;
  }

  .lang-option {
    min-height: 44px;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
  }

  .primary-button {
    min-height: 48px;
  }

  .banner-button-wrapper,
  .banner-button-wrapper .primary-button-wrapper,
  .banner-button-wrapper .primary-button {
    width: 100%;
    max-width: 360px;
  }

  .banner-button-wrapper .primary-button {
    justify-content: center;
  }

  .banner-button-wrapper {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .footer-social-media-wrapper .social-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .faq-accordion-link {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .integration-card-link-block {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Small inline text links across content pages */
  .about-email,
  .authentication-description-text-link,
  .authentication-text-link,
  .authentication-form-checkbox-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Icon links: team member and authentication social buttons */
  .team-member-social-media,
  .authentication-social-media {
    min-width: 44px;
    min-height: 44px;
  }

  /* Decorative micro-labels stay legible on small screens */
  .core-features-element-button-text,
  .core-features-year-text {
    font-size: 11px;
  }
}

/* ============ Layout guards ============ */
/* Decorative elements (e.g. .section-circle) poke a few px past the viewport.
   In RTL that side becomes scrollable and causes a horizontal scrollbar. */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ============ Language dropdown ============ */
/* Styled with Tailwind utilities in the markup; open/close state + Webflow resets here. */
.lang-dropdown button {
  background-color: transparent;
  font-family: inherit;
}

.lang-dropdown[data-open="true"] .lang-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.lang-dropdown[data-open="true"] .lang-chevron {
  transform: rotate(180deg);
}

/* ============ Arabic typography ============ */
html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] div,
html[lang="ar"] span,
html[lang="ar"] li,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] button {
  font-family: "SBC", sans-serif;
  letter-spacing: 0 !important;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  font-family: "SBC", sans-serif;
  letter-spacing: 0 !important;
  font-weight: 600;
}

/* Keep icon-font glyphs intact (Font Awesome / Webflow icons) */
html[lang="ar"] .dropdown-toggle-arrow,
html[lang="ar"] .process-tabs-menu-arrow,
html[lang="ar"] .faq-accordion-icon,
html[lang="ar"] .social-media,
html[lang="ar"] .social-media div,
html[lang="ar"] [class*="w-icon"] {
  font-family: "Fa Solid 900", "Fa Brands 400", "Fa 400", "webflow-icons", Arial, sans-serif !important;
}

html[lang="ar"] .social-media,
html[lang="ar"] .social-media div {
  font-family: "Fa Brands 400", Arial, sans-serif !important;
}

html[lang="ar"] .faq-accordion-icon {
  font-family: "Fa 400", Arial, sans-serif !important;
}

/* Arabic glyphs need more vertical room than Latin display fonts */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  line-height: 1.4 !important;
}

html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p {
  line-height: 1.8 !important;
}

/* ============ Typography refinement (both languages) ============ */
/* Calmer, more professional scale than the template defaults. */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

p,
li,
a,
button,
input,
textarea {
  overflow-wrap: anywhere;
}

p {
  text-wrap: pretty;
  max-width: 70ch;
}

:where(.w-layout-grid, [class*="card"], [class*="content"]) > * {
  min-width: 0;
}

h1.banner-title {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang="ar"] h1.banner-title {
  line-height: 1.35 !important;
}

h2.section-title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h2.number-digit {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: var(--counter-height) !important;
}

html[lang="ar"] h2.number-digit {
  line-height: var(--counter-height) !important;
}

.summery-counter-wrap {
  --counter-height: 52px;
  direction: ltr;
  height: var(--counter-height);
  font-variant-numeric: tabular-nums;
}

.single-counter-wrap {
  height: var(--counter-height);
  flex: 0 0 auto;
}

.single-counter-wrap .number-digit {
  flex: 0 0 var(--counter-height);
  width: 1ch;
  height: var(--counter-height);
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
}

.summery-counter-wrap > .number-digit {
  flex: 0 0 auto;
  height: var(--counter-height);
  white-space: nowrap;
  overflow-wrap: normal;
}

@media screen and (min-width: 1280px) {
  .summery-counter-wrap {
    --counter-height: 60px;
  }
}

@media screen and (max-width: 767px) {
  .summery-counter-wrap {
    --counter-height: 46px;
  }
}

@media screen and (max-width: 479px) {
  .summery-counter-wrap {
    --counter-height: 30px;
  }

  h2.number-digit {
    font-size: 28px;
  }
}

.banner-description {
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
}

.about-us-description {
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
}

h3.core-features-card-title {
  font-size: 20px;
}

.banner-subtitle-single {
  font-size: 14px;
}

.banner-subtitle-single.hero-kicker {
  border: 1px solid rgba(8, 10, 9, .12);
  border-radius: 100px;
  padding: 7px 16px;
}

.hero-kicker .banner-subtitle {
  color: var(--title-color);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.subtile-wrapper {
  display: none !important;
}

.about-us-section-title-content.home > .overflow-hidden:first-child {
  padding-top: 4px;
  padding-bottom: 4px;
}

.about-us-section-title-content.home .subtile {
  line-height: 1.5;
}

.banner-vh {
  height: auto;
}

.banner-sticky {
  position: static;
}

.banner-video-section {
  margin-top: 56px;
}

.banner-video-section .banner-table-wrapper {
  width: 100%;
}

.banner-video-section .banner-table-content {
  width: 100%;
  padding: 0;
  background: none;
}

.banner-video-frame {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  background: #080a09;
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 60px #10151024;
  backdrop-filter: none;
}

.banner-scroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  animation: banner-video-reveal .8s ease-out .15s forwards;
}

@keyframes banner-video-reveal {
  to {
    opacity: 1;
  }
}

.section.faq-replacement {
  padding: 80px 0;
  border-top: 1px dashed var(--black-stock-color);
}

.faq-replacement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.faq-replacement-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 600;
}

.faq-replacement-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.faq-replacement-link {
  flex: 0 0 auto;
  padding: 15px 22px;
  color: var(--white);
  background: var(--title-color);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.faq-replacement-link:hover {
  color: var(--white);
  background: #046f36;
}

.section.features-banner .features-banner-typography {
  max-width: 720px;
}

.section.features-banner .features-banner-title {
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.features-banner-description {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.7;
}

.features-product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 64px;
  padding: 1px;
  background: #d9ddda;
  overflow: hidden;
}

.features-product-view {
  min-width: 0;
  margin: 0;
  padding: 18px;
  background: #f5f6f5;
}

.features-product-view figcaption {
  margin-bottom: 12px;
  color: var(--title-color);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.features-product-image {
  width: 100%;
  height: auto;
  display: block;
}

.section.platform-principles {
  padding: 0;
  border-top: 1px dashed var(--black-stock-color);
}

.platform-principles-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.platform-principles-heading h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 600;
}

.platform-principles-heading p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.platform-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d9ddda;
  border-bottom: 1px solid #d9ddda;
}

.platform-principle {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid #d9ddda;
}

.platform-principle:last-child {
  border-right: 0;
}

.platform-principle span {
  color: #ce0704;
  font-size: 13px;
  font-weight: 600;
}

.platform-principle h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
}

.platform-principle p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

@media screen and (max-width: 479px) {
  .banner-typography {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .banner-subtitle-wrapper {
    margin-bottom: 14px;
  }

  .hero-kicker .banner-subtitle {
    font-size: 11px;
  }

  h1.banner-title {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.14;
  }

  .banner-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .banner-video-section {
    margin-top: 36px;
  }

  .section.faq-replacement {
    padding: 56px 0;
  }

  .faq-replacement-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .section.features-banner .features-banner-title {
    font-size: 36px;
  }

  .features-banner-description {
    font-size: 15px;
  }

  .features-product-showcase {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .features-product-view {
    padding: 10px;
  }

  .platform-principles-heading {
    margin-bottom: 32px;
  }

  .platform-principles-grid {
    grid-template-columns: 1fr;
  }

  .platform-principle {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #d9ddda;
  }

  .platform-principle:last-child {
    border-bottom: 0;
  }
}

.section.core-features {
  overflow: clip;
}

.section.core-features .section-title-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

.section.core-features .section-title.core-features {
  max-width: 760px;
}

.core-features-card-title-description {
  position: relative;
  z-index: 10;
}

.core-features-flag-wrapper {
  justify-content: center;
}

.core-features-flag.oman {
  position: relative;
  z-index: 1;
  width: 76px;
  max-width: 76px;
  height: 76px;
  margin-right: 0;
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  overflow: visible;
  box-shadow: 0 12px 30px #00000052;
}

.core-features-flag.oman::before,
.core-features-flag.oman::after {
  content: "";
  z-index: -1;
  border: 1px solid #ce0704b3;
  border-radius: 50%;
  position: absolute;
  inset: -5px;
  pointer-events: none;
  animation: oman-flag-pulse 2.8s ease-out infinite;
}

.core-features-flag.oman::after {
  border-color: #046f3699;
  animation-delay: 1.4s;
}

.oman-flag-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

@keyframes oman-flag-pulse {
  0% {
    opacity: .8;
    transform: scale(1);
  }

  70%, 100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-features-flag.oman::before,
  .core-features-flag.oman::after {
    animation: none;
  }
}

@media screen and (max-width: 479px) {
  .core-features-flag.oman {
    width: 54px;
    max-width: 54px;
    height: 54px;
  }
}

/* Buttons: keep labels on one line (Arabic labels are wider) */
.primary-button .button-text {
  white-space: nowrap;
  overflow-wrap: normal;
}

@media screen and (max-width: 479px) {
  html[lang="ar"] .core-features-card-elements-wrap {
    overflow: clip;
  }

  html[lang="ar"] .core-features-button-element {
    left: 0;
  }
}

/* ============ RTL adjustments ============ */
html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .nav-menu,
html[dir="rtl"] .navbar-wrapper,
html[dir="rtl"] .navbar-button-wrapper,
html[dir="rtl"] .footer-bottom-content {
  direction: rtl;
}

html[dir="rtl"] .faq-accordion-title-wrap,
html[dir="rtl"] .faq-accordion-ans-wrap,
html[dir="rtl"] .faq-accordion-content-wrap,
html[dir="rtl"] .faq-accordion-ans {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .faq-accordion-ans {
  margin-left: auto;
  margin-right: 0;
}

/* Keep phone numbers / emails / codes readable */
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
}

/* Button arrows point the other way */
html[dir="rtl"] .button-arrow,
html[dir="rtl"] .action-panel-link-block-arrow,
html[dir="rtl"] .dropdown-toggle-arrow {
  transform: scaleX(-1);
}
