:root {
  /* --color-primary: hsl(189, 66%, 8%);
  --color-primary--light: hsl(189, 66%, 50%);
  --color-primary--dark: hsl(189, 66%, 3%);

  --color-secondary: hsl(177, 61%, 29%);
  --color-secondary-light: hsl(177, 61%, 59%);
  --color-secondary-dark: hsl(177, 61%, 19%); */

  /* --color-primary: hsl(206, 46%, 46%);
  --color-primary--light: hsl(206, 46%, 76%);
  --color-primary--lighter: hsl(206, 46%, 86%);
  --color-primary--dark: hsl(206, 46%, 26%);
  --color-primary--darker: hsl(206, 46%, 16%);

  --color-secondary: hsl(198, 21%, 66%);
  --color-secondary-light: hsl(198, 21%, 86%);
  --color-secondary-lighter: hsl(198, 21%, 96%);
  --color-secondary-dark: hsl(198, 21%, 46%);
  --color-secondary-darker: hsl(198, 21%, 36%); */

  --color-primary: hsl(338, 85%, 46%);
  --color-primary--light: hsl(338, 85%, 56%);
  --color-primary--lighter: hsl(338, 85%, 90%);
  --color-primary--dark: hsl(338, 85%, 36%);
  --color-primary--darker: hsl(338, 85%, 26%);

  --color-secondary: hsl(335, 52%, 37%);
  --color-secondary--light: hsl(335, 52%, 47%);
  --color-secondary--lighter: hsl(335, 52%, 90%);
  --color-secondary--dark: hsl(335, 52%, 27%);
  --color-secondary--darker: hsl(335, 52%, 17%);

  --color-grey: #f5f5f5;
  --color-grey--light: #f9f9fa;
  --color-grey--dark: hsl(240, 9%, 90%);

  --color-bg: hsl(338, 85%, 97%);
  --color-text: hsl(0, 0%, 12%);

  --font-heading1: clamp(3rem, 2.5385rem + 2.0513vw, 4rem);
  --font-heading2: clamp(2.4rem, 2.1231rem + 1.2308vw, 3rem);
  --font-heading3: clamp(2.1rem, 1.9154rem + 0.8205vw, 2.5rem);
  --font-heading4: clamp(1.8rem, 1.7077rem + 0.4103vw, 2rem);
  --font-heading5: clamp(1.6rem, 1.5308rem + 0.3077vw, 1.75rem);
  --font-heading6: clamp(1.4rem, 1.3538rem + 0.2051vw, 1.5rem);
  --font-subheading: 2.3rem;
  --font-text: 1.8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: var(--color-primary);
}

a:active,
a:visited {
  color: var(--color-secondary--dark);
}

h1 {
  font-size: var(--font-heading1);
  line-height: 1.25em;
}
h2 {
  font-size: var(--font-heading2);
}
h3 {
  font-size: var(--font-heading3);
}
h4 {
  font-size: var(--font-heading4);
}
h5 {
  font-size: var(--font-heading5);
}
h6 {
  font-size: var(--font-heading6);
}

html {
  font-size: 62.5%;
}

body {
  font-size: var(--font-text);

  font-family: "Outfit", sans-serif;
  line-height: 1.5em;
  /* color: var(--color-text);
  background: linear-gradient(
    90deg,
    var(--color-primary--lighter),
    white,
    var(--color-secondary-lighter)
  ); */
  background-color: var(--color-bg);
}
.main--other {
  padding: 5rem 0;
}
.wrapper--other {
  display: flex;
  gap: 5rem;
}

.steps {
  width: 30%;
  text-align: center;
}

.main__content {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.wrapper {
  max-width: 140rem;
  margin: 0 auto;
}

/* Header */
header {
  /* height: 100dvh; */

  .nav__logo {
    color: var(--color-primary);
    font-size: 4rem;
    font-weight: 200;
  }

  .nav__logo strong {
    font-weight: 800;
  }

  .nav__wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }

  .nav__toggle {
    height: 4rem;
    width: 4rem;
    cursor: pointer;
    /* border: 3px solid var(--color-secondary); */
    border-radius: 5px;
    padding: 2px;
    background-color: var(--color-primary);
  }

  .nav__toggle svg {
    height: 100%;
    width: 100%;
  }

  /* .header__nav > div {
    width: 0%;
  } */

  .header__nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 5rem 0;
  }

  .nav-active {
    /* display: flex !important; */
    max-height: 200px !important;
  }

  .nav__list {
    list-style: none;
    display: flex;
    justify-content: end;
    gap: 2rem;
    width: 100%;
    transition: all 0.5s;
  }

  .nav__toggle {
    display: none;
  }
  .nav__item a {
    color: black;
    text-decoration: none;
    text-transform: capitalize;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
  }
  .nav__item a:hover {
    /* text-decoration: underline; */
    border-bottom: 2px solid black;
  }

  /* Hero Section */
  .section--hero {
    display: flex;
    padding: 5rem 0 5rem 0;
  }

  .hero__text-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .hero__heading {
    font-size: var(--font-heading1);
    font-weight: 600;
  }

  .hero__subheading {
    font-size: var(--font-subheading);
  }

  .hero__form {
    height: 30rem;
    width: 40rem;
    border-radius: 1rem;
    background: var(--color-primary);
  }

  .hero__img {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero__img div {
    width: 85%;
    border-radius: 100rem;
    background: linear-gradient(
      135deg,
      var(--color-secondary--lighter),
      var(--color-primary--lighter)
    );
  }
  .hero__img div img {
    height: 100%;
    width: 100%;
  }
}

/* Feature Section */
.section--feature {
  background: linear-gradient(
    90deg,
    var(--color-primary--lighter),
    var(--color-secondary--lighter)
  );
  padding: 5rem 0;
}

.feature__list {
  display: flex;
  justify-content: space-between;
}

.feature__item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.feature__icon {
  background-color: var(--color-primary);
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 100rem;
  width: 4rem;
}
.feature__icon svg {
  height: 90%;
  width: 90%;
}

/* Working Sectuib */
.section--working {
  padding: 10rem 0;
  text-align: center;
}

.wrapper--working {
  position: relative;
}

.working__circle {
  position: absolute;
  z-index: 100;
}

.working__circle--one {
  left: 8rem;
  top: 10%;
  height: 5rem;
}

.working__circle--two {
  left: 2rem;
  top: 0;
  height: 3rem;
}

.working__circle svg {
  height: 100%;
  width: 100%;
}
.working__heading {
  font-size: var(--font-heading2);
  text-transform: capitalize;
  margin-bottom: 2rem;
}

.working__description {
  font-size: var(--font-subheading);
}

.steps .step__list {
  flex-direction: column;
}

.step__list {
  display: flex;
  margin-top: 8rem;
  gap: 4rem;
}

.step__item {
  box-shadow: 0 1rem 2.5rem -1rem rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.6);
  padding: 3rem 5rem;
  border-radius: 1rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-direction: column;
}

.step__img {
  height: 11rem;
  width: 11rem;
  padding: 2rem;
  border-radius: 100rem;
  background: linear-gradient(
    90deg,
    var(--color-primary--lighter),
    var(--color-secondary--lighter)
  );
}
.step__img g {
}

.step__heading {
  text-transform: capitalize;
  font-size: var(--font-heading3);
}

/* Why Choose Us Section */
.section--why-us {
  padding: 8rem 0;
}

.wrapper--why-us {
  display: flex;
  gap: 5rem;
}

.wrapper--why-us div {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.why-us__img-wrapper {
  align-items: end;
}

.why-us__img {
  width: 60rem;
}

.why-us__heading {
  font-size: var(--font-heading2);
}

.why-us__description {
  font-size: var(--font-subheading);
}

.why-us__list {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.why-us__item {
  display: flex;
  gap: 2rem;
}

.why-us-icon {
  height: 3rem;
  border: 3px solid var(--color-primary);
  border-radius: 100rem;
  aspect-ratio: 1;
  display: inline-block;
}
.why-us-icon svg {
  height: 100%;
  width: 100%;
}

/* CTA Section */
.section--cta {
  padding: 10rem;
}

.cta__wrapper {
  padding: 10rem;
  width: 95%;
  margin: 0 auto;
  background: url(./your-covered-bg.png);
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;

  border-radius: 3rem;
  overflow: hidden;
  z-index: 10;
  /* border-image: linear-gradient(90deg, var(--color-primary) 50%, transparent)
    fill 1;
  border-radius: 2rem; */
}

.cta__wrapper::after {
  content: "";
  height: 100%;
  width: 100%;
  z-index: -2;
  position: absolute;
  top: 0;
  left: 0;
}
.cta__wrapper::before {
  content: "";
  z-index: -1;
  background: linear-gradient(
    90deg,
    var(--color-primary--lighter) 50%,
    transparent
  );
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.cta__text-box {
  display: flex;
  gap: 3rem;
  flex-direction: column;
  width: 70%;
}

.cta__heading {
  font-size: var(--font-heading2);
}

.cta__description {
  font-size: var(--font-text);
}
.cta__button--other a {
  color: white;
  text-decoration: none;
}

.cta__button--other {
  margin-top: 2rem;
  margin: 2rem auto;
}

.cta__button {
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  cursor: pointer;
  width: max-content;
  border: none;
  font-size: var(--font-text);
  color: white;
  padding: 1.5rem 4rem;
  border-radius: 6px;
  transition: all 0.5s;
  background-position: left;
  background-size: 200%;
  display: flex;
  gap: 2rem;
  text-transform: capitalize;
}
.cta__button:hover {
  background-position: right;
}

footer {
  background-color: var(--color-secondary--lighter);
  padding: 5rem 0;

  .footer__nav {
    display: flex;
    justify-content: space-between;
  }

  .wrapper--footer {
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }

  .footer__nav > div {
    width: 40%;
  }

  .footer__logo {
    color: var(--color-primary);
    font-size: 6rem;
    font-weight: 200;
    line-height: 1.1em;
  }

  .footer__logo strong {
    font-weight: 800;
  }

  .nav__list {
    list-style: none;
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .nav__item a {
    text-decoration: none;
    color: black;
    font-size: 2rem;
    text-transform: capitalize;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
  }
  .nav__item a:hover {
    /* text-decoration: underline; */
    border-bottom: 2px solid black;
  }

  .footer__description {
    display: grid;
    gap: 2rem;
  }
}

/* Form Styling */
.form__container {
  /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */

  min-height: 500px;
  min-width: 500px;
  width: 500px;
  position: relative;
  /* padding: 10px; */
  overflow: hidden;
}

.helper {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.helper__img {
  height: 50px;
  width: 50px;
  border-radius: 10000px;
}
.helper__img img {
  height: 50px;
  width: 50px;
  border-radius: 10000px;
  border: 2px solid var(--color-primary);
}
.helper__text {
  background-color: var(--color-grey--dark);
  padding: 15px;
  border-radius: 5px;
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.2em;
}

.form__container .step {
  /* transition: all 0.5s; */
  width: 100%;
  width: 500px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px;
}

.form__container .form__header {
  margin-bottom: 20px;
}

.form__container .form__heading {
  font-size: 24px;
  text-transform: capitalize;
  font-weight: 600;
  text-align: left;
  color: black;
  margin-bottom: 10px;
}

.form__container .form__description {
  color: black;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.form__container .form__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.form__container .form__btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.form__container .form__content .form__btn--option {
  width: 100%;
  padding: 20px;
  border-radius: 1000px;
  box-shadow: 3px 11px 20px rgba(0, 0, 0, 0.15);
  background: white;
  font-weight: 500;
  color: var(--color-primary);
  font-size: 16px;
}

.form__container .form__content .form__btn--option:hover {
  background: var(--color-primary);
  color: white;
}

.form__container .form__btn--back {
  float: left;
  height: 40px;
  aspect-ratio: 1;
  background: var(--color-grey--dark);
  border-radius: 5px;
}
.form__container .form__btn--back svg {
  height: 100%;
  opacity: 0.7;
  aspect-ratio: 1;
}

.form__container .form__select {
  padding: 15px;
  background-color: white;
  border-radius: 5px;
  font-size: 1.7rem;
  font-size: 16px;
  outline: 2px solid var(--color-grey--dark);
  transition: 0.2s all;
  border: none;
  background-image: white;
  -webkit-appearance: none;
  background-image: url(/image/arrow.png);
  background-repeat: no-repeat;
  background-position: top 50% right 15px;
}

.form__container .form__select::-ms-expand {
  display: none;
}
.form__container .form__select:focus {
  outline: 2px solid var(--color-primary);
}

.form__container .form__btn--next,
.form__container .form__btn--submission {
  /* background-color: var(--color-primary); */
  border-radius: 5px;
  padding: 15px;
  font-size: 16px;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  cursor: pointer;
  transition: all 0.2s;
  background-position: left;
  background-size: 200%;
}

.form__container .form__btn--next:hover,
.form__container .form__btn--submission:hover {
  color: white;
  background-position: right;
}

.form__container .form__input-group {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  /* gap: 10px; */
}

.form__container .form__input {
  padding: 15px;
  font-size: 1.7rem;
  border-radius: 5px;
  border: 2px solid var(--color-grey--dark);
}

.form__container .form__input:focus {
  border: 2px solid var(--color-primary);
  outline: none;
}

/* .form__container .form__input:focus,
.form__container .form__input:valid {
  outline: 2px solid var(--color-primary);
} */

.form__container .form__input-group label {
  color: black;
  font-size: 16px;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 500;
}
/* .form__container .form__input-group select:focus + label,
.form__container .form__input-group select:valid + label,
.form__container
  .form__input-group
  .form__input:not(:placeholder-shown)
  + label,
.form__container .form__input-group .form__input:focus + label {
  color: var(--color-primary);
  background-color: transparent;
  font-size: 14px;
  padding: 0;
  top: 25%;
} */

.form__option-group {
  width: 100%;
}
.form__checkbox-group {
  display: flex;
  justify-content: left;
  gap: 10px;
  align-items: center;
  text-align: left;
  outline: none !important;
  margin-top: 10px;
}
.form__checkbox-group input {
  height: 15px;
  width: 15px;
}
.form__checkbox-group input:focus {
  outline: none !important;
}
.form__option-group label {
  cursor: pointer;
  padding: 15px 0;
  display: block;
  border-radius: 5px;
  /* box-shadow: 3px 11px 20px rgba(0, 0, 0, 0.15); */
  background: white;
  border: 2px solid var(--color-grey--dark);

  font-weight: 500;
  color: black;
  font-size: 16px;
}

.form__option-group input {
  display: none;
}
.form__option-group input:checked + label {
  color: white;
  background-color: var(--color-primary);
  border: 2px solid transparent;
}
.form__option-group:hover label {
  color: white;
  background-color: var(--color-primary);
  border: 2px solid transparent;
}

.form__error {
  position: absolute;
  bottom: -200px;
  left: 0;
  width: 100%;
  text-align: center;
  color: red;
  padding: 10px;
  font-size: 16px;
  transition: all 0.2s;
}
.error-active {
  bottom: 0;
}

/* loader */
.loader__cover {
  height: 200px;
  display: grid;
  place-items: center;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid var(--color-primary);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader--email {
  position: absolute;
  right: 5%;
  top: 55%;
  width: 28px !important;
  height: 28px !important;
}

.loader--hidden {
  display: none !important;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Media Queries */

@media only screen and (max-width: 1400px) {
  .wrapper {
    padding: 0 2rem;
  }

  .cta__wrapper {
    background-size: cover;
  }
}

@media only screen and (max-width: 1000px) {
  .section--hero {
    flex-direction: column;
    padding-bottom: 1rem !important;
  }

  .hero__text-box {
    width: 100% !important;
  }
  .hero__img {
    display: none !important;
  }

  .form__container {
    margin-top: 2rem;
    width: 100%;
  }

  .form__container .step {
    width: 100% !important;
  }

  .feature__list {
    flex-direction: column;
    /* align-items: center; */
    gap: 3rem;
  }

  .section--working .step__list {
    flex-direction: column;
  }

  .wrapper--why-us {
    flex-direction: column;
  }

  .why-us__img-wrapper {
    align-items: center;
  }

  .cta__wrapper::before {
    background: var(--color-primary--lighter) !important;
    opacity: 0.8;
  }

  .cta__text-box {
    width: 100%;
  }

  .section--cta {
    padding: 5rem 0;
  }

  .section--why-us {
    padding: 0rem 0;
  }
}

@media only screen and (max-width: 900px) {
  .section--hero {
    padding-top: 0 !important;
  }
  .wrapper--other {
    flex-direction: column-reverse !important;
  }

  .main--other {
    padding-top: 0rem;
  }

  .wrapper--other > section {
    width: 100%;
  }

  .header__nav {
    flex-direction: column;
    gap: 2rem;
  }

  .header__nav .nav__list {
    flex-direction: column;
    align-items: center;
    /* display: none; */
    max-height: 0;
    overflow: hidden;
  }

  .nav__toggle {
    display: block !important;
  }

  .footer__nav {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    align-items: center;
  }

  .footer__nav > ul,
  .footer__nav > div {
    width: 100% !important;
  }
}

@media only screen and (max-width: 650px) {
  .cta__wrapper {
    padding: 5rem;
  }

  .why-us__img {
    width: 100%;
  }

  .wrapper {
    padding: 0 1rem;
  }

  .form__container {
    min-width: 100%;
  }
}
