/* RTL Specific Styles */

/* Footer RTL Fixes */
.rtl .footer .d-flex {
    direction: rtl;
}

.rtl .footer .btn-square {
    margin-left: 0.25rem;
    margin-right: 0;
}

.rtl .footer .fa {
    margin-left: 1rem;
    margin-right: 0;
}

/* Accordion RTL Fixes */
.rtl .accordion-button::after {
    margin-left: auto;
    margin-right: 0;
}

/* Breadcrumb RTL Fixes */
.rtl .breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, "/");
    float: right;
    padding-left: var(--bs-breadcrumb-item-padding-x);
    padding-right: 0;
}

/* Navigation RTL Fixes */
.rtl .navbar-nav .nav-link {
    text-align: right;
}

/* Social Icons RTL */
.rtl .btn-square {
    margin-left: 0.25rem;
    margin-right: 0;
}

/* Contact Info RTL */
.rtl .fa {
    margin-left: 1rem;
    margin-right: 0;
}

/* Text Alignment RTL */
.rtl .text-start {
    text-align: right !important;
}

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

/* Margin and Padding RTL */
.rtl .me-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
.rtl .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
.rtl .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
.rtl .ms-1 { margin-left: 0 !important; margin-right: 0.25rem !important; }
.rtl .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
.rtl .ms-3 { margin-left: 0 !important; margin-right: 1rem !important; }

/* Padding RTL */
.rtl .pe-1 { padding-right: 0 !important; padding-left: 0.25rem !important; }
.rtl .pe-2 { padding-right: 0 !important; padding-left: 0.5rem !important; }
.rtl .pe-3 { padding-left: 0 !important; padding-right: 1rem !important; }
.rtl .ps-1 { padding-left: 0 !important; padding-right: 0.25rem !important; }
.rtl .ps-2 { padding-left: 0 !important; padding-right: 0.5rem !important; }
.rtl .ps-3 { padding-left: 0 !important; padding-right: 1rem !important; }

/* FAQ Accordion Styles - RTL Support */
/* Active/Expanded FAQ Question - Dark Blue */
.rtl .accordion-button:not(.collapsed) {
    color: #fff !important;
    background-color: #0a4d8c !important;
    border-color: #0a4d8c !important;
    font-weight: 600;
}

/* Focus State - Dark Blue */
.rtl .accordion-button:focus {
    border-color: #0a4d8c !important;
    box-shadow: 0 0 0 0.25rem rgba(10, 77, 140, 0.25) !important;
}

/* Default FAQ Question - Dark Blue Theme */
.rtl .accordion-button {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #0a4d8c !important;
    font-weight: 500;
}

/* Hover State */
.rtl .accordion-button:hover {
    background-color: #e3f2fd !important;
    color: #0a4d8c !important;
    border-color: #0a4d8c !important;
}

/* FAQ Answer - Black Text */
.rtl .accordion-body {
    background-color: #fff !important;
    color: #000 !important;
    font-weight: 400;
    line-height: 1.6;
}

/* Ensure proper contrast */
.rtl .accordion-button:not(.collapsed):hover {
    background-color: #0a4d8c !important;
    color: #fff !important;
}