/* About Section Desktop Styles (min-width: 769px) */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.about-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px; /* Space between text and media columns */
}

.about-text-column {
    flex: 1; /* Takes up one half */
    padding-right: 20px;
    box-sizing: border-box;
}

.about-text-column h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
}

.about-text-column h3 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 25px;
}

.about-text-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-media-column {
    flex: 1; /* Takes up the other half */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Minimum height for the media column */
    background-color: #f8f8f8; /* Background for when no media or video preview */
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.about-video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    filter: brightness(70%); /* Slightly darken preview */
}

.about-video-preview .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 123, 255, 0.8);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.about-video-preview .play-button:hover {
    background-color: rgba(0, 86, 179, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.about-no-media {
    text-align: center;
    color: #999;
    font-size: 1.2rem;
}
.about-no-media .fas {
    font-size: 3rem;
    margin-bottom: 15px;
}


/* Video Modal Styles */
.video-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black background with transparency */
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 900px; /* Max width for the video player */
    background-color: #000; /* Black background for video */
    border-radius: 8px;
    overflow: hidden; /* Ensures video stays within bounds */
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block; /* Remove extra space below video */
}

.close-video-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001; /* Ensure close button is above video */
}

.close-video-modal:hover,
.close-video-modal:focus {
    color: #bbb;
    text-decoration: none;
}