.container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    width: 100%;
    display: flex;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.video-section {
    position: relative; /* Required for positioning the play button */
    width: 35%;
    background-color: #16325B;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-section video {
    width: 100%;
    border-radius: 10px;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Styles for the play button */
.play-button {
    position: absolute; /* Position the play button on top of the video */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for exact centering */
    width: 60px; /* Adjust the size of the play button */
    height: 60px; /* Adjust the size of the play button */
}

.play-button img {
    width: 100%; /* Make the image fill the container */
    height: 100%; /* Make the image fill the container */
    object-fit: contain; /* Ensure the image scales properly */
}

.content-section {
    width: 65%;
    padding: 40px;
    background-color: white;
}

.content-section h2 {
    color: #16325B;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-section p {
    color: #16325B;
    line-height: 1.7;
    font-size: 1.1rem;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 40px;
    overflow-y: auto;
    box-sizing: border-box;
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}

.popup-video-container {
    width: 100%;
    padding: 20px;
    background-color: #16325B;
    box-sizing: border-box;
}

.popup-video {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background-color: black;
    border-radius: 10px;
}

.popup-text {
    color: #16325B;
    padding: 30px;
}

.popup-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #16325B;
}

.popup-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #16325B;
}

.close-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background-color: #16325B;
    border: none;
    z-index: 1010;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-popup:hover {
    background-color: #16325B;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .card {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .video-section,
    .content-section {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .content-section {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 1rem;
        word-wrap: break-word;
    }

    .popup-overlay {
        padding: 10px;
    }

    .popup-content {
        width: 95%;
        margin: 10px auto;
    }

    .popup-video-container {
        padding: 10px;
    }

    .popup-text {
        padding: 15px;
    }

    .close-popup {
        top: 10px;
        right: 10px;
    }
}