/* Arabic-only RTL stylesheet.
 * Source counterpart: assets/scss/rtl.scss
 */

html[dir="rtl"],
body.rtl {
  direction: rtl;
}

html[dir="rtl"] .site-header,
body.rtl .site-header {
  direction: rtl;
}

html[dir="rtl"] .site-header__right,
body.rtl .site-header__right {
  flex-direction: row;
}

html[dir="rtl"] .site-header__nav,
body.rtl .site-header__nav,
html[dir="rtl"] .site-header__menu,
body.rtl .site-header__menu {
  direction: rtl;
}



html[dir="rtl"] .site-header__menu a:not(.site-header__contact),
body.rtl .site-header__menu a:not(.site-header__contact) {
  text-align: right;
}

html[dir="rtl"] .site-header__menu a:not(.site-header__contact)::after,
body.rtl .site-header__menu a:not(.site-header__contact)::after {
  left: auto;
  right: 0;
}

@media (max-width: 1199px) {
  html[dir="rtl"] .site-header__nav,
  body.rtl .site-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 100px 32px 40px;
    background-color: #051221;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(30, 55, 85, 0.4) 0%, transparent 60%);
    transition: transform 0.35s ease;
    overflow: hidden;
    z-index: 1002;
    gap: 0;
  }

  html[dir="rtl"] .site-header__menu,
  body.rtl .site-header__menu {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
  }

  html[dir="rtl"] .site-header__menu > li,
  body.rtl .site-header__menu > li {
    width: 100%;
  }

  html[dir="rtl"] .site-header__menu a:not(.site-header__contact),
  body.rtl .site-header__menu a:not(.site-header__contact) {
    text-align: right;
  }

  html[dir="rtl"] .site-header.is-nav-open .site-header__nav,
  body.rtl .site-header.is-nav-open .site-header__nav {
    transform: translateX(0);
  }
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .site-footer,
html[dir="rtl"] .main-banner,
html[dir="rtl"] .inner-banner,
html[dir="rtl"] .about-us,
html[dir="rtl"] .what-we-do,
html[dir="rtl"] .our-clients,
html[dir="rtl"] .why-bait-alarab,
html[dir="rtl"] .featured-projects,
html[dir="rtl"] .introduction,
html[dir="rtl"] .our-history,
html[dir="rtl"] .our-advantages,
html[dir="rtl"] .goals,
html[dir="rtl"] .contracts,
html[dir="rtl"] .partners,
html[dir="rtl"] .compliance,
html[dir="rtl"] .project-list,
html[dir="rtl"] .related-projects,
html[dir="rtl"] .project-overview,
html[dir="rtl"] .project-scope,
html[dir="rtl"] .director-message,
html[dir="rtl"] .apply,
html[dir="rtl"] .open-positions,
html[dir="rtl"] .env-sector,
html[dir="rtl"] .sitemap-page,
html[dir="rtl"] .error-404 {
  direction: rtl;
}

html[dir="rtl"] .site-header__right,
html[dir="rtl"] .bread-crumbs__list,
html[dir="rtl"] .bread-crumbs__item,
html[dir="rtl"] .related-projects__header,
html[dir="rtl"] .what-we-do__nav-controls,
html[dir="rtl"] .role-coverage__nav,
html[dir="rtl"] .project-scope__nav-controls,
html[dir="rtl"] .services-deliver__nav-controls,
html[dir="rtl"] .open-positions__filters,
html[dir="rtl"] .open-positions__filter,
html[dir="rtl"] .project-list__sort-field,
html[dir="rtl"] .coverage__summary-item,
html[dir="rtl"] .sitemap-page__content a,
html[dir="rtl"] .site-footer__main,
html[dir="rtl"] .site-footer__social {
  flex-direction: row-reverse;
}

html[dir="rtl"] .related-projects__header {
  flex-direction: row;
}

@media screen and (max-width: 768px) {
  html[dir="rtl"] .related-projects__header {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 1199px) {
  html[dir="rtl"] .site-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 100px 32px 40px;
    background-color: #051221;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(30, 55, 85, 0.4) 0%, transparent 60%);
    transition: transform 0.35s ease;
    overflow: hidden;
    z-index: 1002;
    gap: 0;
  }

  html[dir="rtl"] .site-header__menu {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
  }

  html[dir="rtl"] .site-header__menu > li {
    width: 100%;
  }

  html[dir="rtl"] .site-header__menu a:not(.site-header__contact) {
    text-align: right;
  }

  html[dir="rtl"] .site-header.is-nav-open .site-header__nav {
    transform: translateX(0);
  }
}

html[dir="rtl"] .site-header__menu > li,
html[dir="rtl"] .site-header__menu a:not(.site-header__contact),
html[dir="rtl"] .bread-crumbs__link,
html[dir="rtl"] .bread-crumbs__current,
html[dir="rtl"] .tab-select__link,
html[dir="rtl"] .project-list__filter-link,
html[dir="rtl"] .project-list__sort-select,
html[dir="rtl"] .open-positions__search-input,
html[dir="rtl"] .open-positions__select,
html[dir="rtl"] .apply__input,
html[dir="rtl"] .apply__textarea,
html[dir="rtl"] .apply__select,
html[dir="rtl"] .coverage__summary-item,
html[dir="rtl"] .coverage__summary-content,
html[dir="rtl"] .coverage__callout-body,
html[dir="rtl"] .project-list__card-content,
html[dir="rtl"] .project-list__card-text,
html[dir="rtl"] .project-list__card-meta,
html[dir="rtl"] .project-list__card-title,
html[dir="rtl"] .featured-projects__card-content,
html[dir="rtl"] .featured-projects__head,
html[dir="rtl"] .featured-projects__card-title,
html[dir="rtl"] .featured-projects__card-meta,
html[dir="rtl"] .service-card__content,
html[dir="rtl"] .service-card__desc,
html[dir="rtl"] .service-card__list,
html[dir="rtl"] .inner-banner__content,
html[dir="rtl"] .about-us__text,
html[dir="rtl"] .what-we-do__content,
html[dir="rtl"] .why-bait-alarab__content,
html[dir="rtl"] .introduction__text,
html[dir="rtl"] .our-history__header,
html[dir="rtl"] .our-advantages__header,
html[dir="rtl"] .partners__text,
html[dir="rtl"] .contracts__text,
html[dir="rtl"] .project-overview__text,
html[dir="rtl"] .project-scope__card-content,
html[dir="rtl"] .director-message__text,
html[dir="rtl"] .apply__head,
html[dir="rtl"] .open-positions__head,
html[dir="rtl"] .related-projects__intro {
  text-align: right;
}

html[dir="rtl"] .goals__header,
html[dir="rtl"] .compliance__header {
  text-align: center;
  align-items: center;
}

html[dir="rtl"] .featured-projects__card-content {
  padding: 28px 25px 30px 15px;
}


html[dir="rtl"] .director-message__card {
  padding: 150px 15% 110px 0;
  isolation: isolate;
  background-image: none;
}
html[dir="rtl"] .director-message__card::before,
body.rtl .director-message__card::before {
  content: "";
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 383px;
  height: 100%;
  z-index: 0;
  background-image: url("../images/director-bg.svg");
  background-repeat: no-repeat;
  background-position: top left;
  transform: scaleX(-1);
  pointer-events: none;
}
@media screen and (max-width: 1024px) {
  html[dir="rtl"] .director-message__card {
    padding: 90px 10% 60px 0;
  }
  html[dir="rtl"] .director-message__card::before,
  body.rtl .director-message__card::before {
    background-position: bottom left;
  }
}
html[dir="rtl"] .director-message__quote-icon,
body.rtl .director-message__quote-icon {
  left: auto;
  right: 5%;
  transform: scaleX(-1);
}

html[dir="rtl"] .site-footer::before {
  left: auto;
  right: 0;
  background-position: right bottom;
  transform: scaleX(-1);
}

html[dir="rtl"] .site-footer__social {
  justify-content: " ;
}

html[dir="rtl"] .site-footer__bottom {
  justify-content: " ;
}

html[dir="rtl"] .bread-crumbs__separator img {
  transform: scaleX(-1);
}

html[dir="rtl"] .open-positions__select-wrap::after,
html[dir="rtl"] .apply__select-wrap::after {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .open-positions__select {
  padding: 0 24px 0 52px;
}

html[dir="rtl"] .apply__select {
  padding-right: 20px;
  padding-left: 52px;
}

html[dir="rtl"] .project-list__sort-arrow {
  right: auto;
  left: 18px;
}

@media screen and (max-width: 768px) {
  html[dir="rtl"] .project-list__sort-arrow {
    left: 14px;
  }

  html[dir="rtl"] .project-list__sort-select {
    padding-inline: 16px 38px;
  }
}

html[dir="rtl"] .what-we-do__nav-icon--prev,
html[dir="rtl"] .role-coverage__nav-icon--prev,
html[dir="rtl"] .services-deliver__nav-icon--prev {
  background-image: url("../images/next.svg");
}

html[dir="rtl"] .what-we-do__nav-icon--next,
html[dir="rtl"] .role-coverage__nav-icon--next,
html[dir="rtl"] .services-deliver__nav-icon--next {
  background-image: url("../images/prev.svg");
}

html[dir="rtl"] .what-we-do__progress-fill,
html[dir="rtl"] .project-scope__progress-fill,
html[dir="rtl"] .services-deliver__progress-fill,
html[dir="rtl"] .env-sector__progress-fill {
  transform-origin: right center;
}

html[dir="rtl"] .coverage__marker--right .coverage__callout {
  left: 20px;
  right: auto;
  transform: translateY(-30%) translateX(-10px);
}

html[dir="rtl"] .coverage__marker--left .coverage__callout {
  right: 72px;
  left: auto;
  transform: translateY(-30%) translateX(10px);
}

html[dir="rtl"] .coverage__marker:hover .coverage__callout,
html[dir="rtl"] .coverage__marker:focus-visible .coverage__callout,
html[dir="rtl"] .coverage__marker.is-active .coverage__callout {
  transform: translateY(-30%) translateX(0);
}

html[dir="rtl"] .coverage__marker--right .coverage__callout-body {
  right: 0;
  left: auto;
  padding-right: 20px;
  padding-left: 0;
}

html[dir="rtl"] .coverage__marker--left .coverage__callout-body {
  left: 0;
  right: auto;
  padding-left: 0;
  padding-right: 0;
}

html[dir="rtl"] .coverage__summary-item {
  justify-content: " ;
}

html[dir="rtl"] .sitemap-page__content a:hover {
  transform: translateX(-4px);
}

html[dir="rtl"] .project-list__card-arrow img,
html[dir="rtl"] .project-list__page-arrow,
html[dir="rtl"] .featured-projects__navigation button img {
  transform: scaleX(-1);
}

/* RTL directional mirror pass */
html[dir=rtl] .what-we-do__slider {
  padding-left: 0;
}

html[dir=rtl] .what-we-operate__slider {
  padding-left: 0;
  padding-right: 0;
}

html[dir=rtl] .what-we-do__progress,
html[dir=rtl] .what-we-operate__progress {
  margin-left: 0;
  margin-right: 18px;
}

@media screen and (max-width: 820px) {
  html[dir=rtl] .what-we-do__progress,
  html[dir=rtl] .what-we-operate__progress {
    margin-left: 0;
    margin-right: 12px;
  }
}

html[dir=rtl] .what-we-operate__progress-fill {
  transform-origin: right center;
}

html[dir=rtl] .our-history__stage {
  padding-left: 0;
  padding-right: max(20px, calc((100vw - 1716px) / 2 + 20px));
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .our-history__stage {
    padding-left: max(20px, calc((100vw - 1716px) / 2 + 20px));
  }
}

html[dir=rtl] .our-history__image--next {
  margin-left: 0;
  margin-right: auto;
  border-radius: 0 24px 24px 0;
  transform: translateX(-10%);
}

html[dir=rtl] .our-history__info,
html[dir=rtl] .catering-volume__stat {
  text-align: right;
}

html[dir=rtl] .catering-volume__stat {
  margin-left: 0;
  margin-right: auto;
}

@media screen and (max-width: 820px) {
  html[dir=rtl] .catering-volume__stat {
    margin-right: 0;
  }
}

html[dir=rtl] .maintenance-contracts__badge {
  right: auto;
  left: 0;
  border-radius: 0 8px 8px 0;
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .maintenance-contracts__badge {
    right: auto;
    left: 20px;
  }
}

html[dir=rtl] .security-compliance__graphic {
  right: auto;
  left: -2%;
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .security-compliance__graphic {
    right: auto;
    left: -18%;
  }
}

html[dir=rtl] .iso-certification__card {
  border-right: 0;
  border-left: 1px solid #dbdbdb;
}

html[dir=rtl] .three-phases__desc,
html[dir=rtl] .operation-zones__desc,
html[dir=rtl] .services-deliver__desc {
  padding-right: 0;
  padding-left: 72px;
}

@media screen and (max-width: 540px) {
  html[dir=rtl] .three-phases__desc,
  html[dir=rtl] .operation-zones__desc,
  html[dir=rtl] .services-deliver__desc {
    padding-left: 56px;
  }
}

html[dir=rtl] .three-phases__list li,
html[dir=rtl] .operation-zones__list li,
html[dir=rtl] .services-deliver__list li {
  padding-left: 0;
  padding-right: 16px;
}

html[dir=rtl] .three-phases__list li::before,
html[dir=rtl] .operation-zones__list li::before,
html[dir=rtl] .services-deliver__list li::before {
  left: auto;
  right: 0;
}

html[dir=rtl] .services-deliver__link {
  right: auto;
  left: 0;
}

html[dir=rtl] .services-deliver__progress {
  margin-right: 0;
  margin-left: 18px;
}

@media screen and (max-width: 820px) {
  html[dir=rtl] .services-deliver__progress {
    margin-left: 12px;
  }
}

html[dir=rtl] .related-projects .project-list__card-tags {
  left: auto;
  right: 20px;
  justify-content: " ;
}
/* End RTL directional mirror pass */

/* RTL mirror: about-us inner spacing */
html[dir=rtl] .about-us__inner {
  margin-left: 0;
  margin-right: auto;
  padding-right: 0;
  padding-left: 80px;
}

/* RTL mirror: about-us bg */
html[dir=rtl] .about-us__bg {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}

/* RTL mirror: about-us section background */
html[dir=rtl] .about-us {
  background-position: top left;
}
/* RTL mirror: about-us background artwork */
html[dir=rtl] .about-us {
  background-image: none;
}

html[dir=rtl] .about-us::before {
  content: " ;
  position: absolute;
  inset: 0;
  background-image: url("../images/about-us-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .about-us::before {
    background-position: top center;
    background-size: 100%;
  }
}

/* RTL mirror: what-we-do background artwork */
html[dir="rtl"] .what-we-do,
body.rtl .what-we-do {
  position: relative;
  isolation: isolate;
  background-size: 0 0;
}

html[dir="rtl"] .what-we-do::before,
body.rtl .what-we-do::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-repeat: inherit;
  background-size: 100% 100%;
  background-position: inherit;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: -1;
}
/* End RTL mirror: what-we-do background artwork */

/* RTL mirror: service card link */
html[dir=rtl] .service-card__link {
  right: auto;
  left: 0;
  clip-path: path("M 0 88 L 88 88 Q 56 32 0 0 Z");
  transform: translate(-12px, 12px);
}

html[dir=rtl] .service-card__link img {
  transform: translate(-15px, 15px) scaleX(-1);
}

html[dir=rtl] .service-card:hover .service-card__link,
html[dir=rtl] .service-card:focus-within .service-card__link {
  transform: translate(0, 0);
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .service-card__link {
    clip-path: path("M 0 72 L 72 72 Q 46 26 0 0 Z");
  }
}

@media screen and (max-width: 540px) {
  html[dir=rtl] .service-card__link {
    clip-path: path("M 0 64 L 64 64 Q 41 23 0 0 Z");
  }

  html[dir=rtl] .service-card__link img {
    transform: translate(-11px, 11px) scaleX(-1);
  }
}
/* End RTL mirror: service card link */

/* RTL mirror: service card desc padding */
html[dir=rtl] .service-card__desc {
  padding-right: 0;
  padding-left: 72px;
}

html[dir=rtl] .service-card--list .service-card__desc {
  padding-left: 0;
}

@media screen and (max-width: 540px) {
  html[dir=rtl] .service-card__desc {
    padding-left: 56px;
  }
}
/* End RTL mirror: service card desc padding */

/* RTL override: service card content alignment */
html[dir=rtl] .service-card__content {
  align-items: flex-start;
}
/* End RTL override: service card content alignment */

/* RTL override: why bait alarab desc alignment */
html[dir=rtl] .why-bait-alarab__desc {
  text-align: right;
}
/* End RTL override: why bait alarab desc alignment */

/* RTL override: our clients marquee direction */
html[dir=rtl] .our-clients__row,
html[dir=rtl] .our-clients__track {
  direction: ltr;
}

html[dir=rtl] .our-clients__row--left .our-clients__track {
  animation-name: our-clients-scroll-right;
}

html[dir=rtl] .our-clients__row--right .our-clients__track {
  animation-name: our-clients-scroll-left;
}
/* End RTL override: our clients marquee direction */

/* RTL override: featured projects head alignment */
html[dir=rtl] .featured-projects__head {
  align-items: flex-start;
}
/* End RTL override: featured projects head alignment */

/* RTL mirror: featured projects stack margin */
html[dir=rtl] .featured-projects__stack {
  margin-left: 0;
  margin-right: auto;
}
/* End RTL mirror: featured projects stack margin */

/* RTL override: featured projects arrow order */
html[dir=rtl] .featured-projects__navigation {
  flex-direction: row;
}
/* End RTL override: featured projects arrow order */

/* RTL mirror: green top decorative shape */
html[dir=rtl] .bg-flex,
body.rtl .bg-flex {
  position: relative;
  isolation: isolate;
  background-image: none;
}
html[dir=rtl] .bg-flex::before,
body.rtl .bg-flex::before {
  content: "";
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 531px;
  height: 100%;
  z-index: -1;
  background-image: url("../images/green-top.png");
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transform: scale(-1, 1);
  pointer-events: none;
}
@media screen and (max-width: 1500px) {
  html[dir=rtl] .bg-flex::before,
  body.rtl .bg-flex::before { width: 25%; }
}
@media screen and (max-width: 1366px) {
  html[dir=rtl] .bg-flex::before,
  body.rtl .bg-flex::before { width: 400px; }
}
@media screen and (max-width: 1280px) {
  html[dir=rtl] .bg-flex::before,
  body.rtl .bg-flex::before { width: 350px; }
}
@media screen and (max-width: 820px) {
  html[dir=rtl] .bg-flex::before,
  body.rtl .bg-flex::before { width: 300px; }
}
@media screen and (max-width: 540px) {
  html[dir=rtl] .bg-flex::before,
  body.rtl .bg-flex::before { width: 160px; }
}
body.postid-194 .site-main > .bg-flex.bg-white::before { width: 37%; }

html[dir=rtl] .our-pipeline,
body.rtl .our-pipeline {
  position: relative;
  isolation: isolate;
  background-image: none;
}

html[dir=rtl] .our-pipeline::before,
body.rtl .our-pipeline::before {
  content: "";
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 531px;
  height: 100%;
  z-index: -1;
  background-image: url("../images/green-top.png");
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transform: scale(-1, 1);
  pointer-events: none;
}

@media screen and (max-width: 820px) {
  html[dir=rtl] .our-pipeline::before,
body.rtl .our-pipeline::before {
  content: "";
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 531px;
  height: 100%;
  z-index: -1;
  background-image: url("../images/green-top.png");
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transform: scale(-1, 1);
  pointer-events: none;
}
}

html[dir=rtl] .featured-project__glow,
html[dir=rtl] .certifications__glow {
  right: auto;
  left: 0;
}
/* End RTL mirror: green top decorative shape */

/* RTL mirror: introduction background image */
html[dir=rtl] .introduction {
  background-image: none;
}

html[dir=rtl] .introduction::before {
  content: " ;
  position: absolute;
  inset: 0;
  background-image: url("../images/about-us-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

html[dir=rtl] .introduction > * {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .introduction::before {
    background-position: top center;
    background-size: 100%;
  }
}
/* End RTL mirror: introduction background image */

/* RTL mirror: our history arrow icons */
html[dir=rtl] .our-history__navigation button img {
  transform: scaleX(-1);
}
/* End RTL mirror: our history arrow icons */

/* RTL mirror: our history progress direction */
html[dir=rtl] .our-history__timeline-fill {
  transform-origin: right center;
}
/* End RTL mirror: our history progress direction */

/* RTL font: Portada Arabic */
@font-face {
  font-family: "Portada Arabic";
  src: url("../fonts/portada-arabic/PortadaARA-Upright.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Portada Arabic";
  src: url("../fonts/portada-arabic/PortadaARA-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html[dir=rtl] body,
html[dir=rtl] h1,
html[dir=rtl] h2,
html[dir=rtl] h3,
html[dir=rtl] h4,
html[dir=rtl] h5,
html[dir=rtl] h6,
html[dir=rtl] p,
html[dir=rtl] a,
html[dir=rtl] li,
html[dir=rtl] button,
html[dir=rtl] input,
html[dir=rtl] textarea,
html[dir=rtl] select,
html[dir=rtl] label,
html[dir=rtl] .tagline,
html[dir=rtl] .section-title,
html[dir=rtl] .main-title {
  font-family: "Portada Arabic", sans-serif !important;
}
/* End RTL font: Portada Arabic */


/* RTL mirror: vision mission background */
html[dir=rtl] .vision-mission__grid .mission-box {
  background-position: top left;
}
/* End RTL mirror: vision mission background */

/* RTL mirror: vision mission background image flip */
html[dir=rtl] .vision-mission__grid .mission-box {
  position: relative;
  overflow: hidden;
  background-image: none;
}

html[dir=rtl] .vision-mission__grid .mission-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/mission-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

html[dir=rtl] .vision-mission__grid .mission-box > * {
  position: relative;
  z-index: 1;
}
/* End RTL mirror: vision mission background image flip */

/* RTL mirror: contracts background artwork */
html[dir=rtl] .contracts {
  background-image: none;
}

html[dir=rtl] .contracts::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/about-us-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

html[dir=rtl] .contracts > * {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  html[dir=rtl] .contracts::before {
    background-position: top center;
    background-size: 100%;
  }
}
/* End RTL mirror: contracts background artwork */

/* RTL mirror: partners background artwork */
html[dir=rtl] .partners {
  background-image: none;
}

html[dir=rtl] .partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/what-we-do-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

html[dir=rtl] .partners > * {
  position: relative;
  z-index: 1;
}
/* End RTL mirror: partners background artwork */

/* Arabic environmental testimonials: portrait left, quote mirrored. */
html[dir="rtl"] .env-sector__card-media,
body.rtl .env-sector__card-media {
  right: auto;
  left: 0;
  justify-content: flex-start;
}

html[dir="rtl"] .env-sector__card-media img,
body.rtl .env-sector__card-media img {
  object-position: bottom left;
}

html[dir="rtl"] .env-sector__card-body,
body.rtl .env-sector__card-body {
  margin-left: auto;
  padding: 56px 56px 56px 24px;
}

html[dir="rtl"] .env-sector__quote,
body.rtl .env-sector__quote {
  transform: scaleX(-1);
}

@media screen and (max-width: 1440px) {
  html[dir="rtl"] .env-sector__card-body,
  body.rtl .env-sector__card-body {
    padding: 48px 48px 48px 20px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 821px) {
  html[dir="rtl"] .env-sector__card-body,
  body.rtl .env-sector__card-body {
    padding: 40px 40px 40px 16px;
  }

  html[dir="rtl"] .env-sector__card-media,
  body.rtl .env-sector__card-media {
    width: 40%;
  }
}

@media screen and (max-width: 820px) {
  html[dir="rtl"] .env-sector__card-body,
  body.rtl .env-sector__card-body {
    margin-left: 0;
    padding: 32px 24px 0;
  }

  html[dir="rtl"] .env-sector__card-media img,
  body.rtl .env-sector__card-media img {
    object-position: center bottom;
  }
}

@media screen and (max-width: 540px) {
  html[dir="rtl"] .env-sector__card-body,
  body.rtl .env-sector__card-body {
    padding: 28px 20px 0;
  }
}
/* Mirror the Arabic partner banner, including configured background images. */
html[dir="rtl"] .ready-to-partner,
body.rtl .ready-to-partner {
  position: relative;
  isolation: isolate;
  background-size: 0 0;
}

html[dir="rtl"] .ready-to-partner::before,
body.rtl .ready-to-partner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: inherit;
  background-position: inherit;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}
/* Keep the WhatsApp shortcut at the bottom right in Arabic layouts too. */
html[dir="rtl"] .whatsapp-float,
body.rtl .whatsapp-float {
  right: 30px !important;
  left: auto !important;
}

@media screen and (max-width: 820px) {
  html[dir="rtl"] .whatsapp-float,
  body.rtl .whatsapp-float {
    right: 20px !important;
    left: auto !important;
  }
}
/* Swap testimonial previous/next positions in Arabic. */
html[dir="rtl"] .env-sector__nav-btns,
body.rtl .env-sector__nav-btns {
  flex-direction: row-reverse;
}
/* Keep What We Do navigation controls left-to-right on Arabic pages. */
html[dir="rtl"] .what-we-do__nav-controls,
body.rtl .what-we-do__nav-controls {
  direction: ltr;
}
/* Mirror both Why Bait Al-Arab background decorations for Arabic. */
html[dir="rtl"] .why-bait-alarab,
body.rtl .why-bait-alarab {
  position: relative;
  isolation: isolate;
  background-size: 0 0;
}

html[dir="rtl"] .why-bait-alarab::before,
body.rtl .why-bait-alarab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: inherit;
  background-position: top center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: scaleX(-1);
  pointer-events: none;
}

@media screen and (max-width: 820px) {
  html[dir="rtl"] .why-bait-alarab::before,
  body.rtl .why-bait-alarab::before {
    background-size: contain;
  }
}
/* Right-align Arabic active and upcoming feature text. */
html[dir="rtl"] .why-bait-alarab__active,
html[dir="rtl"] .why-bait-alarab__next,
body.rtl .why-bait-alarab__active,
body.rtl .why-bait-alarab__next {
  text-align: right;
}

html[dir="rtl"] .why-bait-alarab__title,
body.rtl .why-bait-alarab__title {
  width: 100%;
  text-align: right;
}
/* Mirror configured inner-banner backgrounds on Arabic pages. */
html[dir="rtl"] .inner-banner__bg,
body.rtl .inner-banner__bg {
  transform: scaleX(-1);
}
/* Use normal row flow for Arabic desktop header links. */
@media (min-width: 1200px) {
  html[dir="rtl"] .site-header__menu,
  body.rtl .site-header__menu {
    flex-direction: row;
  }
}
/* Style the Arabic CF7 careers markup without changing its fields. */
html[dir="rtl"] .apply__form--cf7 .apply__grid > p {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
  margin: 0 0 20px;
}
html[dir="rtl"] .apply__form--cf7 .apply__grid > p > br,
html[dir="rtl"] .apply__form--cf7 .apply__field > br,
html[dir="rtl"] .apply__form--cf7 .apply__upload p > br,
html[dir="rtl"] .apply__form--cf7 .apply__upload-box > br {
  display: none;
}
html[dir="rtl"] .apply__form--cf7 .apply__field {
  min-width: 0;
  text-align: right;
}
html[dir="rtl"] .apply__form--cf7 .apply__field--full,
html[dir="rtl"] .apply__form--cf7 .apply__upload {
  margin-bottom: 20px;
}

/* Enter the Arabic mobile menu from the left, moving right into view. */
@media (max-width: 1199px) {
  html[dir="rtl"] .site-header__nav,
  body.rtl .site-header__nav {
    left: 0;
    right: auto;
    transform: translateX(-100%);
  }

  html[dir="rtl"] .site-header.is-nav-open .site-header__nav,
  body.rtl .site-header.is-nav-open .site-header__nav {
    transform: translateX(0);
  }
}
html[dir="rtl"] .apply__form--cf7 .apply__select {
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: left 20px center;
  background-size: 24px;
}
html[dir="rtl"] .apply__form--cf7 .apply__upload p {
  margin: 0;
}
html[dir="rtl"] .apply__form--cf7 .apply__upload-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 97px;
  padding: 24px;
  border: 1px dashed #d9d9d9;
  border-radius: 16px;
  background: linear-gradient(170.47deg, rgba(198, 214, 237, 0.11), rgba(255, 255, 255, 0.11));
  text-align: center;
  cursor: pointer;
}
html[dir="rtl"] .apply__form--cf7 .apply__upload-box .wpcf7-form-control-wrap {
  position: static;
}
html[dir="rtl"] .apply__form--cf7 .apply__file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
html[dir="rtl"] .apply__form--cf7 .apply__upload-text {
  white-space: normal;
}
html[dir="rtl"] .apply__form--cf7 .apply__upload-text::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 23px;
  margin-inline-end: 8px;
  vertical-align: middle;
  background: url("../images/upload.svg") center / contain no-repeat;
}
html[dir="rtl"] .apply__form--cf7 .apply__upload-box:hover,
html[dir="rtl"] .apply__form--cf7 .apply__upload-box:focus-within {
  border-color: #00ad6b;
  background-color: #f2fbf7;
}
@media screen and (max-width: 768px) {
  html[dir="rtl"] .apply__form--cf7 .apply__grid > p {
    grid-template-columns: 1fr;
  }
  html[dir="rtl"] .apply__form--cf7 .apply__upload-box {
    min-height: 120px;
    padding: 20px 16px;
  }
}
/* Place the application background artwork on the right in Arabic. */
html[dir="rtl"] .apply,
body.rtl .apply {
  position: relative;
  isolation: isolate;
  background-size: 0 0;
}
html[dir="rtl"] .apply::before,
body.rtl .apply::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: inherit;
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}
/* Swiper supplies its RTL gap on the left; remove the legacy right gap. */
html[dir="rtl"] .our-advantages__slider.swiper-initialized .swiper-slide,
body.rtl .our-advantages__slider.swiper-initialized .swiper-slide {
  margin-right: 0;
}
/* Use normal row flow for Arabic section tabs. */
html[dir="rtl"] .tab-select__list,
body.rtl .tab-select__list {
  flex-direction: row;
}
/* Align the Arabic breadcrumb trail to the right edge. */
html[dir="rtl"] .bread-crumbs__list,
body.rtl .bread-crumbs__list {
  width: 100%;
  justify-content: right;
  text-align: right;
}

/* Keep the pipeline section decoration on the left in Arabic. */
html[dir="rtl"] .our-pipeline,
body.rtl .our-pipeline {
  background-position: top left;
}
/* Mirror the how-we-work background artwork for Arabic. */
html[dir="rtl"] .how-we-work,
body.rtl .how-we-work {
  position: relative;
  isolation: isolate;
  background-size: 0 0;
}
html[dir="rtl"] .how-we-work::before,
body.rtl .how-we-work::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: inherit;
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}
@media (max-width: 820px) {
  html[dir="rtl"] .how-we-work::before,
  body.rtl .how-we-work::before {
    background-position: center;
  }
}
/* Keep the separator after the leftmost process card in RTL. */
html[dir="rtl"] .how-we-work__slider .swiper-slide:last-child,
body.rtl .how-we-work__slider .swiper-slide:last-child {
  border-right: 1px solid #4CD79C;
}
/* Align Arabic footer social icons with the right edge of the contact column. */
html[dir="rtl"] .site-footer__social,
body.rtl .site-footer__social {
  justify-content: flex-end;
}
/* Point the scope carousel controls in the Arabic reading direction. */
html[dir="rtl"] .scope-of-work__navigations button img,
body.rtl .scope-of-work__navigations button img {
  transform: scaleX(-1);
}
/* Put the capability matrix outer corner radii on the RTL edges. */
html[dir="rtl"] .capability-matrix__table thead th:first-child,
body.rtl .capability-matrix__table thead th:first-child {
  border-radius: 0 20px 0 0;
}
html[dir="rtl"] .capability-matrix__table thead th:last-child,
body.rtl .capability-matrix__table thead th:last-child {
  border-radius: 20px 0 0 0;
}
html[dir="rtl"] .capability-matrix__table tbody tr:nth-child(odd) > :first-child,
html[dir="rtl"] .capability-matrix__table tbody tr:nth-child(even) > :first-child,
body.rtl .capability-matrix__table tbody tr:nth-child(odd) > :first-child,
body.rtl .capability-matrix__table tbody tr:nth-child(even) > :first-child {
  border-radius: 0 10px 10px 0;
}
html[dir="rtl"] .capability-matrix__table tbody tr:nth-child(odd) > :last-child,
html[dir="rtl"] .capability-matrix__table tbody tr:nth-child(even) > :last-child,
body.rtl .capability-matrix__table tbody tr:nth-child(odd) > :last-child,
body.rtl .capability-matrix__table tbody tr:nth-child(even) > :last-child {
  border-radius: 10px 0 0 10px;
}/* Keep manpower content, metrics and navigation aligned for Arabic. */
html[dir="rtl"] .role-coverage__layout,
body.rtl .role-coverage__layout {
  direction: rtl;
}
html[dir="rtl"] .role-coverage__head,
html[dir="rtl"] .role-coverage__panel-wrap,
html[dir="rtl"] .role-coverage__panel,
body.rtl .role-coverage__head,
body.rtl .role-coverage__panel-wrap,
body.rtl .role-coverage__panel {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .role-coverage__head,
body.rtl .role-coverage__head {
  min-width: 0;
  width: 100%;
}
html[dir="rtl"] .role-coverage__head .section-title,
html[dir="rtl"] .role-coverage__head p,
html[dir="rtl"] .role-coverage__panel-desc,
body.rtl .role-coverage__head .section-title,
body.rtl .role-coverage__head p,
body.rtl .role-coverage__panel-desc {
  max-width: 100%;
  text-align: right;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere;
}
html[dir="rtl"] .role-coverage__panel,
body.rtl .role-coverage__panel {
  align-items: flex-start;
  text-align: right;
}
html[dir="rtl"] .role-coverage__nav,
body.rtl .role-coverage__nav {
  direction: rtl;
  flex-direction: row;
}
html[dir="rtl"] .role-coverage__tabs,
body.rtl .role-coverage__tabs {
  align-items: stretch;
}
html[dir="rtl"] .role-coverage__tab,
body.rtl .role-coverage__tab {
  direction: ltr;
  text-align: right;
}
@media (max-width: 1024px) {
  html[dir="rtl"] .role-coverage__nav,
  body.rtl .role-coverage__nav {
    justify-content: flex-end;
  }
}

html[dir="rtl"] .manpower-counter,
body.rtl .manpower-counter {
  background-position: right top;
}
html[dir="rtl"] .manpower-counter__grid,
body.rtl .manpower-counter__grid {
  margin-left: auto;
  margin-right: 25%;
}
@media (max-width: 1024px) {
  html[dir="rtl"] .manpower-counter__grid,
  body.rtl .manpower-counter__grid {
    margin-right: 15%;
  }
}
@media (max-width: 540px) {
  html[dir="rtl"] .manpower-counter__grid,
  body.rtl .manpower-counter__grid {
    margin-right: 0;
  }
}
html[dir="rtl"] .manpower-counter__item,
body.rtl .manpower-counter__item {
  align-items: flex-start;
  text-align: right;
}
html[dir="rtl"] .manpower-counter__value,
body.rtl .manpower-counter__value {
  direction: ltr;
  text-align: right;
}
html[dir="rtl"] .manpower-counter__label,
body.rtl .manpower-counter__label {
  text-align: right;
  unicode-bidi: plaintext;
}
@media (max-width: 1024px) {
  html[dir="rtl"] .manpower-counter,
  body.rtl .manpower-counter {
    background-position: right bottom;
  }
}

/* Preserve punctuation in pipeline copy while aligning it for Arabic. */
html[dir="rtl"] .our-pipeline__head,
html[dir="rtl"] .our-pipeline__card-content,
body.rtl .our-pipeline__head,
body.rtl .our-pipeline__card-content {
  text-align: right;
}
html[dir="rtl"] .our-pipeline__head .section-title,
html[dir="rtl"] .our-pipeline__head p,
html[dir="rtl"] .our-pipeline__card-title,
html[dir="rtl"] .our-pipeline__card-desc,
body.rtl .our-pipeline__head .section-title,
body.rtl .our-pipeline__head p,
body.rtl .our-pipeline__card-title,
body.rtl .our-pipeline__card-desc {
  unicode-bidi: plaintext;
  text-align: right;
}
@media (min-width: 1025px) {
  html[dir="rtl"] .our-pipeline__card:nth-child(5n),
  body.rtl .our-pipeline__card:nth-child(5n),
  html[dir="rtl"] .our-pipeline__card:last-child,
  body.rtl .our-pipeline__card:last-child {
    border-right: 1px solid #4CD79C;
  }
}
html[dir="rtl"] .our-pipeline__number,
body.rtl .our-pipeline__number {
  right: 25px;
  left: auto;
  direction: ltr;
  text-align: right;
}

/* Reverse project-type carousel icons for Arabic reading direction. */
html[dir="rtl"] .project-types__nav-icon--prev,
body.rtl .project-types__nav-icon--prev {
  background-image: url("../images/next.svg");
}
html[dir="rtl"] .project-types__nav-icon--next,
body.rtl .project-types__nav-icon--next {
  background-image: url("../images/prev.svg");
}/* Mirror the manpower counter decoration while keeping it on the right in Arabic. */
html[dir="rtl"] .manpower-counter,
body.rtl .manpower-counter {
  position: relative;
  isolation: isolate;
  background-image: none;
}
html[dir="rtl"] .manpower-counter::before,
body.rtl .manpower-counter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../images/man-counter-bg.svg");
  background-size: inherit;
  background-position: left top;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}
@media (max-width: 1024px) {
  html[dir="rtl"] .manpower-counter::before,
  body.rtl .manpower-counter::before {
    background-position: left bottom;
  }
}
/* Put the project carousel's Next control before Previous in Arabic flow. */
html[dir="rtl"] .project-scope__next,
body.rtl .project-scope__next {
  order: -1;
}

/* Put the ISO license table's rounded corners on the visual outer edges in RTL. */
html[dir="rtl"] .iso-list__data thead th:first-child,
body.rtl .iso-list__data thead th:first-child,
html[dir="rtl"] .iso-list__data tbody td:first-child,
body.rtl .iso-list__data tbody td:first-child {
  border-radius: 0 10px 10px 0;
}
html[dir="rtl"] .iso-list__data thead th:last-child,
body.rtl .iso-list__data thead th:last-child,
html[dir="rtl"] .iso-list__data tbody td:last-child,
body.rtl .iso-list__data tbody td:last-child {
  border-radius: 10px 0 0 10px;
}

/* Keep the Safety Standards layout and mirror its decorative image in Arabic. */
html[dir="rtl"] .safety-standards,
body.rtl .safety-standards {
  position: relative;
  isolation: isolate;
  background-image: none;
}

html[dir="rtl"] .safety-standards::before,
body.rtl .safety-standards::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/apply-banner.png");
  background-size: cover;
  background-position: bottom left;
  background-repeat: no-repeat;
  transform: scale(-1, 1);
  pointer-events: none;
}
html[dir="rtl"] .safety-standards__content,
body.rtl .safety-standards__content {
  margin-left: 0;
  margin-right: auto;
}

/* Arabic-only RTL overrides. */
.three-phases__link {
  right: auto;
  left: 0;
  clip-path: path("M 0 88 L 88 88 Q 56 32 0 0 Z");
  transform: translate(-12px, 12px);
}

@media screen and (max-width: 1024px) {
  .three-phases__link {
    clip-path: path("M 0 72 L 72 72 Q 46 26 0 0 Z");
  }
}

@media screen and (max-width: 540px) {
  .three-phases__link {
    clip-path: path("M 0 64 L 64 64 Q 41 23 0 0 Z");
  }
}

.three-phases__link img {
  transform: translate(-15px, 15px) scaleX(-1);
}

@media screen and (max-width: 1024px) {
  .three-phases__link img {
    transform: translate(-12px, 12px) scaleX(-1);
  }
}

@media screen and (max-width: 540px) {
  .three-phases__link img {
    transform: translate(-11px, 11px) scaleX(-1);
  }
}

.operation-zones__link {
  right: auto;
  left: 0;
  clip-path: path("M 0 88 L 88 88 Q 56 32 0 0 Z");
  transform: translate(-12px, 12px);
}

@media screen and (max-width: 1024px) {
  .operation-zones__link {
    clip-path: path("M 0 72 L 72 72 Q 46 26 0 0 Z");
  }
}

@media screen and (max-width: 540px) {
  .operation-zones__link {
    clip-path: path("M 0 64 L 64 64 Q 41 23 0 0 Z");
  }
}

.operation-zones__link img {
  transform: translate(-15px, 15px) scaleX(-1);
}

@media screen and (max-width: 1024px) {
  .operation-zones__link img {
    transform: translate(-12px, 12px) scaleX(-1);
  }
}

@media screen and (max-width: 540px) {
  .operation-zones__link img {
    transform: translate(-11px, 11px) scaleX(-1);
  }
}

/* Keep the English label in the Arabic header language switcher in the English font. */
html[dir="rtl"] .site-header__lang a,
body.rtl .site-header__lang a {
  font-family: "Poppins", sans-serif !important;
}

