/* Popup Form Background */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease forwards;
}

/* Popup Form Container */
.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  height: 630px;
  width: 858px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.5s ease; /* Smooth transition */
}

.loaded {
 box-shadow: none !important;
}
.popup-overlay.active .popup-content {
  transform: scale(1);
  opacity: 1;
}

.popup-content h6 {
  margin: 0 0 15px;
  font-size: 19px;
  font-weight: bold;
}

.popup-content input,
.popup-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-content input[type="submit"] {
  background-color: #ffae42;
  color: white;
  padding: 15px 35px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 20px;
  border: none;
}

.popup-content input[type="submit"]:hover {
  background-color: #ffae42;
  color: white;
  padding: 15px 35px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 20px;
  border: none;
}

/* Close Icon */
.popup-close {
  position: absolute;
  top: 0;
  right: 14px;
  cursor: pointer;
  font-size: 30px;
  color: #333;
}

.popup-close:hover {
  color: red;
}

@media (max-width: 768px) {
  .popup-overlay {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
