/*
* LTR Specific Stylesheet
*
* This file contains overrides to adapt the default RTL layout to LTR (Left-to-Right)
* when the English language is selected.
*/

/* Base text alignment for LTR - only for non-centered elements */
body {
    text-align: left;
}

/* Paragraphs and headings that should align left in LTR (not centered ones) */
p:not(.centered):not([style*="text-align: center"]),
li,
input,
textarea {
    text-align: left;
}

/* Preserve center alignment for elements that should stay centered */
.contact-header,
.contact-header h1,
.contact-header p,
.contact-intro,
.contact-intro h2,
.contact-intro p,
.hero-text,
.hero-text h1,
.hero-text p,
.section-subtitle,
.page-header,
.page-header h1,
.programs-section h2,
.why-us-section h2,
.testimonials-section h2,
.cta-section,
.cta-section h2,
.cta-section p,
.feature-item,
.feature-item h3,
.feature-item p,
h1[style*="text-align: center"],
h2[style*="text-align: center"],
p[style*="text-align: center"],
.centered,
[style*="text-align: center"] {
    text-align: center !important;
}

/* Headings in cards and sections should align based on their container - LEFT for LTR */
.program-content h3,
.program-content p,
.info-content h3,
.info-content p,
.contact-info h2,
.contact-form-wrapper h2,
.contact-form-box h3,
.footer-col h3,
.footer-col p {
    text-align: left;
}

/* Form labels and buttons */
.form-group label {
    text-align: left;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
    text-align: center !important;
}

/* Header */
.main-header .logo {
    margin-right: 0;
    margin-left: 20px;
}

.main-nav ul {
    margin-right: auto;
    margin-left: 0;
}

.header-actions {
    margin-right: 20px;
    margin-left: 0;
}

/* Program Cards */
.program-features li i {
    margin-right: 0;
    margin-left: 8px;
}

/* Why Us Section */
.feature-icon {
    margin: 0 auto 20px;
}

/* Testimonials */
.testimonial-author-info {
    justify-content: flex-start;
}

.testimonial-avatar {
    margin-right: 0;
    margin-left: 15px;
}

.testimonial-rating {
    text-align: left;
}


/* Footer */
.footer-col ul {
    padding-right: 0;
}

.footer-col li i {
    margin-right: 0;
    margin-left: 8px;
}

/* Language Switcher Button */
.lang-switcher {
    margin-left: 15px;
}

.lang-switcher .btn-lang {
    padding: 8px 12px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-switcher .btn-lang:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Responsive adjustments for LTR */
@media (max-width: 768px) {
    .nav-links {
        left: auto;
        right: 0;
   }
}
