/* Smart Multi-Step Contact Form */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px;
}

.contact-section h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #142D47;
  margin-bottom: 8px;
  text-align: center;
}
.contact-section .subtitle {
  color: #667;
  text-align: center;
  margin-bottom: 40px;
  font-size: 15px;
}

/* Step container */
.form-step {
  display: none;
  animation: stepIn 0.35s ease;
}
.form-step.active {
  display: block;
}

.form-step .step-label {
  font-size: 13px;
  color: #8aa;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-step .step-question {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: #142D47;
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.4;
}

/* Clickable option cards */
.option-grid {
  display: grid;
  gap: 12px;
}
.option-grid.col-2 {
  grid-template-columns: 1fr 1fr;
}

.option-card {
  background: #fff;
  border: 2px solid #e0e4e8;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  user-select: none;
}
.option-card:hover {
  border-color: #264D77;
  box-shadow: 0 4px 16px rgba(38,77,119,0.1);
  transform: translateY(-2px);
}
.option-card.selected {
  border-color: #264D77;
  background: #f0f5fc;
  box-shadow: 0 0 0 3px rgba(38,77,119,0.1);
}
.option-card .emoji {
  display: block;
  margin-bottom: 6px;
}

/* Email step */
.email-step .email-input-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.email-step input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.email-step input:focus {
  border-color: #264D77;
}
.email-step input::placeholder {
  color: #aaa;
}
.email-step .submit-btn {
  padding: 14px 32px;
  background: #264D77;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.email-step .submit-btn:hover {
  background: #142D47;
  transform: translateY(-1px);
}
.email-step .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Progress dots */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e4e8;
  transition: all 0.3s;
}
.progress-dot.active {
  background: #264D77;
  transform: scale(1.3);
}
.progress-dot.done {
  background: #264D77;
  opacity: 0.4;
}

/* Success message */
.submit-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.submit-success.show {
  display: block;
}
.submit-success .check {
  font-size: 56px;
  margin-bottom: 12px;
}
.submit-success h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #142D47;
  margin-bottom: 8px;
}
.submit-success p {
  color: #667;
  font-size: 15px;
}

/* Progress bar at top */
.form-progress-bar {
  height: 4px;
  background: #e0e4e8;
  border-radius: 4px;
  margin-bottom: 28px;
  overflow: hidden;
}
.form-progress-fill {
  height: 100%;
  background: #264D77;
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 0%;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Back button for steps 2-4 */
.step-back {
  display: inline-block;
  margin-bottom: 16px;
  color: #8aa;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.2s;
}
.step-back:hover {
  color: #264D77;
}

/* Keep old form as fallback */
.old-form {
  display: none;
}

@media (max-width: 480px) {
  .option-grid.col-2 {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 40px 16px;
  }
  .contact-section h1 {
    font-size: 28px;
  }
  .form-step .step-question {
    font-size: 18px;
  }
  .email-step .email-input-group {
    flex-direction: column;
  }
  .email-step .submit-btn {
    width: 100%;
  }
}
