/* ==========================================================================
   RTL Overrides — JinCoto AuCreative Theme
   Comprehensive fix for dir="rtl" (Arabic locale)
   ========================================================================== */

/* ---------- GLOBAL DIRECTION ---------- */
body { direction: rtl; text-align: right; }

/* ---------- TOPBAR ---------- */
.topbar .block-left { float: right !important; text-align: right; }
.topbar .block-right { float: left !important; text-align: left; }
.horizontal-list li { float: right; }
.topbar .chosen-lang { float: left; }
.topbar .chosen-lang .chosen-container { text-align: left; }

/* ---------- HEADER ---------- */
.header-1 .block-left { float: right !important; }
.header-1 .block-right { float: left !important; }
.header-1 .logo { float: right !important; margin-right: 0; margin-left: 30px; }
.header-1 .contact-widget { float: left !important; }
.contact-widget-1 { direction: rtl; }
.contact-widget-1 .icon-box { float: right; }
.contact-widget-1 .icon-box-1 { display: flex; flex-direction: row-reverse; align-items: center; text-align: right; }
.contact-widget-1 .icon-box-1 .icon { float: right; margin-left: 15px; margin-right: 0; }
.contact-widget-1 .icon-box-1 .content { text-align: right; }
.contact-widget-1 .au-btn { float: left; margin-right: 15px; margin-left: 0; }

/* ---------- NAVBAR / MENU ---------- */
.section-navbar-1 .block-left { float: right !important; }
.section-navbar-1 .block-right { float: left !important; }
.au-navbar-menu { direction: rtl; text-align: right; display: flex !important; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding: 0; margin: 0; }
.au-navbar .au-navbar-menu > li { float: none; }
.au-navbar .au-navbar-menu > li > a { text-align: right; }
.search-widget-1 { float: left !important; }
.search-widget-1 .icon-search { float: left; border-left: none; border-right: 1px solid #e5e5e5; }
.logo-mobile { float: right !important; margin-left: 15px; }

/* ---------- HEADING SECTIONS ---------- */
.heading-section { text-align: right; }
.heading-section::before,
.heading-section::after { right: 0; left: auto; }

/* ---------- ICON BOXES ---------- */
.icon-box-2 { text-align: right; }
.icon-box-1 .icon { float: right; margin-left: 15px; margin-right: 0; }
.icon-box-1 .content { text-align: right; }

/* ---------- IMAGE CARDS (Services, News) ---------- */
.image-card-1 .link a { direction: rtl; }
.image-card-1 .link a .fa { margin-left: 8px; margin-right: 0; transform: scaleX(-1); }
.image-card-1 .content { text-align: right; }
.image-card-1 .title { text-align: right; }
.image-card-4 { text-align: right; }
.image-card-4 .content { text-align: right; }
.image-card-4 .link { text-align: right; }

/* ---------- IMAGE CARDS (Projects) ---------- */
.image-card-3 .title a { direction: rtl; }
.image-card-3 .title a .fa { margin-left: 0; margin-right: 8px; transform: scaleX(-1); }

/* ---------- TESTIMONIAL CARDS ---------- */
.image-card-2 .card-top { direction: rtl; display: flex; flex-direction: row-reverse; }
.image-card-2 .card-top .avatar { margin-left: 15px; margin-right: 0; }
.image-card-2 .card-top .info { text-align: right; }
.image-card-2 .card-body { text-align: right; }

/* ---------- OWL CAROUSEL ---------- */
.owl-carousel { direction: ltr !important; }
.owl-carousel .owl-item { direction: rtl !important; }
/* Carousel nav arrows */
.nav-style-1 .owl-nav .owl-prev { left: auto; right: -50px; }
.nav-style-1 .owl-nav .owl-next { right: auto; left: -50px; }

/* ---------- "WHY CHOOSE US" SECTION ---------- */
.why-choose-us-section-1 .row { direction: rtl; }
.why-choose-us-section-1 .col-md-6:first-child { float: right; }
.why-choose-us-section-1 .col-md-6:last-child { float: left; }
.progress-box { text-align: right; }
.progress-label { text-align: right; }
.au-progress-bar span { right: auto; left: -30px; }

/* ---------- COUNTER / STATS ---------- */
.number-box { text-align: center; }
.bg-parallax .row { direction: rtl; }

/* ---------- INLINE FORM (Black section) ---------- */
.au-form-group { direction: rtl; display: flex; }
.au-form-col-3 { float: right; }
.au-form-col-3.p-r-5 { padding-right: 0 !important; padding-left: 5px !important; }

/* ---------- COLUMNS Push/Pull Reset ---------- */
.col-md-push-3 { left: auto; right: 25%; }
.col-md-pull-9 { right: auto; left: 75%; }
.col-md-push-6 { left: auto; right: 50%; }
.col-md-pull-6 { right: auto; left: 50%; }

/* ---------- MARGIN / PADDING Utilities RTL Swap ---------- */
.m-r-5 { margin-right: 0 !important; margin-left: 5px !important; }
.m-l-5 { margin-left: 0 !important; margin-right: 5px !important; }
.m-r-25 { margin-right: 0 !important; margin-left: 25px !important; }
.m-l-25 { margin-left: 0 !important; margin-right: 25px !important; }
.p-l-10 { padding-left: 0 !important; padding-right: 10px !important; }
.p-r-10 { padding-right: 0 !important; padding-left: 10px !important; }
.p-l-100 { padding-left: 0 !important; padding-right: 100px !important; }
.p-r-100 { padding-right: 0 !important; padding-left: 100px !important; }
.p-r-5 { padding-right: 0 !important; padding-left: 5px !important; }

/* ---------- FOOTER ---------- */
.footer-1 .top-footer .col-md-6 { float: right; }
.footer-1 .top-footer .col-md-3 { float: right; }
.footer-block-1 { text-align: right; }
.footer-block-1 .quick-link ul li { text-align: right; }
.footer-block-2 { text-align: right; }
.footer-block-2 .contact-list ul li { text-align: right; }
.footer-block-3 { text-align: right; }
.footer-block-3 .social-list { text-align: right; }
.footer-block-3 .social-list .horizontal-list li { float: right; }
.bot-footer .block-inner { direction: rtl; }
.bot-footer .block-left { float: right !important; }
.bot-footer .block-right { float: left !important; }
.bot-footer .quick-link ul li { display: inline-block; }

/* ---------- MOBILE HEADER ---------- */
.header-mobile-1 .top-header .container-fluid { direction: rtl; }
.header-mobile-1 .logo { float: right; }
.header-mobile-1 .search-widget { float: left; }
.header-mobile-1 #toggle-icon { float: left; }
.au-navbar-mobile .au-navbar-menu li { text-align: right; }
.au-navbar-mobile .au-navbar-menu li a { text-align: right; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb-section { text-align: right; }
.breadcrumb li { float: right; }
.breadcrumb li + li::before { content: "\\f104"; /* fa-angle-left for RTL */ }

/* ---------- BACK-TO-TOP ---------- */
#up-to-top { left: 30px; right: auto; }

/* ---------- CHOSEN SELECT (Language Picker) ---------- */
.chosen-container .chosen-single span { text-align: right; }
.chosen-container .chosen-single div { left: 0; right: auto; }
.chosen-container .chosen-results li { text-align: right; }

/* ---------- REVOLUTION SLIDER RTL ---------- */
.rev_slider .tp-caption { direction: rtl !important; text-align: center !important; }

/* ---------- MISC ---------- */
ul, ol { padding-right: 20px; padding-left: 0; }
.text-left { text-align: right !important; }
.pull-left { float: right !important; }
.pull-right { float: left !important; }
