  .modal-dialog {
  max-width: 900px;

}

.modal-content {
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.left-section1,
.right-section1 {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  height: 400px;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-section1 {
  background-image: url('https://waterrockgarden.com/images/water1.png');
}

.right-section1 {
  background-image: url('https://waterrockgarden.com/back-panel/images/propertygallery/404408601_6670e865-c854-4993-84c9-aa65ecbfc1a4.c10.jpg');
}

.left-section1 p {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.left-section1 i {
  margin-right: 10px;
}

.social-icons i {
  font-size: 24px;
  margin-right: 15px;
  color: #fff;
}

form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

input,
textarea {
  width: 100%;
      padding: 12px;
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid #ccc;
      color: #fff;
      font-size: 15px;
      border-radius: 4px;
      outline: none;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: #eee;
}

textarea {
  resize: none;
  height: 80px;
}

.button1 {
  padding: 12px 20px;
  background-color: yellow;
  color: #000;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  width: 120px;
  transition: 0.3s;
}

.button1:hover {
  background-color: #f1c40f;
  transform: scale(1.03);
}

.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(200, 13, 13, 0.2);
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  transition: background 0.3s ease;
}

.custom-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .container2 {
    flex-direction: column;
  }

  

.right-section1 {
  flex: 1;
  min-width: 300px;
  padding: 2px;
  height: 400px;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
  .form-row {
    flex-direction: column;
  }
}
