

        .album {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            transition: 0.3s ease-in-out;
            cursor: pointer;
        }

        .multiple{
            position: absolute;
            top: 0;
            right: 10px;
            width: 40px;
        }

        .album img {
            max-width: 100%;
            display: block;
            transition: transform 0.3s ease;
            border-radius: 12px;
        }

        .thumbnail{
            aspect-ratio: 4/3;
            cursor: pointer;
            object-fit: cover;
        }
        video {
            max-width: 65%;
        }

        /* Modal Styling */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .modal-content {
            position: relative;
            width: 90%;
            max-width: 800px;
            background: #fff;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.2);
        }

        .close {
            position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
        font-size: 21px;
        color: #333;
        background: #5f0000;
        padding: 0 8px;
        border-radius: 100%;
        }

        .full-image {
            max-width: 100%;
            max-height: 50vh;
            object-fit: contain;
            transition: transform 0.3s ease-in-out;
            border-radius: 10px;
        }

        .modal-images {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }

        .modal-images img {
            width:  50px;
            height:  50px;
            cursor: pointer;
            border-radius: 6px;
            transition: 0.3s;
            border: 2px solid transparent;
        }

        .modal-images img:hover,
        .modal-images img.active {
            transform: scale(1.1);
            border: 2px solid #007bff;
        }
        .modal-images video:hover,
        .modal-images video.active {
            transform: scale(1.1);
            border: 2px solid #007bff;
            border-radius: 6px;
        }

        /* Navigation Arrows */
        .prev,
        .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 5px 7px;
            font-size: 15px;
            cursor: pointer;
            border-radius: 100%;
            transition: 0.3s;
        }

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

        .prev {
            left: 0;
        }

        .next {
            right: 0;
        }

        /* Image Counter */
        .counter {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            padding: 5px 10px;
            border-radius: 8px;
            font-size: 14px;
        }

        

        /* Responsive Adjustments */
        @media (max-width: 768px) {


            .modal-images img {
                width: 60px;
            }

            .prev,
            .next {
                font-size: 12px;
                padding: 8px;
            }
        }