/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000; /* Ensure it's on top of other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
  } 
  
  .modal-overlay.show {
    display: block;
    opacity: 1;
    visibility: visible;
  } 
  
  .frame {
    width: 450px;
    padding: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #191919;
    text-align: center;
    font-family: BrunoAceSc-Regular;
    border-radius: 24px;
    border: 12px solid #3498db; /* Blue border */
  }
  
  .frame h1, h2, p {
    color: blue;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 450;
  }
  
  .frame input[type="text"], .frame input[type="password"], .frame input[type="email"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #3498db;
    padding: 14px 10px;
    width: 200px;
    outline: none;
    color: chartreuse;
    border-radius: 24px;
    transition: 1s;
  }
  
  .frame input[type="text"]:focus, .frame input[type="password"]:focus, .frame input[type="email"]:focus {
    width: 280px;
    border-color: #2ecc71;
  }
  
  .frame input[type="submit"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #2ecc71;
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
  }
  
  .frame input[type="submit"]:hover {
    background: cornflowerblue;
  }
  
  .frame button[type="button"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #2ecc71;
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
  }
  .frame button[type="button"]:hover {
    background: #2ecc71;
  }
  .modal-close {
    position: absolute;
    top: 5px;
    right: 15px;
    color: #f1f1f1;
    font-size: 20px; /* Smaller font size */
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2; /* Ensure the close button is above the image */
  }
  
  .modal-close:hover,
  .modal-close:focus {
    color: #bbb;
  }
  /* css/modal.css */
  /* Gallery styling */
  .gallery {
      text-align: center;
  }
  
  .gallery-images {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
  }
  
  .gallery-img {
      width: 150px;
      height: 100px;
      object-fit: cover;
      cursor: pointer;
      transition: transform 0.3s;
  }
  
  .gallery-img:hover {
      transform: scale(1.1);
  }
  