/* Video Section Styles */
.video-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.video-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.video-section .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-section .section-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--white);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.personal-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.personal-video:hover {
    transform: scale(1.02);
}







.video-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.video-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-black);
}

.video-features .feature-item i {
    font-size: 1.5rem;
    color: var(--primary-black);
    background: var(--light-gray);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-features .feature-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.video-features .feature-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

.video-cta {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.video-cta:hover {
    border-color: var(--primary-black);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.video-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.video-cta p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.video-cta .btn {
    background: var(--primary-black);
    color: var(--white);
    border: 2px solid var(--primary-black);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.video-cta .btn:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-cta .btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .video-container {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .video-container:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }
    
    .video-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .video-section .section-header p {
        font-size: 1.1rem;
    }
    
    .video-features .feature-item {
        padding: 1.2rem;
    }
    
    .video-cta {
        padding: 2rem;
    }
    
    .video-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-section .section-header h2 {
        font-size: 2rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-features .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .video-features .feature-item i {
        margin: 0 auto;
    }
}

/* Video Controls Styling */
.personal-video::-webkit-media-controls {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 20px 20px;
}

.personal-video::-webkit-media-controls-panel {
    padding: 10px;
}

/* Loading State */
.video-container.loading {
    position: relative;
}

.video-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-black);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video Focus States */
.personal-video:focus {
    outline: 3px solid var(--primary-black);
    outline-offset: 2px;
}

/* Accessibility */
.video-container:focus-within {
    outline: 3px solid var(--primary-black);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .video-container {
        border: 3px solid var(--primary-black);
    }
    
    .video-features .feature-item {
        border: 2px solid var(--primary-black);
    }
}

/* Video Error State */
.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.video-error i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    display: block;
}

.video-error p {
    color: var(--primary-black);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

/* Video Loading Animation Enhancement */
.video-container.loading .personal-video {
    opacity: 0.3;
}

.video-container.loading .video-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

/* Video Hover Effects Enhancement */
.video-container:hover .personal-video {
    transform: scale(1.02);
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Video Focus Enhancement */
.personal-video:focus-visible {
    outline: 3px solid var(--primary-black);
    outline-offset: 2px;
}

/* Video Controls Enhancement */
.personal-video::-webkit-media-controls-play-button {
    background: var(--primary-black);
    border-radius: 50%;
}

.personal-video::-webkit-media-controls-timeline {
    background: var(--light-gray);
    border-radius: 10px;
}

.personal-video::-webkit-media-controls-current-time-display,
.personal-video::-webkit-media-controls-time-remaining-display {
    color: var(--white);
    font-weight: 600;
}
