If $0.4\hat{i} + 0.7\hat{j} + c\hat{k}$ is a unit vector, then the value of c is