        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        /* Project Section Styles */
        .projects-section {
            padding: 50px 20px;
            background-color: #f9f9f9;
        }

        .section-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-header h2 {
            font-size: 2.5em;
            color: #333;
            margin-bottom: 10px;
        }

        .filters {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .filter-btn {
            padding: 10px 25px;
            border: 2px solid #ccc;
            background: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn.active {
            background-color: #6902df;
            color: white;
            border-color: #6902df;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .project-item {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* يضبط الصور في شبكة ذات أعمدة متعددة */
            gap: 15px; /* يضيف مسافة بين كل صورة */
          }
          
          .project-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* يضبط الصور في شبكة ذات أعمدة متعددة */
            gap: 15px; /* يضيف مسافة بين كل صورة */
          }
          
          .project-image {
            width: 100%;
            height: auto;
          }

        .project-overlay {
            position: absolute;
            bottom: -100%;
            left: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            transition: bottom 0.3s ease;
        }

        .project-item:hover .project-overlay {
            bottom: 0;
        }

        .project-title {
            font-size: 1.2em;
            margin-bottom: 10px;
        }

        /* Modal Styles */
        .project-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
        }

        .modal-content {
            position: relative;
            background-color: white;
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            border-radius: 8px;
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }