body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #07e693;
  color: #000;
  min-height: 100vh;        /* allow natural scroll */
  overflow-x: auto;       /* only hide horizontal overflow */
}

.form-step {
  display: none;
  min-height: 70vh;        /* allow content to push down */
  width: 100%;
  position: relative;       /* allow stacking naturally */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.form-step.active {
  display: flex;
}

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .form-step h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .form-step input,
  .form-step textarea {
    border: none;
    background: transparent;
    outline: none;
    text-align: center;
    font-size: 64px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3);
    transition: color 0.3s, border 0.3s;
    width: 80%;
  }

  .form-step input.filled,
  .form-step textarea.filled {
    color: rgba(0, 0, 0, 0.8);
  }

  .form-step input.error,
  .form-step textarea.error {
    border: 2px solid red;
    animation: shake 0.3s;
  }

  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
  }

  .form-step textarea {
    font-size: 24px;
    min-height: 150px;
    resize: vertical;
    margin-bottom: 1rem;
  }

  .option-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 70%;
  }

  .option-button {
    font-size: 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 2rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1;
  }

  .option-button::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 0%;
    background: rgba(0, 0, 0, 0.3);
    transition: width 0.4s ease;
    z-index: 0;
  }

  .option-button:hover::before,
  .option-button.selected::before {
    width: 100%;
  }

  .option-button:hover,
  .option-button.selected {
    color: white;
    font-weight: bold;
  }

  .option-button span {
    position: relative;
    z-index: 1;
  }

  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 24px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
  }

  .nav-btn:hover {
    background-color: #000;
    color: #fff;
  }

  .prev-btn {
    left: 20px;
  }

  .next-btn {
    right: 20px;
  }

  .submit-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #111;
    color: white;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 14px;
    cursor: pointer;
  }

  .consent {
    margin-top: 1rem;
    font-size: 14px;
    width: 80%;
    text-align: center;
    padding: 0 1rem;
  }

  .consent input[type="checkbox"] {
    margin-right: 8px;
  }

  .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
  }

  .dot.active {
    background: #000;
    width: 20px;
    border-radius: 10px;
  }

  @media (max-width: 768px) {
    .form-step input,
    .form-step textarea {
      font-size: 32px;
    }

    .option-button {
      font-size: 1rem;
      padding: 0.75rem 1.5rem;
    }

    .nav-btn,
    .submit-btn {
      width: 48px;
      height: 48px;
      font-size: 18px;
    }

    .form-step h2 {
      font-size: 20px;
    }
  }
  /* Tablet (768px and below) */
@media (max-width: 768px) {
.form-step h2 {
  font-size: 20px;
  padding: 0 1rem;
}

.form-step input,
.form-step textarea {
  font-size: 32px;
  width: 90%;
}

.form-step textarea {
  min-height: 100px;
}

.option-buttons {
  width: 90%;
  gap: 0.75rem;
}

.option-button {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

.nav-btn,
.submit-btn {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.dots {
  bottom: 10px;
}

.consent {
  font-size: 12px;
}
.nav-btn,
.submit-btn {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.prev-btn {
  left: 10px;
}

.next-btn,
.submit-btn {
  right: 10px;
}
}

/* Phone (480px and below) */
@media (max-width: 480px) {
.form-step h2 {
  font-size: 18px;
}

.form-step input,
.form-step textarea {
  font-size: 24px;
  width: 95%;
}

.option-button {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.nav-btn,
.submit-btn {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.dots {
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
}

.dot.active {
  width: 16px;
}

.consent {
  padding: 0;
  font-size: 11px;
}
.nav-btn,
.submit-btn {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.prev-btn {
  left: 6px;
}

.next-btn,
.submit-btn {
  right: 6px;
}
}