/*
Theme Name: MindMedia Landing - RTL Support
Description: Right-to-Left language support for Arabic
*/

/* RTL Direction */
body {
    direction: rtl;
    text-align: right;
}

/* Navigation RTL */
.navbar-nav {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.navbar-nav .nav-link {
    margin: 0 1rem 0 0;
}

/* About Points RTL */
.about-point {
    border-left: none;
    border-right: 4px solid var(--accent-cyan);
}

.about-point:hover {
    transform: translateX(-10px);
}

/* Team Points RTL */
.team-point {
    border-right: none;
    border-left: 4px solid var(--accent-cyan);
}

/* Service Cards RTL */
.service-icon {
    margin-left: 0;
    margin-right: 0;
}

/* Form Elements RTL */
.form-control {
    text-align: right;
}

/* Footer RTL */
.social-links a {
    margin: 0 0.5rem;
}

/* Responsive RTL Adjustments */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        margin: 0;
        text-align: right;
    }
}


/* ===================================
   RTL Adjustments for New Sections
   =================================== */

/* Top Bar RTL */
.topbar-content {
    flex-direction: row-reverse;
}

.topbar-left {
    order: 2;
}

.topbar-right {
    order: 1;
}

/* Content Cards RTL */
.content-card {
    border-left: none;
    border-right: 4px solid var(--accent-cyan);
}

.content-card:hover {
    transform: translateX(-10px);
}

/* Phase Cards RTL */
.phase-card {
    text-align: right;
}

.phase-items li {
    padding-right: 1.5rem;
    padding-left: 0;
}

.phase-items li:before {
    right: auto;
    left: 0;
}

/* FAQ Items RTL */
.faq-item {
    border-left: none;
    border-right: 4px solid var(--accent-cyan);
}

.faq-item:hover {
    transform: translateX(-10px);
}

.faq-question {
    flex-direction: row;
}

/* Stats Grid RTL */
.stat-card {
    text-align: center;
}

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

/* Navbar RTL */
.navbar-nav {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.navbar-nav .nav-link {
    margin: 0 0 0 1rem;
}

/* Scroll to Top Button RTL */
.scroll-to-top {
    right: auto !important;
    left: 30px !important;
}

/* Partners Slider RTL */
.partners-list {
    direction: rtl;
}

.partners-list.slider-mode {
    direction: rtl;
}

/* Content Cards RTL Hover */
.content-card:hover {
    transform: translateX(-10px);
}

/* Responsive RTL */
@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
    }

    .topbar-left,
    .topbar-right {
        order: unset;
        width: 100%;
        justify-content: center;
    }

    .content-card:hover {
        transform: translateX(0);
    }

    .faq-item:hover {
        transform: translateX(0);
    }
}
