.ivafh-hero-video {
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.ivafh-video-btn-outline {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.ivafh-video-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.ivafh-video-btn-outline i {
    margin-left: 3px; 
}

/* تحسين العرض على الجوال */
@media (max-width: 768px) {
    .ivafh-video-btn-outline {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.ivafh-video-btn:hover {
    transform: scale(1.1);
    
}

.ivafh-video-btn i {
    margin-left: 3px;
}

.ivafh-video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ivafh-video-modal.show {
    display: flex;
    opacity: 1;
}

.ivafh-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: transparent;
    animation: zoomIn 0.4s;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ivafh-video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.ivafh-video-modal-close:hover {
    color: #e67e22;
}

.ivafh-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.ivafh-video-container iframe,
.ivafh-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .ivafh-video-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .ivafh-hero-video span {
        font-size: 14px;
    }
}