.video-section {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    background-color: #fff;
}

.video-container {
    width: 100%;
    max-width: 1320px; 
    padding: 0 15px;   
}

.video-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

.video-item {
    position: relative;
    width: 100%;
    height: 356px; 
    overflow: hidden;
    background-color: #000;
    cursor: pointer; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 14, 0.274); 
    transition: background 0.3s ease;
}

.play-icon {
    position: relative;
    z-index: 3;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9); 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.play-icon i {
    color: #333;
    font-size: 24px;
    margin-left: 5px; 
}

.video-item:hover .play-icon {
    transform: scale(1.1);
    background: #fff;
}

.video-item:hover .video-overlay::before {
    background: rgba(0, 0, 0, 0.438); 
}

.video-item.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.tittles-video {
    display: flex;
    flex-direction: column;
}

.tittles-video h2 {
    font-size: 3rem;
}

.tittles-video p {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}



@media (max-width: 1024px) {
    .video-wrapper {
        grid-template-columns: 700px; 
        justify-content: center;
    }
    
    .video-item {
        height: 350px; 
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 480px) {
    .video-item {
        height: 250px; 
    }
}