*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture, svg, video, canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}
body, html {
  height: 100%;
  scroll-behavior: smooth;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

body {
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

ul, ol {
  list-style-position: inside;
}

.header {
  min-height: 100px;
  background: #334471;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  color: #FFFFFF;
  font-family: "Lora", sans-serif;
  font-weight: 300;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .header {
    font-size: 20px;
  }
}

.wrap {
  display: flex;
  flex-direction: column;
}
.wrap .important {
  color: red;
}
@media screen and (max-width: 768px) {
  .wrap.container {
    padding: 0 10px;
  }
}
.wrap .under-header {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  color: #7A7A7A;
  align-self: center;
}
.wrap .main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: "Lato", sans-serif;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0 50px;
}
.wrap .main-header .item {
  font-size: 16px;
  display: flex;
  gap: 10px;
}
.wrap .main-header .inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}
.wrap .main-header .socials-img {
  max-width: 137px;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .wrap .main-header .socials-img {
    display: none;
  }
  .wrap .main-header .item {
    gap: 20px;
  }
  .wrap .main-header .item:last-child svg {
    display: none;
  }
  .wrap .main-header .item:last-child span {
    text-align: center;
    font-size: 12px;
  }
}
.wrap .main {
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25);
  padding: 21px 50px 41px;
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .wrap .main {
    padding: 20px;
  }
}
.wrap .main .text-content {
  display: flex;
  flex-direction: column;
}
.wrap .main .text-content h1 {
  font-size: 40px;
  font-weight: 500;
  font-family: "Lora", sans-serif;
  line-height: 1;
  margin-bottom: 20px;
}
.wrap .main .text-content h2 {
  font-size: 28px;
  font-family: "Lato", sans-serif;
  margin-bottom: 20px;
}
.wrap .main .text-content h4 {
  color: #292525;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-weight: bolder;
  margin: 15px 0;
}
.wrap .main .text-content p {
  color: #292525;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 20px;
}
.wrap .main .text-content .form-btn {
  background-image: linear-gradient(135deg, #D21125 0%, #A81916 100%);
  padding: 20px 40px 20px 40px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF;
  margin: 30px auto 50px;
  border-radius: 3px;
}
.wrap .main .text-content .link {
  text-decoration: none;
  color: #334471;
  font-weight: bolder;
}
.wrap .main .text-content .first-section-title {
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}
.wrap .main .text-content .caption {
  margin-top: 25px;
  margin-bottom: 35px;
}
.wrap .main .text-content .caption-alt {
  color: #7a7a7a;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 28px;
  font-size: 15px;
  border-bottom: 1px solid #7a7a7a;
}
.wrap .main .text-content .list {
  line-height: 140%;
  margin: 10px 0 10px 0px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .wrap .main .text-content p {
    margin-bottom: 15px;
  }
  .wrap .main .text-content h1 {
    font-size: 32px;
    line-height: 37px;
    margin-bottom: 20px;
  }
  .wrap .main .text-content .first-section-title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  .wrap .main .text-content h2 {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 20px;
  }
  .wrap .main .text-content h4 {
    margin: 0;
  }
  .wrap .main .text-content .form-btn {
    margin: 10px auto 20px;
    font-size: 15px;
    text-align: center;
  }
  .wrap .main .text-content .list {
    margin: 0px 0 15px 0px;
  }
  .wrap .main .text-content .caption {
    margin-top: 0;
    margin-bottom: 0;
  }
  .wrap .main .text-content .caption-alt {
    font-size: 12px;
    line-height: 100%;
    padding: 10px 0 0;
  }
}
.wrap .main .form-section {
  margin-top: 80px;
}
.wrap .main .form-section .form-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.wrap .main .form-section .form-title h3 {
  color: #292525;
  font-family: "Lora", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}
.wrap .main .form-section .form-title span {
  color: #000000;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  .wrap .main .form-section {
    margin-top: 30px;
  }
  .wrap .main .form-section .form-title {
    text-align: center;
  }
  .wrap .main .form-section .form-title h3 {
    text-align: center;
    font-size: 22px;
    line-height: 24px;
  }
}
.wrap .main .form-section #form {
  background-color: #ffffff;
  margin: 0 auto;
  padding: 0 0 40px;
  width: 100%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}
.wrap .main .form-section #form .form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 380px;
  width: 100%;
}
.wrap .main .form-section #form .input-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wrap .main .form-section #form input {
  height: 60px;
  padding: 0.5rem 1rem;
  background-color: #fafafa;
  border: 1px #c0c0c0;
  color: #334471;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  text-align: center;
  border-radius: 6px;
  outline: none;
  width: 100%;
}
.wrap .main .form-section #form input::placeholder {
  text-align: center;
}
.wrap .main .form-section #form .submit {
  width: 100%;
  background: linear-gradient(135deg, #D21125 0%, #A81916 100%);
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 6px;
  margin-top: 10px;
  transition: opacity 0.3s ease;
}
.wrap .main .form-section #form .submit.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wrap .main .form-section #form .submit.disabled:hover {
  opacity: 0.5;
}
.wrap .main .form-section #form .submit:hover {
  opacity: 0.8;
}
.wrap .main .form-section #form input.hideradio { /* HIDE RADIO */
  visibility: hidden; /* Makes input not-clickable */
  position: absolute; /* Remove input from document flow */
}
.wrap .main .form-section #form .imgradio {
  justify-content: space-between;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 28px;
}
.wrap .main .form-section #form .imgradio label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.wrap .main .form-section #form .imgradio label > input + img {
  cursor: pointer;
  padding: 4px;
  border: 3px solid #d8d8d8;
  border-radius: 50%;
}
.wrap .main .form-section #form .imgradio label > input.active + img {
  width: 165px;
  padding: 10px;
  box-sizing: content-box;
  border: 3px solid #334471;
}
.wrap .main .form-section #form .imgradio label > span {
  font-size: 19px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  padding-top: 10px;
}
.wrap .main .form-section #form .input-error {
  font-size: 13px;
  color: #dc3232;
}
.wrap .main .form-section #form .tab {
  display: none;
  justify-content: center;
  align-items: center;
}
.wrap .main .form-section #form .tab .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 100%;
  margin-top: 50px;
}
.wrap .main .form-section #form .tab .inner h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  margin-bottom: 30px;
  margin-top: 6px;
  text-align: center;
}
.wrap .main .form-section #form #response-message {
  font-family: "Roboto", sans-serif;
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2;
  font-size: 18px;
}
.wrap .main .form-section #form #response-message.failure {
  border-color: #ffb900;
}
.wrap .main .form-section #form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 10px;
  margin-top: 50px;
}
.wrap .main .form-section #form .checkbox-row p {
  color: #0C0C0C;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 400;
}
.wrap .main .form-section #form .checkbox-row input {
  margin-top: 5px;
  width: fit-content !important;
  height: auto;
}
@media screen and (max-width: 768px) {
  .wrap .main .form-section #form .checkbox-row p {
    padding: 0;
    font-size: 10px;
    line-height: 140%;
  }
  .wrap .main .form-section #form .tab .imgradio {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .wrap .main .form-section #form .tab .imgradio label img {
    width: 150px;
  }
  .wrap .main .form-section #form .tab .imgradio label > input.active + img {
    width: 112px;
    padding: 7px;
  }
  .wrap .main .form-section #form .tab .imgradio label span {
    font-size: 16px;
    line-height: 26px;
  }
  .wrap .main .form-section #form .tab .form-fields input {
    font-size: 20px;
    font-family: "Roboto", sans-serif;
  }
  .wrap .main .form-section #form .tab .inner {
    padding: 10px;
    margin-top: 30px;
  }
  .wrap .main .form-section #form .tab .inner h3 {
    margin-bottom: 15px;
  }
}

.footer {
  background: #0D0F13;
  padding: 60px 0;
  text-align: center;
  color: #E2E2E2;
  font-family: "Poppins", sans-serif;
  font-size: 9px;
  font-weight: 400;
}
.footer .link {
  color: #e20514;
  text-decoration: none;
}
.footer p {
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .footer {
    padding: 30px 20px;
  }
}

/* popups */
.popup {
  margin: 0 auto;
}
.popup::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.popup .dialog-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  max-width: 640px !important;
  padding: 30px;
}
.popup .dialog-content ul {
  margin: 20px 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup .dialog-content a {
  color: #de0000;
}
.popup .dialog-content .close-btn {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
  background: none;
  border: none;
  font-weight: bold;
}

/* Thankyou page */
.thank-you-page .form-wrap {
  margin-top: 30px;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.thank-you-page .form-wrap p {
  font-size: 20px;
  text-align: center;
}
.caption img {
  width: 100%;
}