/* Video Section */
.video-section {
    background: linear-gradient(to right, #f8f5ff, #f0e9ff);
    padding: 80px 0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(138, 43, 226, 0.1), rgba(106, 17, 203, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.video-container:hover .play-button {
    background-color: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    margin-left: 5px;
}

.video-overlay p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.video-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.video-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.video-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Video Modal */
.video-modal-content {
    max-width: 900px;
    width: 90%;
    padding: 20px;
    animation: fadeDown 0.5s ease;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-video-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-video-modal:hover {
    background-color: var(--primary-color);
}

/* Responsive Video */
@media (max-width: 768px) {
    .video-thumbnail {
        height: 300px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-overlay p {
        font-size: 1rem;
    }
    
    .video-info h3 {
        font-size: 1.5rem;
    }
}

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