/* ===== التصميم المتجاوب ===== */

/* الشاشات الكبيرة (أجهزة الكمبيوتر) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* الشاشات المتوسطة (التابلت) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* تم تعديل هذه القاعدة لإظهار زر الاستثمار في الشاشات المتوسطة */
    .header-actions {
        display: flex;
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-actions .btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .partnerships-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .partnerships-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* الشاشات الصغيرة (الموبايل الأفقي) */
@media (max-width: 768px) {
    /* إخفاء زر الاستثمار في الشاشات الصغيرة */
    .header-actions {
        display: none !important;
        visibility: hidden;
        opacity: 0;
    }
    
    .header-actions .btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .container {
        max-width: 540px;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 50px 0;
    }
    
    html[lang="en"] .nav-links {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    html[lang="en"] .nav-links.active {
        right: auto;
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* الشاشات الصغيرة جدًا (الموبايل العمودي) */
@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .values-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* تعديلات للشاشات الصغيرة جدًا */
@media (max-width: 400px) {
    .logo {
        width: 120px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-title {
        font-size: 1rem;
    }
}