@import url(bootstrap5.min.css);
@import url(fontawesome.min.css);
@import url(theme.css);
@import url(fonts.css);


/******************/
/* HTML Overrides */
/******************/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

main {
  -webkit-animation: fade-in .8s ease-in-out;
          animation: fade-in .8s ease-in-out;
}

/***********************/
/* Bootstrap Overrides */
/***********************/

nav.navbar {
  min-height: 80px;
}

.navbar-brand img {
  max-width: 200px;
  max-height: 54px;
}

.text-muted {
  color: #4f5462 !important;
}

#form {
  & .form-select,
  & .form-control {
    border-radius: 0;
    border: none;
  }

  & .form-control:focus,
  & .form-select:focus {
    box-shadow: none;
  }

  & .form-floating > label {
    padding: 1.1rem 1.6rem;
    transition:
      opacity .1s ease-in-out,
      transform .1s ease-in-out,
      font-size .1s ease-in-out;
  }

  & .form-floating > .form-control,
  & .form-floating > .form-control-plaintext,
  & .form-floating > .form-select {
    height: calc(3.725rem + 2px);
    font-size: 1.125rem;
    font-weight: 500;
  }

  & .form-floating > .form-control,
  & .form-floating > .form-control-plaintext,
  & .form-floating > .form-select {
    padding-left: 1.6rem;
  }

  & .form-floating > .form-select {
    padding-top: 1.625rem;
  }

  & .form-floating > .form-control-plaintext:focus,
  & .form-floating > .form-control-plaintext:not(:placeholder-shown),
  & .form-floating > .form-control:focus,
  & .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.825rem;
  }

  & .form-floating > .form-control-plaintext ~ label,
  & .form-floating > .form-control:focus ~ label,
  & .form-floating > .form-control:not(:placeholder-shown) ~ label,
  & .form-floating > .form-select ~ label {
    opacity: 1;
    transform: translateY(-.8rem);
    font-size: 0.875rem;
  }

  & .input-group-text {
    background-color: #fff;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #c3cadf;
    min-width: 5rem;
    justify-content: center;
  }
}

/***********************/
/* Specific Components */
/***********************/

@media screen and (min-width: 992px) {
  #header.fixed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
}

#form {
  min-height: calc(100vh - 80px);
  overflow: hidden;
  background: var(--site-form-section-bg-mobile);
}

@media screen and (min-width: 992px) {
  #form {
    padding-top: 80px;
    background: var(--site-form-section-bg);
    min-height: 100vh;
  }
}

#form .form-container {
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 580px;
}

#form .form-header {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--site-header-font);
  text-align: center;
  margin-bottom: 1.25rem;
  align-self: flex-start;
  line-height: 1.2;
}

@media screen and (min-width: 992px) {
  #form .form-header {
    font-size: 3rem;
    text-align: start;
  }
}

#form .form-header .highlight {
  color: var(--site-text-highlight-color);
}

#form .form-container .certificates {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

#form .form-container .certificates img {
  height: 5rem;
  aspect-ratio: auto;
}

#get-started {
  width: 100%;
  /* overflow: hidden; */
  border: 1px solid #c3cadf;
  border-radius: var(--bs-border-radius);
  color: #627596;
  margin-bottom: 2rem;
  position: relative;
}

#get-started .input-groups {
  overflow: hidden;
  border-top-left-radius: var(--bs-border-radius);
  border-top-right-radius: var(--bs-border-radius);
}

@media screen and (min-width: 992px) {
  #get-started:before {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;

    position: absolute;
    z-index: 1000;
    left: -8%;
    top: -4%;

    height: 35px;
    width: 70px;
    border-radius: 50rem;

    background-color: var(--site-start-here-bg-color);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: rotate(26deg);
  }
}

#get-started .form-control,
#get-started .form-select {
  border-bottom: 1px solid #c3cadf;
}

#get-started .btn {
  --bs-btn-bg: var(--site-form-btn-bg);
  --bs-btn-color: var(--site-form-btn-color);
  --bs-btn-hover-bg: color-mix(in srgb, var(--site-form-btn-bg), white 10%);
  --bs-btn-hover-color: var(--site-form-btn-color);
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 0;
  --bs-btn-font-weight: 500;
  --bs-btn-font-size: 1.19rem;
  position: relative;
  width: calc(100% + 2px);
  height: 4.125rem;
  left: -1px;
  top: 1px;
  margin-top: -1px;
  border-bottom-left-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
  background: var(--bs-btn-bg);
}

#get-started .disclaimer {
  padding: .875rem 1rem;
  font-size: .75rem;
  background-color: var(--site-accent-bg);
}

#advantages {
  padding: 4rem 0;
}

@media screen and (min-width: 992px) {
  #advantages {
    padding: 6rem 6rem;
  }
}

#advantages .advantage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem 1rem;
}

@media screen and (min-width: 992px) {
  #advantages .advantage {
    padding: 3rem;
  }
}

#advantages .advantage img {
  max-width: 50px;
  aspect-ratio: 1/1;
  margin-bottom: 1rem;
}

#advantages .advantage .header {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: .5rem;
}

#advantages .advantage .text {
  color: #4f5462;
}

#your-covered {
  background-color: var(--site-section-bg-color);
  overflow: hidden;
  color: var(--site-section-color);
  padding: 4rem 1rem;
}

@media screen and (min-width: 992px) {
  #your-covered {
    background: no-repeat right bottom/contain url(../images/funds-for-you.png) var(--site-section-bg-color);
  }
}

#your-covered .section-header {
  margin-bottom: 3rem;
}

#your-covered .text {
  text-align: center;
}

#your-covered .text ul {
  text-align: start;
}

@media screen and (min-width: 992px) {
  #your-covered .text {
    text-align: start;
    max-width: 55%;
  }
}

#your-covered .amount {
  font-size: 3rem;
}

#your-covered ul {
  padding: 0;
  list-style: none;
  font-size: 1.125rem;
}

#your-covered ul li {
  margin-bottom: 1rem;
}

#how-it-works {
  padding: 4rem 0 5rem 0;
}

@media screen and (min-width: 992px) {
  #how-it-works {
    padding: 6rem 0 10rem 0;
  }
}

#how-it-works .cards {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

@media screen and (min-width: 992px) {
  #how-it-works .cards {
    background: no-repeat 61% 100%/contain url(../images/how-it-works-bg.png);
    margin-top: 4rem;
    padding: 0;
  }
}

#how-it-works .cards .card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(238, 241, 246, .5);
  box-shadow: 0px 20px 18px -7px rgba(29, 33, 45, 0.1);
}

#how-it-works .cards .card img {
  max-width: 7rem;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

@media screen and (max-width: 992px) {
  #how-it-works .cards .card {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 992px) {
  #how-it-works .cards .card-one,
  #how-it-works .cards .card-three {
    margin-bottom: 4rem;
  }

  #how-it-works .cards .card-two {
    margin-top: 4rem;
  }
}

#how-it-works .cards .card .card-body .header {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: .5rem;
}

#how-it-works .cards .card .card-body .text {
  color: #4f5462;
}

#footer {
  background-color: var(--site-footer-bg-color);
  color: var(--site-footer-color);
  padding: 4rem 1rem 0 1rem;
  font-size: .75rem;
}

@media screen and (min-width: 992px) {
  #footer {
    padding: 4rem 8rem 0 8rem;
  }
}

#footer .footer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 992px) {
  #footer .footer-links {
    align-items: flex-start;
  }
}

#footer .footer-link {
  margin-bottom: .6rem;
  font-size: .875rem;
}

#footer .footer-link:hover {
  color: var(--site-footer-color);
}


/**************/
/* Animations */
/**************/

@-webkit-keyframes fade-in {
  0%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/***********************/
/* Re-usable Utilities */
/***********************/

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.center-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.center-start-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

.section-header {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--site-header-font);
  line-height: 1;
  margin-bottom: .5rem;
}

.section-text {
  font-size: 1.25rem;
  color: #4f5462;
}

.btn-themed {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--bs-secondary), black 10%);
  --bs-btn-active-bg: color-mix(in srgb, var(--bs-secondary), black 10%);
  --bs-btn-active-border-color: color-mix(in srgb, var(--bs-secondary), black 10%);
  background: var(--bs-btn-bg);
}