:root {
    --primary-color: #c8102e;
    --secondary-color: #004d4d;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), #f44336);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

header img {
    height: 40px;
    width: auto;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.2);
}

header a.whatsapp-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: 5px;
}

header a.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Article Page Specific Styles */
.article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 20px;
}

.article-header h1 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 14px;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
}

.article-content h2 {
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    font-size: 24px;
}

.article-content h3 {
    color: var(--secondary-color);
    margin: 25px 0 12px 0;
    font-size: 20px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-right: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.back-to-articles {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-to-articles:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 15px;
    font-size: 14px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: right;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 20px;
    opacity: 0.8;
    border-top: 1px solid #555;
    padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .article-container {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}