:root {
  --primary-color: #1d4151;
  --secondary-color: #6a6a6a;
  --tertiary-color: #fff;
  --medium-gray-color: #8e8989;
  --medium-primary-color: #275b69;
  --light-green-color: #daeee9;
  --light-gray-color: #fafbfa;
  --light-tertiary-color: #ffffff40;
}

* {
  font-family: "Poppins";
}

html {
  overflow: auto;
  margin-bottom: 20px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.title {
  color: var(--primary-color);
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  margin-bottom: 0px;
}

.custom-button {
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
}

.custom-button:hover {
  background-color: var(--medium-primary-color);
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.paragraph {
  color: var(--secondary-color);
  font-weight: 400;
  text-align: center;
}

.horizontal-padding {
  padding: 0px 20px;
}

.sub-title {
  margin-bottom: 0px;
  font-weight: 400;
}

.step {
  color: var(--tertiary-color);
  background-color: var(--primary-color);
  border-radius: 100px;
  padding: 7px 19px;
  height: fit-content;
}

.image {
  width: 30%;
}

.paragraph {
  font-size: 20px;
}

.flex {
  display: flex;
}

.text-start {
  text-align: start;
}

.topnav {
  overflow: hidden;
  position: sticky;
  display: flex;
  padding: 10px 0px;
  box-shadow: 3px 3px 5px 1px #8888881c;
  top: 0;
  background-color: var(--tertiary-color);
  width: 100vw;
}

.mobile-nav-links {
  display: none;
  position: fixed;
  top: 53px;
  width: 100%;
}

.logo {
  color: var(--primary-color);
  padding: 0px;
}

.topnav a {
  padding: 14px 16px;
  font-size: 17px;
  text-decoration: none;
  color: var(--primary-color);
}

.topnav a.active {
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
}

.topnav a.icon {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
}

i.fa.fa-bars {
  color: var(--primary-color);
}

.nav-links {
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.nav-link {
  margin-right: 50px;
}

.home-section {
  display: flex;
  align-items: center;
}

.home-image {
  width: 50%;
}

.home-title {
  font-size: 50px;
  margin-bottom: 0px;
}

.services-section {
  background: linear-gradient(
    to right,
    var(--light-green-color),
    var(--light-gray-color)
  );
  margin-top: 20px;
  padding-bottom: 20px;
}
.service-card {
  border: 1px solid var(--medium-gray-color);
  border-radius: 40px;
  padding-bottom: 20px;
  display: flex;
  width: 50%;
}
.services-image {
  width: 20%;
}

.how-we-work-title {
  margin-bottom: 0px;
  width: 100%;
  text-align: start;
  padding-left: 27px;
}

.how-we-work-subtitle {
  margin: 0px;
  color: var(--secondary-color);
  font-weight: 500;
}

.how-we-work-wrapper-content {
  display: flex;
  padding: 0px 221px;
  margin-bottom: 40px;
}

.how-we-work-wrapper-content p {
  text-align: start;
  padding-left: 15px;
}

.how-we-work-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.reverse-content {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .nav-links,
  .home-paragraph,
  .services-image {
    display: none;
  }

  .topnav a.icon {
    display: block;
  }

  .title {
    font-size: 20px;
  }

  .sub-title {
    font-size: 19px;
  }

  .paragraph {
    font-size: 15px;
  }

  .image {
    width: 50%;
  }

  .topnav {
    padding: 0px;
    display: block;
  }

  .topnav a {
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
  }

  .mobile-nav-links a {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    width: 100%;
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--light-tertiary-color);
  }

  .nav-link.active {
    background-color: var(--medium-primary-color);
  }

  .home-image {
    width: 100%;
  }

  .home-section {
    flex-direction: column;
  }

  .home-section div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .home-title {
    margin-bottom: 10px;
    text-align: center;
  }

  .service-card {
    width: auto;
  }

  .how-we-work-wrapper-content {
    padding: 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

a.custom-button {
  display: inline-block;
  font-size: 13.3333px;
  text-decoration: none;
}

.topnav a.custom-button {
  padding: 10px 20px;
  font-size: 13.3333px;
  color: var(--tertiary-color);
}

.logo-img {
  display: block;
  height: 32px;
  width: auto;
}

.topnav a.logo {
  padding: 10px 16px;
}

.topnav a.login-link {
  padding: 9px 20px;
  font-size: 13.3333px;
  border: 1px solid var(--primary-color);
  border-radius: 100px;
  margin-right: 16px;
}

.topnav a.login-link:hover {
  background-color: var(--light-green-color);
}
