/* RTL (Right-to-Left) Styles for Arabic Version */

/* Base RTL Direction */
body {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
}

/* Navigation Adjustments */
.nav-links ul {
  padding-right: 0;
}

.dropdown-content {
  right: auto;
  left: 0;
  text-align: right;
}

/* Hero Section */
.hero-cta .btn-primary i {
  margin-right: 0;
  margin-left: 8px;
  transform: rotate(180deg);
}

/* Services Section */
.service-link i {
  margin-right: 0;
  margin-left: 8px;
  transform: rotate(180deg);
}

.service-card .highlight-badge {
  right: auto;
  left: -30px;
  transform: rotate(-45deg);
}

/* Steps Section */
.steps-grid {
  direction: ltr; /* Keep numbers LTR */
}
.step-card {
  text-align: right;
}

/* ERP Section */
.erp-tab.active::after {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

/* Advantage Cards */
.btn-text i {
  margin-right: 0;
  margin-left: 8px;
  transform: rotate(180deg);
}

.featured-badge {
  right: auto;
  left: -30px;
  transform: rotate(-45deg);
}

/* Contact Form */
.form-group select {
  background-position: left 10px center;
}

/* Footer */
.footer-col h3::after {
  left: auto;
  right: 0;
}

.footer-links a:hover {
  transform: translateX(-5px);
}

/* General Icon Adjustments */
[class^="icon-"], [class*=" icon-"] {
  transform: rotate(180deg);
}

/* Adjust dropdown chevron */
.dropdown > a i {
  transform: rotate(90deg);
}

/* Adjust all arrows */
.fa-arrow-right {
  transform: rotate(180deg);
}

/* Form elements */
input, textarea, select {
  text-align: right;
}

/* Button icons */
.btn i {
  margin-right: 0;
  margin-left: 8px;
}

/* Testimonial adjustments */
.testimonial-nav {
  direction: ltr;
}

/* Stats counter */
.ai-stats-grid {
  direction: ltr;
}
.stat-item {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
  }
  
  .contact-container {
    flex-direction: column-reverse;
  }
}

/* Highlight badges */
.highlight-badge {
  right: auto;
  left: -30px;
  transform: rotate(-45deg);
}

/* Service card links */
.service-link i {
  transform: rotate(180deg);
}

/* Advantage card hover links */
.advantage-hover a i {
  transform: rotate(180deg);
}