/* RTL (Right-to-Left) Styles */
/* This file contains styles for RTL languages like Arabic, Hebrew, Urdu */

/* Basic RTL overrides */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Navigation and menu items */
body[dir="rtl"] .navbar-nav {
    padding-right: 0;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body[dir="rtl"] .dropdown-menu {
    text-align: right;
}

/* Form elements */
body[dir="rtl"] .form-control {
    text-align: right;
}

body[dir="rtl"] .input-group-text {
    border-radius: 0 0.375rem 0.375rem 0;
}

body[dir="rtl"] .form-control {
    border-radius: 0.375rem 0 0 0.375rem;
}

/* Buttons and icons */
body[dir="rtl"] .btn i {
    margin-left: 0.5rem;
    margin-right: 0;
}

body[dir="rtl"] .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

body[dir="rtl"] .btn-group > .btn:not(:first-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

/* Cards and containers */
body[dir="rtl"] .card-header {
    text-align: right;
}

body[dir="rtl"] .card-footer {
    text-align: left;
}

/* Tables */
body[dir="rtl"] .table th,
body[dir="rtl"] .table td {
    text-align: right;
}

/* Lists */
body[dir="rtl"] ul,
body[dir="rtl"] ol {
    padding-right: 1.5rem;
    padding-left: 0;
}

/* Language switcher specific RTL styles */
body[dir="rtl"] .language-switcher .dropdown-toggle {
    flex-direction: row-reverse;
}

body[dir="rtl"] .language-switcher .dropdown-item .language-flag {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

/* Tour and hotel cards */
body[dir="rtl"] .tour-card .card-body,
body[dir="rtl"] .hotel-card .card-body {
    text-align: right;
}

body[dir="rtl"] .tour-card .price,
body[dir="rtl"] .hotel-card .price {
    text-align: left;
}

/* User sidebar */
body[dir="rtl"] .user-sidebar .nav-link {
    text-align: right;
}

body[dir="rtl"] .user-sidebar .nav-link i {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Footer */
body[dir="rtl"] .footer-content {
    text-align: right;
}

/* Modal dialogs */
body[dir="rtl"] .modal-header .btn-close {
    margin: -0.5rem auto -0.5rem -0.5rem;
}

/* Alert messages */
body[dir="rtl"] .alert {
    text-align: right;
}

/* Pagination */
body[dir="rtl"] .pagination {
    justify-content: flex-end;
}

/* Breadcrumbs */
body[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

/* Add more RTL-specific styles as needed */
body[dir="rtl"] .about-desc .section-title{text-align: right;}
body[dir="rtl"] .about-desc{font-size: 18px;}