.home-video-container {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/8;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;

}

/* زر التشغيل */
.home-video-play-button {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    border-radius: 50%;
    background: #ffffff;
    color: #000;
    font-size: clamp(20px, 3vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.home-video-play-button:hover {
    transform: scale(1.1);
}

/* صندوق النص */
.home-video-text {
    margin-top: clamp(20px, 4vw, 50px);
    text-align: center;
    max-width: 700px;
}

/* العنوان */
.home-video-title {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.45);
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* الوصف */
.home-video-hint {
    font-size: clamp(14px, 1.6vw, 16px);
    color: #eee;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.35);
    padding: 8px 16px;
    border-radius: 10px;
    line-height: 1.6;
}

/* الفيديو في المودال */

#homeVideoModal .modal-dialog {
    max-width: 900px;
    margin: auto;
}

#homeVideoModal .modal-body {
    padding: 0;
}

/* فيديو الكمبيوتر */
#homeVideoModal iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}


/* تحسين الموبايل */
@media (max-width:768px){

    #homeVideoModal .modal-dialog{
        max-width:100vw;
        margin:0;
    }

    #homeVideoModal .modal-content{
        border-radius:0;
    }

    #homeVideoModal iframe{
        width:100%;
        height:25vh; /* ربع الشاشة */
    }

}

/* اخفاء العنوان والوصف في الموبايل */
@media (max-width:768px){

    .home-video-title,
    .home-video-hint{
        display:none;
    }

}
@media (max-width:768px){

    .home-video-container{
        justify-content:center;
    }

}
