@charset "UTF-8";
/* ============================================
   RTL (Right-to-Left) Support for Arabic
   ============================================ */

[dir="rtl"] {
  text-align: right;
}

/* Navbar RTL */
[dir="rtl"] .ft-navbar .navbar-nav {
  padding-right: 0;
  padding-left: auto;
}

/* Keep navbar right-side controls in original position (LTR) regardless of page direction */
[dir="rtl"] .ft-navbar .navbar-collapse > .d-flex {
  direction: ltr;
}

/* Hero RTL */
[dir="rtl"] .ft-hero-content {
  direction: rtl;
}

/* Section Title RTL */
[dir="rtl"] .ft-section-title {
  direction: rtl;
}

[dir="rtl"] .ft-section-title h2::after {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

/* Card RTL */
[dir="rtl"] .ft-product-card .card-body,
[dir="rtl"] .ft-news-card .card-body,
[dir="rtl"] .ft-advantage-card {
  direction: rtl;
  text-align: right;
}

/* About Section RTL */
[dir="rtl"] .ft-about-content {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .ft-about-content p {
  direction: rtl;
}

/* Contact RTL */
[dir="rtl"] .ft-contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .ft-contact-item .text {
  direction: rtl;
}

/* Footer RTL */
[dir="rtl"] .ft-footer {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .ft-footer .footer-links {
  padding-right: 0;
}

/* Form RTL */
[dir="rtl"] .ft-inquiry-form {
  direction: rtl;
}

[dir="rtl"] .ft-inquiry-form .form-control {
  text-align: right;
}

/* Breadcrumb RTL */
[dir="rtl"] .ft-breadcrumb .breadcrumb {
  direction: rtl;
  justify-content: flex-end;
}

[dir="rtl"] .ft-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  float: right;
  margin-left: 0.5rem;
  margin-right: 0;
}

/* Button RTL */
[dir="rtl"] .ft-btn {
  direction: rtl;
}

/* List RTL */
[dir="rtl"] ul,
[dir="rtl"] ol {
  padding-right: 0;
}

/* Margin/Padding RTL Adjustments */
[dir="rtl"] .ms-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

[dir="rtl"] .me-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

[dir="rtl"] .me-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-2 {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

[dir="rtl"] .ms-3 {
  margin-left: 0 !important;
  margin-right: 1rem !important;
}

[dir="rtl"] .pe-3 {
  padding-right: 0 !important;
  padding-left: 1rem !important;
}

[dir="rtl"] .ps-3 {
  padding-left: 0 !important;
  padding-right: 1rem !important;
}

/* Text Alignment RTL */
[dir="rtl"] .text-start {
  text-align: right !important;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

/* Float RTL */
[dir="rtl"] .float-start {
  float: right !important;
}

[dir="rtl"] .float-end {
  float: left !important;
}

/* Input Placeholder RTL */
[dir="rtl"] input::placeholder,
[dir="rtl"] textarea::placeholder {
  text-align: right;
}

/* Dropdown RTL */
[dir="rtl"] .dropdown-menu {
  text-align: right;
}

[dir="rtl"] .dropdown-menu-end {
  right: auto !important;
  left: 0 !important;
}

/* Pagination RTL */
[dir="rtl"] .ft-pagination .page-link {
  direction: rtl;
}

/* Grid RTL */
[dir="rtl"] .row {
  direction: rtl;
}

/* Navbar Brand RTL */
[dir="rtl"] .navbar-brand {
  margin-right: 0;
  margin-left: 1rem;
}

/* Icon Direction RTL */
[dir="rtl"] .fa-chevron-right::before {
  content: "\f053";
}

[dir="rtl"] .fa-chevron-left::before {
  content: "\f054";
}

[dir="rtl"] .fa-arrow-right::before {
  content: "\f060";
}

[dir="rtl"] .fa-arrow-left::before {
  content: "\f061";
}
