/* ============================================
   RTL Overrides for Arabic Language
   ============================================ */

body.rtl { direction: rtl; text-align: right; }

/* Navbar RTL */
.rtl .nav-menu li a::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.rtl .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* Section tag RTL */
.rtl .section-tag::before {
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: -20px;
}

.rtl .section-tag::after {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: -20px;
}

/* Back to top RTL */
.rtl .back-to-top {
    right: auto;
    left: 30px;
}

/* About badge RTL */
.rtl .about-badge {
    right: auto;
    left: -20px;
}

/* Contact item RTL */
.rtl .contact-item {
    flex-direction: row;
}

/* Breadcrumb RTL */
.rtl .breadcrumb {
    flex-direction: row-reverse;
}

/* Form RTL */
.rtl .form-group input,
.rtl .form-group textarea {
    text-align: right;
}

/* Stat border RTL */
.rtl .stat-item {
    border-right: none;
    border-left: 1px solid rgba(82, 138, 151, 0.1);
}

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

/* Feature item RTL */
.rtl .feature-item { flex-direction: row; }

/* Footer contact RTL */
.rtl .footer-contact li { flex-direction: row; }

/* Project location RTL */
.rtl .project-location { flex-direction: row; }

/* Contact item text RTL */
.rtl .contact-item-text { text-align: right; }

/* Nav menu mobile RTL */
@media (max-width: 768px) {
    .rtl .back-to-top { left: 30px; right: auto; }
}

/* Page Hero RTL Alignment */
.rtl .page-hero-content {
    text-align: right;
}

.rtl .breadcrumb {
    justify-content: flex-start;
    flex-direction: row; /* Ensure items flow naturally in RTL */
}

.rtl .breadcrumb i {
    transform: rotate(180deg);
}