@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-color: #fafafa;
    color: #2c2c2c;
    line-height: 1.7;
}

/* ===== Navbar ===== */
.navbar {
    border-bottom: 1px solid #e8e8e8;
    background-color: #fff !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a1a1a !important;
    letter-spacing: -0.3px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555 !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1a1a1a !important;
}

/* ===== Menu Item Hover ===== */
.menu-item-hover {
    transition: background-color 0.3s ease;
}

.menu-item-hover:hover {
    background-color: #f5f5f5;
}

/* ===== Hero / Cover Section ===== */
.cover-section {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 80px 0 60px;
}

.cover-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.cover-badge {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.cover-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cover-subtitle {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.cover-divider {
    width: 50px;
    height: 2px;
    background-color: #ddd;
    margin: 0 auto 40px;
}

/* ===== Stats Section ===== */
.stats-section {
    background-color: #fafafa;
    padding: 60px 0;
    border-bottom: 1px solid #e8e8e8;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.stat-icon {
    font-size: 1.5rem;
    color: #999;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

/* ===== Editorial Section ===== */
.editorial-section {
    background-color: #fff;
    padding: 60px 0;
    border-bottom: 1px solid #e8e8e8;
}

.editorial-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.editorial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.editorial-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.editorial-link {
    font-size: 0.85rem;
    color: #999;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 2px;
}

.editorial-link:hover {
    color: #555;
}

.editorial-card {
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 32px;
}

.editorial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.editorial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #999;
}

.editorial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

.editorial-role {
    font-size: 0.75rem;
    color: #999;
}

.editorial-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
}

/* ===== General Sections ===== */
.section-placeholder {
    padding: 80px 24px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.section-placeholder h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 8px;
}

.section-placeholder p {
    font-size: 0.9rem;
    color: #ddd;
}

/* ===== Offcanvas ===== */
.offcanvas {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.offcanvas-body a {
    display: block;
    padding: 10px 0;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}

.offcanvas-body a:hover {
    color: #1a1a1a;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .cover-title {
        font-size: 1.8rem;
    }

    .cover-subtitle {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cover-section {
        padding: 50px 0 40px;
    }

    .stats-section,
    .editorial-section {
        padding: 40px 0;
    }

    .editorial-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cover-title {
        font-size: 1.5rem;
    }

    .editorial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}