.title-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  background-color: #4472C4;
  color: #fff;
  width: 30%;
  text-align: right;
  font-size: 28px;
  padding: 5px;
  padding-right: 10px;
  margin-top: 0px;
}

h2 {
  color: #4472C4;
  width: 70%;
  text-align: right;
  font-size: 24px;
}

body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: Calibri, "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding: 20px;
}

.image-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-section {
  overflow: hidden;
}

.contact-button {
  text-transform: uppercase;
  background-color: #fff;
  border: 1px solid black;
  padding: 10px 20px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.contact-button:hover {
  color: #fff;
  background-color: black;
  cursor: pointer;
}

.modal-container {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid black;
  max-width: 80%;
  width: 600px;
  position: relative;
}

/* Modal form layout */
.modal-content form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 16px;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #4472C4;
  box-shadow: 0 0 0 2px rgba(68, 114, 196, 0.15);
}

.modal-content textarea {
  grid-column: 1 / -1;
  /* span full width below inputs */
  min-height: 140px;
  resize: vertical;
}

.modal-content .g-recaptcha {
  grid-column: 2;
  /* right column */
  justify-self: end;
  text-transform: uppercase;
  background-color: #fff;
  border: 1px solid black;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.modal-content .g-recaptcha:hover {
  color: #fff;
  background-color: black;
  cursor: pointer;
}

@media (max-width: 640px) {
  .modal-content {
    margin: 20% auto;
    width: 90%;
  }

  .modal-content form {
    grid-template-columns: 1fr;
    /* stack on small screens */
  }

  .modal-content .g-recaptcha {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.modal-content .full-width {
  grid-column: 1 / -1;
}

.pmax {
  font-size: 18px;
}

/* Close (X) button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: all 0.7s ease;
}

.modal-close .bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  transform-origin: center;
  transition: all 0.5s ease;
}

.modal-close .bar1 {
  transform: translateY(-50%) rotate(45deg);
}

.modal-close .bar2 {
  transform: translateY(-50%) rotate(-45deg);
}

.modal-close:hover {
  cursor: pointer;
  transform: rotate(90deg);
}

/* Toast notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background-color: #d1e7dd;
  border: 1px solid #a3cfbb;
  color: #0a3622;
}

.toast.error {
  background-color: #f8d7da;
  border: 1px solid #f1aeb5;
  color: #58151c;
}

@media (max-width: 640px) {
  h1 {
    width: 100%;
    margin: 0px
  }

  h2 {
    width: 100%;
  }

  .title-section {
    flex-wrap: wrap;
  }
}