/* Base reset */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  line-height: 1.4;
}

/* Newsletter section background */
.newsletter-section {
  background-color: #005a8f; /* deep blue similar to AmazingFacts site */
  padding: 60px 20px;
  color: white;
  display: flex;
  justify-content: center;
}

/* Wrapper to limit width (about 75%) */
.newsletter-wrapper {
  width: 75%;
  max-width: 800px;
  margin: 0 auto;
}

/* Headings */
.newsletter-heading {
  font-size: 2rem;
  margin-bottom: 8px;
}
.newsletter-subheading {
  font-size: 1rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Options (checkboxes) */
.newsletter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.newsletter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.newsletter-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Input + Button row */
.newsletter-input-group {
  display: flex;
  gap: 12px;
}
.newsletter-input {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}
.newsletter-button {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: #ff7a43;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}
.newsletter-button:hover {
  background-color: #f04d1a;
}

/* Note under form */
.newsletter-note {
  font-size: 0.85rem;
  opacity: 0.8;
}
.required {
  font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
  .newsletter-wrapper {
    width: 90%;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-button {
    width: 100%;
  }
}
