        /* ... الأنماط السابقة ... */

        /* تحسين محاذاة حقول التسجيل */
        .login-section {
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .login-input-group {
            display: flex;
            gap: 10px;
            width: 100%;
            max-width: 500px;
            justify-content: center;
        }
        .not-found {
            text-align: center;
    font-size: 21px;
    padding: 20px;
        }
        /* نوافذ البوب اب */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: none;
            z-index: 1000;
        }
        .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    text-align: right;
    direction: rtl;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.contact-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.call-btn {
    background: #007bff;
    color: white;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f8f9fa;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #eee;
    color: #333;
}
        .popup-content {
            background: white;
            width: 90%;
            max-width: 600px;
            /* padding: 2rem; */
            border-radius: 15px;
            position: relative;
            margin: 2rem auto;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            left: 15px;
            cursor: pointer;
            font-size: 1.5rem;
        }

        .whatsapp-btn {
            background: #25D366;
            color: white;
            cursor: pointer;
            padding: 10px 20px;
            /* border-radius: 25px; */
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            margin-top: 1rem;
        }

        /* التذييل */
        footer {
            background: #2d4059;
            color: white;
            padding: 3rem 2rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h4 {
            color: #0066cc;
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 0.8rem;
        }

        .copyright {
            text-align: center;
            padding: 1rem;
            background: #1a2a40;
            margin-top: 2rem;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        /* الهيدر */
        .header {
            background: #0066cc;
            padding: 1.5rem 2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .logo {
            color: white;
            font-size: 2.5rem;
            text-align: center;
            font-weight: bold;
        }

        /* تسجيل الدخول */
        .login-section {
            background: #f8f9fa;
            padding: 1.5rem;
            display: flex;
            justify-content: center;
            gap: 15px;
            border-bottom: 2px solid #eee;
        }

        .login-input {
            padding: 10px 20px;
            border: 1px solid #ddd;
            border-radius: 30px;
            width: 220px;
        }

        .login-btn {
            background: #0066cc;
            color: white;
            padding: 10px 30px;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: 0.3s;
        }

        /* مربع البحث */
        .search-box {
            background: #e3f2fd;
            padding: 2rem;
            text-align: center;
        }

        .search-input {
            width: 80%;
            max-width: 600px;
            padding: 15px 25px;
            border: 2px solid #0066cc;
            border-radius: 35px;
            font-size: 1.1rem;
        }

        /* معرض الصور مع النصوص */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 30px;
            background: linear-gradient(45deg, #f8f9fa, #e9ecef);
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            transition: transform 0.3s;
        }

        .gallery-item:hover {
            transform: scale(1.03);
        }

        .gallery-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 15px;
        }

        .image-caption {
            position: absolute;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            width: 100%;
            padding: 15px;
            border-radius: 0 0 15px 15px;
        }

        .views-count {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(255, 255, 255, 0.9);
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.9rem;
        }

        /* الإعلانات النصية */
        .text-ads {
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .ad-card {
            background: white;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-left: 4px solid #0066cc;
            transition: 0.3s;
        }

        .ad-card:hover {
            transform: translateY(-5px);
        }

        .ad-title {
            color: #0066cc;
            margin-bottom: 0.8rem;
        }

        /* زر الإضافة */
        .add-btn {
            position: fixed;
            bottom: 30px;
            left: 30px;
            background: #0066cc;
            color: white;
            padding: 15px 25px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .login-section {
                flex-direction: column;
                align-items: center;
            }

            .search-input {
                width: 95%;
            }
        }
