/* 404 RTL adjustments */
.error-404-text {
  text-align: left;
}

.error-404-btn {
  flex-direction: row-reverse;
}

.error-404-btn::before {
  left: auto;
  right: 0;
}

.error-404-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .error-404-text {
    text-align: center;
  }
}

/* ==================== ARABIC RTL RESPONSIVE STYLES ==================== */

/* Language switcher RTL responsive */
@media (max-width: 767.98px) {
  .language-switcher {
    right: auto;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .language-switcher {
    left: 10px;
  }
}

/* Footer RTL responsive adjustments */
@media (max-width: 767.98px) {
  .footer-col-logo {
    text-align: center;
  }
}

/* Mission/Vision labels RTL */
.mission-label,
.vision-label {
  margin-right: 0;
  margin-left: 5px;
}

/* Service column RTL */
.service-column ul {
  padding-left: 0;
  padding-right: 20px;
}

/* Contact list RTL */
.contact-list li {
  flex-direction: row-reverse;
}

/* Location contact RTL */
.location-contact {
  flex-direction: row-reverse;
}

.location-contact a {
  margin-right: 0;
  margin-left: 10px;
}

/* Project types RTL */
.project-type {
  flex-direction: row-reverse;
}

/* Filter buttons RTL */
.projects-filter {
  direction: rtl;
}

/* Offcanvas RTL */
[dir="rtl"] .offcanvas-header,
html[lang="ar"] .offcanvas-header {
  flex-direction: row-reverse;
}

/* Footer grid RTL responsive */
@media (max-width: 767.98px) {
  .footer-buttons {
    align-items: center;
  }
}

/* Section divider left for RTL */
.section-divider-left {
  margin-left: auto;
  margin-right: 0;
}
