.new-contact-page-new-cs-img {
  position: relative;
}

.new-contact-page-image-container {
  position: relative;
  width: 100%;
  height: 550px;
}

.new-contact-page-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.28) 26.31%,
    rgba(0, 0, 0, 0.28) 58.35%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.new-contact-page-content-wrapper {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  color: white;
  flex-wrap: wrap;
}

.new-contact-page-content-wrapper > * {
  flex: 1 1 40%;
}

.new-contact-page-left-text {
  max-width: 40%;
}

.new-contact-page-heading {
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.new-contact-page-subheading {
  font-size: 25px;
  line-height: 26px;
}

.new-contact-page-right-form {
  max-width: 35%;
  width: 35%;
  height: 437px;
  background-color: #ffffff;
  padding: 10px 45px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.new-contact-page-input-wrapper input,.new-contact-page-input-wrapper textarea{
    font-size: 16px;
}

.new-contact-page-form-title {
  margin-bottom: 1.5rem;
  font-size: 20px;
  text-align: center;
  color: #333333;
}

.new-contact-page-form-container {
  width: 100%;
}

.new-contact-page-input-wrapper {
  margin-bottom: 1.2rem;
  
}

.new-contact-page-form-wi {
  width: 100%;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
}

.new-contact-page-form-wi-t {
  width: 100%;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1.5rem;
  background-color: #ffffff;
}

.new-contact-page-error-border {
  border-color: red;
}

.new-btn-contact{
    margin-top: 15%;
}

.new-contact-page-bt-on {
  margin-top: 45px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .new-contact-page-content-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .new-contact-page-left-text {
    max-width: 80%;
    padding-right: 0;
  }

  .new-contact-page-heading {
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    margin-top: 4rem;
  }

  .new-contact-page-subheading {
    font-size: 16px;
    text-align: center;
  }

  .new-contact-page-right-form {
    width: 85%;
  max-width: 85%;
    height: 397px;
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
  }

  .new-contact-page-form-container {
    width: 85%;
  }

  .new-contact-page-form-wi {
    padding: 20px;
  }

  .new-contact-page-form-wi-t {
    padding: 40px;
  }
}