.contact-card {
  height: auto;
  height: 500px;
  border-radius: 10px;

  img {
    transform: scaleX(-1);
    border-radius: 10px;
  }
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;

  h4 {
    font-weight: bold;
    font-size: 20px;
  }
}

.contact-container {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  font-size: 18px;

  div {
    border-radius: 10px;
    padding: 30px 15px;
    background-color: #f0f3f8d7;
    box-shadow: 0px 8px 8px 0px #e2e2e2;
    border: 1px solid #f1f1f1;

    h4 {
      font-weight: bold;
      font-size: 20px;
    }
  }
}

.contact-form {
  display: flex;
  gap: 1rem;
  flex-direction: column;

  input,
  textarea {
    border: 1px solid #f1f1f1;
    padding: 13px 18px;
    border-radius: 15px;
  }

  textarea {
    resize: none;
    height: 150px;
  }

  .submit-btn {
    border: 1px solid #758db9;
    background-color: #758db9;
    color: #fff;
    font-size: 18px;
    padding: 10px 30px;
    border-radius: 20px;
    letter-spacing: 1px;
    font-weight: bold;

    &:hover {
      background-color: #5572a8;
    }
  }

  .message {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px 15px;
    background-color: #6fc276;
    color: #fff;
    border-radius: 5px;
    display: none;
    opacity: 1;
    transition: opacity 0.5s ease-out;
  }

  .error {
    background-color: #e74c3c;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}