.phone-request-fields {
  margin: 20px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #29749a;
  display: none;
  /* Keep it hidden by default */
}

.phone-request-fields.show {
  display: block;
  /* Show when phone request is selected */
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  padding: 0;
}

.step-nav {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.step-nav button {
  padding: 16px 20px;
  background: #29749a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.step-nav button:hover {
  background: #005177;
}

.heading {
  color: #3c3c3c;
  text-align: center;
  margin-bottom: 42px;
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -3.2px;
}

.file-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 0 30px;
}

.stepper-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #b3bac5;
  z-index: 0;
  transition: background 0.5s;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #b3bac5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  z-index: 2;
}

.label {
  margin-top: 8px;
  font-size: 14px;
  color: #a0aec0;
  font-weight: 500;
}

.step.active .circle {
  background: #29749a;
}

.step.active .label {
  color: #29749a;
  font-weight: 500;
}

.step-count {
  text-align: center;
  font-weight: bold;
}

.upload-btn {
  padding: 16px 20px;
  background: #29749a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.stepper-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .heading {
    font-size: 36px !important;
  }

  .row {
    flex-wrap: wrap;
  }

  .circle2 {
    background: #b3bac5;
  }

  .step-Container {
    width: 300px !important;
  }

  .address-group {
    flex-wrap: wrap !important;
  }
}

/* Service selection styles */
.service-option-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.service-option {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-option:hover {
  border-color: #29749a;
  background-color: #f5f9fc;
}

.service-option input[type="radio"] {
  margin-right: 15px;
  width: 20px;
  height: 20px;
}

.service-option label {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  flex-grow: 1;
}

.service-description {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.error {
  color: red;
  font-size: 0.85rem;
  margin-top: 5px;
}

.invalid {
  border-color: red !important;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  color: #3c3c3c;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
}

.submit-btn {
  padding: 16px 20px !important;
  background: #29749a !important;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.radio-group {
  display: flex;
  /*flex-direction: column;*/
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.assistance-Heading {
  margin-top: 30px;
  color: #3c3c3c;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -0.64px;
}

.step-Container {
  width: 40%;
  display: flex;
  flex-direction: column;
}

.address-group {
  display: flex;
  gap: 16px;
  flex-direction: row;
}

/* Phone Request Additional Fields */
.phone-request-fields {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #29749a;
}

.phone-request-fields.show {
  display: block;
}

.phone-request-fields h6 {
  color: #29749a;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #29749a;
  box-shadow: 0 0 0 2px rgba(41, 116, 154, 0.1);
}

/* Modal Styles */
.submission-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-content #modal-message {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-home-btn {
  padding: 12px 24px;
  background: #29749a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.modal-home-btn:hover {
  background: #1a5a7a;
}

/* Add smooth transition for step 2 */
.step-2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  height: 0;
  overflow: hidden;
}

.step-2.show {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  overflow: visible;
  display: block !important;
}
