#enquiryModal {
    display: none;
  }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;                /* Use flex to center modal */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
  }
  
  .modal-content {
    position: relative;
    background: white;
    display: flex;
    z-index: 2;
    width: 100%;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    min-height: 40%;
    border-radius: 8px;
    overflow: hidden;            /* Keeps image clipped to corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
 
  .modal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
  }
  
  .new-div {
    position: relative;
    z-index: 2;
    text-align: center;
    border-radius: 8px;
    width: 75%;
    color: white;
    font-family: 'Source Sans Pro', sans-serif;
  }
  
  .new-div h2 {
    margin-top: 0;
  }
  
  .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 10;
  }
  
  .new-div form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* spacing between form elements */
  }
  
  .new-div input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .new-div button[type="submit"] {
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: #3EB489; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .new-div button[type="submit"]:hover {
    background-color: #3EB489;
  }

  .button-wrapper {
    display: flex;
    justify-content: center;
  }

  input {
    text-align: center;
  }

  .success-message {
    display: flex;
    justify-content: center;
    min-height: 300px;
    flex-direction: column;
  }

  /* CSS For form Plugin */

  .uniform__potty {
    position: absolute;
    left: -9999px;
}