body {
  font-family: "Pfizer Diatype", "Pfizer Diatype-fallback", sans-serif;
  margin: 0;
}

* {
  box-sizing: border-box;
}

.hero-banner-img {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: inherit;
}

.image-wrapper {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: auto 2160 / 750;
}

.image-wrapper img.desktop {
  display: none;
}

.hero-content {
  border-radius: 0;
  border-bottom-right-radius: 24px;
  border-top-right-radius: 24px;
  width: calc(100% - 24px);
  max-width: calc(100% - 24px);
  margin-top: calc(40px * -1);
  margin-left: 0;
  margin-right: 0;
  padding: 32px 24px 40px;
  box-sizing: border-box;
  z-index: 0;
  position: relative;
  background-color: #321a56;
  color: #ffffff;
}

.split-content {
  display: inline-block;
  width: 100%;
  gap: 0;
  display: flex;
  gap: 0;
  align-items: center;
  flex-direction: column;
}

.split-content > div {
  flex: 1 1;
}

.hero-content .atoms-eyebrow {
  margin-bottom: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  color: #ffffff;
  margin-top: 0;
  display: inline-block;
  font-weight: 500;
  font-size: 16px;
  font-family: "Pfizer Diatype", "Pfizer Diatype-fallback", sans-serif;
  line-height: 120%;
}

.hero-content .atoms-headline {
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-content .atoms-headline h1 {
  margin: 0;
  padding: 0;
  font-weight: 300;
  font-size: 32px;
  line-height: 120%;
  font-family: "Pfizer Diatype Extended", "Pfizer Diatype-fallback", sans-serif;
}

.hero-content .atoms-headline h1 strong {
  font-weight: bold;
}

.hero-content .atoms-content {
  margin-bottom: 24px;
}

.hero-content .atoms-content p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}

.ddg-container {
  background-color: #f3e9ff;
  padding: 24px;
}


#rightContainer p.formHeader {
  color: #333;
  text-align: center;
  margin: 0;
  padding-bottom: 32px;
  font-size: 20px;
  font-weight: 500;
}

#mTOQ {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 9.24vw, 133px);
}

#leftContainer,
#quizDownload p {
  font-weight: 500;
  font-size: 24px;
}

#leftContainer {
  color: #292929;
}

#ddgFormContainer {
  border-radius: 24px;
  font-weight: 400;
  font-size: 16px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  transition: height 0.4s ease-in-out;
}

#rightContainer {
  border-radius: 24px;
  padding: 40px;
  box-sizing: border-box;
  background-color: white;
  transition: height 0.4s ease-in-out;
  overflow: hidden;
}

button,
a#downloadBtn {
  background-color: #007bff;
  color: #321a56;
  padding: 12px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.3s;
  margin-top: 10px;
  width: max-content;
}

button.primary,
a#downloadBtn {
  background-color: #00b7a5;
}

button.primary:hover,
a#downloadBtn:hover {
  background-color: #69E3CE;
}

.radio-question-wrapper {
  border-radius: 24px;
  background-color: #f0f0f0;
  padding: 16px;
  margin-bottom: 32px;
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.radio-question-wrapper:last-child {
  margin-bottom: 0;
}

.radio-question-wrapper.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.radio-pagination {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 16px;
}

#ddgFormContainer .form-group.submit {
  margin-top: 32px;
  margin-bottom: 0;
  opacity: 1;
  transform: translateY(0);
  position: relative;
  display: flex;
  justify-content: center;
}

.form-group.submit button,
#quizDownload a#downloadBtn {
  width: 200px;
  padding: 20px 24px;
}

.form-group.submit.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Ensure proper spacing between visible questions */
.radio-question-wrapper:not(.hidden) + .radio-question-wrapper:not(.hidden) {
  margin-top: 16px;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc3545;
}

.form-group.error .error-message {
  display: block;
}

.loading {
  text-align: center;
  padding: 16px;
  color: #666;
  min-height: 172px;
  justify-content: center;
  align-items: center;
}

.radio-group {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-option input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
}

.radio-option input[type="radio"]:checked {
  accent-color: #000;
}

.radio-option label {
  margin: 0;
  cursor: pointer;
}

#quizDownload {
  padding: 40px 0;
}

#quizDownload p {
  margin: 0 0 32px 0;
}

a#downloadBtn {
  text-decoration: none;
  text-align: center;
  display: block;
}

.content-container.see-eligibility {
  background-color: #fff;
}

.eligibility {
  padding: 24px;
}

.eligibility p {
  font-size: 20px;
  font-weight: 400;
  color: #292929;
}

.eligibility p a {
  color: #321a56;
  text-underline-offset: 2px;
  font-size: 16px;
  font-weight: 700;
}

.eligibility button,
.eligibility a.secondary {
  background-color: transparent;
  color: #321a56;
  border: 2px solid #321a56;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
}

.eligibility a.secondary {
  text-decoration: none;
}

.eligibility a.secondary:hover {
  color: #ffffff;
  background-color: #321a56;
}

h2 {
  font-family: "Pfizer Diatype Extended", "Pfizer Diatype-fallback", sans-serif;
  font-size: 32px;
  font-weight: 300;
  margin: 0;
  color: #321a56;
}

h2 strong {
  font-weight: bold;
}

@media (min-width: 1024px) {
  .image-wrapper img.desktop {
    display: block;
  }

  .image-wrapper img.mobile {
    display: none;
  }

  
  .hero-content {
    padding: 56px 110px 56px 80px;
    margin-top: -140px;
  }

  .split-content {
    flex-direction: row;
    gap: 134px;
  }

  .hero-content .atoms-eyebrow {
    font-size: 20px;
  }

  .hero-content .atoms-headline {
    margin-bottom: 0;
  }

  .hero-content .atoms-headline h1 {
    font-size: 48px;
  }

  .hero-content .atoms-content {
    margin-bottom: 0;
  }

  .hero-content .atoms-content p {
    font-size: 20px;
    max-width: 519px;
  }

  .ddg-container {
    padding: 80px 80px 40px;
  }

  .container #mTOQ,
  #quizDownload {
    padding: 0;
    justify-content: space-between;
  }

  #mTOQ {
    flex-direction: row;
  }

  #mTOQ #leftContainer {
    max-width: 36%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #mTOQ #rightContainer {
    width: 596px;
    max-width: 44%;
    margin: 44px 0;
    height: fit-content;
    min-height: 172px;
  }

  .loading {
    min-width: 350px;
  }

  #ddgFormContainer .form-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  #ddgFormContainer .form-group label {
    max-width: 380px;
  }

  .radio-question-wrapper {
    display: flex;
    flex-direction: column;
  }

  .radio-question-wrapper .fieldRadio {
    display: flex;
  }

  .radio-group {
    margin: 0;
  }

  #quizDownload p {
    max-width: 1063px;
  }

  .content-container.eligibility-content{
    max-width: 83.33%;
  }

  .eligibility {
    padding: 40px 80px;
  }

  .eligibility p a {
    font-size: 20px;
  }

  .eligibility button,
  .eligibility a.secondary {
    margin-top: 32px;
    justify-content: flex-start;
    width: fit-content;
    padding: 20px 24px;
  }

  h2 {
    font-size: 40px;
  }
}

button:disabled {
  background-color: #cccccc !important;
  color: #666666 !important;
  cursor: not-allowed;
  opacity: 0.7;
}
