/* جهت‌دهی کلی سایت */
@font-face {
    font-family: vazir-bold;
    src: url('../fonts/vazir/Vazir-Bold.eot');
    src: url('../fonts/vazir/Vazir-Blod.html') format('embedded-opentype'), url('../fonts/vazir/Vazir-Bold-FD.woff') format('woff'), url('../fonts/vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSansWeb/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb/IRANSansWeb.eot') format('embedded-opentype'), url('../fonts/IRANSansWeb/IRANSansWeb(FaNum).woff') format('woff'), url('../fonts/IRANSansWeb/IRANSansWeb.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}
/* اندازه استاندارد هدرها برای فارسی - Override در حالت RTL */
:root {
    --color-primary: #890000;
    --h1: 46px;
    --h2: 38px;
    --h3: 30px;
    --h4: 24px;
    --h5: 20px;
    --h6: 16px;
}
@media (max-width: 767px){
    :root {
        --h1: 32px;
        --h2: 26px;
        --h3: 22px;
        --h4: 18px;
        --h5: 16px;
        --h6: 14px;
    }
}
body {
    direction: rtl;
    text-align: right;
    font-family: 'vazir-bold', sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
   font-family: 'IRANSans', sans-serif!important;
}
p,span,a,li{
 font-family: 'vazir-bold', sans-serif!important;
}

/* لیست‌ها */
ul, ol {
    padding-right: 1.5rem;
    padding-left: 0 !important;
}

/* متن‌ها */
.text-start, .text-left { text-align: right !important; }
.text-end, .text-right { text-align: left !important; }

/* جهت فِلِکس‌های بوت‌استرپ */
.flex-row {
    flex-direction: row-reverse !important;
}
.flex-row-reverse {
    flex-direction: row !important;
}

/* ترتیب ستون‌ها در RTL */
.row {
    direction: rtl;
}
/* شناوری عناصر (Float) */
.float-start { float: right !important; }
.float-end { float: left !important; }
.float-left { float: right !important; }
.float-right { float: left !important; }

/* حاشیه‌ها (Margin Auto) */
.ms-auto { margin-right: auto !important; margin-left: 0 !important; }
.me-auto { margin-left: auto !important; margin-right: 0 !important; }
.ml-auto { margin-right: auto !important; margin-left: 0 !important; }
.mr-auto { margin-left: auto !important; margin-right: 0 !important; }

/* پدینگ‌ها */
.ps-0, .pl-0 { padding-right: 0 !important; }
.pe-0, .pr-0 { padding-left: 0 !important; }

/* لینک‌ها و آیکون‌ها */
a, p, span, li {
    letter-spacing: 0 !important;
    line-height: 1.8;
}

/* فرم‌ها */
input, textarea, select {
    text-align: right;
    direction: rtl;
}

/* عنوان‌ها */
h1, h2, h3, h4, h5, h6 {
    direction: rtl;
    text-align: right;
}

/* جدول‌ها */
table {
    direction: rtl;
}

/* اسلایدر Swiper یا Owl */
.swiper-container, .owl-carousel {
    direction: rtl !important;
}

/* اگر منو از چپ باز می‌شود */
nav ul {
    direction: rtl;
}

/* دراپ‌داون‌ها */
/* راست‌چین کردن منوی Dropdown */
li.has-dropdown .submenu {
    text-align: right;
    right: 0;
    left: auto;
}

/* نقطه‌ی نشانه از راست */
li.has-dropdown .submenu li::after {
    right: 17px !important;
    left: auto !important;
}

/* حرکت لینک هنگام هاور برعکس شود */
li.has-dropdown .submenu li:hover a {
    transform: translateX(-15px) !important;
}

/* فاصله استاندارد برای متن کنار نقطه */
li.has-dropdown .submenu li a {
    /*padding-right: 35px !important;
    padding-left: 15px !important; */
    text-align: right;
}
.dropdown-menu {
    text-align: right !important;
}
li.has-dropdown .submenu { left:auto;right:0;text-align:right;}
.header-wrapper-1 .header-right .top {
    padding: 15px 10px;
}
.has-dropdown .main-menu::after {
    left: 0;
    right: auto;
}
.header-wrapper-1 .header-right .bottom {
    padding: 0 10px;
}
.nav-area ul li.main-nav a:first-child {
    font-size: 14px;
}
.header-wrapper-1 .logo {
    padding-right:0px;
    padding-left: 5px;
}
.cta-inner h2.title{
    font-size:30px;
}
.rts-portfolio-area.inner .portfolio-details-area .portfolio-slider-area .slider-pagination-area {
    left: 20px;
    right: auto;
}
.mobile-menu-main nav ul li.has-droupdown::after {
    left: 0;
    right: auto;
}
.rts-testimonials-area .left-side-image .floating-img{
  right:-65%;
  left:auto;
}
.rts-testimonials-area .slider-inner .swiper-pagination-4{
    left:0;
    right:auto;
}
.section-title-area .section-title span,.section-title-area2 .section-title span {
    text-decoration:none!important;
}
.text-justify{
    text-align: justify;
}
.slider-area{
    direction: ltr;
}
.project-wrapper .content-area .feature-area{
    direction: rtl;
}

@media (max-width: 767px) {
    .rts-banner-area {
        height: 450px;
        padding: 120px 0;
        clip-path: none;
    }
    .bg_image_one {
        background-size: cover;
        background-position: center;
    }

}

@media (max-width:600px) {
    .rts-brand-area .section-inner ul
 {
  gap: 5px;
 }
}
@media (max-width: 450px) {
    .rts-brand-area .section-inner ul li {
        width: 49%;
        height: 100px;
        line-height: 100px;
        padding: 5px;
        text-align:center;
    }
.rts-portfolio-area .projectSlider .swiper-slide.swiper-slide-active .content-area {
    bottom: -170px;
}
.rts-banner-area .banner-area-one .banner-content-area .title{
    text-align: center;
    margin-top:25px;
}

}