@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}
@media only screen and (max-width: 62.5em) {
  html {
    font-size: 50%;
  }
}

body {
  font-weight: 400;
  font-family: "Nunito Sans", "ubuntu", sans-serif;
  line-height: 1.6;
  color: #262626;
  background-color: #faf9f9;
  padding: 0 20rem;
}
@media only screen and (max-width: 62.5em) {
  body {
    padding: 0 10rem;
  }
}
@media only screen and (max-width: 50em) {
  body {
    padding: 0 5rem;
  }
}
@media only screen and (max-width: 37.5em) {
  body {
    padding: 0;
  }
}

.line-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  overflow: hidden;
  z-index: -2;
}

svg {
  display: inline-block;
  height: 100%;
  opacity: 0.3;
}

.nav {
  height: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media only screen and (max-width: 37.5em) {
  .nav {
    justify-content: space-around;
  }
}
.nav__logo {
  width: 16rem;
}
.nav__list {
  display: flex;
  gap: 4rem;
  text-transform: capitalize;
}
@media only screen and (max-width: 37.5em) {
  .nav__list {
    gap: 0.5rem;
  }
}
.nav__item {
  list-style: none;
  margin-left: 1.6rem;
  gap: 4rem;
  font-size: 2.3rem;
  transition: all 0.2s;
}
.nav__item:hover {
  transform: translateY(-1px);
}
.nav__link:link,
.nav__link:visited {
  text-decoration: none;
  color: #262626;
  display: inline-block;
  font-weight: 500;
  transition: all 0.2s;
}

.header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5rem 0;
  position: relative;
}
@media only screen and (max-width: 50em) {
  .header {
    padding: 0;
  }
}
@media only screen and (max-width: 37.5em) {
  .header {
    grid-template-columns: 1fr;
    padding: 3rem;
  }
  .header--phone {
    padding-top: 5rem;
  }
}
.header__img {
  width: 60vh;
  justify-self: center;
}
@media only screen and (max-width: 50em) {
  .header__img {
    width: 40vw;
  }
}
@media only screen and (max-width: 37.5em) {
  .header__img {
    width: 70vw;
  }
}
.header__image {
  width: 100%;
  object-fit: contain;
}

.bg {
  font-size: 10rem;
  color: rgba(204, 204, 204, 0.4);
  position: absolute;
  text-align: center;
  bottom: -40rem;
  z-index: -1;
}

.text-primary {
  font-size: 4.5rem;
  margin: 2rem 0;
}
@media only screen and (max-width: 37.5em) {
  .text-primary {
    font-size: 3.5rem;
  }
}

.text-fade {
  font-size: 1.9rem;
  margin: 2rem 0;
  font-weight: 600;
  color: #777;
}

.special-word {
  background-image: linear-gradient(160deg, #198fcd, #a4d2db, #198fcd);
  -webkit-background-clip: text;
  color: transparent;
  text-transform: capitalize;
}

.grid {
  padding: 5rem 0;
  text-align: center;
}
@supports (display: grid) {
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    grid-gap: 6rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .grid {
    grid-gap: 2rem;
    padding: 5rem;
  }
}

.col-1 {
  position: relative;
}
.col-1-icon {
  height: 6rem;
}
.col-1-icon img {
  object-fit: contain;
  height: 100%;
}
.col-1-heading {
  font-size: 2.7rem;
  text-transform: capitalize;
  margin: 1.5rem 0 0 0;
}
@media only screen and (max-width: 37.5em) {
  .col-1-heading {
    font-size: 2rem;
  }
}

.bg-2 {
  font-size: 10rem;
  color: rgba(204, 204, 204, 0.4);
  position: absolute;
  text-align: center;
  bottom: -100rem;
  z-index: -1;
}
@media only screen and (max-width: 37.5em) {
  .bg-2 {
    bottom: -250rem;
    font-size: 8rem;
  }
}

.form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr max-content;
  grid-gap: 1rem;
}
.form__input {
  font-size: 1.7rem;
  padding: 1.3rem 0.8rem;
  width: 95%;
  background-color: #faf9f9;
  color: #333;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0.1rem 0.1rem 1rem rgba(38, 38, 38, 0.2);
  transition: all 0.2s;
}
.form__input:focus {
  outline: none;
  background-color: rgba(138, 190, 201, 0.3);
  width: 100%;
  box-shadow: 1rem 1rem 4rem rgba(38, 38, 38, 0.2);
}
.form__input::-webkit-input-placeholder {
  font-weight: 100;
}
.form__btn {
  font-size: 1.7rem;
  text-transform: capitalize;
  border: none;
  border-radius: 0.5rem;
  padding: 1.3rem 2.8rem;
  background-color: #198fcd;
  color: #faf9f9;
  transition: all 0.3s;
}
.form__btn:hover {
  transform: translateY(-1px);
}
.form__btn:focus {
  outline: none;
}
.form__btn:active {
  transform: translateY(2px);
}

.mb-m {
  margin-bottom: 5rem;
}

.mb-xl {
  margin-bottom: 8rem;
}
