
    /* Lightbox styles للصور */
    .lightbox-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.95);
        z-index: 999999;
        cursor: pointer;
        justify-content: center;
        align-items: center;
    }
    
    .lightbox-overlay.active {
        display: flex;
    }
    
    .lightbox-image {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
        animation: zoomIn 0.3s ease;
    }
    
    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 40px;
        color: white;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        z-index: 1000000;
    }
    
    .lightbox-close:hover {
        color: #0e7dc5;
    }
    
    .lightbox-prev,
    .lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 50px;
        font-weight: bold;
        cursor: pointer;
        padding: 20px;
        transition: 0.3s;
        background: rgba(0,0,0,0.5);
        user-select: none;
        z-index: 1000000;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
    
    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: rgba(0,0,0,0.8);
        color: #0e7dc5;
    }
    
    .lightbox-counter {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        background: rgba(0,0,0,0.6);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 14px;
        font-family: 'Poppins', sans-serif;
        z-index: 1000000;
    }
    
    @keyframes zoomIn {
        from {
            transform: scale(0.8);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    /* ========== ستايل البوب أب الإعلاني ========== */
    .ad-popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        z-index: 9999999;
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease;
    }
    
    .ad-popup-overlay.active {
        display: flex;
    }
    
    .ad-popup-container {
        position: relative;
        max-width: 80%;
        max-height: 80%;
        animation: slideIn 0.4s ease;
    }
    
    .ad-popup-content {
        position: relative;
        background: transparent;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .ad-popup-content img {
        width: 100%;
        height: auto;
        display: block;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .ad-popup-content img:hover {
        transform: scale(1.02);
    }
    
    .ad-popup-close {
        position: absolute;
        top: -15px;
        right: -15px;
        width: 35px;
        height: 35px;
        background: #0e7dc5;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .ad-popup-close:hover {
        background: #c0392b;
        transform: rotate(90deg);
    }
    
    /* خيار عدم الظهور مرة أخرى */
    .dont-show-again {
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 12px;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
        white-space: nowrap;
        transition: 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .dont-show-again:hover {
        background: #0e7dc5;
    }
    
    .dont-show-again input {
        margin: 0;
        cursor: pointer;
        width: 16px;
        height: 16px;
    }
    
    .dont-show-again label {
        cursor: pointer;
        margin: 0;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* ========== ستايل الـ Modal Iframe ========== */
    .modal-iframe-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999999;
        display: none;
        align-items: center;
        justify-content: center;
        animation: modalFadeIn 0.3s ease;
        direction: ltr;
    }
    
    .modal-iframe-overlay.active {
        display: flex;
    }
    
    .modal-iframe-container {
        position: relative;
        width: 60%;
        height: 90%;
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: modalSlideIn 0.4s ease;
    }
    
    .modal-iframe-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: #0a5c8e;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 10;
        direction: ltr;
    }
    
    .modal-iframe-title {
        color: white;
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        font-weight: 500;
    }
    
    .modal-iframe-title i {
        margin-right: 8px;
    }
    
    .modal-iframe-close {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }
    
    .modal-iframe-close:hover {
        background: #dc3545;
        transform: rotate(90deg);
    }
    
    .modal-iframe-content {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100% - 50px);
        border: none;
        background: white;
    }
    
    .modal-iframe-content iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    
    @keyframes modalFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes modalSlideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* منع التمرير في الخلفية عند فتح الـ Modal */
    body.modal-open {
        overflow: hidden;
    }
    
    /* responsive */
    @media (max-width: 768px) {
        .ad-popup-container {
            max-width: 95%;
        }
        .ad-popup-close {
            top: -10px;
            right: -10px;
            width: 30px;
            height: 30px;
            font-size: 18px;
        }
        .dont-show-again {
            bottom: -35px;
            font-size: 10px;
            padding: 5px 12px;
        }
        .modal-iframe-container {
            width: 95%;
            height: 95%;
        }
        .modal-iframe-header {
            height: 45px;
            padding: 0 15px;
        }
        .modal-iframe-title {
            font-size: 14px;
        }
        .modal-iframe-content {
            top: 45px;
            height: calc(100% - 45px);
        }
    }
    
    /* جعل الصور قابلة للنقر */
    .client-image img,
    .ct-image-single img,
    .item--icon img,
    .wp-image-4093,
    .slick-slide .client-image img,
    .attachment-full,
    .attachment-medium,
    .elementor-widget-image img {
        cursor: pointer !important;
        transition: transform 0.3s ease, opacity 0.3s ease;
        position: relative;
        z-index: 1;
    }
    
    .client-image img:hover,
    .ct-image-single img:hover,
    .item--icon img:hover,
    .slick-slide .client-image img:hover,
    .elementor-widget-image img:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }
    
    /* منع تعارض الـ Slick Slider */
    .slick-slide {
        z-index: 1;
    }
    
    .slick-slide img {
        pointer-events: auto !important;
    }
