/* Video Slider Styles */
.video-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-overlay-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    text-align: center;
}

.slider-content .container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
    width: 90%;
}

.slider-content .heading {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-weight: 700;
}

.slider-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    color: #fff;
    line-height: 1.5;
}

.slider-content .tf-btn {
    font-size: 0.95rem;
    padding: 12px 24px;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
}

.slider-content .tf-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-slider-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .slider-content .container {
        padding: 25px 20px;
        margin: 0 15px;
        max-width: 500px;
        width: 85%;
    }
    
    .slider-content .heading {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .slider-content .tf-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .video-slider-container {
        height: 60vh;
        min-height: 400px;
    }
    
    .slider-content .container {
        padding: 20px 15px;
        margin: 0 10px;
        border-radius: 12px;
        max-width: 400px;
        width: 80%;
    }
    
    .slider-content .heading {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .slider-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .slider-content .tf-btn {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
}

/* تحسين الأداء للفيديو */
.slider-video {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
} 