/* Style for the modal */
.modal {
    display: none; /* Hide the modal by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }

  /* Style for the modal content */
  .modal-content {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* padding: 20px; */
    max-width: 800px;
    width: calc(100% - 40px); /* Adjust padding */
    max-height: 80vh;
    overflow: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  @media (max-width: 768px) {
    .modal-content {
        left: 45%;
    }
  }

  /* Style for the close button */
  .close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    transition: 0.3s;
  }

  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  /* Style for the previous and next buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    outline: none;
    transition: background-color 0.3s;
    z-index: 100;
  }

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

  .prev {
    left: 15px;
  }

  .next {
    right: 15px;
  }

  /* Style for the gallery images */
  .vm-gallery-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
  }

  .pb-gallery-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
  }