.form-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  display: none;
}

.form-popup h2 {
  text-align: center;
}

.form-popup label {
  display: block;
  margin-top: 10px;
}

.form-popup input,
.form-popup select,
.form-popup textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-popup button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  border: none;
  background: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.form-popup button:hover {
  background: #0056b3;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
  color: red;
}

.card {
  border: 1px solid #e6e8eb;
  border-radius: 5px;
  background-color: #fcc7c7;
  margin-bottom: 20px;
  box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
}

.col-lg-4 .quoteForm {
  margin-left: 300px;
}

.hidden {
  display: none;
}

.success-message,
.error-message {
  display: none;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
}

/* General Styles */

/* Heading */
.inquiry-heading {
  text-align: center;
  margin-bottom: 20px;
}

.inquiry-heading h1 {
  font-size: 28px;
  color: #333;
}

.inquiry-heading p {
  font-size: 16px;
  color: #666;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Success & Error Messages */
.success-message,
.error-message {
  display: none;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.success-message {
  background: #d4edda;
  color: #155724;
}

.cta-btn:hover {
  background: #56cac7;
  color: white;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
}

/* Input Fields */
.input-row {
  display: flex;
  gap: 15px;
}

.form-group {
  flex: 1;
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background: #f8f8f8;
  transition: 0.3s;
}

.form-control:focus {
  border-color: #007bff;
  background: #fff;
  outline: none;
}

/* Submit Button */
.text-center {
  text-align: center;
}

.btn-submit {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.btn-submit:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
  .input-row {
    flex-direction: column;
  }
}

.form-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  background: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
}

.form-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

input,
textarea,
select {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  padding: 10px;
  background: #dee1e400;
  color: rgb(241, 11, 11);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Add space between labels and input fields */
label {
  margin-bottom: 6px;
  font-weight: 600;
}

.form-control,
.form-check-input {
  transition: all 0.3s ease-in-out;
}

/* Hover effect: Enlarge input box */
.form-control:hover,
.form-check-input:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hover effect on submit button */
.btn-primary:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.popheading {
  font-size: 20px;
  padding: 10px;
  color: red;
}

/* Popup Styling */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  min-width: 300px;
  text-align: center;
}

/* Ensure popup is hidden when closed */
.popup.hidden {
  display: none;
}
