/* General Reset */
body, h1, p, label, button, input, select {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Fredoka', sans-serif; /* Bold, playful sans-serif font */
  background: linear-gradient(135deg, #a8e6cf, #dcedc1); /* Vibrant green-blue gradient */
  color: #333; /* Neutral text color */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden; /* Allow vertical scrolling but hide horizontal overflow */
}

/* Organic Background Shapes */
body::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: #ffcc80; /* Pastel orange */
  border-radius: 50%;
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

body::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: #ff8a80; /* Pastel red */
  border-radius: 50%;
  z-index: -1;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}

/* Container Styling */
.container {
  background: #fff; /* White card background */
  border-radius: 20px; /* Rounded corners */
  padding: 30px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  position: relative;
  z-index: 1;
}

/* Headline Styling */
h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #6a1b9a; /* Bold purple for titles */
  text-transform: uppercase;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #333;
  text-transform: uppercase;
  font-weight: bold;
}

input, select, button {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 10px; /* Rounded corners */
  background: #f0f4c3; /* Light pastel yellow */
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.2s, box-shadow 0.2s;
}

input::placeholder {
  color: #aaa;
}

input:focus, select:focus {
  outline: none;
  transform: scale(1.02); /* Slight zoom on focus */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

button {
  cursor: pointer;
  background: #ff8a80; /* Vibrant pastel red */
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
  transform: translateY(-5px); /* Floating effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

button::after {
  content: '❤️';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Floating Call-to-Action Button */
#submitBtn {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Alert Styling */
.alert {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  background: #dcedc1; /* Light green */
  color: #333;
  margin-top: 20px;
  font-weight: bold;
}

.alert.error {
  background: #ff8a80; /* Pastel red for error */
  color: #fff;
}

/* Sticker-Style Badges */
.badge {
  display: inline-block;
  background: #ffcc80; /* Pastel orange */
  color: #333;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

/* Hidden Elements */
.hidden {
  display: none;
}