.modal { /* Full viewport height, already set */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  inset:0;
}

.modal-content {
  background: white;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 8px;
  width: 900px;
  position: relative;
  max-height: 90vh;
  box-sizing: border-box;
}

.modal-left {
  flex: 1 1 40%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.modal-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  max-width: 100%;
  max-height: 100%;
}

.modal-right {
  flex: 1 1 60%;
  padding-left: 2rem;
}

.modal-close {
  position: absolute;
  right: 1.15rem;
  top: .75rem;
  font-size: 2rem;
  cursor: pointer;
}

#enquireBtn {
  background-color: var(--olive-green);
  color: #FFF;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 2px 12px rgba(8, 88, 164, 0.1);
  letter-spacing: 0.05em;
}

#enquireBtn:hover, #enquireBtn:focus {
  background-color: var(--forest-green);
  box-shadow: 0 4px 18px rgba(8, 88, 164, 0.15);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

#enquireBtn:active {
  background-color: var(--sage-green);
  transform: translateY(1px) scale(0.99);
}

@media (max-width:900px) {
  .modal-content {
    width:100%;
    max0height: 100vh;
    grid-template-columns: 1fr;
  }
  .modal-right {
    padding-left:0;
    padding-top: 2rem;
  }
  .modal-left {
    padding-top:2rem;
  }
  .modal {
    padding: 2rem;
  }
}

@media (max-width: 700px) {
  .modal-content {
    flex-direction: column;
    width: 90vw;
  }
  .modal-right {
    padding-left: 0;
  }
}
