/* ============================================
   ShifaCare - RTL (Arabic) Styles
   Right-to-Left Layout Support
============================================ */

/* Arabic Font Family Override */
body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
}

/* Navigation RTL */
.nav-container {
    flex-direction: row-reverse;
}

.nav-links {
    flex-direction: row-reverse;
}

.nav-actions {
    flex-direction: row-reverse;
}

.phone-link i {
    margin-left: 8px;
    margin-right: 0;
}

.cta-btn {
    margin-right: 15px;
    margin-left: 0;
}

/* Hero Section RTL */
.hero-container {
    flex-direction: row-reverse;
}

.hero-content {
    text-align: right;
}

.hero-badge i {
    margin-left: 8px;
    margin-right: 0;
}

.primary-btn i {
    margin-right: 10px;
    margin-left: 0;
    transform: rotate(180deg);
}

.secondary-btn .play-icon {
    margin-left: 12px;
    margin-right: 0;
}

.hero-cta {
    justify-content: flex-start;
}

.hero-stats {
    justify-content: flex-start;
}

.stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    padding-left: 30px;
    padding-right: 0;
}

.stat-item:first-child {
    padding-right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-left: none;
}

/* Savings Card RTL */
.savings-card {
    left: auto;
    right: -30px;
}

.savings-icon {
    margin-left: 12px;
    margin-right: 0;
}

/* Trust Section RTL */
.trust-item i {
    margin-left: 10px;
    margin-right: 0;
}

/* Section Headers RTL */
.section-header {
    text-align: center;
}

/* Treatment Cards RTL */
.treatment-card {
    text-align: right;
}

.treatment-icon {
    margin-left: 20px;
    margin-right: 0;
}

.treatment-link i {
    margin-right: 8px;
    margin-left: 0;
    transform: rotate(180deg);
}

.treatment-meta {
    flex-direction: row-reverse;
}

/* Process Steps RTL */
.process-step {
    flex-direction: row-reverse;
}

.step-icon {
    margin-left: 25px;
    margin-right: 0;
}

.process-step::before {
    left: auto;
    right: 35px;
}

.process-step::after {
    left: auto;
    right: 30px;
}

/* Hospital Cards RTL */
.hospital-card {
    text-align: right;
}

.hospital-location i {
    margin-left: 6px;
    margin-right: 0;
}

.hospital-features {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.hospital-features span i {
    margin-left: 5px;
    margin-right: 0;
}

.hospital-rating {
    flex-direction: row-reverse;
}

.hospital-rating .stars {
    margin-left: 10px;
    margin-right: 0;
}

.hospital-badge {
    left: auto;
    right: 15px;
}

/* Why Us Section RTL */
.why-us-grid {
    flex-direction: row-reverse;
}

.why-us-content {
    text-align: right;
}

.feature-item {
    flex-direction: row-reverse;
}

.feature-icon {
    margin-left: 15px;
    margin-right: 0;
}

/* Testimonials RTL */
.testimonial-card {
    text-align: right;
}

.testimonial-author {
    flex-direction: row-reverse;
}

.testimonial-author img {
    margin-left: 15px;
    margin-right: 0;
}

/* Contact Section RTL */
.contact-grid {
    flex-direction: row-reverse;
}

.contact-info {
    text-align: right;
}

.contact-item {
    flex-direction: row-reverse;
}

.contact-item i {
    margin-left: 15px;
    margin-right: 0;
}

.contact-form {
    text-align: right;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    text-align: right;
    direction: rtl;
}

.submit-btn i {
    margin-right: 10px;
    margin-left: 0;
}

/* Footer RTL */
.footer-content {
    flex-direction: row-reverse;
}

.footer-brand {
    text-align: right;
}

.footer-links {
    flex-direction: row-reverse;
}

.footer-social {
    flex-direction: row-reverse;
}

.footer-social a {
    margin-left: 15px;
    margin-right: 0;
}

/* Chatbot RTL */
.chatbot {
    left: 30px;
    right: auto;
}

.chatbot-window {
    left: 0;
    right: auto;
}

.chatbot-header {
    flex-direction: row-reverse;
}

.chatbot-header>div:first-of-type {
    text-align: right;
}

.chatbot-avatar {
    margin-left: 12px;
    margin-right: 0;
}

.chatbot-input {
    flex-direction: row-reverse;
}

.chatbot-input input {
    text-align: right;
    direction: rtl;
}

.chat-message.user {
    margin-left: 0;
    margin-right: auto;
}

.chat-message.bot {
    margin-right: 0;
    margin-left: auto;
}

/* WhatsApp Float RTL */
.whatsapp-float {
    left: 30px;
    right: auto;
}

/* Mobile Menu RTL */
@media (max-width: 768px) {
    .nav-links {
        right: auto;
        left: 0;
    }

    .mobile-menu-btn {
        margin-right: 15px;
        margin-left: 0;
    }

    .hero-container {
        flex-direction: column;
    }

    .why-us-grid {
        flex-direction: column;
    }

    .contact-grid {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* Form Row RTL */
.form-row {
    flex-direction: row-reverse;
}

/* Notification RTL */
.notification {
    right: auto;
    left: 30px;
}

.notification i {
    margin-left: 10px;
    margin-right: 0;
}