/* Language-specific styling */
[dir="ltr"] {
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Ensure proper alignment of flex items in LTR mode */
[dir="ltr"] .flex-container {
    flex-direction: row;
}

/* Adjust margins for LTR */
[dir="ltr"] .margin-start {
    margin-left: 15px;
    margin-right: 0;
}
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

/* Adjust alignment for language direction */
[dir="ltr"] .text-align-default {
    text-align: left;
}

[dir="rtl"] .text-align-default {
    text-align: right;
}

/* Language switcher styling */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher a {
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-switcher a.active {
    background-color: #f8f8f8;
    font-weight: bold;
    color: #333;
}

/* Responsive adjustments for language switch */
@media (max-width: 768px) {
    .language-switcher {
        margin-top: 10px;
    }
}
