* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.qk-quiz-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Progress Bar */
.qk-progress-container {
  padding: 30px 40px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.qk-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.qk-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #ea580c);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 16.67%; /* Start at step 1 of 6 */
}

.qk-progress-text {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

/* Quiz Content */
.qk-quiz-content {
  padding: 40px;
  min-height: 500px;
}

.qk-quiz-step {
  display: none;
}

.qk-quiz-step.qk-active {
  display: block;
  animation: qk-fadeIn 0.3s ease;
}

@keyframes qk-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qk-quiz-step h2 {
  text-align: center;
  color: #1e293b;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

/* Options Grid */
.qk-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.qk-option-card {
  background: white;
  border: 3px solid #e2e8f0;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.qk-option-card:hover {
  border-color: #f97316;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
}

.qk-option-card.qk-selected {
  border-color: #f97316;
  background: #fff7ed;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}


.qk-img-wrapper {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.qk-option-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 5px;
}

.qk-option-content {
  padding: 20px;
}

.qk-option-card h3 {
  text-align: center;
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.qk-option-description {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Contact Form */
.qk-contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.qk-form-group {
  margin-bottom: 25px;
}

.qk-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 600;
  font-size: 16px;
}

.qk-form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.qk-form-group input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.qk-whatsapp-info {
  background: #f0f9ff;
  border: 2px solid #0ea5e9;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
}

.qk-whatsapp-info p {
  margin-bottom: 10px;
  color: #0c4a6e;
  font-size: 15px;
  line-height: 1.5;
}

.qk-whatsapp-info p:last-child {
  margin-bottom: 0;
}

/* Success Step */
.qk-success-step {
  text-align: center;
  padding: 60px 20px;
}

.qk-success-icon {
  font-size: 80px;
  margin-bottom: 30px;
}

.qk-success-content h2 {
  color: #059669;
  font-size: 32px;
  margin-bottom: 20px;
}

.qk-success-content p {
  color: #6b7280;
  font-size: 18px;
  line-height: 1.6;
}

/* Navigation */
.qk-navigation {
  padding: 30px 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qk-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.qk-btn-back {
  background: #f1f5f9;
  color: #64748b;
}

.qk-btn-back:hover {
  background: #e2e8f0;
  color: #475569;
}

.qk-btn-next {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  margin-left: auto;
}

.qk-btn-next:hover {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.qk-btn-next:disabled {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Status Message */
.qk-status-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 600;
  z-index: 1000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.qk-status-message.qk-show {
  transform: translateX(0);
}

.qk-status-message.qk-success {
  background: #d1fae5;
  color: #065f46;
  border: 2px solid #10b981;
}

.qk-status-message.qk-error {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {

  .qk-quiz-container {
    border-radius: 15px;
  }

  .qk-progress-container,
  .qk-quiz-content,
  .qk-navigation {
    padding: 20px;
  }

  .qk-quiz-step h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .qk-options-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .qk-option-content {
    padding: 15px;
  }

  .qk-option-card h3 {
    font-size: 16px;
  }

  .qk-option-description {
    font-size: 13px;
  }

  .qk-option-card img {
    height: 150px;
  }

  .qk-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .qk-btn {
    width: 100%;
  }

  .qk-btn-next {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .qk-quiz-step h2 {
    font-size: 20px;
  }

  .qk-options-grid {
    grid-template-columns: 1fr;
  }

  .qk-option-content {
    padding: 12px;
  }

  .qk-option-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .qk-option-description {
    font-size: 12px;
  }
}
