*, *::before, *::after{
  box-sizing: border-box; /* Set the sizing of an element to include it's border */
}

*{
  margin: 0; /* Set the default margin to 0 */
  padding: 0; /* Set the default padding to 0 */
}

ul[role='list'], ol[role='list']{
  list-style: none; /* Turn off numbered and unordered list decoration */
}

html:focus-within{
  scroll-behavior: smooth; /* Make the scrolling inside of any scrollable element smooth */
}

a:not([class]){
  text-decoration-skip-ink: auto; /* Makes link undelines look better */
}

img, picture, video, canvas{
  max-width: 100%; /* Makes it responsive */
  height: auto; /* Makes it responsive */
  vertical-align: middle; /* Makes text next to inline images look better */
  font-style: italic; /* If the images don't load it makes the alt decription look better */
  background-repeat: no-repeat;
  /* The background repeat and size are there if you want to load a picture first like a backroung image that is worse quality while the better quality image loads */
  background-size: cover;
}

input, button, textarea, select{
  font: inherit; /* Makes these elements inherit fonts */
}

:root {
  --Black: #0A1225;
  --Gray-70: #516596;
}

/* Turns off animation for people who don't want to see them */
@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;
  }
}
/* styles */

body, html{
  height: 100%; /* Makes the body element full screen */
  scroll-behavior: smooth; /* Makes normal scrolling smooth */
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: var(--Black);
}

body {
  margin-bottom: -200px;
}

body.success {
  background-color: #f7f9ff;
}

.container {
  margin: 0 auto;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.container.terms {
  background-color: #f7f9ff;
}
.no-border-radius {
  border-radius: 0 !important;
}
.container.success {
  background-color: #f7f9ff;
  min-height: 0;
}

/* Top Section */
.top-section {
  position: relative;
  height: 541px;
}

.top-section-bg-wrapper {
  position: absolute;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.header-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px 0;
  z-index: 1;
}

.top-section-content-wrapper {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 541px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.top-section-bg-wrapper img {
  height: 1800px;
}

h1 {
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0 auto;
  max-width: 505px;
  position: relative;
  z-index: 1;
}

h1 span {
  position: relative;
  z-index: 2;
}

p {

text-align: center;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.24px;
color: var(--Gray-70);
margin: 0 auto;
max-width: 600px;
position: relative;
z-index: 1;
}

.img-dog {
  position: absolute;
  z-index: 1;
    right: -180px;
    bottom: -30px;

}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.button-container a {
  margin: 0 12px;
}

.button-container.mt-0 {
  margin-top: 0;
}
/* Second Section */
.second-section {
  margin-top: 150px;
  position: relative;
  z-index: 2;
  background-color: #fff;
  padding: 80px 104px;
  border-top-left-radius: 240px;
  border-bottom-right-radius: 240px;
}

h2 {
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 64px;
}

.inner-section {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1230px;
  width: 100%;
  margin-top: 100px;
}

.inner-section.mt-64 {
  margin-top: 64px;
}


ul li {
  list-style-type: none;
}

.inner-section .text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40%;
  flex: 1;
}

h3 {

  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.inner-section .text-wrapper ul {
  margin-top: 8px;
}

.inner-section .text-wrapper li {
  margin-top: 16px;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  display: flex;
  align-items: center;
}

.inner-section .text-wrapper li span {
  padding-left: 8px;
}

.inner-section .text-wrapper li svg {
  min-width: 16px;
  max-width: 16px;
}

.contact-us {
  padding: 320px 0 240px;
  background: linear-gradient(90deg, rgba(254,225,232,1) 0%, #f8f9ff 30%);
  position: relative;
  margin-top: -240px;
}

/* contact us */
.form-wrapper {
  position: relative;
}

.text-fields {
  display: flex;
  flex-direction: column;
  width: 604px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  margin: 0 auto;
  margin-top: 64px;
}

.text-fields .input {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.text-fields .input.has-error label,
.text-fields .textarea-wrapper.has-error label {
  color: rgb(119, 0, 0);
}

.text-fields .input.has-error .input-base,
.text-fields .textarea-wrapper.has-error .input-base,
.text-fields .textarea-wrapper.has-error .input-base-2 {
  border-color: rgb(119, 0, 0);
}

.text-fields .input.has-error .input-base svg path {
  stroke: rgb(119, 0, 0);
}

.text-fields .label-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 2px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 24px;
}

.text-fields label {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-weight: 500;
  color: rgba(10, 18, 37, 1);
  font-size: 12px;
}

.text-fields .input-base {
  align-items: center;
  justify-content: space-between;
  padding: 0px 0px 0px 8px;
  flex: 0 0 auto;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid;
  border-color: rgba(195, 205, 231, 1);
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;

}

.text-fields .img {
  position: relative;
  width: 24px;
  height: 24px;
}

.text-fields .input-container {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 2px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}
.text-fields .input-container.textarea {
  height: 100%;
}

.text-fields input {
  padding: 8px 16px;
  outline: none;
  border: none;
  width: 100%;

}

.text-fields .value {
  position: relative;
  width: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.text-fields .textarea-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.text-fields .input-base-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid;
  border-color: rgba(195, 205, 231, 1);
}

.text-fields .big-button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  width: 181px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  position: relative;
  background-color: #FFC055;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.text-fields .big-button:hover {
  background-color: #ffe1ad;
}

.text-fields label {
  position: relative;
  width: fit-content;
  text-align: center;
  white-space: nowrap;
}

textarea {
  width: 100%;
  height: 100%;
  padding: 8px 0;
  outline: none;
  border: none;
  width: 100%;
  resize: none;
}

footer {
  width: 100%;
  padding: 64px 104px;
  background-color: #fff;
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
  position: relative;
  margin-top: -152px;
}

footer .footer-inner-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1230px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.footer-dog {
  position: absolute;
  left: -114px;
  bottom: -64px;
}

.footer-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer-section {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.footer-section.last {
  margin-top: 32px;
}

a {
  text-decoration: none;
}

.social-wrapper {
  width: 63px;
  display: flex;
  justify-content: space-between;
}

.footer-links-wrapper {
  display: flex;
}

.footer-links-wrapper a {
  color: #516596;
  text-align: center;
  /* Link */
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.footer-links-wrapper a:hover {
  text-decoration: underline;
}

.footer-links-wrapper a:first-of-type {
  margin-right: 12px;
}

.img-wrapper {
  max-width: 60%;
  flex: 1;
}

.img-wrapper.right {
  display: flex;
  justify-content: flex-end;
}

.img-wrapper img {
  max-width: 100%;
}

.text-wrapper.left {
  padding-right: 20px;
}

.text-wrapper.right {
  padding-left: 20px;
}

.top-section-terms {
  height: 220px;
  display: flex;
  justify-content: center;
  position: relative;
}


.top-section-terms img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.top-section-terms .link-wrapper {
  position: absolute;
  left: 10%;
  top: 22px;
  z-index: 2;
  height: 22px;
}
.top-section-terms .link-wrapper a {
  display: flex;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  align-items: center;
  color: #000;
  height: 100%;
}
.top-section-terms .link-wrapper a svg {
  margin-right: 10px;
}
.second-section.terms {
  margin-top: 0;
  border-bottom-right-radius: 0;
}

.text-content {
  font-size: 16px;
  max-width: 604px;
  margin: 0 auto;
  margin-top: 32px;
}

.terms h1 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.mt-0 {
  margin-top: 0 !important;
}

.error {
  font-size: 12px;
  color: rgb(119, 0, 0);
  padding-left: 10px;
  margin-bottom: 10px;
  display: none;
}

.section-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 104px;
}
.section-success svg {
  max-height: 400px;
}

.success-title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
}

.success-subtitle {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.24px;
  color: var(--Gray-70);
}

.redirect-link {
  background-color: #FFC055;
  color: var(--Black);
  display: flex;
  width: 390px;
  height: 48px;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px; /* 155.556% */
  letter-spacing: 0.36px;
  margin-top: 24px;
  border-radius: 24px;
}

@media (max-width: 1280px) {
  .second-section, footer {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1024px) {
  .second-section, footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}


@media (max-width: 767px) {
  .header-wrapper {
    padding: 8px 0;
    display: none;
  }
  h1 {
    font-size: 30px;
  }
  p {
    font-size: 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 375px;
    padding: 0 24px;
  }
  .top-section {
    height: 326px;
  }
  .top-section-content-wrapper {
    height: 326px;
  }
  .img-dog {
    right: -70px;
    bottom: 16px;
    max-width: 182px;
  }
  .second-section {
    margin-top: 75px;
  }
  h2 {
    font-size: 24px;
  }
  .second-section {
    padding: 40px 24px;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
  }
  .button-container a {
    margin: 0 6px;
  }
  .inner-section, .inner-section.mt-64 {
    margin-top: 40px;
  }
  h2 {
    margin: 0;
  }
  .inner-section {
    flex-direction: column;
  }
  .img-wrapper, .text-wrapper, .text-wrapper.left, .text-wrapper.right {
    max-width: 100%;
  }
  .mobile-reverse {
    flex-direction: column-reverse;
  }
  h3 {
    font-size: 20px;
  }
  .inner-section .text-wrapper li {
    font-size: 16px;
    line-height: normal;
  }
  .contact-us {
    padding: 280px 0 190px;
  }
  footer {
    padding: 40px 24px;
  }
  footer .footer-inner-content {
    flex-direction: column;
  }
  .footer-section {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .footer-section:nth-child(2), .buttons-wrapper {
    margin-top: 24px;
  }
  .footer-section.last {
    margin-top: 19px;
  }
  .footer-links-wrapper {
    flex-direction: column;
    margin-top: 16px;
  }
  .footer-links-wrapper a {
    margin: 0;
  }
  .footer-links-wrapper a:nth-child(2) {
    margin-top: 20px;
  }
  .footer-dog {
    display: none;
  }
  .contact-us {
    padding-left: 24px;
    padding-right: 24px;
  }
  .text-fields {
    width: 100%;
  }
  .top-section-terms {
    height: 150px;
  }
  .top-section-terms svg {
    height: 280px;
    left: -30%;
    top: 0px;
  }
  h1.terms {
    font-size: 20px;
  }

  .section-success {
    padding-bottom: 66px;
  }
  .section-success svg {
    max-height: 250px;
  }

  .success-title {
    font-size: 20px;
  }

  .success-subtitle {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .redirect-link {
    background-color: #FFC055;
    color: var(--Black);
    display: flex;
    width: 260px;
    height: 32px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 28px; /* 155.556% */
    letter-spacing: 0.36px;
    margin-top: 24px;
    border-radius: 24px;
  }
  /* .header-wrapper.success {
    display: flex;
  } */
}

.loader-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.loader {
  width: 100px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #514b82;
  top: -50px;
  position: relative;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}
