section.popup-section {
  background-size: cover !important;
  overflow: hidden;
  background-attachment: fixed !important;
  background-position: center center !important;
  padding-top: 20px;
  padding-bottom: 20px;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
section.popup-section.hide-popup {
  animation: fadeOut 1s ease-out forwards;
}
/* Define the fade-out keyframes */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    display: none;
  }
}
section.popup-section:before {
  content: "";
  overflow: hidden;
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 0.8;
  background: #383632;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  height: 100%;
  top: 0;
}
section.popup-section .inner-container {
  max-width: 1220px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  height: 100%;
}
section.popup-section .inner-container .row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  flex-wrap: wrap;
  height: 100%;
}
.popup-inner {
  background: #fff;
  z-index: 9;
  width: 100%;
  max-width: 80%;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  animation: slideUp 1s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.popup-inner--row {
  display: flex;
  /* flex-wrap: wrap; */
  position: relative;
}
.popup-inner-column {
  flex: 0 0 auto;
  width: 50%;
}
.bg-cover {
  background-size: cover;
  background-position: center center;
  position: relative;
  background-repeat: no-repeat !important;
  overflow: hidden;
  height: auto;
}
form.popup-form {
  padding: 15% 8%;
}
.form-header p.form-subheading {
  margin: 0;
  color: #575757;
  font-weight: 600;
  text-transform: uppercase;
  line-height: normal;
  font-style: normal;
  font-size: 13px;
  margin-bottom: 15px;
}
.form-header h2.form-heading {
  text-transform: uppercase;
  color: #383632;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  /* line-height: 3.2rem; */
}
.form-fields .form-field {
  width: 100%;
  color: #8D8987;
  max-width: 100%;
  resize: none;
  outline: 0;
  font-size: 16px;
  border: 1px solid #E4E4E4;
  padding: 20px 28px;
  margin-bottom: 15px;
  border-radius: 4px;
}
.form-fields .submit-btn {
  width: 100%;
  background-color: #282725;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 18px;
  padding: 20px 32px 20px;
  border-radius: 4px;
  font-family: "Bebas Neue", sans-serif;
  display: block;
  column-gap: 10px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-align: center;
  cursor: pointer;
}
.form-fields .submit-btn:hover {
  -webkit-box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.15);
  -webkit-transform: translate3d(0, -2px, 0);
  transform: translate3d(0, -2px, 0);
}
span.close-popup--btn {
  background-color: white;
  height: 40px;
  width: 40px;
  position: absolute;
  right: 20px;
  top: 20px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}
/* RESPONSIVE IPAD  */
@media only screen and (max-width: 981px) {
  .popup-inner--row {
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }
  .popup-inner-column {
    flex: 0 0 auto;
    width: 100%;
  }
  .bg-cover {
    height: 400px;
  }
  form.popup-form {
    padding: 8% 5%;
  }
  span.close-popup--btn {
    background-color: white;
    right: 10px;
    top: 10px;
  }
}
/* RESPONSIVE Iphone */
@media only screen and (max-width: 480px) {
  .popup-inner--row {
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }
  .popup-inner {
    max-width: 100%;
  }
  .bg-cover {
    height: 300px;
  }
  .form-header h2.form-heading {
    font-size: 1.438rem;
    line-height: 2.4rem;
  }
  .header-column a {
    font-size: 20px;
  }
}