/* Your CSS styles for the gallery and modal */
 .gallery {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between; /* Distribute space between items */
            margin-top: 20px;
        }

        .gallery img {
            width: calc(33.33% - 20px); /* Adjust width for 3 images per row */
            height: auto;
            margin: 10px;
            cursor: pointer;
            box-sizing: border-box; /* Include padding in width calculation */
        }

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

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    color: white;
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.back-btn-container {
            text-align: center; /* Center-align the button */
            margin-top: 20px;
        }
.back-btn {
            margin-top: 20px;
            padding: 10px 20px; /* Adjust padding to increase button size */
            font-size: 16px; /* Adjust font size */
            background-color: #5bd969;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .back-btn:hover {
            background-color: #e3c56c; /* Change color on hover if needed */
        }