/* RTL Support Styles for Arabic Language */

/* Import Almarai font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

html[dir="rtl"] {
  direction: rtl;
  font-family: 'Almarai', sans-serif;
}

html[dir="rtl"] body {
  font-family: 'Almarai', sans-serif;
  direction: rtl;
  text-align: right;
}

/* Preserve center alignment for centered elements - MUST be before other rules */
html[dir="rtl"] .text-center,
html[dir="rtl"] [class*="center"]:not([class*="left"]):not([class*="right"]),
html[dir="rtl"] [class*="centered"],
html[dir="rtl"] .text-center-2,
html[dir="rtl"] .center-flex {
  text-align: center !important;
  justify-content: center !important;
  direction: rtl;
}

html[dir="rtl"] .text-center-consultant,
html[dir="rtl"] .center,
html[dir="rtl"] .cente,
html[dir="rtl"] .content-center,
html[dir="rtl"] .process-circle-wrap-center {
  text-align: center !important;
  justify-content: center !important;
  direction: rtl;
}

/* Higher specificity for headings and paragraphs inside centered containers */
html[dir="rtl"] .text-center h1,
html[dir="rtl"] .text-center h2,
html[dir="rtl"] .text-center h3,
html[dir="rtl"] .text-center-2 h1,
html[dir="rtl"] .text-center-2 h2,
html[dir="rtl"] .text-center-2 h3,
html[dir="rtl"] .inner-container.center h2,
html[dir="rtl"] .inner-container.center h3,
html[dir="rtl"] .inner-container-01.center h2,
html[dir="rtl"] .inner-container-01.center h3,
html[dir="rtl"] .inner-container-01.center p,
html[dir="rtl"] .subtitle-wrapper---brix.center,
html[dir="rtl"] .subtitle-wrapper---brix.cente {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

html[dir="rtl"] .w-layout-hflex {
  flex-direction: row;
}

html[dir="rtl"] .w-layout-grid {
  direction: rtl;
}

html[dir="rtl"] .text-left,
html[dir="rtl"] [class*="left"] {
  text-align: right !important;
}

html[dir="rtl"] .text-right,
html[dir="rtl"] [class*="right"] {
  text-align: left !important;
}

/* Center alignment preserved above */

html[dir="rtl"] .w-layout-hflex.flex-block-4 {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* Navbar RTL - Reverse main navbar layout: Logo right, Menu/Language/Button left */
html[dir="rtl"] .nav-menu-wrapper {
  flex-direction: row !important;
  justify-content: space-between !important;
}

html[dir="rtl"] .paragraph-no-margin-copy {
  text-align: right !important;
  direction: rtl !important;
  display: block !important;
  width: 100% !important;
}

html[dir="rtl"] .contacts-detail-v2 {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
  direction: rtl !important;
}

html[dir="rtl"] .contacts-detail-v2 img {
  margin-left: 15px !important;
  margin-right: 0 !important;
  order: 1 !important;
  flex-shrink: 0 !important;
}

html[dir="rtl"] .contacts-detail-v2 div {
  order: 2 !important;
  text-align: right !important;
  direction: rtl !important;
  flex-grow: 1 !important;
  display: block !important;
}

html[dir="rtl"] .contacts-detail-v2 div * {
  text-align: right !important;
  direction: rtl !important;
}

/* Ensure section blocks with colum-reverce don't flip in RTL */
html[dir="rtl"] .two-column-wrap.colum-reverce {
  flex-direction: row !important;
}

html[dir="rtl"] .contact-links {
  text-align: right !important;
  display: block !important;
  width: 100% !important;
}

/* Ensure logo is visually on the right */
html[dir="rtl"] .nav-menu-wrapper .brand {
  order: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: -40px;
}

/* Menu items inside nav-menu - KEEP SAME ORDER (don't reverse) */
html[dir="rtl"] .menu-wrap {
  flex-direction: row;
  direction: rtl;
}

/* Language dropdown and button inside menu-wrap - reverse their order */
html[dir="rtl"] .menu-wrap .div-block-158 {
  flex-direction: row;
  align-items: center;
}

/* Ensure rounded button content flows correctly */
html[dir="rtl"] .rounded-button {
  flex-direction: row;
}

/* Position language dropdown first (more to the right) in RTL */
html[dir="rtl"] .menu-wrap .div-block-158 .wg-dropdown-1 {
  order: 1 !important;
  position: relative !important;
  overflow: visible !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Position rounded button at the far left (end) in RTL */
html[dir="rtl"] .menu-wrap .div-block-158 .rounded-button {
  order: 2 !important;
  margin-right: 0 !important;
  margin-left: -40px !important;
}

/* Language switcher dropdown positioning - ensure it appears at left */
html[dir="rtl"] .nav-menu-wrapper .wg-dropdown-1-min-size {
  order: 0 !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 1000 !important;
}

/* Ensure dropdown list doesn't break out and positions correctly */
html[dir="rtl"] .wg-dropdown-1-min-size .w-dropdown-list {
  left: auto !important;
  right: 0 !important;
  position: absolute !important;
}

/* Ensure z-index for dropdown list positioning */
html[dir="rtl"] .menu-wrap .div-block-158 .wg-dropdown-1 {
  z-index: 1000 !important;
}

html[dir="rtl"] .menu-wrap .div-block-158 .wg-dropdown-1 .w-dropdown-list {
  left: auto !important;
  right: 0 !important;
  position: absolute !important;
}

/* Mobile/Tablet menu positioning */
html[dir="rtl"] .nav-menu {
  left: auto;
  right: 0;
}

html[dir="rtl"] .w-nav[data-animation='over-left'] .w-nav-overlay,
html[dir="rtl"] .w-nav[data-animation='over-left'] [data-nav-menu-open] {
  left: auto;
  right: 0;
}

/* Tablet menu brand positioning */
html[dir="rtl"] .tablet-menu {
  flex-direction: row;
  justify-content: space-between;
}

html[dir="rtl"] .tablet-menu .brand-tablet,
html[dir="rtl"] .tablet-menu .close-menu-button {
  order: initial;
}

/* Fix for testimonial slider card vertical alignment - applies to all languages */
.slider---brix.testimonial-v2---brix .card.content-center.link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.slider---brix.testimonial-v2---brix .div-block-113 {
  flex-flow: column;
  justify-content: space-between;
  flex: 1;
  display: flex;
  height: 100%;
}

.slider---brix.testimonial-v2---brix .div-block-113 .heading-28 {
  margin-bottom: 16px;
}

.slider---brix.testimonial-v2---brix .div-block-113 .mg-bottom-24px {
  flex: 1;
  margin-bottom: 24px;
}

.slider---brix.testimonial-v2---brix .div-block-113 .btn-secondary {
  margin-top: auto;
}

.slider---brix.testimonial-v2---brix .slide---brix-key-section {
  height: 100%;
}

/* Prevent heading from breaking into multiple lines */
.h3-title.text-white.center-title {
  white-space: nowrap;
}

.h3-title.text-white.center-title span {
  display: inline !important;
  white-space: nowrap;
}

.text-center-2.mg-bottom-64px .h3-title.text-white.center-title {
  white-space: nowrap !important;
}

/* RTL specific styles for testimonial cards */
html[dir="rtl"] .div-block-113 .heading-28,
html[dir="rtl"] .div-block-113 .mg-bottom-24px {
  text-align: center !important;
}

html[dir="rtl"] .div-block-113 {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

html[dir="rtl"] .slider---brix.testimonial-v2---brix .div-block-113 .btn-secondary {
  margin-top: auto;
  direction: rtl;
}

html[dir="rtl"] .image-111 {
  inset: 0% auto auto -12% !important;
}

html[dir="rtl"] .image-112 {
  inset: auto auto 0% -12% !important;
}

html[dir="rtl"] .image-110 {
  inset: auto 38% -6% 0% !important;
}

html[dir="rtl"] .heading-28 {
  font-size: 26px;
}

html[dir="rtl"] .two-column-wrap,
html[dir="rtl"] .hero-v5-split---recruteur-2 {
  flex-direction: row !important;
  display: flex !important;
}

/* Natural RTL order: First child (left in LTR) goes to Right in RTL */
html[dir="rtl"] .section .two-column-wrap .half-column,
html[dir="rtl"] .ao-section .two-column-wrap .half-column,
html[dir="rtl"] .base-container .two-column-wrap .half-column {
  order: initial !important;
}

html[dir="rtl"] .half-column {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .footer-menu {
  direction: rtl;
}

html[dir="rtl"] .div-block-110 {
  flex-direction: row;
}

html[dir="rtl"] .div-block-110 .div-block-112 {
  order: 1 !important;
}

html[dir="rtl"] .div-block-110 .div-block-111 {
  order: 2 !important;
}

html[dir="rtl"] .process-wrapper-version-2 {
  flex-direction: row;
}

html[dir="rtl"] .process-wrapper-version-2 .process-container-1,
html[dir="rtl"] .process-wrapper-version-2 .process-container-2,
html[dir="rtl"] .process-wrapper-version-2 .process-container-3 {
  order: initial;
}

html[dir="rtl"] .consultant-grid-wrapper {
  direction: rtl;
}

html[dir="rtl"] .consultant-service-banner-cards-wrap {
  direction: rtl;
}

html[dir="rtl"] .numbers-wrapper-wave {
  direction: rtl;
  background-image: none !important;
  position: relative;
}

html[dir="rtl"] .numbers-wrapper-wave::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/wave.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  transform: scaleX(-1);
  z-index: 0;
}

html[dir="rtl"] .card-wrapper-r {
  direction: rtl;
}

html[dir="rtl"] .testimonial-wrapper---brix {
  direction: rtl;
}

/* Ensure slider works correctly in RTL */
html[dir="rtl"] .w-slider-mask,
html[dir="rtl"] .mask-horizontal {
  direction: ltr !important;
  white-space: nowrap !important;
}

html[dir="rtl"] .w-slide,
html[dir="rtl"] .slide-horizontal {
  display: inline-block !important;
  vertical-align: top !important;
}


html[dir="rtl"] .wg-dropdown-1-link {
  text-align: right !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
}

html[dir="rtl"] .wg-selector-text-wrapper {
  flex-direction: row;
}

html[dir="rtl"] .wg-left-side {
  flex-direction: row !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html[dir="rtl"] .wg-flag {
  margin-left: 8px !important;
  margin-right: 0 !important;
}

/* Ensure dropdown toggle is clickable */
html[dir="rtl"] .wg-dd-1-togle,
html[dir="rtl"] .w-dropdown-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure dropdown list is visible and clickable */
html[dir="rtl"] .w-dropdown-list {
  pointer-events: auto !important;
  z-index: 1000 !important;
  display: none !important;
}

html[dir="rtl"] .w-dropdown-list.w--open {
  display: block !important;
}

html[dir="rtl"] .w-dropdown-list * {
  pointer-events: auto !important;
}

/* Ensure dropdown can be toggled */
html[dir="rtl"] .w-dropdown {
  z-index: 1000 !important;
}

/* Language dropdown - no order change needed, flex-direction handles it */

html[dir="rtl"] input,
html[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .form-field-wrapperr {
  flex-direction: row;
}

html[dir="rtl"] .buttons-row {
  flex-direction: row-reverse;
  right: 0 !important;
}

html[dir="rtl"] .subtitle-wrapper---brix-copy-copy .subtitle-dash---brix---white,
html[dir="rtl"] .subtitle-wrapper---brix-copy {
  flex-direction: row-reverse;
}

html[dir="rtl"] .subtitle-wrapper---brix-copy-copy .subtitle-dash---brix---white {
  margin-left: 8px !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .subtitle-wrapper---brix-copy-copy * {
  font-size: 18px;
}

html[dir="rtl"] .subtitle-wrapper---brix-3.hero-section-v1---brix {
  flex-direction: column;
}

html[dir="rtl"] .div-block-93 {
  direction: rtl;
}

html[dir="rtl"] .rounded-button {
  flex-direction: row;
}

/* Force image to right and info to left in RTL */
html[dir="rtl"] .author-block {
  direction: rtl;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

html[dir="rtl"] .author-block .div-block-167-cr,
html[dir="rtl"] .author-block .div-block-167-r {
  order: 1 !important;
  margin-right: 0 !important;
  margin-left: 14px !important;
  flex-shrink: 0 !important;
}

html[dir="rtl"] .author-block .info-block,
html[dir="rtl"] .author-block>div:not(.div-block-167-cr):not(.div-block-167-r) {
  order: 2 !important;
  flex: 1 1 auto !important;
}

html[dir="rtl"] .div-block-51 {
  order: -1;
}

html[dir="rtl"] .btn-secondary {
  direction: rtl;
  font-size: 16px;
}

html[dir="rtl"] .footer-menu-wrap {
  flex-direction: row;
}

html[dir="rtl"] .div-block-8 {
  flex-direction: row !important;
  justify-content: space-between !important;
  display: flex !important;
}

html[dir="rtl"] .w-layout-grid.grid {
  direction: rtl;
}

html[dir="rtl"] .div-block-matching,
html[div="rtl"] .paragraph-large {
  direction: rtl;
  font-size: 20px !important;
}

html[dir="rtl"] .div-block-0-0 {
  flex-direction: start;
}

html[dir="rtl"] .div-block-190 {
  flex-direction: row;
}

html[dir="rtl"] .tag-r,
html[dir="rtl"] .tag-c {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .tag-center {
  direction: rtl;
  text-align: center !important;
}

html[dir="rtl"] .div-block-148 {
  direction: rtl;
}

html[dir="rtl"] .logo-wrapper {
  direction: rtl;
}

html[dir="rtl"] .logo-animate {
  animation-direction: reverse;
}

html[dir="rtl"] .logo-animate-alt {
  animation-direction: normal;
}

html[dir="rtl"] .div-block-119 .accordion-item-wrapper.v6 .accordion-content-wrapper.width-660px .accordion-header .accordion-title-2 {
  text-align: right !important;
}

/* Inline elements and spans RTL support */
html[dir="rtl"] span,
html[dir="rtl"] p span,
html[dir="rtl"] h1 span,
html[dir="rtl"] h2 span,
html[dir="rtl"] h3 span,
html[dir="rtl"] h4 span,
html[dir="rtl"] h5 span,
html[dir="rtl"] h6 span {
  display: inline;
  direction: rtl;
}

html[dir="rtl"] .text-span-25,
html[dir="rtl"] .text-span-34,
html[dir="rtl"] .text-span-35,
html[dir="rtl"] .primary-text {
  display: inline;
  direction: rtl;
}

html[dir="rtl"] .image-151 {
  position: absolute;
  top: 140.75px;
  left: 0 !important;
}

html[dir="rtl"] .section-consultant.service-consultant .div-block-138 .mg-bottom-24px-copy,
html[dir="rtl"] .section-consultant.service-consultant .div-block-138 .heading-28-copy {
  text-align: center !important;
}

html[dir="rtl"] .line-rounded-icon.link-icon-right {
  transform: scaleX(-1) !important;
}

html[dir="rtl"] #centralised-content {
  text-align: right !important;
  direction: rtl !important;
}

html[dir="rtl"] p,
html[dir="rtl"] .paragraph-large,
html[dir="rtl"] .paragraph-29,
html[dir="rtl"] .paragraph---brix-c,
html[dir="rtl"] .hero-v1---brix-c,
html[dir="rtl"] .paragraph-no-margin,
html[dir="rtl"] .consultant-paragraph-no-margin {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .div-block-142 .div-block-141 .heading-28-copy {
  font-size: 22px;
}

html[dir="rtl"] .div-block-142 .div-block-141 .mg-bottom-24px-copy {
  font-size: 16px;
}

html[dir="rtl"] .paragraph-no-margin,
html[dir="rtl"] .consultant-paragraph-no-margin {
  font-size: 16px;
}

/* Preserve center for paragraphs with center class - REMOVED for paragraph-large.text-center */
html[dir="rtl"] p.text-center:not(.paragraph-large),
html[dir="rtl"] .paragraph-large-dark.text-center {
  text-align: center !important;
  font-size: 18px;
}

html[dir="rtl"] .h3-title,
html[dir="rtl"] .h3-title-left {
  font-size: 44px;
}

html[dir="rtl"] .text-block-12 {
  font-weight: bold;
}

/* Align paragraph-large.text-center to right instead of center */
html[dir="rtl"] .text-center-7 .paragraph-wrapper .paragraph-large.text-center,
html[dir="rtl"] .paragraph-wrapper .paragraph-large.text-center,
html[dir="rtl"] p.paragraph-large.text-center,
html[dir="rtl"] .paragraph-large.text-center {
  text-align: right !important;
  direction: rtl !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .heading-21,
html[dir="rtl"] .heading-46,
html[dir="rtl"] .title---brix-recruteur-v1 {
  direction: rtl;
  text-align: right;
  font-size: 44px;
}

html[dir="rtl"] .title---brix-recruteur-v1 {
  padding-right: 0 !important;
  font-size: 52px;
  line-height: 130%;
}

/* Preserve center for centered headings */
html[dir="rtl"] h1.text-center,
html[dir="rtl"] h2.text-center,
html[dir="rtl"] h3.text-center,
html[dir="rtl"] h4.text-center,
html[dir="rtl"] h5.text-center,
html[dir="rtl"] h6.text-center,
html[dir="rtl"] .h3-title.text-center,
html[dir="rtl"] .heading-21.text-center,
html[dir="rtl"] .heading-46.text-center,
html[dir="rtl"] .text-center-2 .h3-title {
  text-align: center !important;
  display: block !important;
}

html[dir="rtl"] .title---brix-recruteur-v1 span,
html[dir="rtl"] .heading-21 span,
html[dir="rtl"] .heading-46 span {
  display: inline !important;
  direction: rtl;
}

html[dir="rtl"] .w-inline-block {
  direction: rtl;
}

html[dir="rtl"] a {
  direction: rtl;
}

html[dir="rtl"] .div-block-191 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .div-block-191 * {
  font-size: 20px;
}

/* Removed - consolidated sizing rules added later in file */

html[dir="rtl"] .div-block-163 {
  direction: rtl;
}

html[dir="rtl"] .div-block-164 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .text-block-64,
html[dir="rtl"] .text-block-65 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .paragraph-wrapper {
  direction: rtl;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .subtitle---brix,
html[dir="rtl"] .inner-container ._640px .center.subtitle---brix-copy {
  order: 2 !important;
  direction: rtl;
  text-align: right !important;
  font-size: 18px;
}

html[dir="rtl"] .subtitle-wrapper---brix-copy .subtitle---brix-copy {
  order: 2 !important;
}

html[dir="rtl"] .bold-text-20,
html[dir="rtl"] .bold-text-19 {
  font-size: 18px;
}

html[dir="rtl"] .paragraph-small {
  font-size: 16px;
}

html[dir="rtl"] .section-title-description-copy,
html[dir="rtl"] .section-title-description-left,
html[dir="rtl"] .subheading-large {
  font-size: 18px;
}

html[div="rtl"] .div-block-114 {
  flex-grow: 1;
}

html[dir="rtl"] .nav-link-2.w-nav-link {
  font-size: 16px;
}

/* Override text-center-7 for RTL */
html[dir="rtl"] .text-center-7,
html[dir="rtl"] .text-center-7.tablet {
  text-align: right !important;
}

html[dir="rtl"] .text-center-7 .tablet .subtitle-wrapper---brix .hero-section-v1---brix .center {
  display: flex !important;
  justify-content: flex-start !important;
  right: 0 !important;
}

html[dir="rtl"] .text-center-2.mg-bottom-64px.subtitle-wrapper---brix.hero-section-v1---brix.center {
  justify-content: center !important;
  align-items: center !important;
  width: fit-content;
}

html[dir="rtl"] .subtitle-wrapper---brix,
html[dir="rtl"] .subtitle-wrapper---brix-copy,
html[dir="rtl"] .subtitle-wrapper---brix-3 {
  direction: rtl;
  justify-content: flex-start !important;
  display: flex !important;
}

html[dir="rtl"] .subtitle-dash---brix-consultant-hero-section {
  margin-left: 10px !important;
}

html[dir="rtl"] .title-wrapper {
  direction: rtl;
}

html[dir="rtl"] .title-wrapper.left-title {
  text-align: right;
}

html[dir="rtl"] .paragraph-wrapper.left-text {
  text-align: right;
}

html[dir="rtl"] .div-block-67-card-1,
html[dir="rtl"] .div-block-67-card-2,
html[dir="rtl"] .div-block-67 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .consultant-service-card-title {
  direction: rtl;
  text-align: right;
  font-size: 18px;
}

html[dir="rtl"] .job-item-div-block-3>h6,
html[dir="rtl"] .job-item-div-block-2>h6,
html[dir="rtl"] .job-item-div-block-1-0>h6 {
  direction: rtl;
  font-size: 16px !important;
}

html[dir="rtl"] .job-item-div-block-1-0,
html[dir="rtl"] .job-item-div-block-2,
html[dir="rtl"] .job-item-div-block-3 {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .heading-17,
html[dir="rtl"] .job-item-card-1-0-heading-17,
html[dir="rtl"] .job-item-card-3-heading-17 {
  direction: rtl;
  text-align: right;
  font-weight: 600;
}

html[dir="rtl"] .div-block-67-cards {
  direction: rtl;
}

html[dir="rtl"] .div-block-71-card-3,
html[dir="rtl"] .div-block-71-card-2,
html[dir="rtl"] .div-block-71 {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .div-block-73 {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .hr-item-card-heading-17,
html[dir="rtl"] .text-block-14 {
  direction: rtl;
  text-align: right;
  font-size: 14px;
}

html[dir="rtl"] .div-block-76 {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .div-block-74 {
  direction: rtl;
}

html[dir="rtl"] .div-block-75-image-left,
html[dir="rtl"] .div-block-75-image-right,
html[dir="rtl"] .div-block-75 {
  order: initial;
}

html[dir="rtl"] .heading-28-r-r {
  direction: rtl;
  text-align: right;
  font-size: 20px;
}

html[dir="rtl"] .heading-488 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .paragraph-wrap-mt-20 * {
  direction: rtl;
  font-size: 16px;
}

html[dir="rtl"] .div-block-0-0-1 {
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}

html[dir="rtl"] .div-block-4 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .number-wrap-first,
html[dir="rtl"] .number-wrap-second,
html[dir="rtl"] .number-wrap-third {
  direction: rtl;
  margin-left: 0 !important;
}

html[dir="rtl"] .number-wrap-first {
  margin-right: 160px !important;
}

html[dir="rtl"] .number-carre {
  direction: rtl;
}

html[dir="rtl"] .heading-31-ao,
html[dir="rtl"] .heading-48 {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .heading-31-ao {
  font-weight: 600;
}

html[dir="rtl"] .text-block-11-hero,
html[dir="rtl"] .text-block-11-card-one,
html[dir="rtl"] .text-block-11-card-two,
html[dir="rtl"] .text-block-11-card-three,
html[dir="rtl"] .text-block-11-card-four {
  direction: rtl;
  text-align: right;
  font-size: 16px;
}

html[dir="rtl"] .heading-11-card-one,
html[dir="rtl"] .heading-11-card-two,
html[dir="rtl"] .heading-11-carde-three,
html[dir="rtl"] .heading-11-card-four {
  direction: rtl;
  text-align: right;
  font-size: 28px;
}

html[dir="rtl"] .text-block-20,
html[dir="rtl"] .text-block-21,
html[dir="rtl"] .text-block-33 {
  direction: rtl;
  font-size: 16px;
}

html[dir="rtl"] .section-title-description {
  direction: rtl;
  font-size: 18px;
  text-align: center !important;
}

html[dir="rtl"] .section-title-description.color-white {
  text-align: center !important;
}

html[dir="rtl"] .mg-bottom-24px,
html[dir="rtl"] .mg-bottom-32px-3-eva {
  direction: rtl;
  text-align: right;
  font-size: 16px;
}

html[dir="rtl"] .mg-bottom-32px-3 {
  font-size: 18px;
}

html[dir="rtl"] .display-4-eva {
  direction: rtl;
  text-align: right;
  font-size: 22px;
}

html[dir="rtl"] .div-block-146,
html[dir="rtl"] .div-block-194,
html[dir="rtl"] .div-block-195,
html[dir="rtl"] .div-block-196,
html[dir="rtl"] .div-block-197 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .div-block-193 {
  direction: rtl;
  height: 270.88px !important;
}

html[dir="rtl"] .card-div-block-h .div-block-m {
  direction: rtl;
  width: 37.73px !important;
  height: 75.45px !important;
}

html[dir="rtl"] .process-text-version-2 {
  direction: rtl;
  text-align: center !important;
}

html[dir="rtl"] .process-text-version-2 strong {
  display: inline;
  direction: rtl;
  text-align: center;
}

html[dir="rtl"] .process-container-1,
html[dir="rtl"] .process-container-2,
html[dir="rtl"] .process-container-3 {
  direction: rtl;
}

html[dir="rtl"] .process-text-wrap {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .process-text-wrap span {
  font-size: 16px;
}

html[dir="rtl"] .process-text-wrap strong {
  font-size: 18px;
}

html[dir="rtl"] .image-74 {
  right: 58%;
  left: auto;
  top: 6%;
}

html[dir="rtl"] .image-73 {
  right: 23%;
  left: auto;
  top: 90%;
}

html[dir="rtl"] .process-circle-wrap-center {
  direction: rtl;
  text-align: center !important;
  justify-content: center;
  align-items: center;
}

html[dir="rtl"] .heading-20 {
  direction: rtl;
  text-align: center !important;
}

html[dir="rtl"] .horizontal-quote-h4 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .author-name,
html[dir="rtl"] .author-job {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .horizontal-content-block {
  direction: rtl;
}

html[dir="rtl"] .horizontal-fixed-height {
  direction: rtl;
}

html[dir="rtl"] .heading-27,
html[dir="rtl"] .heading-26 {
  direction: rtl;
  text-align: center;
  font-size: 28px;
}

html[dir="rtl"] .paragraph-23,
html[dir="rtl"] .paragraph-24 {
  direction: rtl;
  text-align: center !important;
  font-size: 16px;
}

html[dir="rtl"] .cta_text-wrap .text-size-regular {
  font-size: 18px !important;
}

html[dir="rtl"] .h3-title-center-consultant {
  direction: rtl;
  text-align: center !important;
  font-size: 44px;
}

html[dir="rtl"] .btn-wrap-copy .rounded-button.w-inline-block {
  padding-left: 20px;
  padding-right: 20px;
}

html[dir="rtl"] .paragraph-large-consultant {
  direction: rtl;
  text-align: center !important;
  font-size: 20px;
}

/* text-center-consultant already covered in the center rules above */

/* text-center-2 already covered in the center rules above */

html[dir="rtl"] .inner-container {
  direction: rtl;
}

/* inner-container.center already covered in the center rules above */

html[dir="rtl"] .text-white-left {
  text-align: right;
}

html[dir="rtl"] .color-neutral-303 {
  direction: rtl;
  text-align: right;
  font-size: 18px;
}

html[dir="rtl"] .footer-form-description {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .footer-form-description a {
  display: inline;
}

html[dir="rtl"] .nav-link-2 {
  direction: rtl;
}

html[dir="rtl"] .nav-link {
  direction: rtl;
}

html[dir="rtl"] .footer-menu-link {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .footer-menu-link.mail {
  text-align: left;
}

html[dir="rtl"] .footer-title {
  direction: rtl;
  font-size: 26px;
  text-align: right;
}

html[dir="rtl"] .footer-copyright {
  direction: rtl;
  text-align: right;
  font-size: 16px;
}

html[dir="rtl"] .div-block-12 .nav-link.footer-menu-link {
  direction: rtl;
  font-size: 16px;
}

html[dir="rtl"] .text-block-72 {
  direction: rtl;
  text-align: right;
  font-size: 16px;
  padding-left: 10px;
}

html[dir="rtl"] .text-block-73 {
  direction: rtl;
  font-size: 14px;
}

html[dir="rtl"] .div-block-158 {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .base-container,
html[dir="rtl"] .base-container-01,
html[dir="rtl"] .base-container-rc,
html[dir="rtl"] .container-default,
html[dir="rtl"] .container-default-2,
html[dir="rtl"] .container-default-6,
html[dir="rtl"] .container-default-30 {
  direction: rtl;
}

html[dir="rtl"] .w-container {
  direction: rtl;
}

html[dir="rtl"] .content-wrapper-3-eva {
  direction: rtl;
}

html[dir="rtl"] .div-block-eva {
  direction: rtl;
}

html[dir='rtl'] .image-153 {
  left: 2px !important;
  right: inherit;
}

/* .cente already covered in the center rules above */

html[dir="rtl"] .left-title {
  text-align: right;
}

/* Reverse CTA v8 layout for Arabic - image on left, text on right */
html[dir="rtl"] .grid-2-columns-8.cta-v8 {
  grid-template-columns: 1fr .9fr !important;
}

html[dir="rtl"] .grid-2-columns-8.cta-v8>div:first-child {
  align-items: flex-end !important;
  justify-content: center !important;
}

html[dir="rtl"] .grid-2-columns-8.cta-v8 .h3-title {
  text-align: right !important;
  width: 100% !important;
}

html[dir="rtl"] .grid-2-columns-8.cta-v8 .color-neutral-303 {
  text-align: right !important;
  width: 100% !important;
}

html[dir="rtl"] .grid-2-columns-8.cta-v8 .buttons-row {
  justify-content: flex-end !important;
  width: 100% !important;
}

html[dir="rtl"] .half-bg-image-right.width-46.cta-v8 {
  inset: 0% auto 0% 0% !important;
  left: 0 !important;
  right: auto !important;
}

html[dir="rtl"] .floating-item.cta-v1-01 {
  inset: 0% -1% auto auto !important;
  left: auto !important;
  right: -1% !important;
  transform: scaleX(-1) !important;
  -webkit-transform: scaleX(-1) !important;
  -moz-transform: scaleX(-1) !important;
  -ms-transform: scaleX(-1) !important;
}


/* Ensure proper width for consultant grid items in RTL */
html[dir='rtl'] .div-block-31 {
  width: 100% !important;
  max-width: none !important;
  flex: 1 !important;
}

/* Custom Background Image for Arabic Version */
html[dir='rtl'] .div-block-withbg {
  background-image: url('../images/ar/image2.png') !important;
  flex: 1 !important;
  min-width: auto !important;
  max-width: none !important;
  width: 100% !important;
}

html[dir='rtl'] .div-block-43 {
  height: 100%;
}

/* Consultant Background Image for Arabic */
html[dir='rtl'] .div-block-43-consultant {
  background-image: url('../images/ar/img70.jpeg') !important;
  background-size: contain !important;
  background-position: center !important;

}

/* CTA Background Image for Arabic */
html[dir='rtl'] .half-bg-image-right.width-46.cta-v8 {
  background-image: url('../images/ar/img71.png') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Testimonial Author Avatars for Arabic */
html[dir='rtl'] .div-block-167-r {
  background-image: url('../images/ar/image18.png') !important;
  background-size: cover !important;
  background-position: top !important;
}

html[dir='rtl'] .div-block-167-cr {
  background-image: url('../images/ar/image6.png') !important;
  margin-left: 14px !important;
  margin-right: 0 !important;
  background-position: top !important;
}

html[dir='rtl'] .div-block-167-copy {
  margin-left: 14px !important;
  margin-right: 0 !important;
}

html[dir='rtl'] .div-block-167 {
  margin-left: 14px !important;
  margin-right: 0 !important;
}

/* Hero Composition and Image Dimensions for Arabic - Force FR desktop sizes at all breakpoints */
html[dir='rtl'] .hero-composition---brix-t {
  width: 80% !important;
  height: 40% !important;
  max-width: 655px;
  max-height: 398px !important;
  flex-flow: row !important;
  padding-top: 25px !important;
  margin-top: 60px !important;
  display: flex !important;
  border-radius: 18px !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  direction: rtl;
}

html[dir='rtl'] .div-block-matching *,
html[dir="rtl"] .paragraph-large {
  font-size: 18px;
}

html[dir="rtl"] .footer-menu-copy .paragraph-large {
  font-size: 18px;
}

html[dir='rtl'] .div-block-160 {
  width: 45% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  direction: rtl;
  text-align: right;
}

html[dir='rtl'] .div-block-161 {
  width: 58% !important;
  height: 100% !important;
  min-height: 456px !important;
  max-width: 100% !important;
  right: 0% !important;
  left: -27%;
  top: 9px !important;
  direction: rtl;
}

html[dir='rtl'] .heading-46 {
  font-size: 28px;
}

html[dir='rtl'] .div-block-162 {
  width: 100% !important;
  height: 100% !important;
  min-height: 455px;
  direction: rtl;
  position: cover !important;
}

html[dir='rtl'] .image-136 {
  width: 100% !important;
  height: 100% !important;
  min-height: 455px;
  max-width: 100% !important;
  object-fit: cover !important;
}

/* Force these dimensions even in media queries */
@media screen and (max-width: 991px) {
  html[dir='rtl'] .hero-composition---brix-t {
    width: 50% !important;
    height: 100% !important;
    min-height: 400px !important;
    flex-flow: row !important;
    align-items: stretch !important;
  }

  html[dir='rtl'] .div-block-160 {
    width: 70% !important;
  }

  html[dir='rtl'] .div-block-161 {
    width: 100% !important;
    min-height: 400px !important;
    margin-top: -60px !important;
  }
}

@media screen and (max-width: 767px) {
  html[dir='rtl'] .hero-composition---brix-t {
    width: 50% !important;
    height: 100% !important;
    min-height: 400px !important;
    flex-flow: row !important;
  }

  html[dir='rtl'] .div-block-160 {
    width: 70% !important;
  }

  html[dir='rtl'] .div-block-161 {
    height: auto !important;
    min-height: 400px !important;
    margin-top: -60px !important;
    margin-bottom: -60px !important;
  }
}

html[dir='rtl'] .section-copy .base-container .two-column-wrap .half-column .h3-title,
html[dir='rtl'] .section-copy .base-container .two-column-wrap .half-column .paragraph-large {
  text-align: right !important;
}

/* Standardize Natural RTL Flow for Custom Containers */
html[dir="rtl"] .hero-v5-split---recruteur-2,
html[dir="rtl"] .two-column-wrap {
  flex-direction: row !important;
  display: flex !important;
}

/* Force Right Alignment for Text Columns in RTL */
html[dir='rtl'] .section-copy .h3-title,
html[dir='rtl'] .section-copy .paragraph-large,
html[dir='rtl'] .section-39 .h3-title,
html[dir='rtl'] .section-39 .paragraph-large,
html[dir='rtl'] .split-content---brix-recruteur .title---brix-recruteur-v1,
html[dir='rtl'] .split-content---brix-recruteur .paragraph---brix-copy,
html[dir='rtl'] .split-content---brix-recruteur .paragraph---brix-copy2,
html[dir='rtl'] .half-column .h3-title,
html[dir='rtl'] .half-column .paragraph-large {
  text-align: right !important;
}

html[dir='rtl'] .split-content---brix-recruteur .paragraph---brix-copy,
html[dir='rtl'] .split-content---brix-recruteur .paragraph---brix-copy2 {
  font-size: 20px;
}

html[dir='rtl'] .title---brix-recruteur-v1 {
  font-size: 54px;
}

/* Ensure Subtitle Dash and Layout is Mirrored */
html[dir="rtl"] .subtitle-wrapper---brix,
html[dir="rtl"] .subtitle-wrapper---brix-copy,
html[dir="rtl"] .subtitle-wrapper---brix-3 {
  flex-direction: row !important;
  justify-content: flex-start !important;
  display: flex !important;
}

/* ========================================
   RECRUTEUR PAGE RTL STYLES
   ======================================== */

/* Hero Section for Recruteur */
html[dir="rtl"] .component-section---brix-recruteur-v1,
html[dir="rtl"] .hero-v5---brix-recruteur-v1 {
  direction: rtl;
}

html[dir="rtl"] .container-default-recruteur {
  direction: rtl;
}

html[dir="rtl"] .hero-v5-split---recruteur-2 {
  flex-direction: row !important;
  display: flex !important;
  direction: rtl;
}

html[dir="rtl"] .split-content---brix-recruteur {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .title---brix-recruteur-v1,
html[dir="rtl"] .hero-v1-title---brix-recruteur-v1 {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .paragraph---brix-copy,
html[dir="rtl"] .paragraph---brix-copy2,
html[dir="rtl"] .hero-v1---brix-copy,
html[dir="rtl"] .hero-v1---brix-copy2 {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .subtitle---brix-6 {
  order: 2;
  direction: rtl;
  text-align: right !important;
  font-size: 18px;
}

html[dir="rtl"] .subtitle-dash---brix-2 {
  order: 1;
  margin-left: 8px;
  margin-right: 0 !important;
}

html[dir="rtl"] .subtitle-wrapper---brix-3 {
  flex-direction: row !important;
}

/* Recruteur Background */
html[dir="rtl"] .div-block-43-recruteur {
  background-image: url('../images/ar/image17.png') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Recruteur CTA Section */
html[dir="rtl"] .section-28-recruteur,
html[dir="rtl"] .ebook-cta-recruteur {
  direction: rtl;
}

html[dir="rtl"] .section-16-recruteur {
  direction: rtl;
}

/* Tabs for Recruteur */
html[dir="rtl"] .tabs-wrapper-r {
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
}

html[dir="rtl"] .tabs-content-r {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .card-r {
  direction: rtl;
  text-align: right;
}

/* Recruteur Navbar */
html[dir="rtl"] .navbar-fixed-recruteur {
  direction: rtl;
}

/* Content tab progress wrapper */
html[dir="rtl"] .content-tab-progress-wrapper-2,
html[dir="rtl"] .content-tabs-wrapper {
  direction: rtl;
}

/* Form field wrapper for recruteur */
html[dir="rtl"] .form-field-wrapperr {
  direction: rtl;
  flex-direction: row;
}

/* Avatar groups */
html[dir="rtl"] .f-avatar-group-r-4,
html[dir="rtl"] .f-avatar-group-r-5,
html[dir="rtl"] .f-avatar-group-r-6,
html[dir="rtl"] .f-avatar-group-r-7 {
  direction: rtl;
  flex-direction: row-reverse;
}

/* Inner container for recruteur */
html[dir="rtl"] .inner-container-r-2,
html[dir="rtl"] ._600px-c {
  direction: rtl;
}

/* Text elements */
html[dir="rtl"] .text-block-70 {
  direction: rtl;
}

/* Rounded button 2 */
html[dir="rtl"] .rounded-button-2 {
  flex-direction: row;
  direction: rtl;
  font-size: 16px;
}

/* Div blocks for recruteur */
html[dir="rtl"] .div-block-169-copy {
  direction: rtl;
  flex-direction: row;
}

/* CTA card wrapper */
html[dir="rtl"] .cta-card-wrapper {
  direction: rtl;
}

/* Accordion for recruteur */
html[dir="rtl"] .grid-1-column.gap-row-24px {
  place-items: start !important;
  justify-items: stretch !important;
}

/* Stats cards copy */
html[dir="rtl"] .stat-card-4-cols-copy-copy-copy,
html[dir="rtl"] ._01-copy-copy-copy {
  direction: rtl;
  text-align: center;
}

/* Newsletter input */
html[dir="rtl"] .input-relative-copy.newsletter-copy {
  text-align: left !important;
  direction: rtl;
}

/* Footer rights wrapper */
html[dir="rtl"] .footer-rights-wrapper {
  direction: rtl;
  text-align: right;
}

/* Top bar wrapper */
html[dir="rtl"] .top-bar-wrapper {
  direction: rtl;
}

/* F-header wrapper */
html[dir="rtl"] .f-header-wrapper {
  direction: rtl;
}

/* Form newsletter wrapper */
html[dir="rtl"] .form-newsletter-wrapper {
  direction: rtl;
}

/* Image wrapper */
html[dir="rtl"] .image-wrapper.overflow-hidden {
  direction: rtl;
}

/* Link wrapper */
html[dir="rtl"] .link-wrapper-2 {
  direction: rtl;
}

/* Pop-up wrapper */
html[dir="rtl"] .pop-up-wrapper {
  direction: rtl;
  text-align: right;
}

/* Title wrapper copy */
html[dir="rtl"] .title-wrapper-copy {
  direction: rtl;
  text-align: right;
}

/* CTA v19 Background for Recruteur */
html[dir="rtl"] .half-bg-image-right.width-46.cta-v19 {
  inset: 0% auto 0% 0% !important;
  left: 0 !important;
  right: auto !important;
  background-image: url('../images/ar/image17.png') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Image 132-r */
html[dir="rtl"] .image-132-r {
  transform: scaleX(-1);
}

/* Section regular 3 */
html[dir="rtl"] .section-regular-3 {
  direction: rtl;
}

/* Text span 33 */
html[dir="rtl"] .text-span-33 {
  direction: rtl;
  display: inline;
}

html[dir="rtl"] .section-copy .half-column {
  direction: rtl;
  order: 1;
}

html[dir="rtl"] .section-copy .half-column.video {
  direction: rtl;
  order: 2;
}

/* Additional RTL fixes for Recruteur page */
html[dir="rtl"] .div-block-184,
html[dir="rtl"] .div-block-185 {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .heading-31-matching {
  direction: rtl;
  text-align: right;
  font-size: 16px;
}

html[dir="rtl"] .heading-49 {
  direction: rtl;
  text-align: center;
}

html[dir="rtl"] .text-block-71 {
  direction: rtl;
  text-align: center;
}

/* Standardized text blocks */
html[dir="rtl"] .text-block-71 {
  direction: rtl;
  text-align: center;
}

html[dir="rtl"] .f-header-avatar-text-2 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .f-avatar-dark {
  direction: rtl;
}

html[dir="rtl"] .grid-2 {
  direction: rtl;
}

/* Zoom/stretch image horizontally for div-block-172 images */
html[dir="rtl"] .div-block-172,
html[dir="rtl"] .div-block-172-c,
html[dir="rtl"] .div-block-172-v,
html[dir="rtl"] .div-block-172-cr {
  direction: rtl;
  width: 100% !important;
  max-width: none !important;
  transform: translateX(0%) !important;
  object-fit: cover !important;
  border-radius: auto;
}

html[dir="rtl"] .tabs-content-r.card-r {
  padding: 10px 50px 10px 10px;
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

/* Ensure tab panes have consistent width */
html[dir="rtl"] .tabs-content-r.card-r .w-tab-pane {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure parent container clips the overflow */
html[dir="rtl"] .div-block-175,
html[dir="rtl"] .div-block-176,
html[dir="rtl"] .div-block-177 {
  direction: rtl;
  overflow: hidden !important;
}

/* Content tab images for Arabic */
html[dir="rtl"] .content-tab-image-2 {
  direction: rtl;
  position: relative;
}

html[dir="rtl"] .content-tab-image-2 .image-145 {
  direction: rtl;
  width: 70%;
}

html[dir="rtl"] .content-tab-image-2 .image-146 {
  direction: rtl;
  width: 42%;
  position: absolute;
  right: auto;
  left: 16px;
}

html[dir="rtl"] .rounded-button-2-2 {
  flex-direction: row;
  direction: rtl;
  font-size: 16px;
}

html[dir="rtl"] .grid-2-columns-8 {
  direction: rtl;
}

html[dir="rtl"] .content-left,
html[dir="rtl"] .content-center-2 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .card-over-image,
html[dir="rtl"] .link-card-2,
html[dir="rtl"] .card-2-0 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .tabs-link-r {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .content-wrapper {
  direction: rtl;
  text-align: right;
}

/* Fix for center-flex elements */
html[dir="rtl"] .center-flex {
  justify-content: center !important;
  text-align: center !important;
}

/* Hero section - Mirror natural flow for Arabic */
html[dir="rtl"] .hero-v5-split---recruteur-2 {
  flex-direction: row !important;
}

/* Ensure natural order - text first (right), image second (left) in RTL */
html[dir="rtl"] .hero-v5-split---recruteur-2>* {
  order: initial;
}

/* Line icon direction */
html[dir="rtl"] .line-rounded-icon {
  transform: scaleX(-1);
}


html[dir="rtl"] .right-arrow {
  border-radius: 100px;
  width: 45px;
  height: 45px;
  font-size: 14px;
  transition: all .2s;
  top: 17px !important;
  right: -17px !important;
}


html[dir="rtl"] .div-block-179 {
  text-align: center !important;
}

/* Ensure div-block-179 and paragraph-28 are centered */
html[dir="rtl"] .div-block-179 {
  text-align: center !important;
  direction: rtl;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

html[dir="rtl"] .paragraph-28 {
  text-align: center !important;
  direction: rtl;
}

html[dir="rtl"] .cta-section.cta-v18 .color-neutral-100-copy {
  text-align: right !important;
  margin-right: 75px;
}


html[dir="rtl"] .footer-menu-copy {
  direction: rtl;
  text-align: right;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Newsletter Section RTL */
html[dir="rtl"] .subtitle-wrapper---brix-copy {
  flex-direction: row !important;
  justify-content: flex-start !important;
  direction: rtl;
}

html[dir="rtl"] .subtitle-wrapper---brix-copy .subtitle-dash---brix---white {
  order: 1 !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .subtitle-dash---brix {
  width: 22px;
  min-height: 2px;
  margin-left: 10px;
  margin-right: 0 !important;
}

html[dir="rtl"] .color-white.h3-title {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .h3-title.text-white.center-title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

html[dir="rtl"] .form-newsletter-wrapper {
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .text-block-50.h3-title {
  line-height: 130%;
}

html[dir="rtl"] .contacts-wrapper {
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  position: static;
}

html[dir="rtl"] .contacts-content-wrapper-copy {
  width: 70%;
  margin-left: 40px !important;
  padding-right: -40px !important;
}

html[dir="rtl"] .contacts-form-wrapper {
  width: 500px !important;
  margin-right: 40px;
}

html[dir="rtl"] .contacts-divider {
  background-color: var(--white);
  width: 88%;
  height: 1px;
  margin-top: 30px;
  margin-bottom: 20px;
}

html[dir="rtl"] .accordion-header h3.accordion-title-2 {
  display: flex !important;
  justify-content: flex-start !important;
  text-align: right !important;
  width: 100% !important;
}

html[dir="rtl"] .input-relative-copy.newsletter-copy {
  text-align: left !important;
  direction: rtl;
}

html[dir="rtl"] .button-primary-2.newsletter {
  direction: rtl;
}

html[dir="rtl"] .success-message-2,
html[dir="rtl"] .error-message-2 {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .mg-bottom-40px-3 {
  direction: rtl;
  text-align: right;
}

/* Content Tabs Wrapper - Reverse layout for RTL */
html[dir="rtl"] .content-tabs-wrapper {
  direction: rtl;
}

/* Content tabs left */
html[dir="rtl"] .content-tabs-left {
  direction: rtl;
}

/* Content tabs 2 - Keep flex layout */
html[dir="rtl"] .content-tabs-2.w-tabs {
  direction: rtl;
}

/* Content tabs menu - Position on RIGHT in RTL */
html[dir="rtl"] .content-tabs-menu.w-tab-menu {
  direction: rtl;
  text-align: right;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Content tab content - Position on LEFT in RTL (override absolute positioning) */
html[dir="rtl"] .content-tab-content.w-tab-content {
  direction: rtl;
  position: absolute !important;
  inset: 0% auto 0% 0% !important;
  left: 0 !important;
  right: auto !important;
}

/* Content tab link */
html[dir="rtl"] .content-tab-link {
  direction: rtl;
  text-align: right;
}

/* Content tab link details */
html[dir="rtl"] .content-tab-link-details {
  direction: rtl;
  text-align: right;
}

/* Content tab link title */
html[dir="rtl"] .content-tab-link-title {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .tab-left-icon {
  white-space: nowrap;
}

/* Subheading large */
html[dir="rtl"] .subheading-large {
  direction: rtl;
  text-align: right;
}

/* Paragraph small */
html[dir="rtl"] .paragraph-small {
  direction: rtl;
  text-align: right;
}

/* Content tab progress wrapper */
html[dir="rtl"] .content-tab-progress-wrapper-2 {
  direction: rtl;
}

html[dir="rtl"] .f-header-avatar-text-consultant {
  direction: rtl;
  margin-right: 15px;
  font-size: 16px;
}

html[dir="rtl"] .text-size-regular {
  text-align: center !important;
  line-height: 30px !important;
  font-size: 16px !important;
}

html[dir="rtl"] .paragraph---brix-consultant {
  text-align: center !important;
}

/* Avatar group images for Arabic */
html[dir="rtl"] .f-avatar-group-r-1 {
  background-image: url('../images/ar/img45.png') !important;
}

html[dir="rtl"] .f-avatar-group-r-2 {
  background-image: url('../images/ar/img42.png') !important;
}

html[dir="rtl"] .f-avatar-group-r-3 {
  background-image: url('../images/ar/img41.png') !important;
}

html[dir="rtl"] .f-avatar-group-r {
  background-image: url('../images/ar/img44.png') !important;
}

/* Keep team members in same position/size as FR/EN version */
html[dir="rtl"] .team-members {
  flex-direction: row !important;
  direction: ltr !important;
}

html[dir="rtl"] .team-member {
  direction: rtl !important;
  width: 210px !important;
  min-width: 210px !important;
  height: 265px !important;
}

html[dir="rtl"] .team-member.team-member-left {
  order: 1 !important;
  margin-right: -32px !important;
  margin-left: 0 !important;
  transform: rotate(-10deg) !important;
}

html[dir="rtl"] .team-member.team-member-center {
  order: 2 !important;
  bottom: 32px !important;
}

html[dir="rtl"] .team-member.team-member-right {
  order: 3 !important;
  margin-left: -32px !important;
  margin-right: 0 !important;
  transform: rotate(5deg) !important;
}

html[dir="rtl"] .image-128 {
  width: 190px !important;
  height: 116.5px !important;
  max-width: 190px !important;
  border-radius: 10px !important;
  position: absolute;
  top: 290px;
  left: 47.578px;
  right: auto;
  object-fit: cover !important;
}

html[dir="rtl"] .image-129 {
  width: 190px !important;
  height: 92.3px !important;
  max-width: 190px !important;
  border-radius: 10px !important;
  position: absolute;
  top: 180px;
  right: 64px;
  left: auto;
  box-shadow: 0 8.959px 47.036px #211f5421;
  object-fit: cover !important;
}

html[dir="rtl"] .input-relative-copy.newsletter-copy::placeholder {
  height: 100px;
}

html[dir="rtl"] .buttons-row.center-flex {
  justify-content: flex-end !important;
  align-items: center !important;
  display: flex !important;
  direction: rtl !important;
  margin-right: 75px !important;
}

html[dir="rtl"] .rounded-button.w-inline-block {
  margin-left: auto !important;
  margin-right: 0 !important;
  font-size: 16px;
}

html[dir="rtl"] .rounded-button.w-inline-block {
  margin-left: auto !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .text-block-19 {
  order: 1;
}

html[dir="rtl"] .div-block-51 {
  order: 2;
}

/* Arrow animation for RTL - arrows mirrored correctly */
html[dir="rtl"] .hide-icon {
  position: absolute;
  inset: auto -35% -35% auto;
  /* bottom-right in RTL */
  transform: translate3d(12px, 12px, 0) scaleX(-1) !important;
  transition: all 0.3s ease;
}

html[dir="rtl"] .show-icon {
  color: var(--secondary);
  rotate: -135deg;
  /* FIX: mirror instead of 126deg */
  transition: all 0.3s ease;
}

/* Hover state for RTL - arrows move from right to left */
html[dir="rtl"] .rounded-button:hover .hide-icon {
  inset: auto -30% -30% auto;
  inset-inline-start: -35%;
  transform: translate3d(-16px, -16px, 0) scaleX(-1) !important;
  /* FIX: move LEFT in RTL */
}

html[dir="rtl"] .rounded-button:hover .show-icon {
  rotate: -135deg;
  /* keep mirrored */
}

/* Specific fix for navbar rounded buttons */
html[dir="rtl"] .menu-wrap .div-block-158 .rounded-button .hide-icon {
  position: absolute;
  inset: auto -35% -35% auto;
  rotate: 0deg;
}

html[dir="rtl"] .menu-wrap .div-block-158 .rounded-button .show-icon {
  color: var(--secondary);
  rotate: -135deg;
}

html[dir="rtl"] .menu-wrap .div-block-158 .rounded-button:hover .hide-icon {
  inset: auto auto 35% 35%;
  inset-inline-start: -35%;
  transform: translate3d(-18px, 0, 0) scaleX(-1) !important;
  rotate: 0deg;
  transition: all 0.3s ease;
}

html[dir="rtl"] .menu-wrap .div-block-158 .rounded-button:hover .show-icon {
  rotate: -135deg;
  transition: all 0.3s ease;
}

/* Card wrapper RTL adjustments */
html[dir="rtl"] .card-wrapper-r {
  grid-template-rows: repeat(4, auto);
  direction: rtl;
}

html[dir="rtl"] .card-div1 {
  min-height: 450px;
  align-self: start;
}

html[dir="rtl"] .card-div2 {
  max-height: 251.44px !important;
  align-self: start;
}

html[dir="rtl"] .card-div2 .div-block-h {
  min-height: 250px !important;
  height: fit-content;
  align-self: start;
}

html[dir="rtl"] .div-block-193-p {
  width: 399.56px !important;
  height: 166.85px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

html[dir="rtl"] .div-block-193-p img {
  width: auto;
  object-fit: cover !important;
  background-size: contain !important;
  transform: scale(0.85) !important;
}

html[dir="rtl"] .div-block-193 img {
  height: 270.88px !important;
}

html[dir="rtl"] .div-block-146 .div-block-193 {
  height: 204px !important;
  width: 380px !important;
}

html[dir="rtl"] .image-158 {
  height: 204px !important;
  width: 236px !important;
}

html[dir="rtl"] .card-div4 {
  height: 211.5px !important;
}

html[dir="rtl"] .card-div7,
html[dir="rtl"] .card-div7 .div-block-h {
  height: 220.5px !important;
}

html[dir="rtl"] .card-div7 .div-block-h .div-block-m {
  direction: rtl;
}

html[dir="rtl"] .card-div6 .div-block-h .div-block-193-pp {
  width: 316.96px !important;
  height: 149.8px !important;
}

html[dir="rtl"] .card-div5 {
  height: 422.3px !important;
}

html[dir="rtl"] .card.content-center.link-card.w-inline-block {
  height: 600px !important;
}

/* Phone numbers should always display left-to-right */
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] .phone-number,
html[dir="rtl"] [class*="phone"],
html[dir="rtl"] .text-block-64,
html[dir="rtl"] .text-block-65,
html[dir="rtl"] [data-translate="footer.phone"],
html[dir="rtl"] .footer-menu-link[data-translate="footer.phone"],
html[dir="rtl"] .nav-link[data-translate="footer.phone"],
html[dir="rtl"] .footer-wrapper [data-translate*="phone"],
html[dir="rtl"] .footer-menu [data-translate*="phone"],
html[dir="rtl"] *[data-translate*="phone"] {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: embed !important;
}