/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
} */

.container1 {
    width: 100%;
    max-width: 1350px;
    text-align: center;
}

/* h1 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
} */

.slider-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: white;
}

.video-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* نسبت 2:3 برای ابعاد مناسب */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 113%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
}

.video-container {
    position: relative;
    width: 100%;
    height: 70%;
    background-color: #000;
}

.video-player {
    width: 60%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #333;
    margin-left: 3px;
}

.slide-info {
    
    background: white;
    color: #2d3748;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid #e2e8f0;
}

.slide-info h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.slide-info p {
    font-size: 14px;
    color: #718096;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #4a5568;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.prev-btn {
    right: 10px;
}

.next-btn {
    left: 10px;
}

.slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

.instructions {
    color: #4a5568;
    margin: 25px 0;
    font-size: 15px;
    background-color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}.feature h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    color: #718096;
    font-size: 14px;
}

.hidden {
    display: none;
}

/* طراحی واکنش‌گرا */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .slider-container {
        max-width: 350px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        max-width: 300px;
    }
    
    .play-button {
        width: 45px;
        height: 45px;
    }
    
    .play-button::after {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #333;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}