 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --primary: #eab308;
            --primary-dark: #ca8a04;
            --bg-light: #f4f4f5;
            --text-main: #111827;
            --muted: #6b7280;
            --footer-bg: #000000;
            --footer-muted: #9ca3af;
            --radius-lg: 999px;
            --radius-md: 14px;
            --border-soft: 1px solid #e5e7eb;
        }

        body {
            font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: #ffffff;
            color: var(--text-main);
            direction: rtl;
            text-align: right;
            line-height: 1.7;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            width: 100%;
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 16px;
        }

        /* ================= HEADER ================= */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            gap: 16px;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        /* أبعاد اللوجو */
        .logo img {
            height: 46px;
            width: auto;
            object-fit: contain;
        }

        .logo-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-main);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 9px 18px;
            border-radius: var(--radius-lg);
            font-size: 0.9rem;
            font-weight: 600;
            white-space: nowrap;
            border: 1px solid transparent;
            transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
            cursor: pointer;
        }

        .btn i {
            font-size: 0.95rem;
        }

        .btn-outline {
            background: #ffffff;
            color: var(--text-main);
            border-color: #e5e7eb;
        }

        .btn-outline:hover {
            border-color: var(--primary);
        }

        .btn-primary {
            background: var(--primary);
            color: #111827;
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
        }

        @media (max-width: 640px) {
            .header-inner {
                justify-content: space-between;
            }

            .header-actions {
                flex-wrap: nowrap;
                gap: 6px;
            }

            .btn {
                padding: 8px 14px;
                font-size: 0.82rem;
            }

            .logo img {
                height: 40px;
            }

            .logo-title {
                display: none;
            }
        }

        /* ================= SLIDER ================= */
        .hero-slider {
            position: relative;
            overflow: hidden;
            background: #020617;
        }

        .slider-wrapper {
            position: relative;
            height: 50vh;
            max-height: 460px;
            min-height: 240px;
        }

        .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.6s ease;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .slide::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        .slide-content {
            position: relative;
            z-index: 3;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 16px;
        }

        .slide-title {
            max-width: 680px;
            text-align: center;
            color: #ffffff;
            font-size: clamp(1.3rem, 2.2vw, 1.9rem);
            font-weight: 700;
            line-height: 1.6;
            padding: 10px 18px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.5);
        }

        .slider-dots {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 4;
        }

        .slider-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            padding: 0;
            cursor: pointer;
            transition: background 0.2s ease, width 0.2s ease;
        }

        .slider-dot.active {
            width: 20px;
            background: var(--primary);
        }

        @media (max-width: 640px) {
            .slider-wrapper {
                height: 46vh;
            }
            .slide-title {
                font-size: 1.05rem;
                padding: 8px 14px;
                border-radius: 16px;
            }
        }

        /* ================= HERO STATS SECTION ================= */
        .about-stats {
            padding: 32px 0 50px;
            background: #ffffff;
        }

        .about-header {
            margin-bottom: 22px;
            max-width: 760px;
        }

        .about-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.78rem;
            background: #fef3c7;
            color: #854d0e;
        }

        .about-badge i {
            font-size: 0.9rem;
        }

        .about-title {
            font-size: 1.35rem;
            font-weight: 800;
            margin: 8px 0 4px;
        }

        .about-subtitle {
            font-size: 0.95rem;
            color: var(--muted);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
            margin-top: 18px;
        }

        .stat-card {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 14px 14px;
            border: var(--border-soft);
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .stat-icon {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fef3c7;
            color: #854d0e;
            margin-bottom: 4px;
            font-size: 0.9rem;
        }

        .stat-number {
            font-size: 1.05rem;
            font-weight: 800;
        }

        .stat-label {
            font-size: 0.84rem;
            color: var(--muted);
        }

        .hero-spacer {
            margin-top: 26px;
            height: 70px;
            border-radius: 14px;
            border: 1px dashed #d4d4d8;
            background: #fafafa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.88rem;
            color: var(--muted);
        }

        @media (max-width: 900px) {
            .stats-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 600px) {
            .about-stats {
                padding: 26px 0 40px;
            }

            .about-title {
                font-size: 1.2rem;
            }

            .stats-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }

            .stat-card {
                padding: 12px 10px;
            }

            .stat-number {
                font-size: 1rem;
            }
        }

        /* ================= FOOTER ================= */
        .site-footer {
            background: var(--footer-bg);
            color: #ffffff;
            padding: 32px 0 14px;
            margin-top: 10px;
        }

        .footer-top {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .footer-logo img {
            height: 40px;
            width: auto;
            object-fit: contain;
        }

        .footer-text {
            font-size: 0.9rem;
            color: var(--footer-muted);
            max-width: 780px;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 20px;
            font-size: 0.88rem;
        }

        .footer-links a {
            color: var(--footer-muted);
        }

        .footer-links a:hover {
            color: #f9fafb;
        }

        .footer-social {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-social a {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #111827;
            color: #e5e7eb;
            font-size: 0.9rem;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .footer-social a:hover {
            background: #f9fafb;
            color: #111827;
        }

        .footer-bottom {
            margin-top: 18px;
            border-top: 1px solid #111827;
            padding-top: 8px;
            font-size: 0.82rem;
            color: var(--footer-muted);
            text-align: center;
        }

        @media (max-width: 640px) {
            .site-footer {
                padding: 26px 0 10px;
            }
            .footer-links {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        /* ================= DONATION CAMPAIGNS SLIDER ================= */
.donation-campaigns {
    padding: 36px 0 56px;
    background: #f9fafb;
}

.donation-campaigns .container {
    max-width: 980px;
}

.campaigns-header {
    text-align: center;
    margin-bottom: 20px;
}

.campaigns-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    background: #fef3c7;
    color: #854d0e;
}

.campaigns-badge i {
    font-size: 0.9rem;
}

.campaigns-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 8px;
}

.campaigns-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 4px;
}

/* سلايدر الحملات */
.campaigns-slider {
    margin-top: 22px;
    position: relative;
    overflow: hidden;
}

.campaigns-track {
    display: flex;
    transition: transform 0.4s ease;
}

.campaign-slide {
    flex: 0 0 100%;
    padding: 0 4px;
}

/* كرت الحملة */
.campaign-card {
    border-radius: 16px;
    border: var(--border-soft);
    background: #ffffff;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0;
}

.campaign-image {
    position: relative;
    min-height: 220px;
    background: #e5e7eb;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-body {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campaign-title {
    font-size: 1rem;
    font-weight: 700;
}

.campaign-desc {
    font-size: 0.86rem;
    color: var(--muted);
}

.campaign-meta-row {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    font-size: 0.82rem;
}

.campaign-meta-block {
    flex: 1;
}

.campaign-meta-label {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.campaign-meta-label i {
    font-size: 0.88rem;
}

.campaign-meta-value {
    font-weight: 700;
}

.campaign-progress {
    margin-top: 10px;
}

.campaign-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.campaign-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.campaign-progress-text {
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--muted);
}

.campaign-actions {
    margin-top: 12px;
}

.campaign-actions .btn {
    width: 100%;
    justify-content: center;
}

/* أزرار السلايدر */
.campaigns-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.campaigns-arrow {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #d4d4d8;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4b5563;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.campaigns-arrow:hover {
    background: #111827;
    color: #f9fafb;
    border-color: #111827;
}

.campaigns-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.campaigns-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d4d4d8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.campaigns-dot.active {
    width: 18px;
    background: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .campaign-card {
        grid-template-columns: 1fr;
    }
    .campaign-image {
        min-height: 190px;
    }
}

@media (max-width: 640px) {
    .donation-campaigns {
        padding: 28px 0 40px;
    }
    .campaign-card {
        border-radius: 14px;
    }
    .campaign-body {
        padding: 14px 12px 12px;
    }
    .campaigns-title {
        font-size: 1.1rem;
    }
}
.campaign-slide {
    display: none;
}

.campaign-slide.active {
    display: block;
}

/* ================= PREVIOUS PROJECTS SECTION ================= */
.previous-projects {
    background: #f9fafb;
    padding: 40px 0 50px;
}

.previous-projects .container {
    max-width: 980px;
}

/* الآية */
.previous-ayah {
    text-align: center;
    margin-bottom: 20px;
}

.previous-ayah-text {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    background: #fef3c7;
    color: #854d0e;
}

.previous-ayah-text span {
    font-weight: 700;
}

/* العنوان */
.previous-header {
    text-align: center;
    margin-bottom: 22px;
}

.previous-title {
    font-size: 1.2rem;
    font-weight: 800;
}

.previous-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 4px;
}

/* البوكس المتحوّل للمشاريع */
.previous-projects-wrapper {
    margin-top: 20px;
    border-radius: 16px;
    border: var(--border-soft);
    background: #ffffff;
    padding: 18px 18px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
}

/* جزء النص */
.project-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-label {
    font-size: 0.8rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-label i {
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.project-name {
    font-size: 1.05rem;
    font-weight: 800;
}

.project-line {
    font-size: 0.88rem;
    color: var(--muted);
}

/* أرقام / إحصائيات */
.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    font-size: 0.83rem;
}

.project-stat-box {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
}

/* سطر مؤشر المشروع */
.project-index {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--muted);
}

/* تأثير الظهور/الاختفاء */
.project-item {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* جزء الصورة */
.previous-projects-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.previous-projects-visual img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

/* الصورة أسفل السيكشن بكامل العرض */
.previous-full-image {
    margin-top: 22px;
}

.previous-full-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .previous-projects-wrapper {
        grid-template-columns: 1fr;
        padding: 16px 14px 14px;
    }

    .previous-projects-visual {
        order: -1; /* الصورة فوق في الموبايل */
    }
}

@media (max-width: 640px) {
    .previous-projects {
        padding: 30px 0 40px;
    }
    .previous-title {
        font-size: 1.05rem;
    }
}

/* ================= RELIEF CAMPAIGN SECTION ================= */
.relief-banner {
    padding: 32px 0 45px;
}

.relief-image-box {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: var(--border-soft);
}

.relief-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* الكارد */
.relief-card {
    max-width: 600px;
    margin: 16px auto 0;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 16px;
    border: var(--border-soft);
    text-align: right;
}

.relief-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.relief-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 14px;
}

.relief-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* موبايل */
@media (max-width: 640px) {
    .relief-card {
        padding: 14px;
        border-radius: 14px;
    }
    .relief-title {
        font-size: 1.05rem;
    }
    .relief-desc {
        font-size: 0.85rem;
    }
    .relief-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ================= VIDEOS LIST SECTION ================= */
.videos-section {
    padding: 36px 0 48px;
    background: #ffffff;
}

.videos-header {
    margin-bottom: 20px;
}

.videos-title {
    font-size: 1.2rem;
    font-weight: 800;
}

.videos-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 4px;
}

/* قائمة الفيديوهات */
.videos-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* كارت الفيديو */
.video-item {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 14px;
    border-radius: 16px;
    border: var(--border-soft);
    padding: 10px;
    background: #f9fafb;
}

/* صورة الفيديو (thumbnail) */
.video-thumb {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* أيقونة التشغيل */
.video-play-icon {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-icon i {
    color: #ffffff;
    font-size: 0.9rem;
}

/* النص */
.video-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
}

.video-desc {
    font-size: 0.86rem;
    color: var(--muted);
}

.video-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 4px;
}

.video-meta i {
    margin-inline-start: 4px;
}

/* زرار الفيديو */
.video-btn {
    margin-top: 8px;
    font-size: 0.86rem;
    padding-inline: 14px;
    padding-block: 7px;
}

/* Responsive */
@media (max-width: 900px) {
    .video-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .videos-section {
        padding: 28px 0 40px;
    }
    .video-item {
        padding: 10px 8px;
        border-radius: 14px;
    }
    .video-title {
        font-size: 0.95rem;
    }
    .video-desc {
        font-size: 0.82rem;
    }
    .video-btn {
        width: 100%;
        justify-content: center;
    }
}
