.popup-enquiry-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.popup-enquiry-overlay.show-popup {
  opacity: 1;
  visibility: visible;
}

.popup-enquiry-box {
  background: rgba(18, 18, 18, 0.85);
  color: #f5f5f5;
  border: 2px solid #dfb84d;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(223, 184, 77, 0.4);
  width: 90%;
  max-width: 700px;
  padding: 40px;
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.popup-enquiry-overlay.show-popup .popup-enquiry-box {
  transform: translateY(0);
  opacity: 1;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #dfb84d;
  color: #121212;
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.popup-form-side h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: #dfb84d;
  text-align: center;
  margin-bottom: 20px;
}

.popup-form-side form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-form-side input,
.popup-form-side select,
.popup-form-side textarea {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
  font-size: 1rem;
  border-radius: 10px;
}

.popup-form-side input:focus,
.popup-form-side select:focus,
.popup-form-side textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  border-color: #dfb84d;
}

.form-enquire-btn-custom {
  background: #dfb84d;
  color: #121212;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-enquire-btn-custom:hover {
  background: #fff;
  color: #121212;
}

.success-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.success-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.success-popup-box {
  background: rgba(18, 18, 18, 0.95);
  border: 2px solid #dfb84d;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: #dfb84d;
  box-shadow: 0 10px 40px rgba(223, 184, 77, 0.5);
  transform: scale(0.8);
  opacity: 0;
  animation: popupScaleFade 0.5s ease forwards;
}

@keyframes popupScaleFade {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-popup-box h3 {
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  margin: 20px 0 10px;
}

.success-popup-box p {
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  color: #f5f5f5;
}

.checkmark-circle {
  font-size: 3rem;
  color: #26cb2d;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 20px;
  display: inline-block;
  animation: bounceIn 0.6s ease;
}

.phone-wrapper {
  width: 100%;
}

#phone-number {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #f5f5f5;
  font-size: 1rem;
}

/* intl-tel-input override */
.iti {
  width: 100%;
}
.iti__country-list {
  background-color: #1a1a1a !important;
  color: #f5f5f5 !important;
  border: 1px solid #dfb84d;
}
.iti__country {
  color: #f5f5f5 !important;
}
.iti__highlight {
  background-color: #dfb84d !important;
  color: #121212 !important;
}




@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}


@media (max-width: 768px) {
  .popup-enquiry-box {
    padding: 20px;
  }

  .popup-form-side h2 {
    font-size: 2rem;
  }

  .form-enquire-btn-custom {
    font-size: 1rem;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .popup-enquiry-box {
    padding: 20px;
    max-width: 95%;
  }

  .popup-form-side h2 {
    font-size: 1.6rem;
  }

  .popup-form-side input,
  .popup-form-side select,
  .popup-form-side textarea {
    font-size: 0.95rem;
    padding: 12px;
  }

  .form-enquire-btn-custom {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .phone-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  #phone-flag {
    width: 100%;
  }

  #phone-number {
    width: 100%;
  }

  .success-popup-box {
    padding: 25px;
  }

  .success-popup-box h3 {
    font-size: 1.5rem;
  }

  .success-popup-box p {
    font-size: 1rem;
  }

  .checkmark-circle {
    font-size: 2.5rem;
    padding: 15px;
  }
}

