/* faq.css */

/* Center the container in the page */
.video-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack title and video vertically */
    height: auto; /* Allow container height to adjust based on content */
    margin-bottom: 20px; /* Space between video containers */
}

/* General video container style */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Max width for larger screens */
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border: 2px solid transparent; /* Default border */
    transition: border 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    border-radius: 10px; /* Optional: rounded corners */
}

/* Style for the iframe (video player) */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Border and hover effect */
.video-container:hover {
    border: 2px solid skyblue; /* Border on hover */
    box-shadow: 0 0 10px 2px rgba(135, 206, 250, 0.6); /* Light blue box-shadow on hover */
}

/* Style for the maximize button */
.maximize-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.maximize-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
