
        .gallery-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .gallery-item {
            width: 30%;
            margin-bottom: 20px;
            transition: transform 0.3s ease;
        }
        .gallery-item img {
            width: 100%;
            height: auto;
            border: 2px solid red;
            border-radius: 10px;
            cursor: pointer;
        }
        .gallery-item h5 {
            margin-top: 10px;
            text-align: center;
            color: indigo;
        }
        .gallery-item:hover {
            transform: scale(1.05);
        }
        @media (max-width: 768px) {
            .gallery-item {
                width: 100%;
            }
        }

        /* Existing styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 80vw; /* Adjust the max width of the modal relative to viewport width */
            max-height: 80vh; /* Adjust the max height of the modal relative to viewport height */
        }

        .close {
            position: absolute;
            top: 10px;
            left: 10px;
            color: #fff;
            font-size: 20px;
            background: #000;
            padding: 5px 10px;
            cursor: pointer;
            z-index: 99999;
            border: none;
            border-radius: 5px;
        }
   