
/* Popup Overlay */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black overlay */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* Popup Content */
.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px; /* Adjust form width */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow-y: auto;
  max-height: 90vh; /* Scroll if content overflows */
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

/* Responsive Form Styles */
form ul {
  list-style: none;
  padding: 0;
}

form ul li {
  margin-bottom: 15px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input, form select, form button {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background-color: #007BFF;
  color: white;
  cursor: pointer;
  border: none;
}
ul li:last-child {
  padding-bottom: 15px !important;
}
 /* Button Container */
 .button-container {
  display: flex;
  gap: 10px; 
  flex-wrap: nowrap; 
  justify-content: center;
  margin-bottom: 7px;
}

/* Button Styles */
.responsive-button {
  padding: 5px 25px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-now {
  background-color: #36b5ff; /* Green */
}

.apply-now:hover {
  background-color: #046daa;
}

.know-more {
  background-color: #7e7e7e;
  color: #ffffff !important;
}

.know-more:hover {
  background-color: #242424;
}

/* Responsive Design */
@media (max-width: 768px) {
  .responsive-button {
      font-size: 14px;
      padding: 7px 30px;
  }

  /* Keep the buttons side by side */
  .button-container {
      flex-direction: row; /* Horizontal alignment */
      justify-content: center;
      flex-wrap: nowrap; /* Ensure buttons do not wrap */
      gap: 10px; /* Space between buttons */
  }
}
#formPopup {
  z-index: 9999; /* Ensure it's on top */
  position: fixed;
}