 .video-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 50px 50px;
            align-items: start;
        }
        @media (max-width: 768px) {
            .video-gallery {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

        .video-item {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .video-item img.thumbnail {
            width: 100%;
            border-radius: 10px;
            cursor: pointer;
            transition: transform 0.3s;
        }

        
      p.video-title {
    color: #0073e6;
}

.video-content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 150px; /* adjust as needed */
    position: relative;
}

.reveal-btn {
    position: relative;
    bottom: 0;
    left: 0;
    padding: 8px 16px;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.video-item img.thumbnail{
    margin-bottom:0px !important;
}
.reveal-btn:hover {
    background: #005bb5;
}

.hidden-text {
    margin-top: 40px; /* space above button */
    display: none;
    padding: 10px;
    background: #f4f4f4;
    border-left: 4px solid #0073e6;
    border-radius: 5px;
}

.hidden-text.show {
    display: block;
}


        /* Popup styling */
        .popup {
            position: fixed;
            top:0; left:0;
            width:100%; height:100%;
            background: rgba(0,0,0,0.8);
            display:none;
            justify-content:center;
            align-items:center;
            z-index:9999;
        }

        .popup-content {
            position: relative;
            max-width: 700px;
            width: 90%;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
        }

        .popup-content video,
        .popup-content iframe {
            width: 100%;
            height: 400px;
            display: block;
        }

        /* Close button styling */
.popup .close {
    position: absolute;
    top: 0px;  /* position it above popup if needed */
    right: 0px; /* position it outside top-right corner */
    font-size: 32px;
    color: #fff !important;  /* white color */
    background: #000 !important; /* optional dark circle behind */
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    z-index: 10001;
    opacity:1 !important;
    transition: background 0.3s ease;
}

