/*
Theme Name: Barristar Child
Theme URI: http://themeforest.net/user/wpoceans/
Template: barristar
Author: Ahl Al-Qanon
Description: Child theme for safe Ahl Al-Qanon customizations.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: barristar-child
*/

:root {
	--ahl-green: #0f6b5f;
	--ahl-green-dark: #0b4c44;
	--ahl-gold: #c79a48;
	--ahl-gold-light: #d9bd82;
	--ahl-ink: #12231f;
	--ahl-radius: 6px;
}

/* Final Arabic mobile polish: keep compact sections readable with no horizontal clipping. */
@media screen and (max-width: 767px) {
	body.rtl,
	body.rtl .elementor-368 {
		overflow-x: hidden !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide,
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero.hero-slider-wrapper {
		height: 620px !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide-caption {
		box-sizing: border-box;
		max-width: calc(100vw - 44px) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: calc(100vw - 44px) !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption p {
		font-size: 18px !important;
		line-height: 1.5 !important;
		margin-bottom: 14px !important;
		overflow-wrap: anywhere;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption h2 {
		font-size: 28px !important;
		line-height: 1.45 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 330px !important;
		overflow-wrap: anywhere;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 {
		overflow: hidden !important;
		padding-bottom: 48px !important;
		padding-top: 54px !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 > .container {
		box-sizing: border-box;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 430px !important;
		overflow: visible !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 > .container > .row {
		display: grid !important;
		gap: 14px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .feature-col {
		float: none !important;
		margin: 0 !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item,
	body.rtl .elementor-368 .service-area.service-area2 .service-item > .row,
	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
		box-sizing: border-box;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
		display: block !important;
		direction: rtl !important;
		min-height: 0 !important;
		overflow: hidden !important;
		text-align: center !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .icon-c {
		align-items: center !important;
		display: flex !important;
		justify-content: center !important;
		min-height: 66px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid > div:not(.icon-c) {
		display: block !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text {
		display: block !important;
		padding: 18px 14px 20px !important;
		text-align: center !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text h3 {
		font-size: 18px !important;
		line-height: 1.55 !important;
		margin: 0 !important;
		overflow-wrap: anywhere;
		white-space: normal !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-44956785 .elementor-heading-title,
	body.rtl .elementor-368 .elementor-element.elementor-element-7a1e7b39 .elementor-heading-title {
		font-size: 15px !important;
		line-height: 1.9 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 330px !important;
		overflow-wrap: anywhere;
		text-align: center !important;
	}
}

/* Newsletter final polish: native Arabic form, no external-list error UI. */
body.rtl .social-newsletter-section {
	background: #272c3f !important;
	padding-left: 20px;
	padding-right: 20px;
}

body.rtl .ahl-newsletter-form {
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

body.rtl .ahl-newsletter-fields {
	background: #30374d !important;
	border: 1px solid rgba(217, 189, 130, 0.78) !important;
	border-radius: 6px;
	box-shadow: 0 18px 45px rgba(5, 12, 25, 0.18);
	direction: ltr;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

body.rtl .ahl-newsletter-fields input {
	background: #30374d !important;
	color: #fff;
	direction: rtl;
	font-weight: 700;
}

body.rtl .ahl-newsletter-fields button {
	border-radius: 0;
	font-weight: 900;
}

/* Last rule wins: keep newsletter input visible and separate from the button. */
body.rtl .ahl-newsletter-fields {
	align-items: stretch !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	direction: rtl !important;
	display: flex !important;
	gap: 12px;
	grid-template-columns: none !important;
	max-width: 680px !important;
	min-height: 0 !important;
	overflow: visible !important;
}

body.rtl .ahl-newsletter-fields input {
	background: #20283b !important;
	border: 1px solid rgba(217, 189, 130, 0.82) !important;
	border-radius: 6px !important;
	color: #fff !important;
	flex: 1 1 auto !important;
	font-size: 16px;
	min-height: 58px !important;
	min-width: 0 !important;
	padding: 0 22px !important;
	text-align: right !important;
	width: auto !important;
}

body.rtl .ahl-newsletter-fields input::placeholder {
	color: rgba(255, 255, 255, 0.72) !important;
}

body.rtl .ahl-newsletter-fields button {
	border-radius: 6px !important;
	flex: 0 0 148px !important;
	min-height: 58px !important;
	width: auto !important;
}

@media screen and (max-width: 767px) {
	body.rtl .ahl-newsletter-fields {
		flex-direction: column !important;
		gap: 10px;
		max-width: 360px !important;
	}

	body.rtl .ahl-newsletter-fields input,
	body.rtl .ahl-newsletter-fields button {
		flex-basis: auto !important;
		width: 100% !important;
	}
}

body.rtl .elementor-368 .elementor-element.elementor-element-dc94b97 .elementor-button {
	border-radius: 999px;
	box-shadow: 0 14px 30px rgba(18, 35, 31, 0.12);
	font-size: 18px;
	line-height: 1.2;
	min-width: 260px;
	padding: 18px 30px;
}

@media screen and (max-width: 767px) {
	body.rtl .elementor-368 .elementor-element.elementor-element-dc94b97 {
		padding-left: 18px;
		padding-right: 18px;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-dc94b97 .elementor-button {
		display: inline-flex;
		justify-content: center;
		min-width: 0;
		padding: 16px 22px;
		width: auto;
	}
}

/* Clear newsletter layout: separate email field and action button. */
body.rtl .ahl-newsletter-fields {
	align-items: stretch !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	direction: rtl;
	display: flex !important;
	gap: 12px;
	grid-template-columns: none !important;
	max-width: 680px;
	min-height: 0 !important;
	overflow: visible;
}

body.rtl .ahl-newsletter-fields input {
	background: #20283b !important;
	border: 1px solid rgba(217, 189, 130, 0.82) !important;
	border-radius: 6px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	color: #fff !important;
	flex: 1 1 auto;
	font-size: 16px;
	min-height: 58px !important;
	min-width: 0;
	padding: 0 22px !important;
	text-align: right !important;
	width: auto !important;
}

body.rtl .ahl-newsletter-fields input::placeholder {
	color: rgba(255, 255, 255, 0.72) !important;
}

body.rtl .ahl-newsletter-fields button {
	border-radius: 6px !important;
	flex: 0 0 148px;
	min-height: 58px !important;
	width: auto !important;
}

@media screen and (max-width: 767px) {
	body.rtl .ahl-newsletter-fields {
		display: flex !important;
		flex-direction: column;
		gap: 10px;
		max-width: 360px !important;
	}

	body.rtl .ahl-newsletter-fields input,
	body.rtl .ahl-newsletter-fields button {
		flex-basis: auto;
		width: 100% !important;
	}
}

@media screen and (max-width: 767px) {
	body.rtl .social-newsletter-section .newsletter h3 {
		font-size: 26px !important;
		line-height: 1.45 !important;
	}

	body.rtl .ahl-newsletter-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		max-width: 360px;
	}

	body.rtl .ahl-newsletter-fields input,
	body.rtl .ahl-newsletter-fields button {
		grid-column: 1 !important;
		width: 100% !important;
	}

	body.rtl .ahl-newsletter-fields input {
		grid-row: 1 !important;
		text-align: center !important;
	}

	body.rtl .ahl-newsletter-fields button {
		grid-row: 2 !important;
	}
}

body.rtl {
	direction: rtl;
	text-align: right;
}

.preloader {
	display: none !important;
}

body.rtl,
body.rtl input,
body.rtl textarea,
body.rtl select,
body.rtl button {
	font-family: Almarai, Tahoma, Arial, sans-serif;
	letter-spacing: 0;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl .elementor-heading-title {
	font-family: Almarai, Tahoma, Arial, sans-serif;
	letter-spacing: 0;
}

body.rtl .site-header .navbar-brand img,
body.rtl .site-header .custom-logo-link img,
body.rtl .site-header img.custom-logo {
	height: auto;
	max-width: 190px;
}

body.rtl .navigation-holder .nav > li > a {
	font-weight: 700;
	letter-spacing: 0;
}

body.rtl .navigation-holder .nav > li.current-menu-item > a,
body.rtl .navigation-holder .nav > li > a:hover,
body.rtl .navigation-holder .nav > li > a:focus {
	color: var(--ahl-green);
}

body.rtl .theme-btn,
body.rtl .slide-btn,
body.rtl .elementor-button,
body.rtl input[type="submit"] {
	border-radius: var(--ahl-radius);
	font-weight: 800;
	letter-spacing: 0;
}

body.rtl .slide-btn,
body.rtl .elementor-button,
body.rtl input[type="submit"] {
	background: var(--ahl-gold);
	border-color: var(--ahl-gold);
	color: #fff;
}

body.rtl .slide-btn:hover,
body.rtl .elementor-button:hover,
body.rtl input[type="submit"]:hover {
	background: var(--ahl-green);
	border-color: var(--ahl-green);
	color: #fff;
}

body.rtl .contact-form input,
body.rtl .contact-form textarea,
body.rtl .wpcf7 input,
body.rtl .wpcf7 textarea {
	text-align: right;
}

/* Contact/CTA forms sit on dark section backgrounds; the theme's default
   .form-control never gave them a visible fill or border there, so fields
   were nearly invisible. Force a legible dark-glass style everywhere. */
body.rtl .contact-form input,
body.rtl .contact-form textarea,
body.rtl .wpcf7 input,
body.rtl .wpcf7 textarea {
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	color: #fff !important;
	border-radius: var(--ahl-radius);
}

body.rtl .contact-form input::placeholder,
body.rtl .contact-form textarea::placeholder,
body.rtl .wpcf7 input::placeholder,
body.rtl .wpcf7 textarea::placeholder {
	color: rgba(255, 255, 255, 0.65) !important;
	opacity: 1;
}

body.rtl .contact-form input:focus,
body.rtl .contact-form textarea:focus,
body.rtl .wpcf7 input:focus,
body.rtl .wpcf7 textarea:focus {
	background-color: rgba(255, 255, 255, 0.14) !important;
	border-color: var(--ahl-gold) !important;
	outline: none;
}

/* Newsletter signup: the mc4wp form wraps the whole section instead of
   nesting inside .newsletter, so the theme's ".newsletter form"
   position:relative rule never applied and the submit button lost its
   anchor. Anchor on the actual wrapper instead. */
body.rtl .newsletter-form {
	position: relative;
}

/* Hero and visual sections now use local Egypt-inspired software imagery.
   Keep only sizing/fallback here so Elementor can provide the image URL. */
body.rtl .hero-slider .slide {
	background-color: var(--ahl-green-dark);
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

body.rtl .elementor-section:has(.elementor-widget-wpo-barristar_contact_form) {
	background-position: center center !important;
	background-size: cover !important;
}

body.rtl .elementor-section:has(.elementor-widget-wpo-barristar_contact_form) > .elementor-background-overlay {
	background-image: linear-gradient(90deg, rgba(7, 18, 31, 0.96) 0%, rgba(12, 64, 53, 0.88) 48%, rgba(7, 12, 38, 0.64) 100%) !important;
	opacity: 0.94 !important;
}

body.rtl .elementor-widget-text-editor,
body.rtl p,
body.rtl li {
	line-height: 1.85;
}

.ahl-mobile-menu-toggle {
	display: none;
}

body.rtl .ahl-software-form {
	display: grid;
	gap: 18px 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	overflow: visible;
	padding: 0;
}

body.rtl .ahl-software-form .half-col,
body.rtl .ahl-software-form .full-col,
body.rtl .ahl-software-form .submit-btn-wrapper {
	float: none !important;
	margin: 0;
	overflow: visible !important;
	padding: 0 !important;
	width: auto !important;
}

body.rtl .ahl-software-form .full-col,
body.rtl .ahl-software-form .submit-btn-wrapper {
	grid-column: 1 / -1;
}

body.rtl .ahl-software-form p {
	margin: 0;
}

body.rtl .ahl-software-form .wpcf7-form-control-wrap {
	display: block;
}

body.rtl .ahl-software-form .form-control,
body.rtl .ahl-software-form input,
body.rtl .ahl-software-form select,
body.rtl .ahl-software-form textarea {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: var(--ahl-radius);
	box-shadow: none;
	color: #fff;
	font-size: 15px;
	height: 56px;
	line-height: 1.6;
	padding: 13px 18px;
	text-align: right;
	width: 100%;
}

body.rtl .ahl-software-form textarea.form-control,
body.rtl .ahl-software-form textarea {
	height: 148px;
	resize: vertical;
}

body.rtl .ahl-software-form select {
	appearance: auto;
	cursor: pointer;
}

body.rtl .ahl-software-form select option {
	background: #fff;
	color: var(--ahl-ink);
}

body.rtl .ahl-software-form ::placeholder {
	color: rgba(255, 255, 255, 0.78);
	opacity: 1;
}

body.rtl .ahl-software-form .form-control:focus,
body.rtl .ahl-software-form input:focus,
body.rtl .ahl-software-form select:focus,
body.rtl .ahl-software-form textarea:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--ahl-gold);
	outline: 0;
}

body.rtl .ahl-software-form .wpcf7-not-valid-tip {
	color: #ffb3aa;
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-top: 7px;
	text-align: right;
}

body.rtl .ahl-software-form .wpcf7-response-output {
	border-color: var(--ahl-gold);
	border-radius: var(--ahl-radius);
	color: #fff;
	font-size: 14px;
	margin: 8px 0 0;
	padding: 12px 16px;
	text-align: right;
}

body.rtl .ahl-software-form .submit-btn-wrapper {
	text-align: left;
}

body.rtl .ahl-software-form .theme-btn {
	min-width: 190px;
	padding: 15px 28px;
}

@media (max-width: 767px) {
	body.rtl .site-header .navbar-brand img,
	body.rtl .site-header .custom-logo-link img,
	body.rtl .site-header img.custom-logo {
		max-width: 145px;
	}
}

@media (max-width: 1024px) {
	body.rtl .elementor-368 .elementor-element.elementor-element-5cf91679 {
		padding-top: 0 !important;
	}
}

@media (max-width: 991px) {
	body.rtl .site-header .navigation > .container {
		position: relative;
	}

	body.rtl .site-header .navbar-header {
		text-align: center;
		width: 100%;
	}

	body.rtl .site-header .navbar-header .navbar-brand {
		display: inline-block;
		float: none;
		margin: 0;
	}

	body.rtl .site-header .navbar-header .open-btn {
		background: var(--ahl-gold) !important;
		border-radius: var(--ahl-radius) !important;
		display: none !important;
		height: 36px !important;
		left: auto !important;
		opacity: 1 !important;
		padding: 0 !important;
		position: absolute !important;
		right: 18px !important;
		top: 42px !important;
		visibility: visible !important;
		width: 40px !important;
		z-index: 80 !important;
	}

	body.rtl .site-header .navbar-header .open-btn .icon-bar {
		display: none !important;
	}

	body.rtl .site-header .navbar-header .open-btn:before {
		background-color: #fff;
		box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
		content: "";
		display: block;
		height: 2px;
		margin: 10px auto 0;
		width: 18px;
	}

	body.rtl .header-style-1 .cart-search-contact,
	body.rtl .header-style-2 .cart-search-contact,
	body.rtl .header-style-3 .cart-search-contact {
		left: 18px !important;
		right: auto !important;
	}

	body.rtl .ahl-mobile-menu-toggle {
		background: var(--ahl-gold) !important;
		border: 0 !important;
		border-radius: var(--ahl-radius) !important;
		display: block !important;
		height: 36px !important;
		left: 66px !important;
		opacity: 1 !important;
		padding: 0 !important;
		pointer-events: auto !important;
		position: fixed !important;
		right: auto !important;
		top: 42px !important;
		visibility: visible !important;
		width: 40px !important;
		z-index: 999999 !important;
	}

	body.rtl .ahl-mobile-menu-toggle span,
	body.rtl .ahl-mobile-menu-toggle:before,
	body.rtl .ahl-mobile-menu-toggle:after {
		background: #fff;
		content: "";
		display: block;
		height: 2px;
		margin: 0 auto;
		width: 18px;
	}

	body.rtl .ahl-mobile-menu-toggle span {
		margin-bottom: 5px;
		margin-top: 10px;
	}

	body.rtl .ahl-mobile-menu-toggle:before {
		margin-bottom: 5px;
	}
}

@media (max-width: 767px) {
	html,
	body.rtl {
		overflow-x: hidden;
	}

	body.rtl .ahl-software-form {
		gap: 14px;
		grid-template-columns: 1fr;
	}

	body.rtl .ahl-software-form .form-control,
	body.rtl .ahl-software-form input,
	body.rtl .ahl-software-form select,
	body.rtl .ahl-software-form textarea {
		font-size: 14px;
		height: 52px;
		padding: 12px 14px;
	}

	body.rtl .ahl-software-form textarea.form-control,
	body.rtl .ahl-software-form textarea {
		height: 128px;
	}

	body.rtl .ahl-software-form .submit-btn-wrapper {
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact .container,
	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact .row,
	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact-content,
	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact-form {
		box-sizing: border-box;
		max-width: 100%;
		width: 100%;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact .container {
		padding-left: 18px;
		padding-right: 18px;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact .row {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact [class*="col-"] {
		float: none;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact-text {
		margin-bottom: 28px;
		max-width: 100%;
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact-text .title h2 {
		font-size: 29px;
		line-height: 1.45;
		margin-left: auto;
		margin-right: auto;
		max-width: 330px;
		overflow-wrap: break-word;
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact-text .date,
	body.rtl .elementor-368 .elementor-element.elementor-element-43aea63 .contact-text p {
		display: block;
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-5cf91679 {
		padding-bottom: 28px !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide,
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero.hero-slider-wrapper {
		height: 620px !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide .container {
		box-sizing: border-box;
		max-width: 100%;
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-style-2 .slide-caption,
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-style-3 .slide-caption {
		float: none;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		padding: 0 !important;
		text-align: center;
		width: 100%;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption p {
		font-size: 16px !important;
		line-height: 1.7 !important;
		margin-bottom: 12px;
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption h2 {
		font-size: 22px !important;
		letter-spacing: 0 !important;
		line-height: 1.6 !important;
		margin: 12px auto 18px !important;
		max-width: 305px;
		overflow-wrap: break-word;
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption .btns {
		text-align: center;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-btn {
		font-size: 14px;
		line-height: 1.4;
		min-width: 150px;
		padding: 11px 18px;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slick-prev,
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slick-next {
		display: none !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slick-dots {
		bottom: 22px;
	}

	body.rtl .elementor-368 .service-area.service-area2 .feature-col {
		padding-left: 15px;
		padding-right: 15px;
		width: 100%;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item {
		margin: 0 0 18px !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
		align-items: stretch;
		display: flex;
		flex-direction: row-reverse;
		margin: 0 !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid div {
		display: block;
	}

	body.rtl .elementor-368 .service-area.service-area2 .icon-c {
		align-items: center;
		display: flex !important;
		flex: 0 0 86px;
		height: auto;
		justify-content: center;
		max-width: 86px;
		min-height: 86px;
		padding: 0 !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-icon {
		margin-top: 0;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-icon i:before {
		font-size: 38px;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text {
		padding: 22px 18px !important;
		text-align: right;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text h3 {
		font-size: 20px;
		line-height: 1.5;
		margin: 0;
	}
}

/* The theme hides the slider <img> and normally lets JS copy it to a
   background image. Pin the local image in CSS too, so the hero never
   falls back to a flat color if the slider script loads late. */
body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero.hero-slider-wrapper,
body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider,
body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide {
	background-color: var(--ahl-green-dark) !important;
	background-image: url("../../uploads/2026/07/ahl-egypt-famous-court-system-hero.webp") !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide:after {
	background: linear-gradient(90deg, rgba(7, 18, 31, 0.92) 0%, rgba(7, 18, 31, 0.74) 40%, rgba(10, 77, 64, 0.32) 74%, rgba(7, 18, 31, 0.52) 100%) !important;
	opacity: 1 !important;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide:before {
	display: none !important;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .btn-style-3 a:before {
	display: none !important;
}

/* Slider prev/next arrows: force them to opposite sides unambiguously,
   regardless of what other rules or slick.js inline styles set. */
body.rtl .hero .slick-prev,
body.rtl .hero .slick-next {
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

body.rtl .hero .slick-prev {
	left: 25px !important;
	right: auto !important;
}

body.rtl .hero .slick-next {
	right: 25px !important;
	left: auto !important;
}

/* Main navigation: bigger text, centered evenly inside the navy bar.
   Font-size is tiered to match the theme's own breakpoints (992px and
   1200px) instead of a flat value - a flat 18px overflowed the single-row
   layout at 992-1199px and wrapped the menu onto a second row over the
   hero. */
body.rtl .header-style-2 #navbar > ul > li > a {
	display: flex !important;
	align-items: center;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	height: 100%;
	white-space: nowrap;
}

body.rtl .header-style-2 #navbar > ul {
	display: flex;
	align-items: stretch;
}

body.rtl .header-style-2 #navbar > ul > li {
	display: flex;
	align-items: center;
}

/* The nav's own height came entirely from the <a> tags' padding, which is
   independent of the logo's height - zeroing that padding for flex-
   centering (above) left #navbar only ~20px tall, floating at the very
   top of the ~140px-tall header instead of matching the logo's vertical
   center. Make the shared container a flex row so both the logo and the
   nav are centered against whichever one is taller. */
body.rtl .header-style-2 .navigation > .container {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	body.rtl .header-style-2 #navbar > ul > li > a {
		font-size: 16px !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}

@media screen and (min-width: 1200px) {
	body.rtl .header-style-2 #navbar > ul > li > a {
		font-size: 18px !important;
	}
}

/* Newsletter signup: local fallback form with Arabic RTL layout. */
body.rtl .social-newsletter-section {
	direction: rtl;
	margin: 0 auto;
	max-width: 760px;
}

body.rtl .social-newsletter-section .newsletter h3 {
	color: var(--ahl-gold-light);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 28px;
	text-align: center;
}

body.rtl .newsletter-form,
body.rtl .ahl-newsletter-fields {
	align-items: stretch;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(240, 226, 185, 0.62);
	display: flex;
	flex-direction: row-reverse;
	gap: 0;
	margin: 0 auto;
	max-width: 520px;
	min-height: 56px;
	overflow: hidden;
}

body.rtl .newsletter-form input {
	width: 100%;
	box-sizing: border-box;
	text-align: right;
	padding: 6px 26px;
}

body.rtl .newsletter-form input::placeholder {
	text-align: right;
	opacity: 1;
}

body.rtl .newsletter-form input,
body.rtl .ahl-newsletter-fields input {
	background: transparent;
	border: 0;
	color: #fff;
	direction: rtl;
	font-size: 17px;
	font-weight: 600;
	min-width: 0;
	outline: 0;
	text-align: right;
	width: 100%;
}

body.rtl .newsletter-form button,
body.rtl .ahl-newsletter-fields button {
	align-items: center;
	background: var(--ahl-gold-light);
	border: 0;
	color: var(--ahl-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 800;
	justify-content: center;
	min-width: 140px;
	padding: 0 26px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.rtl .newsletter-form button:hover,
body.rtl .newsletter-form button:focus,
body.rtl .ahl-newsletter-fields button:hover,
body.rtl .ahl-newsletter-fields button:focus {
	background: #fff;
	color: var(--ahl-green-dark);
}

body.rtl .ahl-newsletter-hp {
	display: none !important;
}

body.rtl .ahl-newsletter-message {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin: 16px auto 0;
	max-width: 520px;
	text-align: center;
}

body.rtl .ahl-newsletter-message.is-error {
	color: #ffb4a8;
}

body.rtl .mc4wp-alert,
body.rtl .mc4wp-error {
	display: none !important;
}

/* Stats/counters: premium visual band with measured contrast. */
body.rtl .elementor-section:has(.counter-area) {
	background-color: var(--ahl-green-dark) !important;
	background-image:
		linear-gradient(135deg, rgba(7, 18, 31, 0.92) 0%, rgba(10, 77, 64, 0.84) 52%, rgba(39, 44, 63, 0.9) 100%),
		url("../../uploads/2026/07/ahl-egypt-software-demo.webp") !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

body.rtl .counter-area .counter-grids {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.rtl .counter-area .counter-grids .grid {
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(240, 226, 185, 0.36);
	border-radius: var(--ahl-radius);
	min-height: 180px;
	padding: 32px 18px;
	transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.rtl .counter-area .counter-grids .grid:hover {
	transform: translateY(-4px);
	border-color: var(--ahl-gold);
	background: rgba(255, 255, 255, 0.12);
}

body.rtl .counter-area .counter-grids .grid h2 {
	color: var(--ahl-gold-light);
	font-size: clamp(42px, 5vw, 58px);
	font-weight: 800;
	line-height: 1;
	text-shadow: 0 2px 18px rgba(199, 154, 72, 0.35);
}

body.rtl .counter-area .counter-grids .grid p {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	margin-top: 18px;
	opacity: 0.94;
}

@media screen and (max-width: 991px) {
	body.rtl .counter-area .counter-grids {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 575px) {
	body.rtl .elementor-368 .elementor-section:not(.elementor-element-5cf91679) {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	body.rtl .elementor-368 .elementor-section:not(.elementor-element-5cf91679) > .elementor-container {
		box-sizing: border-box;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-section:not(.elementor-element-5cf91679) .elementor-heading-title,
	body.rtl .elementor-368 .elementor-section:not(.elementor-element-5cf91679) p {
		max-width: 100%;
		overflow-wrap: break-word;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-7b8321cc .elementor-heading-title {
		font-size: 22px !important;
		line-height: 1.55 !important;
		margin-left: auto;
		margin-right: auto;
		max-width: 320px;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-3911e55e .elementor-heading-title,
	body.rtl .elementor-368 .elementor-element.elementor-element-583739d2 .elementor-heading-title {
		font-size: 30px !important;
		line-height: 1.35 !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-column,
	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-widget-wrap {
		box-sizing: border-box;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-heading-title {
		max-width: 100%;
		overflow-wrap: break-word;
		text-align: center;
	}

	body.rtl .ahl-newsletter-fields {
		flex-direction: column;
		min-height: 0;
	}

	body.rtl .ahl-newsletter-fields input {
		min-height: 54px;
		text-align: center;
	}

	body.rtl .ahl-newsletter-fields button {
		min-height: 50px;
		width: 100%;
	}

	body.rtl .counter-area .counter-grids {
		grid-template-columns: 1fr;
	}

body.rtl .counter-area .counter-grids .grid {
	min-height: 150px;
	}
}

/* UX polish round: stable SaaS/legal-tech landing page layout. */
body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slick-prev,
body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slick-next,
body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slick-dots {
	display: none !important;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide .container {
	align-items: center;
	display: flex;
	justify-content: center;
	max-width: 100%;
	padding-left: 28px;
	padding-right: 28px;
	width: 100%;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide .row {
	display: flex;
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide-caption {
	float: none !important;
	margin-left: auto;
	margin-right: auto;
	max-width: min(880px, calc(100vw - 64px));
	padding: 0 !important;
	text-align: center;
	width: 100%;
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption p {
	color: var(--ahl-gold-light);
	font-size: clamp(19px, 2vw, 30px) !important;
	font-weight: 800;
	line-height: 1.45 !important;
	margin-bottom: 14px;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption h2 {
	font-size: clamp(34px, 4vw, 56px) !important;
	font-weight: 800;
	letter-spacing: 0 !important;
	line-height: 1.35 !important;
	margin: 0 auto 28px !important;
	max-width: 850px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-btn {
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 900;
	min-width: 190px;
	padding: 14px 28px;
}

body.rtl .elementor-368 .service-area.service-area2 > .container > .row {
	align-items: stretch;
	display: flex !important;
	flex-wrap: nowrap;
	gap: 22px;
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
}

body.rtl .elementor-368 .service-area.service-area2 .service-item > .row {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

body.rtl .elementor-368 .service-area.service-area2 .feature-col {
	clear: none !important;
	display: block !important;
	flex: 0 1 calc((100% - 44px) / 3) !important;
	float: none;
	max-width: 100% !important;
	padding-left: 0;
	padding-right: 0;
	width: calc((100% - 44px) / 3) !important;
}

body.rtl .elementor-368 .service-area.service-area2 .service-item {
	height: 100%;
	margin: 0 !important;
	width: 100%;
}

body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(18, 35, 31, 0.06);
	box-shadow: 0 18px 40px rgba(18, 35, 31, 0.07);
	display: grid;
	grid-template-columns: 1fr 96px;
	height: 100%;
	margin-right: 0 !important;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width: 100% !important;
}

body.rtl .elementor-368 .service-area.service-area2 .service-item .grid:hover {
	box-shadow: 0 22px 52px rgba(18, 35, 31, 0.11);
	transform: translateY(-3px);
}

body.rtl .elementor-368 .service-area.service-area2 .icon-c {
	align-items: center;
	align-self: stretch;
	background: var(--ahl-gold-light);
	display: flex !important;
	justify-content: center;
	max-width: 100% !important;
	min-height: 96px;
	padding: 0 !important;
	width: 100% !important;
	grid-column: 2;
	grid-row: 1;
}

body.rtl .elementor-368 .service-area.service-area2 .service-item .grid > div:not(.icon-c) {
	align-items: center;
	display: flex !important;
	max-width: 100% !important;
	padding: 0 !important;
	width: 100% !important;
	grid-column: 1;
	grid-row: 1;
}

body.rtl .elementor-368 .service-area.service-area2 .service-text {
	padding: 24px 22px !important;
	text-align: right;
}

body.rtl .elementor-368 .service-area.service-area2 .service-text h3 {
	color: var(--ahl-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.45;
	margin: 0;
}

body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-container {
	align-items: center;
}

body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-widget-image img {
	border-radius: 10px;
	box-shadow: 0 22px 55px rgba(18, 35, 31, 0.16);
}

body.rtl .elementor-368 .elementor-element.elementor-element-44956785 .elementor-heading-title,
body.rtl .elementor-368 .elementor-element.elementor-element-7a1e7b39 .elementor-heading-title {
	color: rgba(18, 35, 31, 0.68) !important;
	font-size: clamp(18px, 1.7vw, 22px) !important;
	line-height: 1.9 !important;
}

body.rtl .elementor-368 .elementor-element.elementor-element-3911e55e .elementor-heading-title,
body.rtl .elementor-368 .elementor-element.elementor-element-583739d2 .elementor-heading-title {
	color: var(--ahl-ink) !important;
	font-weight: 900 !important;
}

body.rtl .elementor-368 .elementor-element.elementor-element-1b0e9c6 > .elementor-background-overlay {
	background-image: linear-gradient(90deg, rgba(7, 18, 31, 0.94), rgba(10, 77, 64, 0.68)) !important;
	opacity: 0.9 !important;
}

body.rtl .elementor-section:has(.counter-area) .elementor-container,
body.rtl .counter-area .container,
body.rtl .counter-area .row,
body.rtl .counter-area .row > [class*="col-"] {
	max-width: 1120px !important;
	width: 100% !important;
}

body.rtl .counter-area .row {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

body.rtl .counter-area .row > [class*="col-"] {
	float: none;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

body.rtl .counter-area .counter-grids {
	display: grid !important;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.rtl .counter-area .counter-grids .grid {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 168px;
	padding: 28px 16px;
	text-align: center;
}

body.rtl .counter-area .counter-grids .grid h2 {
	align-items: baseline;
	direction: ltr;
	display: inline-flex;
	justify-content: center;
	margin: 0;
	unicode-bidi: isolate;
	white-space: nowrap;
}

body.rtl .counter-area .odometer,
body.rtl .counter-area .odometer-inside {
	display: inline-flex !important;
	direction: ltr;
	white-space: nowrap;
}

body.rtl .counter-area .odometer-digit,
body.rtl .counter-area .odometer-formatting-mark {
	display: inline-block !important;
	float: none !important;
}

body.rtl .counter-area .counter-grids .grid p {
	margin: 18px auto 0;
	max-width: 170px;
}

body.rtl .elementor-368 .elementor-element.elementor-element-2e94083 {
	background:
		linear-gradient(135deg, rgba(39, 44, 63, 0.96), rgba(18, 35, 31, 0.94)),
		url("../../uploads/2026/07/ahl-egypt-famous-court-system-hero.webp") center/cover no-repeat !important;
}

body.rtl .ahl-newsletter-fields {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(217, 189, 130, 0.75);
	display: grid;
	grid-template-columns: 152px minmax(0, 1fr);
	min-height: 62px;
}

body.rtl .ahl-newsletter-fields button {
	grid-column: 1;
	grid-row: 1;
	min-height: 62px;
	min-width: 0;
	width: 100%;
}

body.rtl .ahl-newsletter-fields input {
	background: rgba(255, 255, 255, 0.04);
	grid-column: 2;
	grid-row: 1;
	min-height: 62px;
	padding-left: 22px;
	padding-right: 22px;
	text-align: right;
}

body.rtl .ahl-newsletter-fields input::placeholder {
	color: rgba(255, 255, 255, 0.78);
}

@media screen and (max-width: 1199px) {
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide,
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero.hero-slider-wrapper {
		height: 640px !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption h2 {
		font-size: clamp(32px, 5vw, 46px) !important;
		max-width: 720px;
	}

	body.rtl .counter-area .counter-grids {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.rtl .elementor-368 .service-area.service-area2 > .container > .row {
		flex-wrap: wrap;
	}

	body.rtl .elementor-368 .service-area.service-area2 .feature-col {
		flex-basis: calc((100% - 22px) / 2) !important;
		width: calc((100% - 22px) / 2) !important;
	}
}

@media screen and (max-width: 767px) {
	body.rtl .elementor-368,
	body.rtl .elementor-368 .elementor-section,
	body.rtl .elementor-368 .elementor-container,
	body.rtl .elementor-368 .elementor-column,
	body.rtl .elementor-368 .elementor-widget-wrap {
		box-sizing: border-box;
		max-width: 100vw !important;
		overflow-x: hidden;
	}

	body.rtl .elementor-368 .service-area.service-area2 > .container > .row {
		display: block !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .feature-col {
		flex-basis: 100% !important;
		margin-bottom: 18px;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide,
	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero.hero-slider-wrapper {
		height: 620px !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption h2 {
		font-size: 28px !important;
		max-width: 330px;
	}

	body.rtl .elementor-368 .service-area.service-area2 .container {
		box-sizing: border-box;
		max-width: 100% !important;
		overflow: hidden;
		padding-left: 18px !important;
		padding-right: 18px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
		direction: ltr;
		display: grid !important;
		grid-template-columns: 76px minmax(0, 1fr);
		margin: 0 !important;
		max-width: 100%;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .icon-c {
		grid-column: 1;
		grid-row: 1;
		min-height: 76px;
		width: 76px !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid > div:not(.icon-c) {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text {
		direction: rtl;
		padding: 20px 18px !important;
		text-align: right;
		width: 100%;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text h3 {
		font-size: 18px;
		overflow-wrap: break-word;
		white-space: normal;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-583739d2 .elementor-heading-title {
		font-size: 28px !important;
		line-height: 1.35 !important;
		margin-left: auto;
		margin-right: auto;
		max-width: 330px;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-7a1e7b39 .elementor-heading-title {
		font-size: 16px !important;
		line-height: 1.85 !important;
		margin-left: auto;
		margin-right: auto;
		max-width: 330px;
	}

	body.rtl .counter-area .counter-grids {
		grid-template-columns: 1fr 1fr;
	}

	body.rtl .ahl-newsletter-fields {
		grid-template-columns: 1fr;
	}

	body.rtl .ahl-newsletter-fields input,
	body.rtl .ahl-newsletter-fields button {
		grid-column: 1;
		position: static;
	}

	body.rtl .ahl-newsletter-fields input {
		grid-row: 1;
		text-align: center;
	}

	body.rtl .ahl-newsletter-fields button {
		grid-row: 2;
	}
}

/* Last-pass fixes after all inherited theme rules. */
@media screen and (max-width: 767px) {
	body.rtl,
	body.rtl .elementor-368 {
		overflow-x: hidden !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero .slide-caption {
		box-sizing: border-box !important;
		max-width: calc(100vw - 44px) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: calc(100vw - 44px) !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption p {
		font-size: 18px !important;
		line-height: 1.5 !important;
		margin-bottom: 14px !important;
		overflow-wrap: anywhere;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-23134c9d .hero-slider .slide-caption h2 {
		font-size: 28px !important;
		line-height: 1.45 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 330px !important;
		overflow-wrap: anywhere;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 {
		overflow: hidden !important;
		padding-bottom: 48px !important;
		padding-top: 54px !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 > .container {
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 430px !important;
		overflow: visible !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 > .container > .row {
		display: grid !important;
		gap: 14px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .feature-col {
		float: none !important;
		margin: 0 !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item,
	body.rtl .elementor-368 .service-area.service-area2 .service-item > .row,
	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
		box-sizing: border-box !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid {
		direction: rtl !important;
		display: block !important;
		min-height: 0 !important;
		overflow: hidden !important;
		text-align: center !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .icon-c {
		align-items: center !important;
		display: flex !important;
		justify-content: center !important;
		min-height: 66px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-item .grid > div:not(.icon-c) {
		display: block !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text {
		display: block !important;
		padding: 18px 14px 20px !important;
		text-align: center !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .service-area.service-area2 .service-text h3 {
		font-size: 18px !important;
		line-height: 1.55 !important;
		margin: 0 !important;
		overflow-wrap: anywhere;
		white-space: normal !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-44956785 .elementor-heading-title,
	body.rtl .elementor-368 .elementor-element.elementor-element-7a1e7b39 .elementor-heading-title {
		font-size: 15px !important;
		line-height: 1.9 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 330px !important;
		overflow-wrap: anywhere;
		text-align: center !important;
	}

	body.rtl .social-newsletter-section .newsletter h3 {
		font-size: 26px !important;
		line-height: 1.45 !important;
	}

	body.rtl .ahl-newsletter-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		max-width: 360px !important;
	}

	body.rtl .ahl-newsletter-fields input,
	body.rtl .ahl-newsletter-fields button {
		grid-column: 1 !important;
		width: 100% !important;
	}

	body.rtl .ahl-newsletter-fields input {
		grid-row: 1 !important;
		text-align: center !important;
	}

	body.rtl .ahl-newsletter-fields button {
		grid-row: 2 !important;
	}
}

body.rtl .social-newsletter-section {
	background: #272c3f !important;
	padding-left: 20px;
	padding-right: 20px;
}

body.rtl .ahl-newsletter-form {
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

body.rtl .ahl-newsletter-fields {
	background: #30374d !important;
	border: 1px solid rgba(217, 189, 130, 0.78) !important;
	border-radius: 6px;
	box-shadow: 0 18px 45px rgba(5, 12, 25, 0.18);
	direction: ltr;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

body.rtl .ahl-newsletter-fields input {
	background: #30374d !important;
	color: #fff;
	direction: rtl;
	font-weight: 700;
}

body.rtl .ahl-newsletter-fields button {
	border-radius: 0;
	font-weight: 900;
}

/* Absolute final newsletter override. */
body.rtl .ahl-newsletter-fields {
	align-items: stretch !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	direction: rtl !important;
	display: flex !important;
	gap: 12px !important;
	grid-template-columns: none !important;
	max-width: 680px !important;
	min-height: 0 !important;
	overflow: visible !important;
}

body.rtl .ahl-newsletter-fields input {
	background: #20283b !important;
	border: 1px solid rgba(217, 189, 130, 0.82) !important;
	border-radius: 6px !important;
	color: #fff !important;
	flex: 1 1 auto !important;
	font-size: 16px !important;
	min-height: 58px !important;
	min-width: 0 !important;
	padding: 0 22px !important;
	text-align: right !important;
	width: auto !important;
}

body.rtl .ahl-newsletter-fields input::placeholder {
	color: rgba(255, 255, 255, 0.72) !important;
}

body.rtl .ahl-newsletter-fields button {
	border-radius: 6px !important;
	flex: 0 0 148px !important;
	min-height: 58px !important;
	width: auto !important;
}

@media screen and (max-width: 767px) {
	body.rtl .ahl-newsletter-fields {
		flex-direction: column !important;
		gap: 10px !important;
		max-width: 360px !important;
	}

	body.rtl .ahl-newsletter-fields input,
	body.rtl .ahl-newsletter-fields button {
		flex-basis: auto !important;
		width: 100% !important;
	}
}

/* Continue polish: contain the Arabic software-content sections on mobile. */
@media screen and (max-width: 767px) {
	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb,
	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6,
	body.rtl .elementor-368 .elementor-element.elementor-element-7de59164,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952,
	body.rtl .elementor-368 .elementor-element.elementor-element-334a723,
	body.rtl .elementor-368 .elementor-element.elementor-element-9708c72,
	body.rtl .elementor-368 .elementor-element.elementor-element-2e94083 {
		overflow-x: hidden !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-7de59164 > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-334a723 > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-9708c72 > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-2e94083 > .elementor-container {
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-column,
	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-column,
	body.rtl .elementor-368 .elementor-element.elementor-element-7de59164 .elementor-column,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .elementor-column {
		float: none !important;
		left: auto !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
		right: auto !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-widget-wrap,
	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-widget-wrap,
	body.rtl .elementor-368 .elementor-element.elementor-element-7de59164 .elementor-widget-wrap,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .elementor-widget-wrap {
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 360px !important;
		padding-left: 18px !important;
		padding-right: 18px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-inner-section > .elementor-container,
	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-inner-section .elementor-row {
		display: block !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 360px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-inner-column {
		float: none !important;
		margin: 0 auto 24px !important;
		max-width: 330px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-inner-column .elementor-widget-wrap {
		max-width: 330px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-widget-image img {
		display: block;
		height: auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-heading-title,
	body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-widget-text-editor,
	body.rtl .elementor-368 .elementor-element.elementor-element-2a1eadeb .elementor-heading-title {
		overflow-wrap: anywhere;
		text-align: center !important;
	}

body.rtl .elementor-368 .elementor-element.elementor-element-5982b6f6 .elementor-widget-text-editor {
		font-size: 14px !important;
		line-height: 1.8 !important;
	}
}

/* Final contact-form polish after converting it to software demo requests. */
body.rtl .ahl-software-form select {
	background-color: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.38) !important;
	color: #fff !important;
	min-width: 0 !important;
	width: 100% !important;
}

body.rtl .ahl-software-form .half-col,
body.rtl .ahl-software-form .full-col,
body.rtl .ahl-software-form .submit-btn-wrapper {
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
}

@media screen and (max-width: 767px) {
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .contact .container,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .contact .row,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .contact-content,
	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .contact-form {
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 360px !important;
		width: 100% !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .contact-text {
		text-align: center !important;
	}

	body.rtl .elementor-368 .elementor-element.elementor-element-d431952 .contact-text p {
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 320px !important;
	}
}

/* Page-by-page polish for inner product, about, solutions, and contact pages. */
body.rtl.page-id-37 .hero .slick-arrow,
body.rtl.page-id-283 .hero .slick-arrow,
body.rtl.page-id-369 .hero .slick-arrow,
body.rtl.page-id-39 .hero .slick-arrow,
body.rtl.page-id-37 .hero .slick-dots,
body.rtl.page-id-283 .hero .slick-dots,
body.rtl.page-id-369 .hero .slick-dots,
body.rtl.page-id-39 .hero .slick-dots {
	display: none !important;
}

body.rtl.page-id-37 .hero.hero-slider-wrapper,
body.rtl.page-id-283 .hero.hero-slider-wrapper,
body.rtl.page-id-369 .hero.hero-slider-wrapper,
body.rtl.page-id-39 .hero.hero-slider-wrapper,
body.rtl.page-id-37 .hero .slide,
body.rtl.page-id-283 .hero .slide,
body.rtl.page-id-369 .hero .slide,
body.rtl.page-id-39 .hero .slide {
	background-color: var(--ahl-green-dark) !important;
	background-position: center center !important;
	background-size: cover !important;
	height: 620px !important;
	overflow: hidden;
}

body.rtl.page-id-37 .hero .slide:before,
body.rtl.page-id-283 .hero .slide:before,
body.rtl.page-id-369 .hero .slide:before,
body.rtl.page-id-39 .hero .slide:before {
	background: linear-gradient(90deg, rgba(7, 18, 31, 0.84), rgba(10, 77, 64, 0.54)) !important;
}

body.rtl.page-id-37 .hero .slide-caption,
body.rtl.page-id-283 .hero .slide-caption,
body.rtl.page-id-369 .hero .slide-caption,
body.rtl.page-id-39 .hero .slide-caption {
	left: 50% !important;
	max-width: 860px !important;
	right: auto !important;
	text-align: center !important;
	top: 49% !important;
	transform: translate(-50%, -50%) !important;
	width: calc(100% - 48px) !important;
}

body.rtl.page-id-37 .hero-slider .slide-caption p,
body.rtl.page-id-283 .hero-slider .slide-caption p,
body.rtl.page-id-369 .hero-slider .slide-caption p,
body.rtl.page-id-39 .hero-slider .slide-caption p {
	color: var(--ahl-gold-light) !important;
	font-size: clamp(18px, 1.7vw, 24px) !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	line-height: 1.55 !important;
	margin-bottom: 14px !important;
}

body.rtl.page-id-37 .hero-slider .slide-caption h2,
body.rtl.page-id-283 .hero-slider .slide-caption h2,
body.rtl.page-id-369 .hero-slider .slide-caption h2,
body.rtl.page-id-39 .hero-slider .slide-caption h2 {
	color: #fff !important;
	font-size: clamp(32px, 3.3vw, 48px) !important;
	font-weight: 900 !important;
	letter-spacing: 0 !important;
	line-height: 1.35 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 900px !important;
	margin-bottom: 24px !important;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

body.rtl.page-id-37 .hero-slider .slide-btn,
body.rtl.page-id-283 .hero-slider .slide-btn,
body.rtl.page-id-369 .hero-slider .slide-btn,
body.rtl.page-id-39 .hero-slider .slide-btn {
	background: var(--ahl-gold) !important;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	color: #fff !important;
	font-weight: 900 !important;
	min-width: 168px;
	padding: 15px 28px;
}

body.rtl.page-id-37 .hero-slider .slide-caption .btns,
body.rtl.page-id-283 .hero-slider .slide-caption .btns,
body.rtl.page-id-369 .hero-slider .slide-caption .btns,
body.rtl.page-id-39 .hero-slider .slide-caption .btns {
	display: none !important;
}

body.rtl.page-id-37 .service-area.service-area2,
body.rtl.page-id-283 .service-area.service-area2,
body.rtl.page-id-369 .service-area.service-area2,
body.rtl.page-id-39 .service-area.service-area2 {
	background: #fff;
	padding-bottom: 64px;
	padding-top: 0;
}

body.rtl.page-id-37 .service-area.service-area2 > .container > .row,
body.rtl.page-id-283 .service-area.service-area2 > .container > .row,
body.rtl.page-id-369 .service-area.service-area2 > .container > .row,
body.rtl.page-id-39 .service-area.service-area2 > .container > .row {
	align-items: stretch;
	display: flex !important;
	flex-direction: row-reverse;
	gap: 28px;
	justify-content: center;
	margin-left: 0 !important;
	margin-right: 0 !important;
	transform: translateY(-28px);
}

body.rtl.page-id-37 .service-area.service-area2 .feature-col,
body.rtl.page-id-283 .service-area.service-area2 .feature-col,
body.rtl.page-id-369 .service-area.service-area2 .feature-col,
body.rtl.page-id-39 .service-area.service-area2 .feature-col {
	clear: none !important;
	float: none !important;
	flex: 0 1 320px !important;
	max-width: 320px !important;
	padding: 0 !important;
	width: auto !important;
}

body.rtl.page-id-37 .service-area.service-area2 .service-item .grid,
body.rtl.page-id-283 .service-area.service-area2 .service-item .grid,
body.rtl.page-id-369 .service-area.service-area2 .service-item .grid,
body.rtl.page-id-39 .service-area.service-area2 .service-item .grid {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(18, 35, 31, 0.08);
	box-shadow: 0 24px 52px rgba(18, 35, 31, 0.09);
	display: grid !important;
	grid-template-columns: 84px minmax(0, 1fr);
	min-height: 96px;
	overflow: hidden;
}

body.rtl.page-id-37 .service-area.service-area2 .icon-c,
body.rtl.page-id-283 .service-area.service-area2 .icon-c,
body.rtl.page-id-369 .service-area.service-area2 .icon-c,
body.rtl.page-id-39 .service-area.service-area2 .icon-c {
	align-items: center !important;
	align-self: stretch;
	background: var(--ahl-gold-light);
	display: flex !important;
	justify-content: center !important;
	width: 84px !important;
}

body.rtl.page-id-37 .service-area.service-area2 .service-text,
body.rtl.page-id-283 .service-area.service-area2 .service-text,
body.rtl.page-id-369 .service-area.service-area2 .service-text,
body.rtl.page-id-39 .service-area.service-area2 .service-text {
	padding: 18px 22px !important;
	text-align: right !important;
}

body.rtl.page-id-37 .service-area.service-area2 .service-text h3,
body.rtl.page-id-283 .service-area.service-area2 .service-text h3,
body.rtl.page-id-369 .service-area.service-area2 .service-text h3,
body.rtl.page-id-39 .service-area.service-area2 .service-text h3 {
	color: var(--ahl-ink);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.5;
	margin: 0;
}

body.rtl.page-id-37 .counter-area .counter-grids,
body.rtl.page-id-283 .counter-area .counter-grids,
body.rtl.page-id-369 .counter-area .counter-grids {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.rtl.page-id-37 .counter-area .counter-grids .grid h2,
body.rtl.page-id-283 .counter-area .counter-grids .grid h2,
body.rtl.page-id-369 .counter-area .counter-grids .grid h2 {
	align-items: baseline;
	direction: ltr;
	display: inline-flex;
	justify-content: center;
	white-space: nowrap;
}

body.rtl.page-id-39 .contact-info-area,
body.rtl.page-id-39 .contact-area {
	background: #fff;
}

body.rtl.page-id-39 .contact-area {
	background:
		linear-gradient(90deg, rgba(7, 18, 31, 0.92), rgba(10, 77, 64, 0.78)),
		url("../../uploads/2026/07/ahl-egypt-software-demo.webp") center/cover no-repeat !important;
	padding: 88px 0 !important;
}

body.rtl.page-id-39 .contact-area .contact-text,
body.rtl.page-id-39 .contact-area .contact-content {
	color: #fff;
}

body.rtl.page-id-39 .contact-area .contact-text h2,
body.rtl.page-id-39 .contact-area .contact-text .date,
body.rtl.page-id-39 .contact-area .contact-text p {
	color: #fff !important;
}

body.rtl.page-id-39 .contact-area .contact-text h2 {
	font-size: clamp(28px, 3vw, 42px) !important;
	line-height: 1.35 !important;
}

body.rtl.page-id-39 .contact-area .contact-form {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(217, 189, 130, 0.34);
	border-radius: 8px;
	padding: 26px;
}

body.rtl.page-id-39 .elementor-element-cc5e776 {
	display: none !important;
}

body.rtl.page-id-39 .contact-area .contact-form h2,
body.rtl.page-id-39 .contact-area .contact-form h3,
body.rtl.page-id-39 .contact-area .contact-form .date,
body.rtl.page-id-39 .contact-area .contact-form p {
	color: #fff !important;
}

body.rtl.page-id-39 .contact-area .contact-form .date {
	color: var(--ahl-gold-light) !important;
	font-weight: 800 !important;
}

body.rtl.page-id-39 .contact-info-area .contact-info-item {
	direction: rtl;
	text-align: right;
}

body.rtl.page-id-39 .contact-info-area .contact-info-item i,
body.rtl.page-id-39 .contact-info-area .contact-info-item .fi,
body.rtl.page-id-39 .contact-info-area .contact-info-item .icon {
	color: var(--ahl-gold) !important;
	display: inline-flex;
	font-size: 24px !important;
	margin-left: 10px;
	vertical-align: middle;
}

/* Final inner-page layout correction after visual review. */
body.rtl.page-id-37 .hero .slide-caption,
body.rtl.page-id-283 .hero .slide-caption,
body.rtl.page-id-369 .hero .slide-caption,
body.rtl.page-id-39 .hero .slide-caption {
	top: 41% !important;
}

body.rtl.page-id-37 .hero-slider .slide-caption h2,
body.rtl.page-id-283 .hero-slider .slide-caption h2,
body.rtl.page-id-369 .hero-slider .slide-caption h2,
body.rtl.page-id-39 .hero-slider .slide-caption h2 {
	font-size: clamp(30px, 3vw, 42px) !important;
	line-height: 1.28 !important;
	margin-bottom: 16px !important;
}

body.rtl.page-id-37 .hero-slider .slide-caption p,
body.rtl.page-id-283 .hero-slider .slide-caption p,
body.rtl.page-id-369 .hero-slider .slide-caption p,
body.rtl.page-id-39 .hero-slider .slide-caption p {
	font-size: clamp(17px, 1.5vw, 22px) !important;
	margin-bottom: 10px !important;
}

body.rtl.page-id-37 .elementor-element-223b7d4e {
	padding: 78px 0 70px !important;
}

body.rtl.page-id-37 .elementor-element-223b7d4e .elementor-column,
body.rtl.page-id-37 .elementor-element-223b7d4e .elementor-widget-wrap {
	align-content: center !important;
	min-height: 0 !important;
}

body.rtl.page-id-37 .elementor-element-7ec3a0b8 {
	display: none !important;
}

body.rtl.page-id-37 .elementor-element-223b7d4e .elementor-widget-heading,
body.rtl.page-id-37 .elementor-element-223b7d4e .elementor-widget-divider,
body.rtl.page-id-37 .elementor-element-223b7d4e .elementor-widget-image {
	opacity: 1 !important;
	visibility: visible !important;
}

body.rtl.page-id-37 .elementor-element-223b7d4e img {
	border-radius: 0;
	box-shadow: 0 22px 60px rgba(7, 18, 31, 0.12);
	display: block !important;
	height: auto !important;
	max-height: 390px;
	object-fit: cover;
	width: 100%;
}

@media screen and (max-width: 767px) {
	body.rtl.page-id-37 .site-header,
	body.rtl.page-id-283 .site-header,
	body.rtl.page-id-369 .site-header,
	body.rtl.page-id-39 .site-header,
	body.rtl.page-id-37 .site-header .navigation,
	body.rtl.page-id-283 .site-header .navigation,
	body.rtl.page-id-369 .site-header .navigation,
	body.rtl.page-id-39 .site-header .navigation {
		background: #07121f !important;
	}

	body.rtl.page-id-37 .hero .slide .container,
	body.rtl.page-id-283 .hero .slide .container,
	body.rtl.page-id-369 .hero .slide .container,
	body.rtl.page-id-39 .hero .slide .container {
		align-items: center !important;
		display: flex !important;
		height: 100% !important;
		justify-content: center !important;
		padding: 0 22px !important;
	}

	body.rtl.page-id-37 .hero .slide .row,
	body.rtl.page-id-283 .hero .slide .row,
	body.rtl.page-id-369 .hero .slide .row,
	body.rtl.page-id-39 .hero .slide .row {
		display: flex !important;
		justify-content: center !important;
		margin: 0 !important;
		width: 100% !important;
	}

	body.rtl.page-id-37 .hero .slide-caption,
	body.rtl.page-id-283 .hero .slide-caption,
	body.rtl.page-id-369 .hero .slide-caption,
	body.rtl.page-id-39 .hero .slide-caption {
		flex: 0 0 100% !important;
		left: auto !important;
		margin: 0 auto !important;
		max-width: 320px !important;
		padding: 0 !important;
		position: static !important;
		right: auto !important;
		text-align: center !important;
		top: auto !important;
		transform: none !important;
		width: min(320px, calc(100% - 32px)) !important;
	}

	body.rtl.page-id-37 .hero-slider .slide-caption h2,
	body.rtl.page-id-283 .hero-slider .slide-caption h2,
	body.rtl.page-id-369 .hero-slider .slide-caption h2,
	body.rtl.page-id-39 .hero-slider .slide-caption h2,
	body.rtl.page-id-37 .hero-slider .slide-caption h2 span,
	body.rtl.page-id-283 .hero-slider .slide-caption h2 span,
	body.rtl.page-id-369 .hero-slider .slide-caption h2 span,
	body.rtl.page-id-39 .hero-slider .slide-caption h2 span {
		display: block !important;
		font-size: 25px !important;
		line-height: 1.35 !important;
		max-width: 320px !important;
		white-space: normal !important;
	}

	body.rtl.page-id-37 .hero-slider .slide-caption p,
	body.rtl.page-id-283 .hero-slider .slide-caption p,
	body.rtl.page-id-369 .hero-slider .slide-caption p,
	body.rtl.page-id-39 .hero-slider .slide-caption p,
	body.rtl.page-id-37 .hero-slider .slide-caption p span,
	body.rtl.page-id-283 .hero-slider .slide-caption p span,
	body.rtl.page-id-369 .hero-slider .slide-caption p span,
	body.rtl.page-id-39 .hero-slider .slide-caption p span {
		display: block !important;
		font-size: 15px !important;
		line-height: 1.55 !important;
		white-space: normal !important;
	}

	body.rtl.page-id-37 .hero-slider .slide-btn,
	body.rtl.page-id-283 .hero-slider .slide-btn,
	body.rtl.page-id-369 .hero-slider .slide-btn,
	body.rtl.page-id-39 .hero-slider .slide-btn {
		font-size: 14px !important;
		min-width: 145px !important;
		padding: 11px 18px !important;
	}

	body.rtl.page-id-37 .elementor-element-223b7d4e {
		padding: 52px 0 42px !important;
	}
}

body.rtl.page-id-39 .contact-info-area .container,
body.rtl.page-id-39 .contact-area .container {
	max-width: 1120px;
}

body.rtl.page-id-39 .contact-info-item h2,
body.rtl.page-id-39 .contact-text h2 {
	font-weight: 900 !important;
}

@media screen and (max-width: 991px) {
	body.rtl.page-id-37 .service-area.service-area2 > .container > .row,
	body.rtl.page-id-283 .service-area.service-area2 > .container > .row,
	body.rtl.page-id-369 .service-area.service-area2 > .container > .row,
	body.rtl.page-id-39 .service-area.service-area2 > .container > .row {
		flex-wrap: wrap;
	}

	body.rtl.page-id-37 .counter-area .counter-grids,
	body.rtl.page-id-283 .counter-area .counter-grids,
	body.rtl.page-id-369 .counter-area .counter-grids {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	body.rtl.page-id-37 .hero.hero-slider-wrapper,
	body.rtl.page-id-283 .hero.hero-slider-wrapper,
	body.rtl.page-id-369 .hero.hero-slider-wrapper,
	body.rtl.page-id-39 .hero.hero-slider-wrapper,
	body.rtl.page-id-37 .hero .slide,
	body.rtl.page-id-283 .hero .slide,
	body.rtl.page-id-369 .hero .slide,
	body.rtl.page-id-39 .hero .slide {
		height: 560px !important;
	}

	body.rtl.page-id-37 .hero .slide-caption,
	body.rtl.page-id-283 .hero .slide-caption,
	body.rtl.page-id-369 .hero .slide-caption,
	body.rtl.page-id-39 .hero .slide-caption {
		top: 48% !important;
	}

	body.rtl.page-id-37 .hero-slider .slide-caption p,
	body.rtl.page-id-283 .hero-slider .slide-caption p,
	body.rtl.page-id-369 .hero-slider .slide-caption p,
	body.rtl.page-id-39 .hero-slider .slide-caption p {
		font-size: 17px !important;
	}

	body.rtl.page-id-37 .hero-slider .slide-caption h2,
	body.rtl.page-id-283 .hero-slider .slide-caption h2,
	body.rtl.page-id-369 .hero-slider .slide-caption h2,
	body.rtl.page-id-39 .hero-slider .slide-caption h2 {
		font-size: 30px !important;
		max-width: 330px !important;
		margin-bottom: 18px !important;
	}

	body.rtl.page-id-37 .service-area.service-area2 > .container > .row,
	body.rtl.page-id-283 .service-area.service-area2 > .container > .row,
	body.rtl.page-id-369 .service-area.service-area2 > .container > .row,
	body.rtl.page-id-39 .service-area.service-area2 > .container > .row {
		display: grid !important;
		gap: 14px;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 320px;
		transform: translateY(-18px);
	}

	body.rtl.page-id-37 .service-area.service-area2 .feature-col,
	body.rtl.page-id-283 .service-area.service-area2 .feature-col,
	body.rtl.page-id-369 .service-area.service-area2 .feature-col,
	body.rtl.page-id-39 .service-area.service-area2 .feature-col {
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl.page-id-37 .service-area.service-area2 .service-item .grid,
	body.rtl.page-id-283 .service-area.service-area2 .service-item .grid,
	body.rtl.page-id-369 .service-area.service-area2 .service-item .grid,
	body.rtl.page-id-39 .service-area.service-area2 .service-item .grid {
		display: block !important;
		text-align: center;
	}

	body.rtl.page-id-37 .service-area.service-area2 .icon-c,
	body.rtl.page-id-283 .service-area.service-area2 .icon-c,
	body.rtl.page-id-369 .service-area.service-area2 .icon-c,
	body.rtl.page-id-39 .service-area.service-area2 .icon-c {
		min-height: 62px !important;
		width: 100% !important;
	}

	body.rtl.page-id-37 .service-area.service-area2 .service-text,
	body.rtl.page-id-283 .service-area.service-area2 .service-text,
	body.rtl.page-id-369 .service-area.service-area2 .service-text,
	body.rtl.page-id-39 .service-area.service-area2 .service-text {
		text-align: center !important;
	}
}

/* Contact page final RTL polish: form title contrast and clean contact details. */
body.rtl.page-id-39 .contact-area.contact-area-2.contact-area-3 > h2 {
	color: #fff !important;
	font-size: clamp(24px, 2.2vw, 34px) !important;
	font-weight: 900 !important;
	line-height: 1.35 !important;
	padding: 0 0 24px !important;
	text-align: right;
}

body.rtl.page-id-39 .contact-page-item .single-info {
	align-items: flex-start;
	background: #fff;
	border: 1px solid rgba(10, 77, 64, 0.1);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(7, 18, 31, 0.06);
	display: flex;
	direction: rtl;
	gap: 14px;
	margin-bottom: 16px;
	padding: 18px 20px;
	text-align: right;
}

body.rtl.page-id-39 .contact-page-item .info-con {
	align-items: center;
	background: rgba(217, 189, 130, 0.16);
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 44px;
	height: 44px;
	justify-content: center;
	left: auto !important;
	position: static !important;
	right: auto !important;
	top: auto !important;
	width: 44px;
}

body.rtl.page-id-39 .contact-page-item .info-con i {
	color: var(--ahl-gold) !important;
	font-size: 21px !important;
	line-height: 1 !important;
}

body.rtl.page-id-39 .contact-page-item .phone {
	color: #4b5563;
	font-size: 16px;
	line-height: 1.8;
	padding: 0 !important;
}

body.rtl.page-id-39 .contact-page-item .phone h3 {
	color: #07121f !important;
	font-size: 20px !important;
	font-weight: 900 !important;
	line-height: 1.3 !important;
	margin: 0 0 6px !important;
}

body.rtl.page-id-39 .service-area.service-area2 > .container > .row {
	transform: translateY(-10px);
}

@media screen and (max-width: 767px) {
	body.rtl.page-id-39 .contact-area.contact-area-2.contact-area-3 > h2 {
		text-align: center;
	}

	body.rtl.page-id-39 .elementor-element-a00afa2 > .elementor-container,
	body.rtl.page-id-39 .elementor-element-a00afa2 > .elementor-container > .elementor-column,
	body.rtl.page-id-39 .elementor-element-a00afa2 .elementor-widget-wrap {
		display: block !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl.page-id-39 .elementor-element-a00afa2 {
		overflow: hidden;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	body.rtl.page-id-39 .contact-page-item,
	body.rtl.page-id-39 .contact-area.contact-area-2.contact-area-3 {
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rtl.page-id-39 .elementor-widget-wpo-barristar_contactinfo .elementor-widget-container,
	body.rtl.page-id-39 .elementor-widget-wpo-barristar_contactinfo .contact-page-area,
	body.rtl.page-id-39 .elementor-widget-wpo-barristar_contactinfo .contact-page-item {
		box-sizing: border-box;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 300px !important;
		width: 100% !important;
	}

	body.rtl.page-id-39 .contact-page-item .container,
	body.rtl.page-id-39 .contact-page-item .row,
	body.rtl.page-id-39 .contact-page-item [class*="col-"] {
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	body.rtl.page-id-39 .contact-page-item .single-info {
		align-items: center;
		box-sizing: border-box;
		flex-direction: column;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 300px !important;
		padding: 16px;
		text-align: center;
		width: 100% !important;
	}

	body.rtl.page-id-39 .contact-page-item .phone {
		max-width: 240px;
		overflow-wrap: anywhere;
		text-align: center;
		white-space: normal !important;
	}

	body.rtl.page-id-39 .contact-page-item h2,
	body.rtl.page-id-39 .contact-page-item p {
		text-align: center !important;
	}

	body.rtl.page-id-39 .contact-page-item h2 {
		font-size: 28px !important;
		line-height: 1.35 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 330px;
		overflow-wrap: break-word;
		white-space: normal !important;
	}

	body.rtl.page-id-39 .elementor-widget-wpo-barristar_contactinfo .contact-page-item > h2 {
		box-sizing: border-box;
		display: block !important;
		font-size: 24px !important;
		line-height: 1.45 !important;
		margin: 0 auto 14px !important;
		max-width: 300px !important;
		overflow: visible !important;
		overflow-wrap: anywhere;
		padding: 0 !important;
		text-align: center !important;
		white-space: normal !important;
		width: 100% !important;
	}

	body.rtl.page-id-39 .elementor-widget-wpo-barristar_contactinfo .contact-page-item > p {
		font-size: 15px !important;
		line-height: 1.85 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 260px !important;
		overflow-wrap: anywhere;
		text-align: center !important;
		white-space: normal !important;
		width: 100% !important;
	}

	body.rtl.page-id-39 .contact-area.contact-area-2.contact-area-3 {
		padding: 44px 14px !important;
	}
}
