/*=============================================
  CODE FLOW - Arabic (RTL) overrides
  Loaded only by pages in /ar/
=============================================*/
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"] span, 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"] strong, html[dir="rtl"] small, html[dir="rtl"] blockquote,
html[dir="rtl"] dt, html[dir="rtl"] dd, html[dir="rtl"] .sec-title, html[dir="rtl"] .sec-sub-title {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0 !important;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] .sec-title, html[dir="rtl"] .cf-hero-title { font-family: "Cairo", sans-serif; font-weight: 800; line-height: 1.35; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .text-center { text-align: center !important; }
/* the code window stays LTR */
html[dir="rtl"] .cf-code-window, html[dir="rtl"] .cf-code-window * { direction: ltr; text-align: left; font-family: "JetBrains Mono", Consolas, "Courier New", monospace; }
/* menu: Alaska has no Arabic glyphs */
html[dir="rtl"] .navbar-wrap > ul > li > a { font-family: "Cairo", sans-serif !important; font-weight: 700; font-size: 16px !important; }
html[dir="rtl"] .main-header-one .navbar-wrap > ul > li + li { margin-left: 0; margin-right: 34px; }
html[dir="rtl"] .cf-top-tools { margin-right: 0; margin-left: 14px; }
html[dir="rtl"] .header-contact-info ul li::before { left: auto; right: -20px; }
/* numbers, emails, phones read LTR */
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* bootstrap offsets mirrored */
@media (min-width: 1200px) {
  html[dir="rtl"] .offset-xl-1 { margin-left: 0; margin-right: 8.333333%; }
}
@media (min-width: 992px) {
  html[dir="rtl"] .offset-lg-1 { margin-left: 0; margin-right: 8.333333%; }
}
/* section subtitles with decorative lines */
html[dir="rtl"] .sec-sub-title { letter-spacing: 0; text-transform: none; }
/* lists with leading icons */
html[dir="rtl"] .sec-content ul.sec-list-item li i { margin-right: 0; margin-left: 10px; }
/* arrows in buttons point left */
html[dir="rtl"] .fa-arrow-right, html[dir="rtl"] .fa-angle-right, html[dir="rtl"] .fa-chevron-right, html[dir="rtl"] .fa-long-arrow-right, html[dir="rtl"] .cf-arrow { transform: scaleX(-1); display: inline-block; }
/* footer quote */
html[dir="rtl"] .cf-ceo-quote { border-left: 0; border-right: 3px solid #5FAFDC; padding-left: 0; padding-right: 16px; }
/* section title accent bars mirrored */
html[dir="rtl"] body .sec-title::after { left: auto; right: 0; }
html[dir="rtl"] body .sec-title::before { left: auto; right: 74px; }
html[dir="rtl"] body .text-center .sec-title::after, html[dir="rtl"] body .sec-content.text-center .sec-title::after { right: auto; left: 50%; transform: translateX(calc(-50% + 7px)); }
html[dir="rtl"] body .text-center .sec-title::before, html[dir="rtl"] body .sec-content.text-center .sec-title::before { right: auto; left: calc(50% - 32px - 7px - 10px + 7px); }
@media (max-width: 991px) {
  html[dir="rtl"] body .newslatter-sec .sec-title::after { right: auto; left: 50%; transform: translateX(calc(-50% + 7px)); }
  html[dir="rtl"] body .newslatter-sec .sec-title::before { right: auto; left: calc(50% - 42px); }
}
/* CEO quote */
html[dir="rtl"] .cf-ceo-quote { padding: 0 18px 0 0; border-left: 0; border-right: 3px solid #5FAFDC; font-style: normal; }
html[dir="rtl"] .cf-ceo-quote::before { content: "\201D"; right: auto; left: 0; }
/* industries tab accent bar */
html[dir="rtl"] .cf-ind-tab::before { left: auto; right: -1px; border-radius: 4px 0 0 4px; }
/* tech names and latin snippets keep their own direction */
html[dir="rtl"] .cf-tw-tile strong, html[dir="rtl"] .cf-partner-name { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] em, html[dir="rtl"] i:not([class]) { font-style: normal; }
/* arrows point the reading direction */
html[dir="rtl"] a svg path[d^="M5 12h14"] { transform: scaleX(-1); transform-origin: 12px 12px; }
html[dir="rtl"] .cf-ind-tab-arrow svg { transform: scaleX(-1) translateX(-4px); }
html[dir="rtl"] .cf-ind-tab.is-active .cf-ind-tab-arrow svg, html[dir="rtl"] .cf-ind-tab:hover .cf-ind-tab-arrow svg { transform: scaleX(-1); }
@media (max-width: 991px) { html[dir="rtl"] .cf-ind-tab:hover, html[dir="rtl"] .cf-ind-tab.is-active { transform: none; } }
/* marquees run left-to-right in Arabic */
@keyframes cfMarqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes cfSvcGlideRtl { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(var(--step) * 6), 0, 0); } }
html[dir="rtl"] .cf-marquee-track { animation-name: cfMarqueeRtl; }
html[dir="rtl"] .cf-svc-track { animation-name: cfSvcGlideRtl; }
/* header spacing mirrored */
html[dir="rtl"] .main-header-one__bottom-left .site-ligo { margin-right: 0; margin-left: 40px; }
@media (max-width: 1399px) { html[dir="rtl"] .main-header-one__bottom-left .site-ligo { margin-left: 24px; } }
html[dir="rtl"] .header-social-links ul li { margin-right: 0; margin-left: 20px; }
html[dir="rtl"] .header-social-links ul li:last-child { margin-left: 0; }
html[dir="rtl"] .main-header-one .main-header-one__top-right .header-social-links { margin-left: 0; padding-left: 0; border-left: 0; margin-right: 24px; padding-right: 24px; border-right: 1px solid #cfe3f0; }
html[data-theme="dark"][dir="rtl"] .main-header-one .main-header-one__top-right .header-social-links { border-right-color: #21405a; }
@media (max-width: 1199px) { html[dir="rtl"] .main-header-one .main-header-one__top-right .header-social-links { margin-right: 0; padding-right: 30px; border-right: 0; } }
html[dir="rtl"] .mobile-nav-toggler i { left: 0 !important; right: auto !important; }
html[dir="rtl"] .mobile-nav-toggler { justify-content: flex-start; }
/* code-window status pill text in Arabic */
html[dir="rtl"] .cf-code-window .cf-status, html[dir="rtl"] .cf-code-window .cf-status b { direction: rtl; font-family: "Cairo", sans-serif; white-space: nowrap; }
/* inner-page template elements */
html[dir="rtl"] .breadcumb-content ul.page-navigator li { float: right; margin-right: 0; margin-left: 15px; }
html[dir="rtl"] .breadcumb-content ul.page-navigator li:last-child { margin-left: 0; }
html[dir="rtl"] .breadcumb-content ul.page-navigator li::after { content: "\f053"; margin-left: 0; margin-right: 15px; }
html[dir="rtl"] .service-details-content .info-part ul.info-list li,
html[dir="rtl"] .blog-item-details .blog-body ul.info-list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .service-details-content .info-part ul.info-list li::before,
html[dir="rtl"] .blog-item-details .blog-body ul.info-list li::before { left: auto; right: 0; }
html[dir="rtl"] .sidebar-item ul.cat-list li a i { float: left; transform: scaleX(-1); }
html[dir="rtl"] .sidebar-item ul.cat-list li a:hover { margin-left: 0; margin-right: 20px; }
html[dir="rtl"] .sidebar-item .download-brochures .brochur-text { margin-left: 0; margin-right: 14px; }
@media (min-width: 1200px) { html[dir="rtl"] .ms-xl-4 { margin-left: 0 !important; margin-right: 1.5rem !important; } }
html[dir="rtl"] .cf-erp-hero::after { right: auto; left: 18px; }
/* footer keeps the English column layout: logo & address left, CEO word right */
html[dir="rtl"] .footer-sec .container > .row:first-child, html[dir="rtl"] .footer-sec .footer-top > .row, html[dir="rtl"] .footer-sec .cf-footer-row { direction: ltr; }
html[dir="rtl"] .footer-sec .row > [class*="col-"] { direction: rtl; }
@media (min-width: 1200px) { html[dir="rtl"] .footer-sec .offset-xl-1 { margin-right: 0; margin-left: 8.333333%; } }
/* GE Dinar Two for the CEO word */
@font-face { font-family: "GE Dinar Two"; src: url(../fonts/ge-dinar-two-light.woff) format("woff"), url(../fonts/ge-dinar-two-light.ttf) format("truetype"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "GE Dinar Two"; src: url(../fonts/ge-dinar-two-medium.woff) format("woff"), url(../fonts/ge-dinar-two-medium.ttf) format("truetype"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
html[dir="rtl"] .cf-ceo-name, html[dir="rtl"] .cf-ceo-role, html[dir="rtl"] .cf-ceo-quote { font-family: "GE Dinar Two", "Cairo", sans-serif !important; }
html[dir="rtl"] .cf-ceo-name { font-weight: 500; font-size: 22px; }
html[dir="rtl"] .cf-ceo-role { font-weight: 500; font-size: 15px; }
html[dir="rtl"] .cf-ceo-quote { font-weight: 300; font-size: 18px; line-height: 1.9; }
html[dir="rtl"] .footer-sec .row.footer-copyright, html[dir="rtl"] .footer-sec .row > .col { direction: rtl; }
/* GE Dinar Two across the whole Arabic footer */
html[dir="rtl"] .footer-sec, html[dir="rtl"] .footer-sec :where(*:not(i):not(svg):not(path):not([class*="fa-"]):not([class*="flaticon"])) { font-family: "GE Dinar Two", "Cairo", sans-serif !important; }
html[dir="rtl"] .footer-sec .footer-widget-title { font-weight: 500; font-size: 26px; }
html[dir="rtl"] .footer-sec p, html[dir="rtl"] .footer-sec li, html[dir="rtl"] .footer-sec li a, html[dir="rtl"] .footer-sec address { font-weight: 300; font-size: 18px; }
html[dir="rtl"] .footer-sec .footer-copyright-text p, html[dir="rtl"] .footer-sec .footer-copyright-text a { font-weight: 300; font-size: 15px; }
html[dir="rtl"] .footer-sec .cf-ceo-name { font-weight: 500; font-size: 22px; }
html[dir="rtl"] .footer-sec .cf-ceo-role { font-weight: 500; font-size: 15px; }
html[dir="rtl"] .footer-sec .footer-widget p, html[dir="rtl"] .footer-sec .footer-widget span:not(.cf-ceo-role), html[dir="rtl"] .footer-sec .footer-widget li { font-weight: 300 !important; }
html[dir="rtl"] .footer-sec .ft-address a { font-weight: 300 !important; font-size: 17px; line-height: 1.8; }
/* Footer paragraphs (CEO word, address, services list, copyright) in Segoe UI; footer titles stay GE Dinar Two */
html[dir="rtl"] .footer-sec .cf-ceo-quote,
html[dir="rtl"] .footer-sec .ft-address a,
html[dir="rtl"] .footer-sec .footer-widget ul li, html[dir="rtl"] .footer-sec .footer-widget ul li a,
html[dir="rtl"] .footer-sec .footer-copyright-text p, html[dir="rtl"] .footer-sec .footer-copyright-text a { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important; font-weight: 400 !important; }
html[dir="rtl"] .footer-sec .cf-ceo-quote { font-size: 17px; line-height: 1.95; }
html[dir="rtl"] .footer-sec .footer-widget ul li a { font-size: 17px; }
html[dir="rtl"] .footer-sec .ft-address a { font-size: 16px; }

/*=============================================
  Arabic site font: Cairo (Google Fonts, all weights)
  Footer titles & CEO name keep GE Dinar Two
=============================================*/
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"] span, 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"] strong, html[dir="rtl"] small, html[dir="rtl"] blockquote,
html[dir="rtl"] dt, html[dir="rtl"] dd, html[dir="rtl"] .sec-title, html[dir="rtl"] .sec-sub-title, html[dir="rtl"] .cf-hero-title,
html[dir="rtl"] .cf-code-window .cf-status, html[dir="rtl"] .cf-code-window .cf-status b { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] .sec-title, html[dir="rtl"] .cf-hero-title { font-weight: 700; line-height: 1.4; }
html[dir="rtl"] .navbar-wrap > ul > li > a { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important; font-weight: 600; }
html[dir="rtl"] .footer-sec .cf-ceo-quote, html[dir="rtl"] .footer-sec .ft-address a,
html[dir="rtl"] .footer-sec .footer-widget ul li, html[dir="rtl"] .footer-sec .footer-widget ul li a,
html[dir="rtl"] .footer-sec .footer-copyright-text p, html[dir="rtl"] .footer-sec .footer-copyright-text a { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important; }
/* Arabic brand name "كود فلو" in GE Dinar Two */
html[dir="rtl"] .cf-brand-ar { font-family: "GE Dinar Two", "Cairo", sans-serif !important; font-weight: 500 !important; unicode-bidi: isolate; letter-spacing: 0; }

/*=============================================
  Headings in GE Dinar Two (Arabic)
=============================================*/
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"] .sec-title, html[dir="rtl"] h2.sec-title, html[dir="rtl"] .cf-hero-title, html[dir="rtl"] .breadcumb-title,
html[dir="rtl"] .footer-widget-title, html[dir="rtl"] .stitle {
  font-family: "GE Dinar Two", "Cairo", sans-serif !important; font-weight: 500 !important; letter-spacing: 0 !important; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] .sec-title { line-height: 1.35; }

/*=============================================
  Form spacing in RTL (inputs never touch buttons)
=============================================*/
html[dir="rtl"] .Subscribe-form { gap: 14px; }
html[dir="rtl"] .Subscribe-form button { margin-left: 0; margin-right: 0; }
@media (max-width: 575px) { html[dir="rtl"] .Subscribe-form .submit-btn { margin-top: 14px; } html[dir="rtl"] .Subscribe-form input.form-control { width: 100%; } }
html[dir="rtl"] .newslatter-style2 .Subscribe-form button.thm-btn { right: auto; left: 5px; }
html[dir="rtl"] .newslatter-style2 .Subscribe-form input.form-control { padding-right: 20px; padding-left: 150px; }
html[dir="rtl"] .breadcumb-content .breadcumb-title { margin-left: 30px; }

/* list markers & counters on the reading side */
html[dir="rtl"] .cf-promise-points li { padding: 6px 32px 6px 0; }
html[dir="rtl"] .cf-promise-points li::before { left: auto; right: 0; }
html[dir="rtl"] .cf-erp-steps li::before { left: auto; right: 16px; }
html[dir="rtl"] .single-pricing .pricing-content ul.pricing-list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .single-pricing .pricing-content ul.pricing-list li::before { left: auto; right: 0; }

/*=============================================
  Stats strip (team / projects / clients) – Arabic
=============================================*/
html[dir="rtl"] .company-qinfo-raaper { padding: 44px 24px; }
html[dir="rtl"] .company-qinfo-raaper .single-info { flex: 1 1 0; gap: 22px; padding: 10px 24px; border-right: 0; border-left: 0; }
html[dir="rtl"] .company-qinfo-raaper .single-info + .single-info::before { content: ""; position: absolute; right: 0; top: 12%; bottom: 12%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.38), transparent); }
html[dir="rtl"] .company-qinfo-raaper .single-info .info-icon { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
html[dir="rtl"] .company-qinfo-raaper .single-info i { margin: 0; font-size: 50px; line-height: 1; }
html[dir="rtl"] .company-qinfo-raaper .single-info .info { text-align: right; min-width: 150px; }
html[dir="rtl"] .company-qinfo-raaper .single-info .info h2 { direction: ltr; unicode-bidi: isolate; display: flex; justify-content: flex-end; align-items: baseline; gap: 2px; margin: 0 0 6px; line-height: 1; }
html[dir="rtl"] .company-qinfo-raaper .single-info .info h2 span { font-family: "Cairo", sans-serif !important; font-weight: 800 !important; font-size: 3rem; line-height: 1; }
html[dir="rtl"] .company-qinfo-raaper .single-info .info h2 .cf-plus { font-family: "Cairo", sans-serif; font-style: normal; font-weight: 700; font-size: 2.1rem; color: #9CCBE6; }
html[dir="rtl"] .company-qinfo-raaper .single-info .info > span { font-family: "GE Dinar Two", "Cairo", sans-serif !important; font-weight: 500 !important; font-size: 21px; line-height: 1.5; color: #EBF5FB; }
html[dir="rtl"] .company-qinfo-raaper .single-info:hover .info > span { transform: translateX(-3px); }
@media (max-width: 991px) {
  html[dir="rtl"] .company-qinfo-raaper .single-info { justify-content: flex-start !important; padding: 16px 12px; }
  html[dir="rtl"] .company-qinfo-raaper .single-info + .single-info::before { right: 10%; left: 10%; top: 0; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); }
}
@media (max-width: 991px) {
  html[dir="rtl"] body .company-qinfo-raaper .single-info { display: flex !important; width: 100%; justify-content: center !important; text-align: right; border-right: 0; }
  html[dir="rtl"] body .company-qinfo-raaper .single-info .info-icon { margin-bottom: 0; width: 72px; height: 72px; }
  html[dir="rtl"] body .company-qinfo-raaper .single-info i { font-size: 42px; }
  html[dir="rtl"] body .company-qinfo-raaper .single-info .info h2 span { font-size: 2.5rem; }
}

/*=============================================
  Industries tabs – Arabic alignment
=============================================*/
@media (min-width: 992px) {
  html[dir="rtl"] .cf-ind-tablist { height: 100%; gap: 10px; }
  html[dir="rtl"] .cf-ind-tab { flex: 1 1 0; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
}
html[dir="rtl"] .cf-ind-tab { text-align: right; }
html[dir="rtl"] .cf-ind-tab, html[dir="rtl"] .cf-ind-tab:hover, html[dir="rtl"] .cf-ind-tab.is-active { transform: none; }
html[dir="rtl"] .cf-ind-tab:hover { box-shadow: 0 10px 24px rgba(22,105,154,.08); }
html[dir="rtl"] .cf-ind-tab::before { left: auto; right: -1px; border-radius: 4px 0 0 4px; }
html[dir="rtl"] .cf-ind-stage::before { right: auto; left: -90px; }
html[dir="rtl"] .cf-ind-stage::after { right: auto; left: 40px; }
html[dir="rtl"] .cf-ind-panel h3, html[dir="rtl"] .cf-ind-panel p { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .cf-ind-cta:hover svg { transform: translateX(-4px); }
html[dir="rtl"] .cf-ind-progress span { margin-left: auto; background: linear-gradient(270deg, #9CCBE6, #fff); }

/* stats strip overlaps the section above, with a clear gap under the image */
@media (min-width: 992px) {
  html[dir="rtl"] body .business-sec.sec-ptb { padding-bottom: 150px; }
  html[dir="rtl"] body .company-qinfo-sec { padding-top: 0; }
  html[dir="rtl"] body .company-qinfo-raaper { margin-top: -114px; position: relative; z-index: 2; box-shadow: 0 24px 50px rgba(22,105,154,.28); }
}
@media (max-width: 991px) {
  html[dir="rtl"] body .company-qinfo-raaper { margin-top: 0; }
  html[dir="rtl"] body .company-qinfo-sec { padding-top: 36px; }
}
/* number centred above its label */
html[dir="rtl"] .company-qinfo-raaper .single-info .info { text-align: center; }
html[dir="rtl"] .company-qinfo-raaper .single-info .info h2 { justify-content: center; }

/*=============================================
  Hero buttons & dashed arrow – Arabic
=============================================*/
html[dir="rtl"] .hero-content .hero-btn-area { gap: 0; }
html[dir="rtl"] .hero-content .hero-btn-area a.thm-btn:last-child { margin-left: 0; }
html[dir="rtl"] .hero-content .hero-btn-area a.play-btn { margin-left: 0; margin-right: 26px; }
html[dir="rtl"] .hero-content .hero-btn-area span.play-intro { margin-left: 0; margin-right: 14px; position: relative; }
/* the arrow now follows "watch intro" and points toward the code window */
html[dir="rtl"] .cf-hero-wm .hero-btn-area::after { display: none; }
@keyframes cfRotedRtl { 0% { transform: scaleX(-1) rotate(1deg); } 50% { transform: scaleX(-1) rotate(35deg); } 100% { transform: scaleX(-1) rotate(1deg); } }
@media (min-width: 1300px) {
  html[dir="rtl"] .cf-hero-wm .hero-btn-area span.play-intro::after {
    content: ""; position: absolute; right: calc(100% + 24px); top: 50%; width: 100px; height: 100px; margin-top: -54px;
    background: url(../images/hero/mask-group.svg) center / contain no-repeat; filter: brightness(0) invert(1); pointer-events: none;
    animation: cfRotedRtl 3s infinite; }
}
/* mega menu "Talk to an Expert" button in GE Dinar Two */
html[dir="rtl"] .cf-mega a.cf-mega-cta, html[dir="rtl"] .navbar-wrap .cf-mega a.cf-mega-cta { font-family: "GE Dinar Two", "Cairo", sans-serif !important; font-weight: 500 !important; letter-spacing: 0; }
/* main menu (top level only) in GE Dinar Two; dropdowns keep Cairo */
html[dir="rtl"] .main-header-one .navbar-wrap > ul > li > a { font-family: "GE Dinar Two", "Cairo", sans-serif !important; font-weight: 500 !important; font-size: 16px !important; letter-spacing: 0 !important; }

/* top bar contact items: icon + text spacing and dividers in RTL */
html[dir="rtl"] .main-header-one .header-contact-info ul { display: flex; align-items: center; margin: 0; padding: 0; }
html[dir="rtl"] .main-header-one .header-contact-info ul li { position: relative; align-items: center; gap: 8px; margin: 0 0 0 22px !important; padding: 0 0 0 22px !important; }
html[dir="rtl"] .main-header-one .header-contact-info ul li .icon-box { margin: 0 !important; flex: 0 0 auto; }
html[dir="rtl"] .main-header-one .header-contact-info ul li p { margin: 0; white-space: nowrap; }
html[dir="rtl"] .main-header-one .header-contact-info ul li::before { right: auto !important; left: 0 !important; top: 50%; height: 18px; transform: translateY(-50%); }
html[dir="rtl"] .main-header-one .header-contact-info ul li:last-child { margin-left: 0 !important; padding-left: 0 !important; }
html[dir="rtl"] .main-header-one .header-contact-info ul li:last-child::before { display: none; }
html[dir="rtl"] .cf-top-tools { margin-left: 0; margin-right: 22px; gap: 8px; }
html[dir="rtl"] .cf-search.cf-search-top { margin-right: 10px; }
/* email & phone read left-to-right: their icons sit on the left */
html[dir="rtl"] .main-header-one .header-contact-info ul li:nth-child(2),
html[dir="rtl"] .main-header-one .header-contact-info ul li:nth-child(3) { flex-direction: row-reverse; }
/* search field text & placeholder in Cairo */
html[dir="rtl"] .cf-search input, html[dir="rtl"] .cf-search input::placeholder,
html[dir="rtl"] .cf-search-results, html[dir="rtl"] .cf-search-results * { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important; }
html[dir="rtl"] .main-header-one .header-contact-info ul li .icon-box { padding: 0 !important; width: auto !important; }
html[dir="rtl"] .main-header-one .header-contact-info ul li { gap: 7px; }
/* search placeholder sized to match the top bar text */
html[dir="rtl"] .cf-search input, html[dir="rtl"] .cf-search input::placeholder { font-size: 14px !important; }
/* tech stack cards */
html[dir="rtl"] .cf-ts-card::before { background: linear-gradient(270deg, var(--acc), var(--acc2)); }
html[dir="rtl"] .cf-ts-txt strong { font-family: "Cairo", sans-serif; }
html[dir="rtl"] .cf-ts-title { font-size: 19px; }
html[dir="rtl"] .cf-ts-card:hover .cf-ts-ico { transform: rotate(6deg) scale(1.05); }
html[dir="rtl"] .cf-ts-txt strong { unicode-bidi: plaintext; }
html[dir="rtl"] .cf-ts-txt strong { unicode-bidi: isolate; direction: ltr; text-align: right; }
@media (min-width: 1200px) { html[dir="rtl"] .me-xl-4 { margin-right: 0 !important; margin-left: 1.5rem !important; } }
html[dir="rtl"] .download-brochures .brochur-icon i { display: inline-block; transform: scaleX(-1); }
/* contact page info items */
html[dir="rtl"] .qinfo-item .qinfo-box { margin-left: 0; margin-right: 18px; }
html[dir="rtl"] .qinfo-item .qinfo-box a[href^="tel:"], html[dir="rtl"] .qinfo-item .qinfo-box a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
/* inner-page newsletter title on one line */
html[dir="rtl"] .newslatter-style2 .newslatter-text { font-size: 24px !important; line-height: 1.4; white-space: nowrap; }
@media (max-width: 1199px) { html[dir="rtl"] .newslatter-style2 .newslatter-text { font-size: 22px !important; } }
@media (max-width: 991px) { html[dir="rtl"] .newslatter-style2 .newslatter-text { white-space: normal; text-align: center; } }
/* all form fields (text, placeholder) in Cairo */
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select,
html[dir="rtl"] input::placeholder, html[dir="rtl"] textarea::placeholder { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important; }
/* contact page: "Get a quote" & "Get in touch" headings sized to the page */
html[dir="rtl"] .sec-content:has(> .cf-cform) > .sec-title,
html[dir="rtl"] .sec-content:has(> .get-in-touch) > .sec-title { font-size: 36px !important; line-height: 1.35; }
@media (max-width: 767px) {
  html[dir="rtl"] .sec-content:has(> .cf-cform) > .sec-title,
  html[dir="rtl"] .sec-content:has(> .get-in-touch) > .sec-title { font-size: 30px !important; }
}
/* all section titles in the Arabic version at 36px (30px on mobile) */
html[dir="rtl"] body .sec-title, html[dir="rtl"] body h2.sec-title { font-size: 36px !important; line-height: 1.35 !important; }
@media (max-width: 767px) { html[dir="rtl"] body .sec-title, html[dir="rtl"] body h2.sec-title { font-size: 30px !important; } }
/* Arabic section labels: GE Dinar, larger */
html[dir="rtl"] body .sec-sub-title { font-family: "GE Dinar Two", "Cairo", sans-serif !important; font-weight: 500 !important; font-size: 26px; letter-spacing: 0 !important; margin-bottom: 14px; }
@media (max-width: 991px) { html[dir="rtl"] body .sec-sub-title { font-size: 23px; } }
@media (max-width: 767px) { html[dir="rtl"] body .sec-sub-title { font-size: 20px; } }
html[dir="rtl"] .cf-mega a.cf-mega-all, html[dir="rtl"] .navbar-wrap .cf-mega a.cf-mega-all { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important; font-weight: 700; letter-spacing: 0; }

/* Inner-page banner (Arabic): page title centred, breadcrumb trail on the right */
html[dir="rtl"] #site-breadcumb .breadcumb-content { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px; }
html[dir="rtl"] .breadcumb-content .breadcumb-title { grid-column: 2; grid-row: 1; margin: 0; text-align: center; }
html[dir="rtl"] #site-breadcumb .breadcumb-content ul.page-navigator { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; display: flex; flex-wrap: wrap; row-gap: 4px; }
html[dir="rtl"] #site-breadcumb .breadcumb-content ul.page-navigator li { white-space: nowrap; }
@media (max-width: 1199px) {
  html[dir="rtl"] #site-breadcumb .breadcumb-content { grid-template-columns: 1fr; row-gap: 12px; }
  html[dir="rtl"] .breadcumb-content .breadcumb-title { grid-column: 1; grid-row: 1; }
  html[dir="rtl"] #site-breadcumb .breadcumb-content ul.page-navigator { grid-column: 1; grid-row: 2; }
}

/* About (Arabic): small image on the left of the large one */
html[dir="rtl"] .about-sec .sec-images .sec-img-two { right: auto; left: 0; }

/* Hero (Arabic): move the buttons down by about two lines */
html[dir="rtl"] .hero-content .hero-btn-area { margin-top: 100px; }
@media (max-width: 767px) { html[dir="rtl"] .hero-content .hero-btn-area { margin-top: 70px; } }

/* Code Flow: footer address & phone block (Arabic) */
html[dir="rtl"] .footer-sec .cf-ft-company { font-size: 18px; font-weight: 500 !important; }
html[dir="rtl"] .footer-sec .cf-ft-txt { font-size: 16px; line-height: 1.9; font-weight: 300; text-align: right; }
html[dir="rtl"] .footer-sec .cf-ft-row--tel .cf-ft-txt { font-family: "Cairo", sans-serif !important; font-weight: 600; font-size: 17px; letter-spacing: .3px; text-align: left; direction: ltr; }
html[dir="rtl"] .footer-sec .cf-ft-contact a.cf-ft-row--tel { direction: rtl !important; unicode-bidi: normal !important; display: flex !important; justify-content: flex-start; }

/* header tools (RTL) */
html[dir="rtl"] .cf-head-tools { margin-left: 0; margin-right: 24px; }
html[dir="rtl"] .cf-mob-tools { margin-left: 0; margin-right: auto; }
