/* ── RTL support for Arabic ── */
body.rtl {
  direction: rtl;
  font-family: 'Cairo', 'Tajawal', 'Inter', sans-serif;
}

body.rtl .navbar {
  direction: rtl;
  flex-direction: row;
}

body.rtl .nav-links {
  direction: rtl;
  flex-direction: row;
  text-align: right;
}

body.rtl .nav-links a {
  direction: rtl;
  text-align: right;
  justify-content: flex-start;
}

body.rtl .dropdown-menu {
  left: auto;
  right: 0;
  direction: rtl;
  text-align: right;
}

body.rtl .dropdown-menu a {
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}

body.rtl .logo {
  flex-direction: row;
}

body.rtl .navbar .logo {
  margin-left: 0;
  margin-right: clamp(0px, calc((100vw - 1200px) / 2), 72px);
}

body.rtl .hero-content {
  direction: rtl;
}

body.rtl .hero-text {
  text-align: right;
}

body.rtl .hero-actions {
  justify-content: flex-start;
}

body.rtl .hero-stats {
  justify-content: flex-end;
}

body.rtl .hero-badge,
body.rtl .hero-product-list li,
body.rtl .floating-badge,
body.rtl .btn-primary,
body.rtl .btn-secondary,
body.rtl .btn-submit,
body.rtl .solution-badge,
body.rtl .sol-nav,
body.rtl .sol-nav-btn {
  direction: rtl;
}

body.rtl .section-label::before {
  order: 2;
  margin-left: 8px;
  margin-right: 0;
}

body.rtl .section-label {
  direction: rtl;
}

body.rtl .section-header:not(.centered),
body.rtl .solution-info,
body.rtl .sol-detail-grid,
body.rtl .svc-grid,
body.rtl .contact-info,
body.rtl .form-card {
  text-align: right;
}

body.rtl .svc-grid {
  direction: rtl;
}

body.rtl .svc-grid > div,
body.rtl .sol-detail-grid > div,
body.rtl .contact-grid,
body.rtl .form-row {
  direction: rtl;
}

body.rtl .visual-col,
body.rtl .solution-mockup {
  text-align: center;
}

body.rtl .section-header.centered .section-label {
  flex-direction: row;
}

body.rtl .feature-card,
body.rtl .card {
  text-align: right;
}

body.rtl .features-list li {
  direction: rtl;
  flex-direction: row;
  text-align: right;
}

body.rtl .features-list li::before {
  margin-right: 0;
  margin-left: 10px;
}

body.rtl .contact-item {
  direction: rtl;
  flex-direction: row;
}

body.rtl .page-hero-inner,
body.rtl .page-hero h1,
body.rtl .page-hero p {
  direction: rtl;
  text-align: right;
}

body.rtl .page-hero p {
  margin-right: 0;
  margin-left: auto;
}

body.rtl .footer-grid {
  direction: rtl;
  text-align: right;
}

body.rtl .footer-contact-item {
  direction: rtl;
  flex-direction: row;
}

body.rtl .footer-bottom {
  direction: rtl;
  flex-direction: row;
}

body.rtl .filter-bar {
  direction: rtl;
  flex-direction: row;
  justify-content: flex-start;
}

body.rtl .filter-btn {
  direction: rtl;
  flex-direction: row;
}

body.rtl .breadcrumb {
  direction: rtl;
  flex-direction: row;
  justify-content: flex-start;
}

body.rtl .breadcrumb .fa-chevron-right {
  transform: rotate(180deg);
}

body.rtl .lang-switcher {
  direction: ltr;
  flex-direction: row;
}

body.rtl .solution-clients-preview {
  direction: rtl;
  text-align: right;
}

body.rtl .solution-clients-preview h4 {
  direction: rtl;
  text-align: right;
}

body.rtl .solution-clients-preview h4 i {
  margin-right: 0 !important;
  margin-left: 6px !important;
}

body.rtl .mini-clients-grid {
  justify-content: flex-start;
}

body.rtl .hero-badge {
  flex-direction: row;
}

body.rtl .results-info {
  direction: rtl;
  flex-direction: row;
}

body.rtl .active-filter-label {
  direction: rtl;
  flex-direction: row;
}

body.rtl .stats-bar {
  direction: rtl;
}

body.rtl .client-card,
body.rtl .client-name,
body.rtl .client-products,
body.rtl .client-sector,
body.rtl .empty-state {
  direction: rtl;
}

body.rtl .form-group label {
  text-align: right;
  display: block;
}

body.rtl .form-group input,
body.rtl .form-group select,
body.rtl .form-group textarea {
  text-align: right;
  direction: rtl;
}

body.rtl .contact-item-label,
body.rtl .contact-item-value {
  text-align: right;
}

body.rtl .contact-hours,
body.rtl .contact-hours * {
  direction: rtl;
}

body.rtl .contact-hours h4,
body.rtl .contact-hours div[style*="display:flex"] {
  text-align: right;
}

body.rtl #audit [style*="text-align:left"] {
  text-align: right !important;
}

body.rtl #audit li[style*="display:flex"] {
  direction: rtl;
  flex-direction: row;
  text-align: right;
}

body.rtl #transimar .solution-clients-preview {
  border-left: 1px solid var(--border) !important;
  border-right: 3px solid #06b6d4 !important;
}

body.rtl #sigvoy .solution-clients-preview {
  border-left: 1px solid var(--border) !important;
  border-right: 3px solid #f59e0b !important;
}

@media (max-width: 768px) {
  body.rtl .nav-links {
    flex-direction: column;
    align-items: stretch;
    text-align: right;
  }

  body.rtl .nav-links a {
    justify-content: flex-start;
    text-align: right;
  }

  body.rtl .dropdown-menu {
    left: auto;
    right: auto;
    text-align: right;
  }
}

/* Arabic font import */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');
