@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.multistep_container {
  width: 100%;
  background: white;
  border-radius: 32px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03),
    0 30px 80px -10px rgba(0, 0, 0, 0.12),
    0 10px 30px -10px rgba(255, 107, 107, 0.15);
  overflow: hidden;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.multistep_container .progress-container {
  padding: 48px 48px 32px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  position: relative;
}

.multistep_container .progress-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #e8e8e8 20%,
    #e8e8e8 80%,
    transparent 100%
  );
}

.multistep_container .progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.multistep_container .progress-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: #efefef;
  z-index: 0;
}

.multistep_container .progress-line {
  position: absolute;
  top: 24px;
  left: 36px;
  height: 2px;
  background: linear-gradient(90deg, #02490f 0%, #005f90 100%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.multistep_container .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.multistep_container .step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #bbb;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Clash Display", sans-serif;
  position: relative;
}

.multistep_container .step-circle::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #ff6b6b, #ff8e53); */
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.multistep_container .step.active .step-circle {
  background: linear-gradient(135deg, #02490f 0%, #02490f 100%);
  border-color: transparent;
  color: white;
  transform: scale(1.15);
  /*  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35),
    0 4px 12px rgba(255, 107, 107, 0.25); */
}

.multistep_container .step.active .step-circle::before {
  opacity: 0.2;
  /* animation: pulse 2s ease-in-out infinite; */
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.multistep_container .step.completed .step-circle {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: transparent;
  color: white;
  transform: scale(1);
}

.multistep_container .step.completed .step-circle::after {
  content: "✓";
  position: absolute;
  font-size: 18px;
}

.multistep_container .step-label {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #bbb;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.multistep_container .step.active .step-label {
  color: #02490f;
}

.multistep_container .step.completed .step-label {
  color: #666;
}

.multistep_container .form-content {
  /* padding: 48px; */
  min-height: 500px;
}
/* For mobile screens only (below 576px or 768px — choose any) */
@media (max-width: 576px) {
  .multistep_container .form-content {
    padding: 0 !important;
  }
}
@media (max-width: 768px) {
  .multistep_container .form-content {
    padding: 0 !important;
  }
}

.multistep_container .form-step {
  display: none;
  animation: fadeInSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.multistep_container .form-step.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.multistep_container h2 {
  font-family: "Clash Display", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.multistep_container .step-description {
  color: #737373;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.7;
}

.multistep_container .form-group {
  margin-bottom: 26px;
  position: relative;
}

.multistep_container label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.multistep_container .input-wrapper {
  position: relative;
}
.multistep_container input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #efefef;
  border-radius: 14px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fafafa;
  color: #1a1a1a;
}
/* .multistep_container input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #ff6b6b;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.08),
    0 4px 12px rgba(255, 107, 107, 0.12);
  transform: translateY(-1px);
} */
.multistep_container textarea {
  resize: vertical;
  min-height: 130px;
}
.multistep_container .file-upload-area {
  border: 2px dashed #e0e0e0;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.multistep_container .file-upload-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.05) 0%,
    rgba(255, 142, 83, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.multistep_container .file-upload-area:hover {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.12);
}

.file-upload-area:hover::before {
  opacity: 1;
}
.multistep_container .file-upload-area.drag-over {
  border-color: #ff6b6b;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.08) 0%,
    rgba(255, 142, 83, 0.08) 100%
  );
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 107, 107, 0.2);
}
.multistep_container .upload-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.25),
    0 4px 12px rgba(255, 107, 107, 0.15);
  transition: transform 0.3s ease;
}
.multistep_container .file-upload-area:hover .upload-icon {
  transform: scale(1.1) rotate(5deg);
}
.multistep_container .upload-text {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 16px;
  font-family: "Clash Display", sans-serif;
}
.multistep_container .upload-subtext {
  font-size: 14px;
  color: #999;
}
.multistep_container .file-input {
  display: none;
}
.multistep_container .file-list {
  margin-top: 24px;
}
.multistep_container .file-item {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  margin-bottom: 10px;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}
.multistep_container .file-item:hover {
  border-color: #e8e8e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.multistep_container .file-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin-right: 14px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}
.multistep_container .file-info {
  flex: 1;
}
.multistep_container .file-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14px;
  margin-bottom: 3px;
}
.multistep_container .file-size {
  font-size: 12px;
  color: #999;
}
.multistep_container .remove-file {
  background: #f5f5f5;
  border: none;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}
.multistep_container .remove-file:hover {
  background: #ff6b6b;
  color: white;
  transform: rotate(90deg);
}
.multistep_container .button-group {
  display: flex;
  gap: 57px;
  margin: 10px 0px 30px 0px;
  justify-content: center;
}
.multistep_container button {
  /*  flex: 1; */
  padding: 10px 18px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
}
.multistep_container .btn-next {
  background: linear-gradient(135deg, #02490f 0%, #02490f 100%);
  color: white;
  /* box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3),
    0 2px 8px rgba(255, 107, 107, 0.2); */
  position: relative;
  overflow: hidden;
}
.multistep_container .btn-next::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.multistep_container .btn-next:hover {
  transform: translateY(-3px);
  /*   box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4),
    0 4px 12px rgba(255, 107, 107, 0.3); */
}
.multistep_container .btn-next:hover::before {
  opacity: 1;
}
.multistep_container .btn-next:active {
  transform: translateY(-1px);
}
.multistep_container .btn-prev {
  background: white;
  color: #666;
  border: 2px solid #efefef;
}
.multistep_container .btn-prev:hover {
  border-color: #e0e0e0;
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.multistep_container .success-message {
  text-align: center;
  padding: 80px 20px;
}
.multistep_container .success-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3),
    0 6px 16px rgba(16, 185, 129, 0.2);
  position: relative;
}
.multistep_container .success-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  opacity: 0.2;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes successPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.multistep_container .success-title {
  font-size: 36px;
  margin-bottom: 14px;
  font-family: "Clash Display", sans-serif;
}
.multistep_container .success-text {
  color: #737373;
  font-size: 16px;
  line-height: 1.6;
}

.multistep_container .review-card {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.multistep_container .review-card label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 8px;
}

.multistep_container .review-card-value {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
}

@media (max-width: 640px) {
  .multistep_container {
    border-radius: 24px;
  }

  .multistep_container .progress-container,
  .form-content {
    padding: 32px 24px;
  }

  .multistep_container h2 {
    font-size: 26px;
  }

  .multistep_container .step-label {
    font-size: 11px;
  }

  .multistep_container .step-circle {
    width: 42px;
    height: 42px;
  }

  .multistep_container .button-group {
    flex-direction: column-reverse;
  }

  .multistep_container button {
    width: 100%;
  }
}
