/* Fix for video display issues and play button implementation */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: transparent !important;
}

/* Ensure iframe is visible and properly positioned */
.video-container iframe {
    position: relative;
    z-index: 2;
    display: block;
    background: transparent;
    border: none;
}

/* Reset any animation that might be affecting the video */
.video-container.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Force remove any overlay elements */
.video-gradient-overlay {
    display: none !important;
}

/* Play button styling */
.video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Play button hover effect with purple background */
.video-container .play-button:hover {
    background-color: #6c5ce7; /* Purple color on hover */
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Icon color - brand orange */
.video-container .play-button svg {
    color: #ff6b35; /* Brand orange color */
    transition: color 0.3s ease;
}

.video-container .play-button:hover svg {
    color: white; /* Change to white when background turns purple */
}

/* Hide play button when video is playing */
.video-container.playing .play-button {
    opacity: 0;
    visibility: hidden;
}

/* Position the play button properly */
#heroVideoPlayButton {
    z-index: 100;
}
