body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 1rem;
  background-color: #f7f7fc;
  color: #333;
}

h1, h2, h3, h4 {
  margin: 0.5rem 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
  margin-bottom: 2rem;
}

input[type="text"], select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 0.6rem;
  font-size: 1rem;
  background-color: #ffa305;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ffa305;
}

.btn-custom {
  background-color: #00956c;
  border-color: #00956c;
  color: white;
}

.btn-custom:hover {
  background-color: #00956c;
  border-color: #00956c;
  color: white;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  form {
    width: 100%;
  }

  input[type="text"], select, button {
    width: 100%;
    font-size: 1rem;
  }

  h1 {
    font-size: 1.8rem;
    text-align: left;
  }

  h2, h3 {
    text-align: left;
  }

ul {
    padding: 0;
    border-radius: 8px;
    overflow: hidden; /* This ensures child elements don't stick out */
    background-color: #fff;
    border: 1px solid #dee2e6;
}


.defensive-list li {
    background-color: #810d0d;
}

    ul.list-group li,
    h3 + h4 + ul li {
        border: 1px solid var(--bs-white);
        background: #400565;
        color: var(--bs-white);
}
}