/* ============================================================
   OPEES TRAVELS — RTL / ARABIC STYLESHEET
   ============================================================ */

[lang="ar"],
.rtl {
  direction: rtl;
  font-family: 'Almarai', sans-serif;
}

/* Navbar — keep structural layout LTR so logo stays left, toggler stays right */
.rtl #mainNav,
.rtl #mainNav .container { direction: ltr; }
.rtl #mainNav .navbar-nav { flex-direction: row-reverse; direction: rtl; }
.rtl #mainNav .nav-link-custom,
.rtl #mainNav .dropdown-item-custom { direction: rtl; text-align: right; }
.rtl .brand-tagline { letter-spacing: 0; }
.rtl .dropdown-item-custom { flex-direction: row-reverse; }

/* Hero */
.rtl .hero-title,
.rtl .hero-subtitle,
.rtl .section-title,
.rtl .section-subtitle { text-align: right; }
.rtl .hero-btns { flex-direction: row-reverse; }
.rtl .hero-features { flex-direction: row-reverse; }

/* Cards */
.rtl .service-card,
.rtl .feature-card,
.rtl .req-card,
.rtl .contact-info-card { text-align: right; }
.rtl .feature-card     { flex-direction: row-reverse; }
.rtl .contact-detail   { flex-direction: row-reverse; }
.rtl .footer-contact-item { flex-direction: row-reverse; }
.rtl .footer-links a   { flex-direction: row-reverse; }
.rtl .admin-nav-item   { flex-direction: row-reverse; text-align: right; }
.rtl .admin-nav-item.active { border-left: none; border-right: 3px solid var(--accent); }

/* Accordion */
.rtl .accordion-button-custom { text-align: right; flex-direction: row-reverse; }

/* Footer */
.rtl .footer-links li  { text-align: right; }
.rtl .footer-social    { flex-direction: row-reverse; }
.rtl .footer-wa-btns   { flex-direction: row-reverse; }

/* Process */
.rtl .step-connector   { right: auto; left: -20px; transform: scaleX(-1); }

/* Admin */
.rtl .admin-sidebar    { left: auto; right: 0; }
.rtl .admin-content    { margin-left: 0; margin-right: 260px; }

@media (max-width: 991.98px) {
  .rtl .admin-sidebar      { transform: translateX(100%); }
  .rtl .admin-sidebar.open { transform: translateX(0); }
  .rtl .admin-content      { margin-right: 0; }
}

/* Form */
.rtl .form-control-custom { text-align: right; }
.rtl .faq-search-wrap i   { right: auto; left: 1.1rem; }
.rtl .faq-search-wrap input { padding-right: 1.25rem; padding-left: 3rem; }

/* Breadcrumb */
.rtl .breadcrumb-custom { flex-direction: row-reverse; }
.rtl .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { content: "\\"; }

/* Testimonials */
.rtl .testimonial-author { flex-direction: row-reverse; text-align: right; }

/* Blog */
.rtl .blog-card-body   { text-align: right; }
.rtl .blog-meta        { flex-direction: row-reverse; }

/* Float WhatsApp */
.rtl .float-whatsapp   { right: auto; left: 2rem; align-items: flex-start; }
.rtl #scrollTop        { right: auto; left: 2rem; }
@media (max-width: 767.98px) {
  .rtl .float-whatsapp { left: 1rem; }
  .rtl #scrollTop      { left: 1rem; }
}

/* Alert */
.rtl .alert-custom     { flex-direction: row-reverse; text-align: right; }

/* Typography overrides */
.rtl h1, .rtl h2, .rtl h3,
.rtl h4, .rtl h5, .rtl h6 { font-family: 'Almarai', sans-serif; }

/* Checklist */
.rtl .checklist-item   { flex-direction: row-reverse; }
