/* Arabic (RTL) overrides — loaded only by ar/index.html */

body, h1, h2, h3, h4, h5, h6, p, a, span, li, input, textarea, .btn, .navbar, .nav-link {
	font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
}
.fa { font-family: 'FontAwesome' !important; }
[class^="flaticon-"]:before, [class*=" flaticon-"]:before { font-family: 'Flaticon' !important; }

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

/* Arabic doesn't take letter-spacing or uppercase */
.subheading, .heading-section .subheading, .nav-link, .btn, .block-18 .text span, .project .text span,
.owl-carousel.home-slider .slider-item .slider-text .subheading { letter-spacing: 0 !important; text-transform: none !important; }
.subheading { font-size: 15px !important; }

/* Navbar */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link { padding-left: 15px; padding-right: 15px; font-size: 15px; }
.navbar-brand { margin-right: 0; margin-left: 1rem; }

/* Hero */
.owl-carousel.home-slider .slider-item .slider-text h1 { line-height: 1.4; }
@media (min-width: 992px) {
	.owl-carousel.home-slider .slider-item .slider-text .one-forth .text { padding-left: 3em; padding-right: 45px; }
}
.owl-carousel.home-slider .slider-item .slider-text .one-third .overlay,
.owl-carousel.home-slider .slider-item .slider-text .one-third .overlay-1 {
	left: auto; right: -7%;
	border-right: 0; border-left: 10px solid rgba(0, 0, 0, 0.1);
}
.owl-carousel.home-slider .slider-item .slider-text .one-third .overlay { transform: skewX(-20deg); }
.owl-carousel.home-slider .slider-item .slider-text .one-third .overlay-1 { transform: skewX(20deg); }
.owl-carousel.home-slider .slider-item .slider-text .hero-lead { font-size: 19px; }

/* Counters */
.block-18 .icon { margin-right: 0 !important; margin-left: 20px !important; }
.block-18 .text { text-align: right; }

/* About */
.ftco-about ul { padding-right: 20px; padding-left: 0; }

/* Cards */
.services .media-body { text-align: right; }
.services .icon { margin-left: auto; margin-right: 0; }

/* Contact boxes and footer */
.dbox .icon { margin-right: 0 !important; margin-left: 20px; }
.dbox .text { text-align: right; }
.ftco-footer .block-23 ul li .icon { margin-right: 0; margin-left: 15px; }
.ftco-footer .block-23 ul li .text { width: calc(100% - 40px); }
.ftco-footer .ftco-footer-social li { margin-left: 10px; margin-right: 0; }
.contact-form .form-control { text-align: right; }
.contact-form input[type="tel"], .contact-form input[type="email"] { direction: ltr; text-align: right; }

/* Industry cards */
.ftco-project .project .text h3 { font-size: 21px; }
.ftco-project .project .text span { font-size: 14px; }

/* Mirror the hero image shadow so it falls on the photo, not beside the text */
.owl-carousel.home-slider .slider-item .slider-text .one-third {
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media (min-width: 992px) {
	.owl-carousel.home-slider .slider-item .slider-text .one-forth .text { left: auto; right: 4vw; }
}
@media (min-width: 992px) {
	.owl-carousel.home-slider .slider-item .slider-text .one-third::after { left: auto; right: 0; }
}

/* Hero headline: keep each line of the Arabic headline on one line */
.owl-carousel.home-slider .slider-item .slider-text h1 span.nw { color: inherit; white-space: nowrap; }
.owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 42px; }
@media (min-width: 992px) and (max-width: 1279.98px) {
	.owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 36px; }
}
@media (max-width: 767.98px) {
	.owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 32px; }
}

/* Client logo arrows: "previous" sits on the right in Arabic */
.testimony-section .carousel-testimony .owl-nav button.owl-prev { right: -60px !important; left: auto !important; }
.testimony-section .carousel-testimony .owl-nav button.owl-next { left: -60px !important; right: auto !important; }
@media (max-width: 1199.98px) {
	.testimony-section .carousel-testimony .owl-nav button.owl-prev { right: -6px !important; left: auto !important; }
	.testimony-section .carousel-testimony .owl-nav button.owl-next { left: -6px !important; right: auto !important; }
}
