/* RTL Layout Adjustments for Arabic */

.rtl-layout {
    direction: rtl;
    text-align: right;
}

.rtl-layout .navbar {
    flex-direction: row-reverse;
}

.rtl-layout .nav-links {
    flex-direction: row-reverse;
}

.rtl-layout .nav-buttons {
    flex-direction: row-reverse;
}

.rtl-layout .hero {
    justify-content: flex-start;
    text-align: right;
}

/* Flip hero background image horizontally in RTL */
.rtl-layout .hero::before {
    transform: scaleX(-1);
}

.rtl-layout .hero-content {
    text-align: right;
}

/* About section - Full RTL handling in style.css */
.rtl-layout .about-section {
    direction: rtl;
}

.rtl-layout .about-carousel-slide {
    flex-direction: row-reverse;
}

.rtl-layout .about-slide-content {
    text-align: right;
}

/* Form section - FULL RTL flipping */
.rtl-layout .form-container {
    flex-direction: row-reverse;
}

.rtl-layout .form-title {
    text-align: right;
}

.rtl-layout .form-control {
    text-align: right;
}

.rtl-layout .upload-icon {
    left: auto;
    right: 15px;
}

.rtl-layout .submit-btn {
    float: right;
}

/* Footer RTL */
.rtl-layout .footer-content {
    flex-direction: row-reverse;
}

.rtl-layout .footer-social,
.rtl-layout .footer-contact {
    flex-direction: row-reverse;
}

/* Activities RTL */
.rtl-layout .activities-grid {
    direction: rtl;
}

.rtl-layout .activity-card {
    text-align: right;
}

.rtl-layout .read-more-btn {
    float: right;
}

/* Faculty RTL */
.rtl-layout .faculty-grid {
    direction: rtl;
}

.rtl-layout .faculty-card {
    text-align: right;
}

/* LTR Layout */
.ltr-layout {
    direction: ltr;
    text-align: left;
}

.ltr-layout .form-control {
    text-align: left;
}

.ltr-layout .submit-btn {
    float: left;
}

.ltr-layout .read-more-btn {
    float: left;
}