/*=====================================================
RTL override layer  ->  Caspian Kelid Pars (کاسپین کلید پارسه)
Generated by mirroring every direction-sensitive rule of style.css.
Loaded after style.css, bootstrap and the vendor stylesheets.
=======================================================*/

/*-----------------------------------------------------
1. Persian typography
-----------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

:root {
  --body-font: 'Vazirmatn', 'IRANSansX', 'IRANSans', 'Vazir', 'Segoe UI', Tahoma, sans-serif;
  --heading-font: 'Vazirmatn', 'IRANSansX', 'IRANSans', 'Vazir', 'Segoe UI', Tahoma, sans-serif;
  --fa-num: 'Vazirmatn', 'IRANSansX', 'IRANSans', Tahoma, sans-serif;
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  font-family: var(--body-font);
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .site-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .breadcrumb-title {
  font-family: var(--heading-font);
  line-height: 1.6;
}

/* latin technical terms, phone numbers, code-like strings stay LTR */
html[dir="rtl"] .ltr,
html[dir="rtl"] [dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

html[dir="rtl"] .num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* CSS-generated Latin decorations do not belong in an RTL layout */
html[dir="rtl"] .navbar .nav-item .dropdown-menu .dropdown-item::before,
html[dir="rtl"] .navbar .nav-item .dropdown-submenu a::after {
  display: none;
}

html[dir="rtl"] .navbar .nav-item .dropdown-submenu a:hover {
  color: var(--theme-color);
}

/*-----------------------------------------------------
2. Bootstrap component corrections
   (bootstrap.min.css ships LTR-only, so fix the parts we use)
-----------------------------------------------------*/

html[dir="rtl"] .dropdown-menu {
  text-align: right;
}

html[dir="rtl"] .dropdown-menu[data-bs-popper] {
  left: auto;
  right: 0;
}

html[dir="rtl"] .dropdown-menu-end[data-bs-popper] {
  left: 0;
  right: auto;
}

html[dir="rtl"] .dropdown-item {
  text-align: right;
}

html[dir="rtl"] .accordion-button::after {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .accordion-button {
  text-align: right;
}

html[dir="rtl"] .form-check {
  padding-left: 0;
  padding-right: 1.5em;
}

html[dir="rtl"] .form-check .form-check-input {
  float: right;
  margin-left: 0;
  margin-right: -1.5em;
}

html[dir="rtl"] .form-select {
  background-position: left .75rem center;
  padding-right: .75rem;
  padding-left: 2.25rem;
}

html[dir="rtl"] .text-start {
  text-align: right !important;
}

html[dir="rtl"] .text-end {
  text-align: left !important;
}

html[dir="rtl"] .ms-lg-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

html[dir="rtl"] .ps-2 {
  padding-left: 0 !important;
  padding-right: .5rem !important;
}

html[dir="rtl"] .pe-2 {
  padding-right: 0 !important;
  padding-left: .5rem !important;
}

html[dir="rtl"] .float-start {
  float: right !important;
}

html[dir="rtl"] .float-end {
  float: left !important;
}

html[dir="rtl"] .start-0 {
  left: auto !important;
  right: 0 !important;
}

html[dir="rtl"] .end-0 {
  right: auto !important;
  left: 0 !important;
}

html[dir="rtl"] .border-start {
  border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
  border-left: 0 !important;
}

html[dir="rtl"] .border-end {
  border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
  border-right: 0 !important;
}

html[dir="rtl"] .rounded-start {
  border-top-right-radius: var(--bs-border-radius) !important;
  border-bottom-right-radius: var(--bs-border-radius) !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

html[dir="rtl"] .rounded-end {
  border-top-left-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-left: .5rem;
  padding-right: 0;
}

html[dir="rtl"] .modal-header .btn-close {
  margin: -.5rem auto -.5rem -.5rem;
}

/*-----------------------------------------------------
3. RTL-specific polish
-----------------------------------------------------*/

/* arrows that point "forward" must point left in RTL */
html[dir="rtl"] .theme-btn i.fa-arrow-right-long,
html[dir="rtl"] .theme-btn i.fas.fa-arrow-right-long {
  transform: scaleX(-1);
}

html[dir="rtl"] .hero-slider.owl-theme .owl-nav .owl-prev i,
html[dir="rtl"] .hero-slider.owl-theme .owl-nav .owl-next i {
  transform: scaleX(-1);
}

/* scroll-to-top arrow */
html[dir="rtl"] #scroll-top i {
  transform: none;
}

html[dir="rtl"] .site-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-sub-title,
html[dir="rtl"] .breadcrumb-title {
  letter-spacing: 0;
}

html[dir="rtl"] .hero-single .hero-content .hero-sub-title {
  letter-spacing: 1px;
  text-transform: none;
}

html[dir="rtl"] .hero-single .hero-content .hero-btn {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-single .hero-content .hero-title,
html[dir="rtl"] .hero-single .hero-content p {
  text-transform: none;
}

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

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"] {
  direction: ltr;
  text-align: right;
}

html[dir="rtl"] .navbar-nav,
html[dir="rtl"] .footer-list,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-social,
html[dir="rtl"] .breadcrumb-nav,
html[dir="rtl"] .header-top-contact ul,
html[dir="rtl"] .header-top-social {
  direction: rtl;
}

html[dir="rtl"] .owl-carousel {
  direction: rtl;
}

html[dir="rtl"] .owl-carousel .owl-item {
  float: right;
}

html[dir="rtl"] .owl-carousel .owl-nav .owl-prev,
html[dir="rtl"] .owl-carousel .owl-nav .owl-next {
  direction: rtl;
}

/*-----------------------------------------------------
4. Mirrored template rules
-----------------------------------------------------*/

[dir="rtl"] .preloader {
  right: 0;
  left: auto;
}
[dir="rtl"] .text-right {
  text-align: left;
}
[dir="rtl"] .mr-300 {
  margin-left: 300px;
}
[dir="rtl"] .ml-300 {
  margin-right: 300px;
}
[dir="rtl"] .heading-divider {
  border-left-color: transparent;
}
[dir="rtl"] .heading-divider.light {
  border-left-color: transparent;
}
[dir="rtl"] .heading-divider::after {
  right: 18px;
  left: auto;
}
[dir="rtl"] .theme-btn::before {
  right: 0;
  left: 0;
}
[dir="rtl"] .theme-btn i {
  margin-right: 5px;
}
[dir="rtl"] .theme-btn span {
  margin-left: 5px;
}
[dir="rtl"] #scroll-top {
  left: 30px;
  right: auto;
}
[dir="rtl"] .header-top::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .header-top-link a {
  margin-left: 12px;
}
[dir="rtl"] .header-top-social a {
  margin-right: 14px;
}
@media all and (max-width: 1199px) {
  [dir="rtl"] .header-top-social a {
    margin-right: 0;
  }
  [dir="rtl"] .header-top-left {
    margin-left: 5px;
  }
}
[dir="rtl"] .navbar-brand {
  margin-left: 0;
}
[dir="rtl"] .navbar .dropdown-toggle::after {
  margin-right: 5px;
}
@media all and (max-width: 1199px) {
  [dir="rtl"] .nav-right {
    margin-right: 25px !important;
  }
  [dir="rtl"] .navbar .nav-item .nav-link {
    margin-left: 15px;
  }
}
@media all and (min-width: 992px) {
  [dir="rtl"] .navbar .nav-item .nav-link {
    margin-left: 22px;
  }
  [dir="rtl"] .navbar .nav-item:last-child .nav-link {
    margin-left: 0;
  }
  [dir="rtl"] .navbar .nav-item .dropdown-menu {
    right: -15px;
    left: auto;
  }
  [dir="rtl"] .navbar .nav-item .dropdown-menu .dropdown-item:hover {
    padding-right: 32px;
  }
  [dir="rtl"] .navbar .nav-item .dropdown-menu .dropdown-item::before {
    right: 15px;
    left: auto;
  }
  [dir="rtl"] .navbar .dropdown-menu-end {
    right: auto;
    left: 0;
  }
  [dir="rtl"] .nav-right {
    margin-right: 45px;
  }
  [dir="rtl"] .nav-right .sidebar-btn .nav-right-link, [dir="rtl"] .nav-right .search-btn .nav-right-link {
    padding-left: 0;
  }
  [dir="rtl"] .nav-right .cart-btn .nav-right-link {
    margin-left: 15px;
  }
  [dir="rtl"] .nav-right .cart-btn span {
    left: -9px;
    right: auto;
  }
}
@media all and (max-width: 991px) {
  [dir="rtl"] .navbar {
    right: 0;
    left: 0;
  }
  [dir="rtl"] .navbar-brand {
    padding-right: 10px;
  }
  [dir="rtl"] .dropdown-toggle::after {
    float: left;
  }
}
[dir="rtl"] .navbar .nav-item .dropdown-submenu a::after {
  transform: rotate(90deg);
  left: 15px;
  right: auto;
}
[dir="rtl"] .navbar .nav-item .dropdown-submenu .dropdown-menu {
  right: 100%;
  left: auto;
}
[dir="rtl"] .search-area {
  left: 0;
  right: auto;
}
[dir="rtl"] .search-area .form-control {
  padding: 12px 20px 12px 45px;
}
[dir="rtl"] .search-area .search-icon-btn {
  left: 8px;
  right: auto;
}
[dir="rtl"] .hero-shape-1 {
  right: 0;
  left: auto;
}
[dir="rtl"] .hero-shape-2 {
  right: 0;
  left: auto;
}
[dir="rtl"] .hero-shape-3 {
  left: 0;
  right: auto;
}
[dir="rtl"] .hero-shape-4 {
  left: 0;
  right: auto;
}
[dir="rtl"] .hero-shape-5 {
  left: 0;
  right: auto;
}
[dir="rtl"] .hero-shape-6 {
  left: 0;
  right: auto;
}
[dir="rtl"] .hero-single::before {
  background: linear-gradient(to bottom left, rgba(0, 0, 0, .85) 20%, rgba(0, 0, 0, 0) 100%);
  right: -0.5px;
  left: auto;
}
[dir="rtl"] .hero-single .hero-img {
  left: 110px;
  right: auto;
}
[dir="rtl"] .hero-slider.owl-theme .owl-nav .owl-prev {
  right: 40px;
  left: auto;
}
[dir="rtl"] .hero-slider.owl-theme .owl-nav .owl-next {
  left: 40px;
  right: auto;
}
@media all and (max-width: 1199px) {
  [dir="rtl"] .hero-slider.owl-theme .owl-nav .owl-prev {
    right: unset;
    left: 120px;
  }
  [dir="rtl"] .hero-slider.owl-theme .owl-nav .owl-next {
    left: 40px;
    right: auto;
  }
  [dir="rtl"] .hero-single .hero-img {
    left: 20px;
    right: auto;
  }
}
@media all and (max-width: 991px) {
  [dir="rtl"] .hero-single .hero-img {
    left: unset;
    right: auto;
  }
}
[dir="rtl"] .play-btn i::after {
  right: 0;
  left: auto;
}
[dir="rtl"] .about-left::before {
  right: -25px;
  left: auto;
}
[dir="rtl"] .about-left::after {
  left: -20px;
  right: auto;
}
[dir="rtl"] .about-experience {
  padding: 15px 15px 15px 20px;
  right: -30px;
  left: auto;
}
[dir="rtl"] .about-right {
  padding-right: 30px;
}
[dir="rtl"] .about-list li {
  padding-right: 25px;
}
[dir="rtl"] .about-list li::before {
  right: 0;
  left: auto;
}
@media all and (max-width: 767px) {
  [dir="rtl"] .about-left {
    margin-right: 20px;
    margin-left: 20px;
  }
}
[dir="rtl"] .service-icon {
  transform: translateX(50%);
  right: 50%;
  left: auto;
}
[dir="rtl"] .service-shadow-icon {
  left: 10px;
  right: auto;
}
[dir="rtl"] .service-arrow a i {
  margin-right: 5px;
}
[dir="rtl"] .service-single-list i {
  margin-left: 10px;
}
[dir="rtl"] .service-download a i {
  margin-left: 10px;
}
[dir="rtl"] .ft-bg::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .feature-item::before {
  right: 20px;
  left: 20px;
}
[dir="rtl"] .feature-item .count {
  left: 30px;
  right: auto;
}
[dir="rtl"] .portfolio-content {
  right: 0;
  left: auto;
}
[dir="rtl"] .portfolio-content::before {
  right: 10px;
  left: 10px;
}
[dir="rtl"] .portfolio-link {
  transform: translate(50%, -50%) scale(0);
  right: 50%;
  left: auto;
}
[dir="rtl"] .portfolio-content:hover .portfolio-link {
  transform: translate(50%, -50%) scale(1);
}
[dir="rtl"] .portfolio-info {
  right: 25px;
  left: 25px;
}
[dir="rtl"] .filter-btn li::before {
  left: 10px;
  right: auto;
}
@media all and (max-width: 991px) {
  [dir="rtl"] .filter-btn {
    text-align: right;
  }
}
[dir="rtl"] .portfolio-single-list i {
  margin-left: 10px;
}
[dir="rtl"] .gallery-content {
  right: 0;
  left: auto;
}
[dir="rtl"] .gallery-content::before {
  right: 10px;
  left: 10px;
}
[dir="rtl"] .gallery-link {
  transform: translate(50%, -50%) scale(0);
  right: 50%;
  left: auto;
}
[dir="rtl"] .gallery-content:hover .gallery-link {
  transform: translate(50%, -50%) scale(1);
}
[dir="rtl"] .call-area::before {
  background: linear-gradient(to right, rgba(210, 26, 3, .4) 0%, rgba(0, 0, 0, 0) 100%);
  right: 0;
  left: auto;
}
[dir="rtl"] .call-content::before {
  right: 10px;
  left: 10px;
}
[dir="rtl"] .call-content::after {
  right: 50px;
  left: auto;
}
[dir="rtl"] .choose-icon::before {
  right: -6px;
  left: -6px;
}
[dir="rtl"] .choose-img {
  right: 0;
  left: auto;
}
[dir="rtl"] .choose-img .play-btn {
  transform: translate(50%, -50%);
  right: 50%;
  left: auto;
}
[dir="rtl"] .ts-bg::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .testimonial-single::before {
  right: 20px;
  left: 20px;
}
[dir="rtl"] .testimonial-quote-icon {
  left: 30px;
  right: auto;
}
[dir="rtl"] .counter-area::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .counter-box:hover .icon::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .process-single span {
  right: -3px;
  left: auto;
}
[dir="rtl"] .process-single::before {
  left: -72px;
  right: auto;
}
[dir="rtl"] .cta-wrapper::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .quote-wrapper {
  border-left: 5px solid var(--theme-color);
}
[dir="rtl"] .blog-date {
  left: 20px;
  right: auto;
}
[dir="rtl"] .blog-item-meta ul li {
  margin-left: 15px;
}
[dir="rtl"] .blog-item-meta ul li i {
  margin-left: 5px;
}
[dir="rtl"] .blog-meta i {
  margin-left: 5px;
}
[dir="rtl"] .blockqoute {
  border-right: 5px solid var(--theme-color);
}
[dir="rtl"] .blockqoute-author {
  padding-right: 60px;
}
[dir="rtl"] .blockqoute-author::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .blog-author {
  border-right: 5px solid var(--theme-color);
}
[dir="rtl"] .author-social a {
  margin-left: 5px;
}
[dir="rtl"] .blog-comments-content {
  padding: 0 20px 0 0;
}
[dir="rtl"] .blog-comments-reply {
  margin-right: 50px;
}
@media all and (max-width: 767px) {
  [dir="rtl"] .blog-comments-reply {
    margin-right: 0px;
  }
}
[dir="rtl"] .widget .widget-title::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .widget .widget-title::after {
  right: 22px;
  left: auto;
}
[dir="rtl"] .widget .search-form button {
  left: 0;
  right: auto;
}
[dir="rtl"] .widget .category-list a:hover {
  padding-right: 10px;
}
[dir="rtl"] .widget .category-list a i {
  margin-left: 5px;
}
[dir="rtl"] .widget .category-list a span {
  float: left;
}
[dir="rtl"] .widget .recent-post-img {
  margin-left: 20px;
}
[dir="rtl"] .widget .recent-post-bio span i {
  margin-left: 5px;
}
[dir="rtl"] .widget .social-share-link a {
  margin-left: 5px;
}
[dir="rtl"] .widget .tag-list a {
  margin-left: 10px;
}
[dir="rtl"] .contact-wrapper {
  border-left: 5px solid var(--theme-color);
}
[dir="rtl"] .contact-info::before {
  right: 20px;
  left: 20px;
}
[dir="rtl"] .contact-info-icon::before {
  right: -12px;
  left: -12px;
}
[dir="rtl"] .team-content {
  border-left: 5px solid var(--theme-color);
  margin-left: 30px;
}
[dir="rtl"] .team-social {
  right: 0px;
  left: auto;
}
[dir="rtl"] .team-item:hover .team-social {
  right: 30px;
  left: auto;
}
[dir="rtl"] .team-social h6 {
  transform: rotate(90deg);
}
[dir="rtl"] .team-social h6::before {
  right: -50px;
  left: auto;
}
[dir="rtl"] .pricing-item::before {
  right: 30px;
  left: 30px;
}
[dir="rtl"] .pricing-icon::before {
  right: -8px;
  left: -8px;
}
[dir="rtl"] .pricing-feature ul {
  text-align: right;
}
[dir="rtl"] .pricing-feature ul li {
  padding-right: 25px;
}
[dir="rtl"] .pricing-feature ul li::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .faq-area .accordion-item span {
  margin-left: 15px;
}
[dir="rtl"] .site-breadcrumb::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .site-breadcrumb .breadcrumb-menu li {
  margin-right: 25px;
}
[dir="rtl"] .site-breadcrumb .breadcrumb-menu li::before {
  left: -21px;
  right: auto;
}
[dir="rtl"] .site-breadcrumb .breadcrumb-menu li:first-child {
  margin-right: 0;
}
[dir="rtl"] .login-form::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .login-form .theme-btn i {
  margin-left: 5px;
}
[dir="rtl"] .coming-soon {
  right: 0;
  left: auto;
}
[dir="rtl"] .coming-soon:before {
  right: 0;
  left: auto;
}
[dir="rtl"] .coming-soon .newsletter-form .input-newsletter {
  padding-left: 0;
  padding-right: 25px;
}
[dir="rtl"] .coming-soon .newsletter-form button {
  padding-right: 30px;
  padding-left: 30px;
  left: 4px;
  right: auto;
}
[dir="rtl"] .copyright::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .copyright::after {
  left: 0;
  right: auto;
}
[dir="rtl"] .copyright .footer-menu {
  text-align: left;
}
[dir="rtl"] .copyright .footer-menu li {
  margin-right: 25px;
}
[dir="rtl"] .footer-widget-title::before {
  right: 0;
  left: auto;
}
[dir="rtl"] .footer-widget-title::after {
  right: 18px;
  left: auto;
}
[dir="rtl"] .footer-list li a i {
  margin-left: 5px;
}
[dir="rtl"] .footer-list li a:hover {
  padding-right: 10px;
}
[dir="rtl"] .footer-widget-box p {
  padding-left: 18px;
}
[dir="rtl"] .footer-contact li i {
  margin-left: 15px;
}
@media all and (max-width: 991px) {
  [dir="rtl"] .copyright .footer-menu {
    float: right;
    text-align: right;
  }
  [dir="rtl"] .copyright .footer-menu li {
    margin-right: 0;
    margin-left: 15px;
  }
}
[dir="rtl"] .home-2 .header::before {
  right: 80px;
  left: 80px;
}
[dir="rtl"] .home-3 .hero-single::before {
  right: unset;
  left: 0;
}
[dir="rtl"] .home-3 .hero-single::after {
  right: unset;
  left: 150px;
}
[dir="rtl"] .home-3 .hero-shape-3 {
  right: -50px;
  left: unset;
}
[dir="rtl"] .home-3 .footer-area::before {
  right: 20%;
  left: 20%;
}
@media all and (max-width: 1199px) {
  [dir="rtl"] .home-3 .hero-single::after {
    left: 40px;
    right: auto;
  }
}
@media all and (max-width: 991px) {
  [dir="rtl"] .home-3 .hero-single::after {
    left: 120px;
    right: auto;
  }
}
@media all and (max-width: 767px) {
  [dir="rtl"] .home-3 .hero-single::after {
    left: 10px;
    right: auto;
  }
}
