/* RTL Support for Arabic */
.arabic {
  font-family: "Vazirmatn", sans-serif;
  text-align: right;
}

.arabic .logo h1,
.arabic h1,
.arabic h2,
.arabic h3,
.arabic h4,
.arabic h5,
.arabic h6 {
  font-family: "Vazirmatn", sans-serif;
}

/* Header RTL adjustments */
[dir="rtl"] nav ul li {
  margin-left: 0;
  margin-right: 30px;
}

/* Hero section RTL adjustments */
[dir="rtl"] .hero-content {
  padding: 100px 0 100px 30px;
}

[dir="rtl"] .hero-content h1::after {
  left: auto;
  right: 0;
}

@media (max-width: 992px) {
  [dir="rtl"] .hero-content {
    padding: 40px 20px;
  }

  [dir="rtl"] .hero-content h1::after {
    left: 50%;
    right: auto;
  }
}

@media (max-width: 576px) {
  [dir="rtl"] .hero-content {
    padding: 30px 15px;
  }
}

/* About logo RTL adjustments */
[dir="rtl"] .about-logo {
  text-align: center;
}


[dir="rtl"] .step-content {
  margin-left: 0;
  margin-right: 30px;
}

@media (max-width: 576px) {
  [dir="rtl"] .step-content {
    margin-right: 0;
    margin-top: 15px;
  }
}

[dir="rtl"] .footer-links h3::after,
[dir="rtl"] .footer-services h3::after,
[dir="rtl"] .footer-contact h3::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-links ul li a:hover {
  padding-left: 0;
  padding-right: 5px;
}

[dir="rtl"] .footer-contact p i {
  margin-right: 0;
  margin-left: 10px;
}

[dir="rtl"] .service-card:hover {
  transform: translateY(-10px);
}

[dir="rtl"] .info-item i {
  margin-right: 0;
  margin-left: 10px;
}

/* Success stories RTL adjustments */
[dir="rtl"] .btn-link i {
  margin-left: 0;
  margin-right: 8px;
}

[dir="rtl"] .story-card {
  flex-direction: row-reverse;
}

/* Slider controls RTL */
[dir="rtl"] .slider-prev i,
[dir="rtl"] .slider-next i {
  transform: rotate(180deg);
}

/* Language switcher */
.lang-switch {
  margin-left: 15px;
}

[dir="rtl"] .lang-switch {
  margin-left: 0;
  margin-right: 15px;
}

.btn-lang {
  display: inline-block;
  padding: 5px 15px;
  /* border-radius: 20px; */
  /* background-color: var(--primary-color); */
  color: white !important;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-lang:hover {
  /* background-color: var(--secondary-color); */
  color: white !important;
}

/* Modal RTL adjustments */
[dir="rtl"] .close-modal {
  right: auto;
  left: 20px;
}

[dir="rtl"] .form-group label {
  text-align: right;
}

/* Mobile menu RTL adjustments */
@media (max-width: 768px) {
  [dir="rtl"] nav {
    left: auto;
    right: -100%;
  }

  [dir="rtl"] nav.active {
    left: auto;
    right: 0;
  }

  [dir="rtl"] nav ul li {
    margin-right: 0;
  }
}

/* Mobile adjustments for RTL */
@media (max-width: 992px) {
  [dir="rtl"] .story-card {
    flex-direction: column;
  }
}

/* Map container RTL adjustments */
[dir="rtl"] .map-container {
  direction: ltr; /* Maps should remain LTR */
}

/* Form elements RTL adjustments */
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea,
[dir="rtl"] .form-group select {
  text-align: right;
}

/* Alert messages RTL adjustments */
[dir="rtl"] .alert {
  text-align: right;
}

/* Process steps animation for RTL */
[dir="rtl"] .process-step:hover .step-content {
  transform: translateY(-5px);
}

/* Scroll to top button RTL position */
[dir="rtl"] .scroll-top-btn {
  right: auto;
  left: 20px;
}

/* RTL adjustments for simplified footer */
[dir="rtl"] .footer-links-horizontal a:hover {
  padding-left: 0;
  padding-right: 5px;
}

/* Header logo text RTL adjustments */
[dir="rtl"] .header-logo-text {
  font-family: "Vazirmatn", sans-serif;
}

