  .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            /*background-color: rgba(0, 0, 0, 0.8);*/
            backdrop-filter: blur(5px);
        }

        /* Modal Inner Container */
        .modal-inner {
            position: relative;
            margin: auto;
            width: 80%;
            max-width: 900px;
            background-color: #ffffff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            animation: slide-down 0.3s ease;
        }

        /* Close Button */
        .close {
            color: #aaa;
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close:hover, .close:focus {
            color: #333;
            text-decoration: none;
        }

        /* Media Content */
        .modal-content img
        {
            width: 100%;
            min-height: auto;
        }
        .modal-content iframe,
        .modal-content video,
        .modal-content audio {
            width: 100%;
            min-height:500px;
        }

        /* Caption Container */
        .caption-container {
            text-align: center;
            padding: 10px;
            font-size: 18px;
            color: #555;
            background-color: #f9f9f9;
        }

        /* Navigation Buttons */
        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            padding: 10px;
            color: #fff;
            font-weight: bold;
            font-size: 24px;
            user-select: none;
            transition: background-color 0.3s;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 5px;
        }

        .prev { left: 15px; }
        .next { right: 15px; }

        .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

        /* Thumbnail Gallery */
        .thumbnail {
            display: inline-block;
            width: 100px;
            cursor: pointer;
            margin: 5px;
        }

        /* Smooth Animation */
        @keyframes slide-down {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
         .modal-content img{
            width:100%;
        }
        