@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* هوية أريڤاتو — موف واحد + درجتان فقط */
  --arrivato-brand: #8946F9;
  --arrivato-brand-hover: #7A38EB;
  --arrivato-brand-surface: #7D3DF0;
  --arrivato-brand-muted: #E4D4FF;
  --arrivato-bg: #2a0e73;
  --arrivato-bg-deep: #07012a;
  --arrivato-bg-edge: #1c0a5e;
  --arrivato-hero-gradient: radial-gradient(125% 90% at 50% 0%, #2a1080 0%, #14064f 38%, #0c0240 100%);
  --arrivato-text: #FFFFFF;
  --arrivato-text-soft: rgba(255, 255, 255, 0.85);
  --arrivato-surface: rgba(0, 0, 0, 0.1);
  --arrivato-border: rgba(255, 255, 255, 0.15);
  --arrivato-primary: var(--arrivato-brand);
  --arrivato-primary-hover: var(--arrivato-brand-hover);
  --arrivato-primary-soft: rgba(255, 255, 255, 0.12);
  --arrivato-primary-soft-strong: rgba(255, 255, 255, 0.28);
  --arrivato-accent: #FFFFFF;
  --arrivato-dark: var(--arrivato-brand);
  --arrivato-purple: var(--arrivato-brand);
  --arrivato-purple-lighter: var(--arrivato-brand-muted);
  --arrivato-font-ar: 'Alexandria', sans-serif;
  --arrivato-font-en: 'Montserrat', sans-serif;
}

/* Template tokens → نفس الموف في كل الموقع */
.arrivato-landing {
  --tp-common-black: var(--arrivato-brand);
  --tp-common-blue: var(--arrivato-brand);
  --tp-common-blue-2: var(--arrivato-brand);
  --tp-common-blue-3: var(--arrivato-brand);
  --tp-common-blue-4: var(--arrivato-brand-hover);
  --tp-common-yellow-3: var(--arrivato-brand-muted);
  --tp-heading-primary: #FFFFFF;
  background-color: var(--arrivato-bg);
  color: var(--arrivato-text);
}

/* Montserrat = Latin/EN only. Cairo = Arabic (connected script). */
html[lang="ar"] body,
html[lang="ar"] .tp-section-title-4,
html[lang="ar"] .tp-hero-title-4,
html[lang="ar"] .tp-service-4-title,
html[lang="ar"] .tp-team-title-sm,
html[lang="ar"] .tp-panel-title,
html[lang="ar"] .tp-panel-title-2,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] li,
html[lang="ar"] span,
html[lang="ar"] button {
  font-family: var(--arrivato-font-ar) !important;
}

html[lang="en"] body,
html[lang="en"] .tp-section-title-4,
html[lang="en"] .tp-hero-title-4,
html[lang="en"] .tp-service-4-title,
html[lang="en"] .tp-team-title-sm,
html[lang="en"] .tp-panel-title,
html[lang="en"] .tp-panel-title-2,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6,
html[lang="en"] p,
html[lang="en"] a,
html[lang="en"] li,
html[lang="en"] span,
html[lang="en"] button {
  font-family: var(--arrivato-font-en) !important;
}

/* Negative tracking breaks Arabic glyph joining */
html[lang="ar"] .tp-hero-title-4,
html[lang="ar"] .tp-section-title-4,
html[lang="ar"] .tp-section-subtitle-4 {
  letter-spacing: 0 !important;
}

html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] span,
html[lang="ar"] a {
  line-height: 1.8;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  line-height: 1.5;
}

html[lang="ar"] button,
html[lang="ar"] button span,
html[lang="ar"] .arrivato-hero-link,
html[lang="ar"] .arrivato-hero-link span {
  line-height: normal;
}

html[lang="ar"] .tp-btn-yellow-lg,
html[lang="ar"] .tp-btn-yellow-lg span {
  line-height: 60px;
}

html[lang="ar"] .tp-btn-yellow-border,
html[lang="ar"] .tp-btn-yellow-border span {
  line-height: 57px;
}

html[lang="ar"] .tp-btn-service,
html[lang="ar"] .tp-btn-service span {
  line-height: 35px;
}

@media (max-width: 767px) {
  html[lang="ar"] .tp-btn-yellow-lg,
  html[lang="ar"] .tp-btn-yellow-lg span {
    line-height: 50px;
  }
}

html[lang="ar"] #hero .tp-hero-title-4,
html[lang="ar"] #hero .tp-hero-title-4 span {
  line-height: 1.2;
}

html[lang="ar"] #hero .arrivato-hero-copy p {
  line-height: 1.4;
}

.arrivato-lang-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  margin-inline-end: 0;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
  flex-shrink: 0;
  line-height: 1.2;
}

.arrivato-header-actions {
  gap: 14px;
  flex-wrap: nowrap;
}

/* القائمة الرئيسية — سطر واحد مع مسافات أوضح */
.arrivato-landing .arrivato-main-nav > nav > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arrivato-landing .arrivato-main-nav > nav > ul > li {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0 !important;
}

.arrivato-landing .arrivato-main-nav > nav > ul > li > a {
  padding: 30px 20px !important;
  font-size: 15px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

@media only screen and (min-width: 1400px) {
  .arrivato-landing .arrivato-main-nav > nav > ul {
    gap: 12px;
  }

  .arrivato-landing .arrivato-main-nav > nav > ul > li > a {
    padding: 30px 24px !important;
    font-size: 16px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .arrivato-landing .arrivato-main-nav > nav > ul {
    gap: 6px;
  }

  .arrivato-landing .arrivato-main-nav > nav > ul > li > a {
    padding: 30px 16px !important;
    font-size: 15px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .arrivato-landing .arrivato-main-nav > nav > ul {
    gap: 4px;
  }

  .arrivato-landing .arrivato-main-nav > nav > ul > li > a {
    padding: 30px 12px !important;
    font-size: 14px;
  }
}

/* Dropdown حسابي / Account */
.arrivato-account-dropdown {
  position: relative;
  flex-shrink: 0;
}

.arrivato-account-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: var(--arrivato-brand) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.arrivato-account-toggle:hover,
.arrivato-account-dropdown.is-open .arrivato-account-toggle {
  background: var(--arrivato-brand-muted);
  color: var(--arrivato-brand) !important;
}

.arrivato-account-toggle i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.arrivato-account-dropdown.is-open .arrivato-account-toggle i {
  transform: rotate(180deg);
}

html[dir="rtl"] .arrivato-account-toggle i {
  transform: scaleX(-1);
}

html[dir="rtl"] .arrivato-account-dropdown.is-open .arrivato-account-toggle i {
  transform: scaleX(-1) rotate(180deg);
}

.arrivato-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(3, 4, 28, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}

.arrivato-account-dropdown.is-open .arrivato-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.arrivato-account-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--arrivato-brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.arrivato-account-menu a:hover {
  background: rgba(137, 70, 249, 0.08);
  color: var(--arrivato-brand-hover);
}

.arrivato-account-menu li + li {
  margin-top: 2px;
}

/* موبايل — روابط الحساب داخل القائمة الجانبية */
.arrivato-mobile-auth {
  padding: 24px 28px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arrivato-mobile-auth__link {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}

.arrivato-mobile-auth__cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--arrivato-brand) !important;
  font-weight: 700;
  text-decoration: none;
}

/* الهيدر دائماً على خلفية موف — زر اللغة أبيض */
.arrivato-landing .arrivato-lang-toggle {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.arrivato-landing .arrivato-lang-toggle:hover {
  color: #fff !important;
  border-color: #fff !important;
  opacity: 0.9;
}

.arrivato-landing #header-sticky.header-sticky .arrivato-lang-toggle {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.arrivato-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arrivato-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.arrivato-benefits-list li i {
  color: var(--arrivato-accent);
  margin-top: 3px;
}

.arrivato-logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.arrivato-logo-text span {
  color: var(--arrivato-accent);
}

.sticky .arrivato-logo-text,
.header-sticky .arrivato-logo-text {
  color: var(--arrivato-dark);
}

#services-brief .arrivato-service-desc {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.arrivato-footer-quote {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.arrivato-footer-quote em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--arrivato-accent);
  font-weight: 600;
}

.arrivato-footer-contact .tp-contact-info-box ul li svg {
  color: #E6E678;
}

.arrivato-footer-contact .tp-contact-info-box ul li > span {
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.8);
}

html[dir="ltr"] .tp-barnd-left-item,
html[dir="ltr"] .tp-service-sction-content,
html[dir="ltr"] .tp-team-top-content {
  text-align: left;
}

html[dir="ltr"] .header-bottom__main-menu ul li a {
  letter-spacing: 0;
}

html[dir="ltr"] .arrivato-landing .scroll-top {
  right: 50px;
  left: auto;
}

.arrivato-hide-slider {
  display: none !important;
}

.arrivato-landing .tp-fun-fact-area,
.arrivato-landing .tp-blog-area {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* ScrollSmoother off on Arrivato — prevents empty white gap after footer */
.arrivato-landing #smooth-wrapper {
  height: auto !important;
  overflow: visible !important;
}

.arrivato-landing #smooth-content {
  transform: none !important;
}

.arrivato-landing {
  overflow-x: hidden;
}

.arrivato-landing footer {
  margin-bottom: 0;
}

.col-xl-4.col-lg-4 .tp-barnd-icon {
  display: none;
}

.tp-price-feature-wrapper {
  display: none !important;
}

.tp-contact-select {
  display: none !important;
}

.arrivato-team-cta {
  text-align: center;
  margin-top: 10px;
}

html {
  scroll-behavior: smooth;
}

#services,
#services-brief,
#about,
#how-it-works,
#pricing,
#hero,
#showcase,
#contact {
  scroll-margin-top: 120px;
}

/* How it works — hero image: larger, static, contained in column */
#how-it-works .tp-platform-img-box {
  overflow: hidden;
  max-width: 100%;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 0;
}

#how-it-works .tp-platform-img-box img {
  max-width: 115% !important;
  width: auto !important;
  height: auto !important;
  max-height: 380px;
  margin: 0 !important;
  margin-inline-start: -35px !important;
  margin-inline-end: 0 !important;
  animation: none !important;
  transform: none !important;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
}

html[dir="ltr"] #how-it-works .tp-platform-img-box img {
  margin-inline-start: 0 !important;
  margin-inline-end: -35px !important;
}

#how-it-works .row-custom-wrapper {
  position: relative;
  z-index: 2;
}

/* Hero & how-it-works — keep main visuals static (no bounce/float loop) */
.arrivato-landing #hero .tp-hero-4-main-img,
.arrivato-landing #hero .tp-hero-4-main-img img,
.arrivato-landing #hero .tp-hero-4-sub-img,
.arrivato-landing #hero .tp-hero-4-sub-img img {
  animation: none !important;
  transform: none !important;
}

.arrivato-landing #hero .arrivato-hero-neon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrivato-landing #hero .arrivato-hero-neon img {
  width: 100%;
  max-width: 560px;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (max-width: 991px) {
  .arrivato-landing #hero .arrivato-hero-neon {
    margin-top: 40px;
  }

  .arrivato-landing #hero .arrivato-hero-neon img {
    max-width: 360px;
  }
}

@media (max-width: 1399px) {
  #how-it-works .tp-platform-img-box {
    height: 340px;
  }

  #how-it-works .tp-platform-img-box img {
    max-height: 320px;
    margin-inline-start: -20px !important;
  }

  html[dir="ltr"] #how-it-works .tp-platform-img-box img {
    margin-inline-start: 0 !important;
    margin-inline-end: -20px !important;
  }
}

/* User logo (logo-white.png) — crop excess canvas padding via viewport */
.arrivato-logo-link {
  display: inline-block;
  overflow: hidden;
  line-height: 0;
  position: relative;
}

.arrivato-landing .header-bottom__logo {
  display: flex;
  align-items: center;
  min-height: 56px;
}

.arrivato-landing .header-bottom__logo .arrivato-logo-link {
  width: 200px;
  height: 56px;
}

.arrivato-logo-link .arrivato-logo-img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 220px;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

/* One logo only — prevents SVG/PNG double overlap */
.arrivato-landing .header-bottom__logo .black-logo {
  display: none !important;
}

.arrivato-landing .header-bottom__logo .white-logo {
  display: inline-block !important;
}

/* Mobile offcanvas menu — purple panel */
.arrivato-landing .tpoffcanvas {
  background-color: var(--arrivato-brand-hover);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.arrivato-landing .tpoffcanvas .mean-container .mean-nav ul li a {
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.arrivato-landing .tpoffcanvas .mean-container .mean-nav ul li a:hover {
  color: var(--arrivato-purple-lighter);
}

.arrivato-landing .tpoffcanvas .mean-container .mean-nav > ul > li:first-child > a {
  border-top: 0;
}

.arrivato-landing .tpoffcanvas .mean-container .mean-nav ul li:last-child > a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.arrivato-landing .tpoffcanvas__close-btn button {
  background-color: #ffffff;
  color: var(--arrivato-purple);
}

.arrivato-landing .tpoffcanvas__close-btn button:hover {
  background-color: var(--arrivato-brand-muted);
  color: var(--arrivato-brand);
}

.tpoffcanvas__logo .arrivato-logo-link {
  width: 180px;
  height: 50px;
  margin: 0 auto;
}

.tp-footer__logo .arrivato-logo-link {
  width: 200px;
  height: 52px;
}

@media (max-width: 767px) {
  .arrivato-landing .header-bottom__logo .arrivato-logo-link {
    width: 150px;
    height: 44px;
  }

  .arrivato-landing .header-bottom__logo .arrivato-logo-img {
    height: 180px;
  }
}

/* Equal-height service cards */
.tp-service-area .tp-service-4-border-top > .row {
  align-items: stretch;
}

.tp-service-area .tp-service-4-border-top > .row > [class*="col-"] {
  display: flex;
}

.tp-service-area .tp-service-4-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.tp-service-area .tp-service-4-icon {
  flex-shrink: 0;
  min-height: 110px;
  height: 110px;
  margin-bottom: 28px !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tp-service-area .tp-service-4-icon img {
  max-height: 96px;
  width: auto;
  object-fit: contain;
}

.tp-service-area .tp-service-4-icon i {
  font-size: 52px;
  line-height: 1;
  color: var(--arrivato-accent);
}

.arrivato-landing .arrivato-services-story-text {
  color: #fff;
  font-size: 19px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.arrivato-landing .arrivato-services-story-lead {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
}

.arrivato-landing .tp-service-sction-content .arrivato-services-story-highlight {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.arrivato-services-story-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arrivato-landing .tp-service-sction-content .arrivato-services-story-points li {
  position: relative;
  padding-inline-start: 18px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.arrivato-services-story-points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--arrivato-accent);
}

.arrivato-service-value-desc {
  margin-top: 14px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.tp-service-area .tp-service-4-title {
  min-height: 0;
  margin-bottom: 0 !important;
}

.tp-service-area .tp-service-4-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tp-service-area .tp-service-4-content .tp-btn-service {
  margin-top: auto;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .tp-service-area .tp-service-4-item {
    min-height: 0;
  }

  .tp-service-area .tp-service-4-title {
    min-height: 0;
  }
}

/* Template hides all .tp-service-4-content span (opacity:0) — includes "اعرف المزيد" text */
.tp-service-area .tp-service-4-content .tp-btn-service {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  background-color: var(--arrivato-primary-soft) !important;
  color: #fff !important;
}

.tp-service-area .tp-service-4-content .tp-btn-service span {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  color: #fff !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding-bottom: 0 !important;
  display: inline !important;
}

.tp-service-area .tp-service-4-item:hover .tp-service-4-content .tp-btn-service,
.tp-service-area .tp-service-4-content .tp-btn-service:hover {
  background-color: #fff !important;
  border-color: #fff !important;
  color: var(--arrivato-purple) !important;
}

.tp-service-area .tp-service-4-item:hover .tp-service-4-content .tp-btn-service span,
.tp-service-area .tp-service-4-content .tp-btn-service:hover span {
  color: var(--arrivato-purple) !important;
}

/* Services brief (Our Services) — 3 columns, bilingual-safe */
#services-brief .arrivato-service-icon {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

#services-brief .arrivato-service-icon img {
  max-height: 96px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

#services-brief .arrivato-service-icon i {
  font-size: 52px;
  line-height: 1;
  color: var(--arrivato-accent);
}

#services-brief .arrivato-service-card .tp-team-title-sm {
  margin-bottom: 12px;
}

#services-brief .arrivato-services-brief-grid > [class*="col-"] {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

#services-brief .arrivato-services-brief-grid > [class*="col-"]:last-child {
  border-inline-end: none;
}

html[dir="ltr"] #services-brief .arrivato-services-brief-intro p {
  padding-left: 27px;
  padding-right: 0;
}

html[dir="ltr"] #services-brief .arrivato-services-brief-intro p::after {
  left: 0;
  right: auto;
}

html[dir="rtl"] #services-brief .arrivato-services-brief-intro p {
  padding-left: 0;
  padding-right: 27px;
}

html[dir="rtl"] #services-brief .arrivato-services-brief-intro p::after {
  left: auto;
  right: 0;
}

@media (max-width: 767px) {
  #services-brief .arrivato-services-brief-grid > [class*="col-"] {
    border-inline-end: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 36px;
    margin-bottom: 36px !important;
  }

  #services-brief .arrivato-services-brief-grid > [class*="col-"]:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0 !important;
  }
}

/* EN (LTR): rtl.css used to flip yellow accent to the left globally — restore template LTR button */
html[dir="ltr"] .tp-btn-yellow-border::before {
  left: auto;
  right: 0;
}
html[dir="ltr"] .tp-btn-yellow-border i {
  padding-right: 0;
  padding-left: 60px;
}
html[dir="ltr"] .tp-btn-yellow-border span {
  position: relative;
  z-index: 2;
}

/* Discover Arrivato showcase slider — LTR + mobile */
html[dir="ltr"] .tp-security-wrapper {
  box-shadow: 3px 0 0 var(--arrivato-accent);
}

html[dir="rtl"] .tp-security-wrapper {
  box-shadow: -3px 0 0 var(--arrivato-accent);
}

html[dir="ltr"] .tp-security-img {
  margin-right: 20px;
  margin-left: 0;
}

html[dir="rtl"] .tp-security-img {
  margin-left: 20px;
  margin-right: 0;
}

html[dir="ltr"] .tp-security-title-sm {
  letter-spacing: 0;
  text-align: left;
}

html[dir="rtl"] .tp-security-title-sm {
  letter-spacing: 0;
  text-align: right;
}

@media (max-width: 767px) {
  .arrivato-landing .tp-security-slider-active {
    margin: 0;
    padding: 0 12px;
  }

  .arrivato-landing .tp-security-wrapper {
    min-width: 0;
    width: calc(100vw - 48px);
    max-width: 340px;
    height: auto;
    min-height: 100px;
    padding: 18px 22px;
  }

  .arrivato-landing .tp-security-title-sm {
    font-size: 17px;
    line-height: 1.35;
  }

  .arrivato-landing .tp-security-img {
    width: 56px;
    flex-shrink: 0;
  }
}

/* Hero — headline & actions */
#hero .tp-hero-title-4 {
  font-size: 84px;
}

@media (max-width: 1399px) {
  #hero .tp-hero-title-4 {
    font-size: 74px;
  }
}

@media (max-width: 991px) {
  #hero .tp-hero-title-4 {
    font-size: 62px;
  }
}

@media (max-width: 767px) {
  #hero .tp-hero-title-4 {
    font-size: 38px;
  }
}

#hero .arrivato-hero-copy {
  max-width: 540px;
}

#hero .arrivato-hero-copy p {
  color: #fff;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
  opacity: 1;
}

.arrivato-hero-actions {
  gap: 1.25rem;
}

.arrivato-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  opacity: 0.95;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.arrivato-hero-link:hover {
  opacity: 1;
  color: #fff;
}

html[dir="rtl"] .arrivato-hero-link i {
  transform: scaleX(-1);
}

html[dir="ltr"] .arrivato-hero-link i {
  transform: none;
}

.arrivato-about-features ul li {
  line-height: 1.6;
}

.arrivato-about-item-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.arrivato-about-item-desc {
  display: block;
  font-weight: 500;
  opacity: 0.92;
}

#about .tp-security-section-box p {
  color: #fff;
}

.arrivato-price-header-text {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 120px;
}

.arrivato-price-header-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
}

.arrivato-price-header-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.arrivato-landing .tp-price-table {
  overflow-x: visible;
}

.arrivato-landing .tp-price-table-wrapper {
  width: 100%;
}

.arrivato-landing .tp-price-top-wrapper {
  display: flex;
  gap: 18px;
}

.arrivato-landing .tp-price-top-item {
  float: none;
  flex: 1;
  width: auto;
  border: 1px solid var(--arrivato-border);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.arrivato-landing .tp-price-top-item:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px);
}

.arrivato-landing .tp-price-top-item.active {
  border-color: var(--arrivato-brand-muted);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.26);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.arrivato-landing .tp-price-top-item.active:hover {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transform: translateY(-8px);
}

.arrivato-landing .tp-price-top-item:hover .tp-btn-service,
.arrivato-landing .tp-price-top-item.active .tp-btn-service {
  background-color: var(--arrivato-brand-muted);
  color: var(--arrivato-brand);
  border-color: var(--arrivato-brand-muted);
}

.arrivato-landing .tp-price-top-item:hover .tp-btn-service:hover,
.arrivato-landing .tp-price-top-item.active .tp-btn-service:hover {
  background-color: #fff;
  color: var(--arrivato-brand);
  border-color: #fff;
}

@media (max-width: 991px) {
  .arrivato-landing .tp-price-top-wrapper {
    flex-direction: column;
    gap: 14px;
  }

  .arrivato-landing .tp-price-top-item:hover,
  .arrivato-landing .tp-price-top-item.active:hover {
    transform: translateY(-4px);
  }
}

/* Showcase — platform & countries */
.arrivato-showcase-card {
  height: 100%;
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.arrivato-showcase-card:hover {
  border-color: var(--arrivato-primary-soft-strong);
  background: rgba(255, 255, 255, 0.06);
}

.arrivato-showcase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--arrivato-primary-soft);
}

.arrivato-showcase-icon i {
  font-size: 28px;
  color: var(--arrivato-accent);
}

.arrivato-showcase-card p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.arrivato-showcase-closing {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
}

.arrivato-showcase-countries {
  position: relative;
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.arrivato-showcase-countries-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--arrivato-primary-soft);
}

.arrivato-showcase-countries-icon i {
  font-size: 34px;
  color: var(--arrivato-accent);
}

.arrivato-showcase-countries-tag {
  color: var(--arrivato-accent);
  font-size: 15px;
  font-weight: 600;
}

.arrivato-showcase-countries-list {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .arrivato-showcase-countries {
    padding: 28px 20px;
  }
}

/* Contact section copy */
.arrivato-contact-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.arrivato-contact-points li {
  position: relative;
  padding-inline-start: 18px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.arrivato-contact-points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--arrivato-accent);
}

.arrivato-contact-desc,
.arrivato-contact-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.arrivato-contact-brand {
  color: var(--arrivato-accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.arrivato-contact-form-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

/* Brand — موف موحّد في كل الأقسام والعناصر */
.arrivato-landing .tp-barnd-main-wrapper::after {
  background: rgba(255, 255, 255, 0.03);
}

.arrivato-landing .blue-bg,
.arrivato-landing .tp-hero-overlay,
.arrivato-landing .tp-contact-overlay,
.arrivato-landing #hero,
.arrivato-landing #about,
.arrivato-landing #services,
.arrivato-landing #how-it-works,
.arrivato-landing #pricing,
.arrivato-landing #services-brief,
.arrivato-landing #showcase,
.arrivato-landing #contact,
.arrivato-landing .tp-footer__pl-pr,
.arrivato-landing .tp-barnd-area {
  background-color: var(--arrivato-bg) !important;
}

.arrivato-landing #about.tp-about-area {
  background-image: none !important;
  background-color: var(--arrivato-bg) !important;
  position: relative;
}

.arrivato-landing #about.tp-about-area::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(180deg, var(--arrivato-bg) 0%, rgba(42, 14, 115, 0) 18%, rgba(42, 14, 115, 0) 82%, var(--arrivato-bg) 100%), url("../../about-background.png");
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

.arrivato-landing #about.tp-about-area .container {
  position: relative;
  z-index: 1;
}

html[dir="ltr"] .arrivato-landing #about.tp-about-area::before {
  transform: scaleX(-1);
}

.arrivato-landing #hero.tp-hero-area {
  background-image: none !important;
  background-color: var(--arrivato-bg) !important;
}

.arrivato-landing #hero.tp-hero-area::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(42, 14, 115, 0) 60%, var(--arrivato-bg) 100%), url("../../arrivato-hero.png");
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

html[dir="ltr"] .arrivato-landing #hero.tp-hero-area::before {
  transform: scaleX(-1);
}

.arrivato-landing .tp-btn-yellow,
.arrivato-landing .tp-btn-yellow-lg.yellow-bg {
  background: #fff;
}

.arrivato-landing .tp-btn-yellow span,
.arrivato-landing .tp-btn-yellow-lg,
.arrivato-landing .tp-btn-yellow-lg.yellow-bg {
  color: var(--arrivato-brand);
}

.arrivato-landing .tp-btn-yellow-border {
  border-color: #fff;
  color: #fff;
}

.arrivato-landing .tp-btn-yellow-border::before {
  background: #fff;
}

.arrivato-landing .tp-btn-yellow-border i {
  color: var(--arrivato-brand);
}

.arrivato-landing .tp-btn-yellow-border:hover {
  border-color: var(--arrivato-brand-muted) !important;
  color: var(--arrivato-brand) !important;
}

.arrivato-landing .tp-btn-yellow-border:hover::before {
  background: var(--arrivato-brand-muted) !important;
}

.arrivato-landing .tp-btn-yellow-border:hover i,
.arrivato-landing .tp-btn-yellow-border:hover span {
  color: var(--arrivato-brand) !important;
}

.arrivato-landing .tp-btn-yellow-lg:hover {
  color: var(--arrivato-brand);
}

.arrivato-landing .header-bottom__main-menu-4 > nav > ul > li::after {
  filter: drop-shadow(0px 2px 0px var(--arrivato-brand-muted));
}

.arrivato-landing .header-bottom__main-menu-4 > nav > ul > li::before {
  background-color: var(--arrivato-brand-muted);
}

.arrivato-landing .header-bottom__main-menu-4 > nav > ul > li:hover a {
  color: var(--arrivato-brand-muted);
}

.arrivato-landing .tp-hero-overlay::after,
.arrivato-landing .tp-contact-overlay::after {
  background: linear-gradient(358deg, var(--arrivato-surface) 0%, transparent 92%);
}

.arrivato-landing .tp-price__item.active {
  background: linear-gradient(180deg, var(--arrivato-brand-surface) 0%, var(--arrivato-brand-hover) 100%);
}

.arrivato-landing .tp-price__item.active .tp-price__btn a,
.arrivato-landing .tp-price__btn a {
  background-color: var(--arrivato-brand) !important;
}

.arrivato-landing .scroll-top {
  background: #fff;
  color: var(--arrivato-brand);
}

.arrivato-landing .scroll-top:hover {
  background: var(--arrivato-brand-muted);
  color: var(--arrivato-brand);
}

.arrivato-landing .tp-platform-bg-shape {
  background-color: var(--arrivato-brand);
  opacity: 0;
}

.arrivato-landing .col-custom {
  background: var(--arrivato-brand-surface);
  box-shadow: 0 -3px 0 var(--arrivato-brand-muted);
}

.arrivato-landing #how-it-works .row-custom {
  justify-content: center;
  max-width: 1200px;
  margin-inline: auto;
}

.arrivato-landing #how-it-works .col-custom {
  height: 420px;
  background: rgba(124, 61, 240, 0.10);
  border: 2px solid rgba(167, 120, 255, 0.65);
  box-shadow: 0 0 16px rgba(137, 70, 249, 0.4), inset 0 0 18px rgba(137, 70, 249, 0.2);
}

.arrivato-landing #how-it-works .col-custom.active {
  background: rgba(124, 61, 240, 0.18);
  border-color: rgba(206, 178, 255, 0.95);
  box-shadow: 0 0 34px rgba(137, 70, 249, 0.75), inset 0 0 26px rgba(137, 70, 249, 0.35);
}

.arrivato-landing #how-it-works .tp-panel-content span {
  font-size: 32px;
  text-shadow: 0 0 14px rgba(167, 120, 255, 0.85);
}

.arrivato-landing #how-it-works .tp-panel-title {
  transform: rotate(90deg) translate(120px, 88px);
}

.arrivato-landing #how-it-works .tp-panel-title.child-one {
  transform: rotate(90deg) translate(110px, 88px);
}

.arrivato-landing #how-it-works .tp-panel-title.child-three {
  transform: rotate(90deg) translate(105px, 88px);
}

.arrivato-landing #how-it-works .tp-panel-title.child-four {
  transform: rotate(90deg) translate(118px, 88px);
}

.arrivato-landing #how-it-works .tp-panel-content-2 span {
  font-size: 84px;
  padding-bottom: 55px;
  text-shadow: 0 0 22px rgba(167, 120, 255, 0.9);
}

.arrivato-landing #how-it-works .tp-panel-title {
  text-shadow: 0 0 12px rgba(167, 120, 255, 0.7);
}

.arrivato-landing #how-it-works .tp-panel-title-2 {
  font-size: 40px;
  line-height: 1.2;
  text-shadow: 0 0 16px rgba(167, 120, 255, 0.8);
}

.arrivato-landing #how-it-works .tp-panel-content-2 p {
  font-size: 20px;
  line-height: 1.7;
}

.arrivato-landing .tp-service-4-border-right::after {
  background: var(--arrivato-brand-muted);
}

.arrivato-landing .tp-security-wrapper {
  background: var(--arrivato-brand-surface);
  box-shadow: -3px 0 0 var(--arrivato-brand-muted);
}

.arrivato-landing .tp-security-wrapper:hover {
  background-color: var(--arrivato-brand-hover);
}

.arrivato-landing .tp-service-4-item::after,
.arrivato-landing .tp-service-4-item:hover::after {
  background-color: #170842 !important;
}

.arrivato-landing #preloader {
  background-color: var(--arrivato-brand);
}

.arrivato-landing .preloader span {
  background: var(--arrivato-brand-muted);
}

/* Header: hide on scroll down, show on scroll up (arrivato landing only) */
.arrivato-landing #header-sticky.header-sticky {
  animation: none !important;
  top: 0;
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.arrivato-landing #header-sticky.header-sticky.arrivato-header-hidden {
  top: calc(-1 * var(--arrivato-header-offset, 100px));
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .arrivato-landing .container {
    padding-inline-start: 22px;
    padding-inline-end: 22px;
  }

  .arrivato-landing .tp-hero-area {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .arrivato-landing #hero .tp-hero-title-4,
  .arrivato-landing #hero .tp-hero-title-4 span {
    font-size: 30px;
    line-height: 1.3;
  }

  .arrivato-landing #hero .arrivato-hero-copy p {
    font-size: 15px;
    line-height: 1.7;
  }

  .arrivato-landing .tp-section-title-4 {
    font-size: 26px;
    line-height: 1.35;
  }

  .arrivato-landing .tp-section-subtitle-4 {
    font-size: 13px;
  }

  .arrivato-landing .tp-service-4-title,
  .arrivato-landing .tp-team-title-sm {
    font-size: 19px;
  }

  .arrivato-landing .arrivato-services-story-text,
  .arrivato-landing .arrivato-services-story-highlight,
  .arrivato-landing .arrivato-services-story-points li,
  .arrivato-landing .arrivato-service-value-desc,
  .arrivato-landing .arrivato-service-desc,
  .arrivato-landing .arrivato-services-brief-intro p,
  .arrivato-landing .arrivato-about-item-title,
  .arrivato-landing .arrivato-about-item-desc,
  .arrivato-landing .arrivato-showcase-card p,
  .arrivato-landing .arrivato-showcase-closing,
  .arrivato-landing .arrivato-showcase-countries-list,
  .arrivato-landing .arrivato-contact-desc,
  .arrivato-landing .arrivato-contact-note,
  .arrivato-landing .arrivato-contact-points li,
  .arrivato-landing .arrivato-benefits-list li,
  .arrivato-landing .tp-footer__content ul li a {
    font-size: 15px;
  }

  .arrivato-landing .arrivato-contact-form-title {
    font-size: 22px;
  }

  .arrivato-landing .tp-platform-area,
  .arrivato-landing .tp-service-area,
  .arrivato-landing .tp-price-area,
  .arrivato-landing .tp-contact-area {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* Replace SVG files in assets/img/logo/ when client brand assets are delivered */
