.say-hello {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 15rem 1rem;
}

.say-hello-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 500px;
  gap: 4rem;
}

.say-hello {
  display: flex;
  align-items: center;
}

.say-hello-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.say-hello-header h1 {
  font-size: 44px;
  line-height: 58px;
  font-weight: 600;
  background: linear-gradient(90.49deg, #ffffff 0%, #c4ddff 101.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-align: left;
  margin: 0;
}

.say-hello-header p {
  margin: 0;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 370px;
}

.say-hello-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.say-hello-form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 600px;
  gap: 1rem;

  background: #070707;
  border-radius: 24px 8px;
  padding: 2rem;
  padding-bottom: 20px;

  position: relative;
}

.say-hello-form::before {
  position: absolute;
  content: "";
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background: #4caf50;
  background: linear-gradient(
    27deg,
    rgba(76, 175, 80, 1) 39%,
    rgba(39, 39, 39, 1) 70%
  );
  border-radius: 24px 8px;
  z-index: -1;
}

.input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.input-row {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.input-lable {
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.05em;

  color: rgba(255, 255, 255, 0.753);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 16px;
  flex-grow: 1;

  background: rgba(255, 255, 255, 0.016);
  border: 1px solid #262626;
  border-radius: 15px;

  margin-top: 10px;
  color: #fff;
  transition: border-color 0.3s ease;
}

input[type="text"].invalid,
input[type="email"].invalid,
input[type="tel"].invalid,
textarea.invalid {
  border-color: #ff4444;
}

.error-message {
  display: none;
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 5px;
  margin-left: 5px;
  font-weight: 400;
  animation: fadeIn 0.3s ease-in;
}

.error-message.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button[type="submit"] {
  background-color: #fff;
  color: #000;
  width: fit-content;
  min-width: 0;
  padding-right: 5px;
  justify-content: end;
  align-self: end;
}

textarea {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 16px;
  flex-grow: 1;

  background: rgba(255, 255, 255, 0.016);
  border: 1px solid #262626;
  border-radius: 15px;

  margin-top: 10px;
  color: #fff;
  transition: border-color 0.3s ease;
}

.huge-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.2rem 1rem;
  min-height: 80px;

  border: 1px solid rgba(255, 255, 255, 0.116);
  box-shadow: 0px 0px 20px rgba(80, 80, 80, 0.12);
  border-radius: 20px 8px;
  position: relative;
}

.huge-button::after {
  content: url(../img/icons/arrow-up-left.svg);
  position: absolute;
  top: -5px;
  right: -5px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.button-title {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;

  color: rgba(255, 255, 255, 0.8);
}

.button-sub {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.05em;

  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: start;
  align-items: start;

  gap: 5px;
}

.button-sub a img {
  width: 24px;
  height: 24px;
}

@media only screen and (max-width: 768px) {
  .say-hello{
    flex-direction: column;
  }

  .say-hello-form{
    width: 86%;
    min-width: 0;
  }

  .input-row{
    flex-direction: column;
  }
}