/* RTL Styles for Arabic Language */
[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Cairo', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Noto Sans Arabic', 'Cairo', sans-serif;
}

/* Navigation RTL */
[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-toggle {
    flex-direction: row-reverse;
}

/* Logo RTL */
[dir="rtl"] .nav-brand {
    text-align: right;
}

/* Hero Section RTL */
[dir="rtl"] .hero-content {
    text-align: center; /* Keep centered for hero */
}

[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

/* Introduction Section RTL */
[dir="rtl"] .intro-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

[dir="rtl"] .intro-text {
    text-align: right;
}

/* Services Grid RTL */
[dir="rtl"] .services-grid {
    direction: rtl;
}

[dir="rtl"] .service-card {
    text-align: center; /* Keep centered for cards */
}

/* Features List RTL */
[dir="rtl"] .features-list {
    direction: rtl;
}

[dir="rtl"] .feature-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .feature-content {
    text-align: right;
}

/* Why Choose Us RTL */
[dir="rtl"] .why-content {
    direction: rtl;
}

[dir="rtl"] .why-text {
    text-align: right;
}

/* Newsletter RTL */
[dir="rtl"] .newsletter-content {
    text-align: center; /* Keep centered */
}

[dir="rtl"] .form-group {
    flex-direction: row-reverse;
}

/* Footer RTL */
[dir="rtl"] .footer-content {
    direction: rtl;
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-links {
    text-align: right;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .contact-item i {
    margin-left: 0.75rem;
    margin-right: 0;
}

/* General Text Alignment */
[dir="rtl"] p,
[dir="rtl"] .intro-description,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .service-description,
[dir="rtl"] .newsletter-description,
[dir="rtl"] .footer-description {
    text-align: right;
}

/* Button RTL */
[dir="rtl"] .hero-actions {
    justify-content: center;
}

[dir="rtl"] .services-cta {
    text-align: center;
}

/* Mobile RTL Adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        text-align: right;
    }
    
    [dir="rtl"] .nav-list {
        align-items: flex-end;
    }
    
    [dir="rtl"] .intro-content,
    [dir="rtl"] .why-content {
        grid-template-columns: 1fr;
        text-align: right;
    }
    
    [dir="rtl"] .hero-actions {
        align-items: center;
    }
    
    [dir="rtl"] .form-group {
        flex-direction: column;
    }
}

/* Specific RTL Typography Adjustments */
[dir="rtl"] .logo-text {
    text-align: right;
}

[dir="rtl"] .logo-subtitle {
    text-align: right;
}

[dir="rtl"] .section-title {
    text-align: right;
}

[dir="rtl"] .section-header .section-title {
    text-align: center;
}

[dir="rtl"] .section-header .section-subtitle {
    text-align: center;
}

[dir="rtl"] .newsletter-title {
    text-align: center;
}

[dir="rtl"] .footer-copyright {
    text-align: center;
}

