@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .hero h2, .page-hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        box-shadow: var(--shadow);
    }
    
    nav ul.show {
        display: flex;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h2, .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero h2, .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p, .page-hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .service-card, .country-card, .testimonial-card {
        margin: 0 10px;
    }
    
    .services-grid, .countries-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .logo i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .footer-col h3:after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .section-title h2:after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .service-item {
    border-left: none;
    border-right: 4px solid var(--secondary);
}

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

[dir="rtl"] .author-avatar {
    margin-right: 0;
    margin-left: 15px;
}