body {
  min-height: 100vh;
  margin: 0;
  background: hsl(148, 38%, 91%);
  font-family: 'Karla', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 600px;
  width: 100%;
  margin: 40px 0;
}

.contact-form h1 {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(187, 24%, 22%);
  margin-bottom: 1.5rem;
}

.row {
  display: flex;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 1rem;
  color: hsl(187, 24%, 22%);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.required {
  color: hsl(169, 82%, 27%);
  font-weight: 700;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.7rem 1rem;
  border: 1px solid hsl(186, 15%, 59%);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 1.5px solid hsl(169, 82%, 27%);
  outline: none;
}

.radio-group {
  display: flex;
  gap: 1rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid hsl(186, 15%, 59%);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: border 0.2s;
}
.radio-label input[type="radio"] {
  accent-color: hsl(169, 82%, 27%);
}
.radio-label:has(input[type="radio"]:checked) {
  border: 1.5px solid hsl(169, 82%, 27%);
  background: hsl(148, 38%, 91%);
}

textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.checkbox-group input[type="checkbox"] {
  accent-color: hsl(169, 82%, 27%);
  width: 18px;
  height: 18px;
}
.checkbox-group label {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0;
}

.submit-btn {
  width: 100%;
  background: hsl(169, 82%, 27%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 1rem 0;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.submit-btn:hover,
.submit-btn:focus {
  background: hsl(169, 82%, 22%);
}

.attribution {
  text-align: center;
  font-size: 13px;
  color: hsl(187, 24%, 22%);
  margin-bottom: 1rem;
}
.attribution a {
  color: hsl(169, 82%, 27%);
  text-decoration: none;
}

@media (max-width: 600px) {
  .container {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
  .row {
    flex-direction: column;
    gap: 0;
  }
}








