
    
        :root {
            --primary: #006C35;
            --primary-dark: #004d26;
            --primary-light: #00854a;
            --gold: #CAB465;
            --gold-light: #d4c382;
            --cream: #FEFCE8;
            --cream-dark: #FEF9C3;
            --text-dark: #1F2937;
            --text-gray: #6B7280;
            --success: #10B981;
            --gradient-1: linear-gradient(135deg, #006C35 0%, #00854a 100%);
            --gradient-2: linear-gradient(135deg, #CAB465 0%, #d4c382 100%);
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Cairo', 'Tajawal', sans-serif;
            background: linear-gradient(to bottom, #f8fffe 0%, #ffffff 100%);
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* ============================================
           HERO SECTION - محسّن بشكل كبير
        ============================================ */
      .hero {
    position: relative;
    min-height: 90vh; /* يخلي السكشن ياخد ارتفاع الشاشة */
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: 
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.55)),
        url('../../assets/images/back.jpeg');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* تأثير Parallax خفيف */

    color: #fff;
    padding: 120px 20px;
    overflow: hidden;
}

        /* خلفية متحركة */
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 20s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(202,180,101,0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 25s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(120deg); }
            66% { transform: translate(-20px, 20px) rotate(240deg); }
        }

        .hero-pattern {
            position: absolute;
            inset: 0;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 1px, transparent 1px),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 50px 50px;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .hero-badge {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            padding: 10px 24px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px;
            border: 2px solid rgba(255,255,255,0.3);
            animation: pulse 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .hero-title {
            font-family: 'Amiri', serif;
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
            line-height: 1.2;
            animation: fadeInUp 1s ease;
        }

        .hero-title .highlight {
            color: var(--gold);
            position: relative;
            display: inline-block;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto 40px;
            line-height: 1.8;
            font-weight: 400;
        }

        .hero-cta {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-hero {
            padding: 16px 36px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-primary {
            background: white;
            color: var(--primary);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-secondary:hover {
            background: white;
            color: var(--primary);
        }

        /* ============================================
           ANIMATED STATS COUNTER
        ============================================ */
        .stats-wrapper {
            max-width: 1200px;
            margin: -80px auto 80px;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }

        .stats-container {
            background: white;
            border-radius: 24px;
            padding: 40px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(0,108,53,0.1);
        }

        .stat-item {
            text-align: center;
            position: relative;
            padding: 20px;
            border-radius: 16px;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            transform: translateY(-5px);
        }

        .stat-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 15px;
            background: var(--gradient-1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            box-shadow: 0 8px 16px rgba(0,108,53,0.2);
        }

        .stat-num {
            font-size: 3rem;
            font-weight: 900;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: 'Cairo', sans-serif;
            margin-bottom: 8px;
        }

        .stat-label {
            color: var(--text-gray);
            font-weight: 600;
            font-size: 1rem;
        }

        /* ============================================
           FILTER & SORT SECTION
        ============================================ */
        .controls-section {
            max-width: 1200px;
            margin: 0 auto 50px;
            padding: 0 20px;
        }

        .filter-bar {
            background: white;
            border-radius: 20px;
            padding: 25px 30px;
            box-shadow: var(--shadow-sm);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .filter-tabs {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-tab {
            padding: 10px 20px;
            border-radius: 50px;
            border: 2px solid #E5E7EB;
            background: white;
            color: var(--text-gray);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .filter-tab:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .filter-tab.active {
            background: var(--gradient-1);
            color: white;
            border-color: var(--primary);
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #F9FAFB;
            padding: 12px 20px;
            border-radius: 50px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            min-width: 300px;
        }

        .search-box:focus-within {
            border-color: var(--primary);
            background: white;
        }

        .search-box input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 0.95rem;
            width: 100%;
            color: var(--text-dark);
        }

        .search-box i {
            color: var(--text-gray);
        }

        /* ============================================
           CASES GRID - محسّن بشكل كبير
        ============================================ */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 80px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title {
            font-family: 'Amiri', serif;
            font-size: 2.5rem;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        .section-subtitle {
            color: var(--text-gray);
            font-size: 1.1rem;
        }

        .cases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 35px;
        }

        .case-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            border: 1px solid #f0f0f0;
            position: relative;
        }

        .case-card:hover {
            transform: translateY(-12px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }

        .case-img-wrapper {
            position: relative;
            height: 260px;
            overflow: hidden;
        }

        .case-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .case-card:hover .case-img {
            transform: scale(1.1);
        }

        /* تدرج overlay أفضل */
        .img-gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
        }

        .completed-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: white;
            color: var(--success);
            padding: 8px 16px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            gap: 6px;
            z-index: 2;
            animation: bounce 2s ease infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        .success-icon {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: var(--gold);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 8px 20px rgba(202,180,101,0.4);
            z-index: 2;
        }

        .case-content {
            padding: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .case-category {
            display: inline-block;
            background: var(--cream);
            color: var(--gold);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .case-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-dark);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .case-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: var(--text-gray);
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .meta-item i {
            color: var(--primary);
        }

        /* صندوق المبلغ محسّن */
        .amount-box {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 2px solid #BBF7D0;
            padding: 20px;
            border-radius: 16px;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .amount-box::before {
            content: '✓';
            position: absolute;
            top: -10px;
            right: -10px;
            font-size: 80px;
            color: rgba(16,185,129,0.08);
            font-weight: bold;
        }

        .amount-label {
            font-size: 0.9rem;
            color: #059669;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .amount-val {
            font-size: 2rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: 'Cairo', sans-serif;
        }

        .progress-info {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #059669;
            margin-top: 8px;
            font-weight: 600;
        }

        /* قسم المتبرعين محسّن */
        .donors-section {
            margin-top: auto;
            border-top: 2px dashed #E5E7EB;
            padding-top: 20px;
        }

        .donors-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .donors-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .donors-count {
            background: var(--gradient-2);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .donor-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px;
            background: #F9FAFB;
            border-radius: 12px;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .donor-row:hover {
            background: #F3F4F6;
            transform: translateX(-5px);
        }

        .donor-avatar {
            width: 40px;
            height: 40px;
            background: var(--gradient-2);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            font-weight: 700;
            box-shadow: 0 4px 8px rgba(202,180,101,0.3);
        }

        .donor-info {
            flex: 1;
            overflow: hidden;
        }

        .donor-name {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .donor-time {
            font-size: 0.8rem;
            color: var(--text-gray);
        }

        .donor-amount {
            font-weight: 700;
            color: var(--success);
            font-size: 1rem;
            white-space: nowrap;
        }

        /* ============================================
           FEATURED SUCCESS STORY SLIDER
        ============================================ */
        .featured-section {
            background: #fff;
            padding: 80px 20px;
            margin: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .featured-section::before {
            content: '★';
            position: absolute;
            top: 20px;
            right: 5%;
            font-size: 150px;
            color: rgba(202,180,101,0.1);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .featured-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .featured-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .featured-title {
            font-family: 'Amiri', serif;
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .slider-container {
            position: relative;
        }

        .slider-track {
            display: flex;
            gap: 30px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 20px 0;
            scroll-snap-type: x mandatory;
        }

        .slider-track::-webkit-scrollbar {
            height: 8px;
        }

        .slider-track::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.1);
            border-radius: 10px;
        }

        .slider-track::-webkit-scrollbar-thumb {
            background: var(--gold);
            border-radius: 10px;
        }

        .featured-card {
            min-width: 350px;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            scroll-snap-align: start;
            transition: transform 0.3s ease;
        }

        .featured-card:hover {
            transform: scale(1.05);
        }

        /* ============================================
           TESTIMONIALS / IMPACT STORIES
        ============================================ */
        .impact-section {
            max-width: 1200px;
            margin: 80px auto;
            padding: 0 20px;
        }

        .impact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .impact-card {
            background: white;
            padding: 35px;
            border-radius: 20px;
            box-shadow: var(--shadow-sm);
            border-left: 5px solid var(--gold);
            transition: all 0.3s ease;
        }

        .impact-card:hover {
            transform: translateX(-10px);
            box-shadow: var(--shadow-md);
        }

        .quote-icon {
            font-size: 2.5rem;
            color: var(--gold);
            opacity: 0.3;
            margin-bottom: 15px;
        }

        .impact-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-gray);
            margin-bottom: 20px;
            font-style: italic;
        }

        .impact-author {
            font-weight: 700;
            color: var(--primary);
        }

        /* ============================================
           CTA SECTION
        ============================================ */
        .cta-section {
            background: var(--gradient-1);
            color: white;
            padding: 80px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .cta-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .cta-title {
            font-family: 'Amiri', serif;
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .cta-text {
            font-size: 1.2rem;
            margin-bottom: 40px;
            opacity: 0.95;
        }

        /* ============================================
           EMPTY STATE
        ============================================ */
        .empty-state {
            text-align: center;
            padding: 100px 20px;
            max-width: 600px;
            margin: 0 auto;
        }

        .empty-icon {
            font-size: 80px;
            color: var(--gold);
            margin-bottom: 30px;
            animation: float 3s ease-in-out infinite;
        }

        .empty-title {
            font-family: 'Amiri', serif;
            font-size: 2rem;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        .empty-text {
            color: var(--text-gray);
            font-size: 1.1rem;
            line-height: 1.8;
        }

        /* ============================================
           RESPONSIVE DESIGN
        ============================================ */
        @media (max-width: 1024px) {
            .stats-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            .cases-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .stats-container {
                grid-template-columns: 1fr;
                padding: 30px 20px;
            }
            
            .stat-num {
                font-size: 2.5rem;
            }
            
            .filter-bar {
                flex-direction: column;
            }
            
            .search-box {
                min-width: 100%;
            }
            
            .cases-grid {
                grid-template-columns: 1fr;
            }
            
            .featured-title,
            .cta-title {
                font-size: 2rem;
            }
            
            .btn-hero {
                width: 100%;
                justify-content: center;
            }
        }

        /* ============================================
           ANIMATIONS
        ============================================ */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.6s ease;
        }

        /* Loading Animation */
        .loading {
            text-align: center;
            padding: 50px;
            color: var(--text-gray);
        }

        .spinner {
            width: 50px;
            height: 50px;
            margin: 0 auto 20px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    