/* Popup */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.2);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}
.popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.popup h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

/* Hiệu ứng chữ bay dần lên */
.input-fly {
  position: relative;
}
.input-fly span.fly-text {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #aaa;
  opacity: 0;
  pointer-events: none;
  animation: flyUp 0.6s ease forwards;
}
@keyframes flyUp {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-30px); }
}
form#contact::after {
  pointer-events: none;
}
