

/* RTL (Right-to-Left) Styles for Arabic Language */

body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Navigation */
body[dir="rtl"] .navigation-links {
    float: left;
}

body[dir="rtl"] .language-switcher {
    margin-right: 20px;
    margin-left: 0;
}

/* Text Alignment */
body[dir="rtl"] .text-align-right {
    text-align: left !important;
}

body[dir="rtl"] .text-align-left {
    text-align: right !important;
}

body[dir="rtl"] .pull-right {
    float: left !important;
}

body[dir="rtl"] .pull-left {
    float: right !important;
}

/* Buttons */
body[dir="rtl"] .btn-group {
    direction: rtl;
}

/* Forms */
body[dir="rtl"] .form-control {
    text-align: right;
}

body[dir="rtl"] .input-group-btn {
    float: left;
}

/* Lists */
body[dir="rtl"] ul, 
body[dir="rtl"] ol {
    padding-right: 20px;
    padding-left: 0;
}

/* Hero Section */
body[dir="rtl"] .hero-bullets {
    text-align: right;
}

body[dir="rtl"] .hero-bullets .bullet-item {
    text-align: right;
}

body[dir="rtl"] .hero-bullets i {
    margin-left: 10px;
    margin-right: 0;
}

/* Features */
body[dir="rtl"] .feature-box,
body[dir="rtl"] .service-item,
body[dir="rtl"] .step-item {
    text-align: right;
}

body[dir="rtl"] .service-item i {
    margin-left: 10px;
    margin-right: 0;
}

/* Steps */
body[dir="rtl"] .step-number {
    margin-left: 20px;
    margin-right: 0;
}

/* Social Media */
body[dir="rtl"] .social a {
    text-align: right;
}

/* Contact Data */
body[dir="rtl"] .contact-data {
    text-align: left !important;
}

/* Panels and Accordions */
body[dir="rtl"] .panel-title a {
    text-align: right;
    display: block;
}

/* Footer */
body[dir="rtl"] .to-top {
    left: 20px;
    right: auto;
}

/* Custom Styles for Better Arabic Display */
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
    font-weight: 600;
}

body[dir="rtl"] p,
body[dir="rtl"] li,
body[dir="rtl"] span {
    line-height: 1.8;
}

/* Language Switcher Styles */
.language-switcher {
    margin-left: 20px;
}

.language-switcher .lang-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
}

.language-switcher .lang-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Additional Hero Styles */
.hero-bullets {
    margin: 30px 0;
}

.hero-bullets .bullet-item {
    display: inline-block;
    margin: 10px 20px;
    font-size: 16px;
    font-weight: 500;
}

.hero-bullets .bullet-item i {
    margin-right: 10px;
    color: #4CAF50;
}

/* Feature Box Styles */
.feature-box {
    padding: 30px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    transform: translateY(-5px);
}

.feature-box .number-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Services List */
.services-list {
    padding: 30px 0;
}

.service-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    color: #4CAF50;
    margin-right: 15px;
    font-size: 20px;
}

/* Steps Container */
.steps-container {
    padding: 30px 0;
}

.step-item {
    display: flex;
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.step-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

/* Target Audience List */
.target-audience-list {
    list-style: none;
    padding: 0;
}

.target-audience-list li {
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    font-size: 16px;
    transition: all 0.3s;
}

.target-audience-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.target-audience-list i {
    color: #667eea;
    margin-right: 15px;
    font-size: 20px;
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    font-size: 18px;
}

/* Background Light */
.background-light {
    background: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body[dir="rtl"] .language-switcher {
        margin: 10px 0;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    body[dir="rtl"] .step-number {
        margin-left: 0;
    }
}
