.event-card {
            border: 1px solid #ccc;
            padding: 10px;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 100;
            padding-top: 60px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: #fff;
            margin: auto;
            padding: 20px;
            width: 50%;
        }

        .close {
            float: right;
            font-size: 28px;
            cursor: pointer;
        }


        .pile-wrapper {
            position: relative;
            width: 200px;
            height: 260px;
        }
    
        .pdf-card {
            position: absolute;
            top: 0;
            left: 0;
            transition: 0.3s ease;
        }
    
        .pile-1 {
            transform: rotate(-5deg);
            z-index: 1;
        }
    
        .pile-2 {
            transform: rotate(0deg);
            z-index: 2;
        }
    
        .pile-3 {
            transform: rotate(5deg);
            z-index: 3;
        }
    
        .blog-desc {
            transition: all 0.3s ease;
        }
    
    
        #tab_third4 section {
            min-height: 800px;
        }
    
    
    
        .metro-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        .metro-iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
            opacity: 0;
            pointer-events: none;
        }
    
        .grid-item:hover .metro-iframe {
            opacity: 1;
            pointer-events: auto;
        }
    
        .grid-item:hover .metro-thumb {
            opacity: 0;
        }
    
    
        /* video */
    
    
    
    
        .thooimai-video .custom-video-grid {
            display: grid;
            /* gap: 20px; */
            grid-template-columns: repeat(4, 1fr);
            padding: 0;
            margin: 0;
        }
    
        .thooimai-video .video-item {
            position: relative;
            overflow: hidden;
            /* background-color: #333; */
        }
    
        .thooimai-video .custom-metro-thumb {
            width: 100%;
            height: auto;
            transition: transform 0.3s ease;
        }
    
        .thooimai-video .custom-metro-thumb:hover {
            transform: scale(1.1);
        }
    
        .thooimai-video .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* background: rgba(0, 0, 0, 0.5); */
            z-index: 10;
        }
    
        .thooimai-video .video-thumbnail-container {
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
    
        /* Popup Modal Styles */
        .thooimai-video .custom-video-popup {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
    
        .thooimai-video .popup-content {
            position: relative;
            width: 80%;
            max-width: 800px;
            /* background-color: #fff; */
            padding: 20px;
            text-align: center;
        }
    
        .thooimai-video .popup-iframe {
            width: 100%;
            height: 450px;
            border: none;
            border-radius: 20px;
        }
    
        .thooimai-video .exit-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #f00;
            color: #fff;
            font-weight: 600;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding-left: 10px;
            padding-right: 10px;
        }
    
        .thooimai-video .exit-btn:hover {
            background: #cc0000;
        }
    
        /* Responsive Grid Layout */
        @media (max-width: 1200px) {
            .thooimai-video .custom-video-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
    
        @media (max-width: 768px) {
            .thooimai-video .custom-video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    
        @media (max-width: 480px) {
            .thooimai-video .custom-video-grid {
                grid-template-columns: 1fr;
            }
        }
    
    
        /* Initially hide the YouTube icon */
        .youtube-icon-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
    
        /* Style the YouTube icon */
        .youtube-icon {
            font-size: 40px;
            color: white;
            opacity: 0.8;
        }
    
        /* Show YouTube icon on hover */
        .video-thumbnail-container:hover .youtube-icon-container {
            opacity: 1;
        }
    
        /* Optional: Add a slight zoom effect on hover */
        .video-thumbnail-container:hover img {
            transform: scale(1.05);
            transition: transform 0.3s ease;
        }
        