/* Arabic RTL adjustments for the copied site only. */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
	font-family: "Rubik", sans-serif;
}

html[lang="ar"] :where(
	h1, h2, h3, h4, h5, h6,
	p, a, li, span, div, label,
	blockquote, small, strong, em, td, th
):not([class*="icon" i]) {
	font-family: "Rubik", sans-serif !important;
}

html[dir="rtl"] body {
	direction: rtl;
	text-align: start;
}

html[dir="rtl"] .fa,
html[dir="rtl"] [class^="fa-"],
html[dir="rtl"] [class*=" fa-"] { font-family: FontAwesome !important; }
html[dir="rtl"] [class^="ti-"],
html[dir="rtl"] [class*=" ti-"] { font-family: themify !important; }
html[dir="rtl"] [class^="pbmit-base-icon-"],
html[dir="rtl"] [class*=" pbmit-base-icon-"] { font-family: "pbminfotech-base-icons" !important; }
html[dir="rtl"] [class^="pbmit-advasy-icon-"],
html[dir="rtl"] [class*=" pbmit-advasy-icon-"] { font-family: "pbmit-advasy-icon" !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,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] label,
html[dir="rtl"] .pbmit-heading-desc,
html[dir="rtl"] .pbmit-tbar-title,
html[dir="rtl"] .pbmit-breadcrumb {
	text-align: start;
	overflow-wrap: anywhere;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
	direction: rtl;
	text-align: start;
}

html[dir="rtl"] .pbmit-header-menu-area,
html[dir="rtl"] .site-navigation,
html[dir="rtl"] .main-menu,
html[dir="rtl"] #pbmit-top-menu {
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] #pbmit-top-menu > li {
	float: right;
}

html[dir="rtl"] .navigation ul {
	inset-inline-start: 0;
	inset-inline-end: auto;
	text-align: start;
}

html[dir="rtl"] .navigation ul ul {
	inset-inline-start: 100%;
	inset-inline-end: auto;
}

html[dir="rtl"] .pbmit-breadcrumb-inner .sep,
html[dir="rtl"] .pbmit-portfolio-nav-icon,
html[dir="rtl"] .swiper-button-next,
html[dir="rtl"] .swiper-button-prev,
html[dir="rtl"] .pbmit-base-icon-right-arrow,
html[dir="rtl"] .pbmit-base-icon-left-arrow {
	transform: scaleX(-1);
}

html[dir="rtl"] .pbmit-accordion-icon-right {
	margin-inline-start: auto;
	margin-inline-end: 0;
}

html[dir="rtl"] .widget ul,
html[dir="rtl"] .pbmit-blog-meta,
html[dir="rtl"] .pbmit-portfolio-lines-ul {
	padding-inline-start: 0;
}

html[dir="rtl"] .pbmit-sidebar-left {
	order: 2;
}

/* Homepage 01: keep the large decorative slider title bounded and Arabic-shaped. */
html[dir="rtl"] .pbmit-slider-one .pbmit-slider-bottom-title {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding-inline: clamp(15px, 3vw, 48px);
	font-size: clamp(38px, 8.8vw, 160px);
	line-height: 0.92;
	letter-spacing: 0;
	white-space: nowrap;
	overflow: visible;
	font-family: "Rubik", sans-serif !important;
}

html[dir="rtl"] .pbmit-slider-one .pbmit-slider-bottom-title span {
	display: inline-block;
	white-space: pre;
}

/* Keep the animated English brand spans in logical LTR order inside the RTL slider. */
html[dir="rtl"] .pbmit-slider-one .latin-brand-text,
html[dir="rtl"] .pbmit-slider-one .latin-brand-text span {
	direction: ltr;
	unicode-bidi: isolate;
}

html[dir="rtl"] .pbmit-slider-one .latin-brand-text {
	text-align: left;
}

/* Homepage 01: reverse the template's LTR-only content padding without touching the image column. */
html[dir="rtl"] .about-one-leftbox {
	padding-inline: clamp(30px, 7.3vw, 140px) clamp(30px, 4.7vw, 90px);
	overflow: visible;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .about-one-leftbox-parent,
html[dir="rtl"] .about-one-leftbox-parent > .row,
html[dir="rtl"] .about-one-leftbox-parent > .row > [class*="col-"] {
	min-width: 0;
}

html[dir="rtl"] .about-one-leftbox-parent > .row {
	direction: ltr;
	flex-direction: row;
}

html[dir="rtl"] .about-one-leftbox-parent .about-one-text-col {
	order: 2;
	direction: rtl;
}

html[dir="rtl"] .about-one-leftbox-parent .about-one-right-col {
	order: 1;
	direction: rtl;
}

html[dir="rtl"] .about-one-leftbox-parent .about-one-right-col .pbmit-col-stretched-left {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	width: auto;
	background-color: var(--pbmit-light-color);
}

/* Mirror the English center-facing percentage-card overlap. */
html[dir="rtl"] .about-one-leftbox-parent .about-one-rightbox .fid-style-5-wrap {
	right: 0;
	left: auto;
	z-index: 1;
}

/* Keep the complete feather in the card's free right-hand strip. */
html[dir="rtl"] .about-one-leftbox-parent .fid-style-5-wrap > .bg-pattern {
	position: absolute;
	top: 16px;
	right: 4px;
	left: auto;
	width: clamp(24px, calc((100% - 130px) / 2 - 10px), 64px);
	z-index: 2;
	pointer-events: none;
}

html[dir="rtl"] .about-one-leftbox-parent .fid-style-5-wrap > .bg-pattern img {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 1200px) {
	html[dir="rtl"] .about-one-leftbox-parent > .row > [class*="col-"] {
		flex: 0 0 50%;
		width: 50%;
		max-width: 50%;
	}
}

@media (max-width: 1199.98px) {
	html[dir="rtl"] .about-one-leftbox-parent > .row > [class*="col-"] {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}
	html[dir="rtl"] .about-one-leftbox-parent .about-one-text-col { order: 1; }
	html[dir="rtl"] .about-one-leftbox-parent .about-one-right-col { order: 2; }
}

@media (max-width: 768px) {
	html[dir="rtl"] .about-one-leftbox-parent .about-one-rightbox .fid-style-5-wrap {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 52%;
		max-width: 190px;
		top: 22%;
		padding: 15px;
	}
}

html[dir="rtl"] .about-one-leftbox .pbmit-heading-subheading,
html[dir="rtl"] .about-one-leftbox .pbmit-ihbox-style-4,
html[dir="rtl"] .about-one-leftbox > .pt-5 {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-inline: 0;
	transform: none;
	direction: rtl;
	text-align: right;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

html[dir="rtl"] .about-one-leftbox .pbmit-ihbox-style-4 .pbmit-ihbox-box {
	direction: rtl;
	width: 100%;
	min-width: 0;
}

html[dir="rtl"] .about-one-leftbox .pbmit-ihbox-style-4 .pbmit-ihbox-contents {
	min-width: 0;
	flex: 1 1 auto;
}

html[dir="rtl"] .about-one-leftbox .pbmit-title,
html[dir="rtl"] .about-one-leftbox .pbmit-element-title {
	max-width: 100%;
	direction: rtl;
	text-align: right;
	white-space: normal;
	overflow-wrap: anywhere;
}

/* SplitText's LTR 50px word offset can cross the RTL column edge. Keep the
   existing fade reveal but remove horizontal travel for this heading only. */
html[dir="rtl"] .about-one-leftbox .animation-style3 .split-line > *,
html[dir="rtl"] .about-one-leftbox .animation-style3 .split-line div {
	transform: translateX(0) !important;
}

/* Homepage 01 service lists: move the existing pseudo bullet to the logical start. */
html[dir="rtl"] .pbmit-element-service-style-3 .pbmit-service-descriptions ul {
	direction: rtl;
	padding: 0;
}

html[dir="rtl"] .pbmit-element-service-style-3 .pbmit-service-descriptions ul li {
	padding: 0 20px 0 0;
	text-align: right;
}

html[dir="rtl"] .pbmit-element-service-style-3 .pbmit-service-descriptions ul li::before {
	right: 0;
	left: auto;
}

html[dir="rtl"] .pbmit-footer-big-area .pbmit-footer-widget-col-2,
html[dir="rtl"] .pbmit-footer-big-area .pbmit-footer-widget-col-3 {
	width: 50%;
}

/* Shared bilingual language switcher. */
.pbmit-language-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-inline-end: 14px;
	white-space: nowrap;
}
.pbmit-language-switcher a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 7px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 3px;
	color: var(--pbmit-white-color);
	font-size: 12px;
	line-height: 1.2;
}
.pbmit-language-switcher a:hover,
.pbmit-language-switcher a:focus-visible,
.pbmit-language-switcher a.active {
	background: var(--pbmit-global-color);
	border-color: var(--pbmit-global-color);
	color: var(--pbmit-white-color);
}
.pbmit-language-switcher img { width: 18px; height: 12px; flex: 0 0 auto; }
.pbmit-language-switcher-mobile { display: none; }

@media (max-width: 1200px) {
	html[dir="rtl"] #pbmit-top-menu > li {
		float: none;
	}
	html[dir="rtl"] .pbmit-mobile-menu-bg {
		inset-inline-start: auto;
		inset-inline-end: 0;
	}
	html[dir="rtl"] .pbmit-menu-wrap {
		text-align: start;
	}
	.pbmit-pre-header-wrapper .pbmit-language-switcher { display: none; }
	.pbmit-language-switcher-mobile {
		display: inline-flex;
		margin: 0 8px;
	}
	.pbmit-language-switcher-mobile a {
		color: var(--pbmit-blackish-color);
		border-color: rgba(0,0,0,.2);
	}
}

@media (max-width: 767px) {
	html[dir="rtl"] .pbmit-slider-one .pbmit-slider-bottom-title {
		font-size: clamp(38px, 10vw, 54px);
		line-height: 1;
		padding-inline: 12px;
	}
	html[dir="rtl"] .about-one-leftbox { padding-inline: 15px; }
	html[dir="rtl"] .pbmit-footer-big-area .pbmit-footer-widget-col-2,
	html[dir="rtl"] .pbmit-footer-big-area .pbmit-footer-widget-col-3 { width: 100%; }
}
