/* Contact Section */
.contact-section {
  background-color: var(--footer-bg);
  padding-top: 50px;
  margin-bottom: -150px;
}

#contact-section-container {
  display: flex;
  justify-content: space-between;
}

.contact-section img {
  width: 35%;
  transform: translateY(-150px);
}

.contact-section form h3 {
  margin-bottom: 16px;
  color: var(--main-text-color);
}

.contact-section form h3 span {
  color: lightgray;
  font-size: 24px;
  margin-right: 8px;
}

.contact-section form .input-field {
  display: flex;
  flex-direction: column;
}

.contact-section form input {
  padding: 10px 15px;
  margin-right: 8px;
  border-radius: 8px;
  border: 1px solid gray;
}

.contact-section form button {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 8px;
  background-color: var(--primary-color);
  cursor: pointer;
  color: white;
  font-size: 16px;
}

.contact-section form button:hover {
  background-color: var(--primary-variant);
}

@media (max-width: 1200px) {
  .contact-section img {
    transform: translateY(-100px);
  }
}

@media (max-width: 994px) {
  .contact-section {
    margin-bottom: 0;
    padding-bottom: 50px;
  }

  #contact-section-container form h3 {
    text-align: center;
  }
  #contact-section-container {
    justify-content: center;
    align-items: center;
  }

  #contact-section-container img {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-section form div {
    flex-direction: column;
  }

  .contact-section form input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .contact-section form button {
    width: 100%;
  }
}

.error {
  border: 1px solid red !important;
}

#name-error,
#email-error {
  color: red;
  display: none;
}
