* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0;
}

.language-toggle {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    background: transparent;
    color: white;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Content Sections */
.tab-content {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tab-content.active {
    display: block;
}

.content-section h2 {
    color: #667eea;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

section {
    margin-bottom: 2.5rem;
}

section h3 {
    color: #764ba2;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

section h4 {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0 0.5rem 0;
}

section p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

section li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

/* Arabic Content Styles */
.ar-content {
    direction: rtl;
    text-align: right;
}

.ar-content ul {
    margin-right: 2rem;
    margin-left: 0;
}

.ar-content h2,
.ar-content h3,
.ar-content h4 {
    text-align: right;
}

.ar-content .last-updated {
    text-align: center;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    color: white;
    margin-top: 2rem;
}

.footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 2rem 1.5rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    section h3 {
        font-size: 1.3rem;
    }
    
    section ul {
        margin-left: 1.5rem;
    }
    
    .ar-content ul {
        margin-right: 1.5rem;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .tab-content {
        padding: 1.5rem 1rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    section h3 {
        font-size: 1.2rem;
    }
    
    section ul {
        margin-left: 1rem;
    }
    
    .ar-content ul {
        margin-right: 1rem;
        margin-left: 0;
    }
}

/* Smooth transitions */
.tab-content,
.content-section {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}
