/* ==========================================================================
   Timeline TV Studios - RTL (Right-to-Left) Stylesheet for Arabic
   ========================================================================== */

body[dir="rtl"] {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", Arial, sans-serif;
  line-height: 1.85;
  text-align: right;
  direction: rtl;
}

/* Navbar adjustments */
body[dir="rtl"] .navbar-brand {
  margin-left: 1.5rem;
  margin-right: 0;
}

body[dir="rtl"] .navbar-nav {
  padding-right: 0;
}

body[dir="rtl"] .dropdown-menu {
  text-align: right;
}

/* Mega menu alignment in RTL */
body[dir="rtl"] .mega-menu {
  text-align: right;
}

body[dir="rtl"] .mega-box a i {
  margin-left: 8px;
  margin-right: 0;
}

/* Breadcrumb in RTL */
body[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-left: var(--bs-breadcrumb-item-padding-x, 0.5rem);
  padding-right: 0;
}

/* Quote Block border swap */
body[dir="rtl"] .quote-block {
  border-left: none !important;
  border-right: 4px solid var(--electric-red) !important;
  text-align: right;
}

/* Service content lists */
body[dir="rtl"] .service-content ul {
  padding-right: 1.5rem;
  padding-left: 0;
}

body[dir="rtl"] .service-content ul li::before {
  right: -1.5rem;
  left: auto;
}

/* Sticky WhatsApp on left in RTL */
body[dir="rtl"] .sticky-wa-btn {
  right: auto !important;
  left: 25px !important;
}

/* Step cards & info blocks */
body[dir="rtl"] .step-card {
  text-align: right;
}

body[dir="rtl"] .regional-links-bar {
  border-left: none !important;
  border-right: 3px solid var(--electric-red) !important;
}

/* Margin utilities reversal */
body[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
body[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
body[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
body[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
body[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
body[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }

/* Text alignments */
body[dir="rtl"] .text-start {
  text-align: right !important;
}

body[dir="rtl"] .text-end {
  text-align: left !important;
}

/* Cookie Consent Banner RTL */
/* needs native review */
body[dir="rtl"].has-consent-banner .sticky-wa-btn {
  bottom: 100px;
  right: auto !important;
  left: 25px !important;
}

@media (max-width: 767.98px) {
  body[dir="rtl"].has-consent-banner .sticky-wa-btn {
    bottom: 140px;
    right: auto !important;
    left: 25px !important;
  }
  .tv-consent-banner[dir="rtl"] .tv-consent-actions {
    justify-content: flex-start;
  }
}

/* Google Maps placeholder RTL */
/* needs native review */
body[dir="rtl"] .map-placeholder-actions {
  flex-direction: row-reverse;
}


