/* ==========================================================
   RTL (Right-to-Left) SUPPORT FOR ARABIC
   Safar Indonesia - RTL CSS
========================================================== */

/* ===== BODY & DIRECTION ===== */
body.rtl {
    direction: rtl;
    text-align: right;
}

/* ===== TEXT ALIGNMENT ===== */
body.rtl .section__title,
body.rtl .section__desc,
body.rtl .hero__title,
body.rtl .hero__subtitle,
body.rtl .driver__name,
body.rtl .driver__role,
body.rtl .driver__biography,
body.rtl .driver__quote,
body.rtl .card--vehicle__body,
body.rtl .card--testimonial,
body.rtl .contact__info,
body.rtl .testimonials__slide p,
body.rtl .about p,
body.rtl .services p,
body.rtl .gallery__title,
body.rtl .gallery__description,
body.rtl .stats p {
    text-align: right;
}

/* ===== FLEX DIRECTION ===== */
body.rtl .hero__actions {
    flex-direction: row-reverse;
}

body.rtl .hero__actions .btn {
    flex-direction: row-reverse;
}

body.rtl .hero__actions .btn i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .driver__meta {
    flex-direction: row-reverse;
}

body.rtl .driver__meta-item {
    text-align: right;
}

body.rtl .card--vehicle__features li {
    flex-direction: row-reverse;
}

body.rtl .card--vehicle__features li i {
    margin-right: 0;
    margin-left: 10px;
}

body.rtl .driver__services {
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

body.rtl .driver__services li {
    flex-direction: row-reverse;
}

body.rtl .driver__services li i {
    margin-right: 0;
    margin-left: 10px;
}

/* ===== BUTTONS ===== */
body.rtl .btn i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .btn--whatsapp i {
    margin: 0;
}

body.rtl .btn .fa-whatsapp {
    margin-right: 0;
    margin-left: 8px;
}

/* ===== FORM ELEMENTS ===== */
body.rtl input,
body.rtl textarea,
body.rtl select {
    text-align: right;
}

body.rtl .form-check {
    padding-left: 0;
    padding-right: 1.5rem;
}

body.rtl .form-check .form-check-input {
    margin-left: 0;
    margin-right: -1.5rem;
}

/* ===== GRID & FLEX ===== */
body.rtl .grid {
    direction: ltr;
}

body.rtl .grid > * {
    direction: rtl;
}

body.rtl .services__grid {
    direction: ltr;
}

body.rtl .services__grid .card--service {
    direction: rtl;
}

/* ===== TESTIMONIALS ===== */
body.rtl .card--testimonial__author {
    flex-direction: row-reverse;
    text-align: right;
}

body.rtl .testimonial-avatar,
body.rtl .testimonial-initial {
    margin-right: 0;
    margin-left: 15px;
}

body.rtl .testimonials__btn--prev {
    right: auto;
    left: -20px;
}

body.rtl .testimonials__btn--next {
    left: auto;
    right: -20px;
}

body.rtl .testimonials__btn i {
    transform: scaleX(-1);
}

body.rtl .testimonials__dots {
    direction: ltr;
}

/* ===== CONTACT ===== */
body.rtl .contact__list li {
    flex-direction: row-reverse;
}

body.rtl .contact__list li i {
    margin-right: 0;
    margin-left: 15px;
}

body.rtl .contact__info .eyebrow .eyebrow__line {
    margin-right: 0;
    margin-left: 12px;
}

/* ===== DRIVER CARD ===== */
body.rtl .driver__card {
    flex-direction: row-reverse;
}

body.rtl .driver__photo {
    margin-right: 0;
    margin-left: 40px;
}

body.rtl .driver__star-badge {
    right: auto;
    left: 10px;
}

body.rtl .driver__social {
    flex-direction: row-reverse;
}

body.rtl .driver__social .social-link {
    margin-right: 0;
    margin-left: 12px;
}

/* ===== FLEET CARD ===== */
body.rtl .card--vehicle__badge {
    right: auto;
    left: 20px;
}

body.rtl .card--vehicle .btn i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .card--vehicle__tag {
    text-align: right;
}

/* ===== HERO FLEET PREVIEW ===== */
body.rtl .hero__fleet-row {
    flex-direction: row-reverse;
}

body.rtl .hero__fleet-row figure {
    margin-right: 0;
    margin-left: 20px;
}

body.rtl .hero__trust li {
    flex-direction: row-reverse;
}

body.rtl .hero__trust li i {
    margin-right: 0;
    margin-left: 10px;
}

/* ===== GALLERY ===== */
body.rtl .gallery__item figcaption {
    text-align: right;
}

body.rtl .gallery__item figcaption h4,
body.rtl .gallery__item figcaption p {
    text-align: right;
}

/* ===== STATS ===== */
body.rtl .stats__grid .stat {
    text-align: center;
}

body.rtl .stats__grid .stat p {
    text-align: center;
}

/* ===== EYEBROW ===== */
body.rtl .eyebrow {
    flex-direction: row-reverse;
}

body.rtl .eyebrow__line {
    margin-right: 0;
    margin-left: 12px;
}

/* ===== NAVIGATION ===== */
body.rtl .nav__list {
    flex-direction: row-reverse;
}

body.rtl .nav__list li {
    margin-right: 0;
    margin-left: 30px;
}

body.rtl .header__actions {
    flex-direction: row-reverse;
}

/* ===== BREADCRUMB ===== */
body.rtl .breadcrumb {
    direction: ltr;
}

body.rtl .breadcrumb li {
    direction: rtl;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body.rtl .driver__card {
        flex-direction: column;
    }
    
    body.rtl .driver__photo {
        margin-right: 0;
        margin-left: 0;
    }
    
    body.rtl .testimonials__btn--prev {
        left: 5px;
    }
    
    body.rtl .testimonials__btn--next {
        right: 5px;
    }
    
    body.rtl .hero__fleet-row figure {
        margin-right: 0;
        margin-left: 10px;
    }
    
    body.rtl .nav__list li {
        margin-left: 0;
    }
    
    body.rtl .nav__list {
        flex-direction: column;
    }
}

/* ===== SCROLLBAR ===== */
body.rtl ::-webkit-scrollbar {
    width: 8px;
}

body.rtl ::-webkit-scrollbar-track {
    background: #1a1a2e;
}

body.rtl ::-webkit-scrollbar-thumb {
    background: #0B7A4B;
    border-radius: 4px;
}

body.rtl ::-webkit-scrollbar-thumb:hover {
    background: #0a6a40;
}