/* ====== واحة التسيير - نسخة زرقاء (مثل DeepSeek) ====== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Noto Sans Arabic', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
    text-align: right;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== 1. الشريط العلوي - أزرق DeepSeek ====== */
.navbar {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* Important : empêche la compression */
}

.logo::before {
    content: "";
    width: 150px;
    height: 30px;
    background-image: url('bik58.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: block; /* Changé de inline-block à block */
    flex-shrink: 0; /* Garde sa taille fixe */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ====== 2. الأقسام ====== */
.section {
    display: none;
    padding: 120px 0 40px;
    min-height: 100vh;
}

.section.active {
    display: block;
}

.section h1 {
    margin-bottom: 30px;
    color: #1a73e8;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 3px solid #1a73e8;
    padding-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
}

/* ====== 3. القسم الرئيسي ====== */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(66, 133, 244, 0.15);
}

.feature i {
    font-size: 3.5rem;
    color: #1a73e8;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: #4285f4;
    font-size: 1.4rem;
}

.intro-text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    border-right: 5px solid #1a73e8;
}

.intro-text h2 {
    color: #4285f4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.services-list {
    list-style: none;
    margin-top: 20px;
}

.services-list li {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.services-list li i {
    color: #1a73e8;
}

/* ====== 4. قسم من نحن ====== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.team-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.2);
}

.team-text {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.values-list {
    list-style: none;
    margin-top: 20px;
}

.values-list li {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafe;
    border-radius: 8px;
    border-right: 4px solid #1a73e8;
    display: flex;
    align-items: center;
    gap: 15px;
}

.values-list li i {
    color: #1a73e8;
}

.achievements {
    margin-top: 50px;
}

.achievement-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.achievement-card {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #1a73e8;
}

.achievement-card i {
    color: #1a73e8;
    margin-bottom: 15px;
}

.achievement-card h4 {
    font-size: 1.8rem;
    color: #4285f4;
    margin: 10px 0;
}

/* ====== 5. قسم التحميلات ====== */
.software-categories {
    margin: 40px 0;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.category-btn {
    padding: 12px 25px;
    background: #f0f5ff;
    border: 2px solid #1a73e8;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #1a73e8;
}

.category-btn:hover, .category-btn.active {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.downloads {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.download-card {
    display: flex;
    flex-wrap: wrap;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-right: 5px solid #1a73e8;
    transition: all 0.3s ease;
    gap: 30px;
}

.download-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 12px 35px rgba(26, 115, 232, 0.12);
}

.download-icon {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
}

.download-info {
    flex: 1;
    min-width: 300px;
}

.download-info h3 {
    color: #4285f4;
    margin-bottom: 10px;
}

.version {
    color: #1a73e8;
    font-weight: 500;
    margin-bottom: 10px;
}

.description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.file-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    color: #777;
}

.file-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.3);
}

.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    flex: 1;
    min-width: 200px;
    background: #f0f7ff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.info-card i {
    font-size: 2.5rem;
    color: #1a73e8;
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 10px;
    color: #4285f4;
}

/* ====== 6. قسم اتصل بنا ====== */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    background: #f8fafe;
    padding: 30px;
    border-radius: 15px;
    border-right: 5px solid #1a73e8;
}

.contact-info h3 {
    color: #4285f4;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info p {
    margin-right: 35px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.emergency-contact {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-right: 4px solid #ffc107;
}

.emergency-contact h4 {
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #4285f4;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: auto;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #4285f4 0%, #0d47a1 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

/* ====== 7. الفوتر - أزرق DeepSeek ====== */
footer {
    background: linear-gradient(135deg, #4285f4 0%, #0d47a1 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
    text-align: right;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a73e8;
}

.footer-section h4 i {
    color: #1a73e8;
}

.footer-section p {
    line-height: 1.8;
    color: #bbdefb;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* روابط الفوتر */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.footer-links a {
    color: #bbdefb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 10px 0;
    font-size: 1rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-8px);
    padding-right: 10px;
}

.footer-links a i {
    font-size: 0.9rem;
    color: #1a73e8;
}

/* قائمة البرامج */
.programs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.programs-list li {
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #bbdefb;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.programs-list li:hover {
    color: white;
    transform: translateX(-5px);
}

.programs-list li i {
    color: #1a73e8;
    font-size: 0.9rem;
}

/* روابط التواصل الاجتماعي */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-btn i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.social-btn.facebook { background: #1573e8; }
.social-btn.twitter { background: #4285f4; }
.social-btn.linkedin { background: #0d47a1; }
.social-btn.youtube { background: #FFffff; color: #333; }

.social-btn:hover {
    transform: translateX(-8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook:hover { background:#1877F2; }
.social-btn.twitter:hover { background: #1DA1F2; }
.social-btn.linkedin:hover { background: #1D3A8a; }
.social-btn.youtube:hover { background: #FF0000; }

/* صندوق النشرة الإخبارية */
.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-box h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-box h5 i {
    color: #1a73e8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
}

.newsletter-btn {
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    width: 55px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.newsletter-btn:hover {
    background: #4285f4;
    transform: scale(1.05);
}

/* الجزء السفلي من الفوتر */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copyright i {
    color: #FFFFF ;
}

.developed-by {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 5px 0 0 0;
}

.team-name {
    color: #FFFFFF;
    font-weight: 600;
}

/* ====== 8. تصميم متجاوب ====== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #4285f4;
        padding: 20px;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .section {
        padding: 80px 0 40px;
    }
    
    .section h1 {
        font-size: 2rem;
    }
    
    .contact-container, .about-content {
        flex-direction: column;
    }
    
    .feature, .achievement-card, .info-card {
        min-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer-section {
        min-width: 100%;
        text-align: center;
    }
    
    .footer-section h4 {
        justify-content: center;
    }
    
    .footer-links a, .programs-list li {
        justify-content: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-btn {
        width: 250px;
        justify-content: center;
    }
    
    .newsletter-form {
        justify-content: center;
    }
    
    .copyright {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .newsletter-box {
        padding: 20px;
    }
    
    .social-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ====== 9. الأسئلة الشائعة ====== */
.faq-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8fafe;
    border-radius: 15px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4285f4;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* ====== 10. تأثيرات إضافية ====== */
.feature, .download-card, .achievement-card, .info-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-info .file-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.emergency-contact p {
    margin-right: 0;
    color: #856404;
}
.downloads-container {
    margin: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
}

.download-list {
    list-style: none;
    margin-top: 20px;
}

.download-list li {
    background: white;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #0ea5e9;
}

.download-list a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: bold;
    flex-grow: 1;
}

.download-list a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.file-info {
    color: #666;
    font-size: 0.9rem;
}

.download-list i {
    font-size: 20px;
    color: #0ea5e9;
}