/* RTL Overrides for Kurdish Language */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .site-header > div {
  direction: rtl;
}

body.rtl .nav-dropdown .dropdown-menu {
  right: 0;
  left: auto;
}

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

body.rtl .emergency-banner a {
  flex-direction: row-reverse;
}

body.rtl .stat-item .absolute.right-0 {
  right: auto;
  left: 0;
}

body.rtl .flex.items-center.gap-2 {
  /* Keep icons on same side but swap margins */
}

body.rtl .ml-0\\.5 {
  margin-left: 0;
  margin-right: 0.125rem;
}

body.rtl .mr-1 {
  margin-right: 0;
  margin-left: 0.25rem;
}

body.rtl .mr-2 {
  margin-right: 0;
  margin-left: 0.5rem;
}

body.rtl .mr-3 {
  margin-right: 0;
  margin-left: 0.75rem;
}

body.rtl .mr-4 {
  margin-right: 0;
  margin-left: 1rem;
}

body.rtl .ml-1 {
  margin-left: 0;
  margin-right: 0.25rem;
}

body.rtl .ml-2 {
  margin-left: 0;
  margin-right: 0.5rem;
}

body.rtl .ml-3 {
  margin-left: 0;
  margin-right: 0.75rem;
}

body.rtl .ml-4 {
  margin-left: 0;
  margin-right: 1rem;
}

body.rtl .text-left {
  text-align: right !important;
}

body.rtl .text-right {
  text-align: left !important;
}

body.rtl .md\\:text-left {
  text-align: right !important;
}

body.rtl .space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

body.rtl .space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

body.rtl .space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

body.rtl .order-1 {
  order: 2;
}

body.rtl .order-2 {
  order: 1;
}

body.rtl .md\\:order-1 {
  order: 2;
}

body.rtl .md\\:order-2 {
  order: 1;
}

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

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

body.rtl .hero-slide-btns {
  justify-content: flex-end;
  align-items: flex-end;
}

body.rtl .hero-slide-btns a {
  flex-direction: row-reverse;
}

body.rtl .hero-slider.splide,
body.rtl .hero-slider .splide__track,
body.rtl .hero-slider .splide__list {
  direction: ltr;
}

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

body.rtl .footer a svg:first-child {
  margin-right: 0;
  margin-left: 0.5rem;
}

body.rtl .footer ul li a {
  flex-direction: row-reverse;
}

body.rtl .chevron {
  transform: rotate(180deg);
}

body.rtl .fa-arrow-right {
  transform: scaleX(-1);
}

body.rtl .group-hover\\:translate-x-0\\.5:hover {
  --tw-translate-x: -0.125rem !important;
}

body.rtl .-translate-y-1\\/2 {
  --tw-translate-y: -50%;
}

body.rtl .translate-x-0\\.5 {
  --tw-translate-x: -0.125rem !important;
}

/* Flip the arrow icon in CTA buttons */
body.rtl .fa-arrow-right,
body.rtl .fa-chevron-right {
  transform: scaleX(-1);
}

/* Directory floor panel RTL */
body.rtl .dir-floor-side {
  order: 2;
}

/* Nav RTL adjustments */
body.rtl .nav-dropdown .chevron {
  margin-left: 0;
  margin-right: 0.125rem;
}

/* Footer link hover animation flip */
body.rtl footer a:hover {
  --tw-translate-x: -0.25rem !important;
}
