.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f")
    center/cover no-repeat;
  background: rgba(10, 10, 10, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.popup-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px 25px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
}

.popup-box h2 {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  font-size: 26px;
  color: #ffffff;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: background 0.3s ease;
}

.popup-form input::placeholder,
.popup-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.popup-form input:focus,
.popup-form textarea:focus {
  background: rgba(255, 255, 255, 0.4);
}

.popup-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-form button:hover {
  transform: scale(1.03);
}
.popup-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.popup-form .form-row input,
.popup-form .form-row textarea {
  flex: 1;
  min-width: 48%;
}

.popup-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.popup-form .form-row.single input,
.popup-form .form-row.single textarea {
  width: 100%;
}

.popup-form .form-row.double input {
  flex: 1;
  min-width: 48%;
}

.offer-btn {
  background-color: red;
  color: white;
  font-size: 13px;
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: auto;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.offer-btn:hover {
  background-color: darkred;
}

@keyframes popupFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-box {
  animation: popupFadeIn 0.4s ease-out forwards;
  opacity: 0; /* Make it initially invisible */
}
