.services-banner {
  display: flex;
  position: relative;
  height: 50vh;
}

.services-banner img {
  display: block;
  width: 100vw;
  object-fit: cover;
}

.services-banner span {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: #0c1e3a;
  transition: 0.5s;
}

.service-description {
  padding: 3rem 0;
}

.service-description div h2 {
  color: #204B96;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-description div h3 {
  color: #204B96;
}

.service-description div p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.service-description div p:last-child {
  margin-bottom: 0;
}

.service-title {
  color: #fff;
  width: 50%;
}

.service-title h2 {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.service-topics {
  background-color: #36bedd;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.service-topics-row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.service-topic {
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0.5rem;
  width: 25%;
  height: 18rem;
  margin: 0.5rem;
}

.service-topic-invisible {
  display: flex;
  padding: 0.5rem;
  width: 25%;
  height: 18rem;
  margin: 0.5rem;
  opacity: 0;
}

.service-topic img {
  width: 50%;
}

.service-contactus {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  width: 100%;
  background-color: #eaeaea;
}

.service-contactus h2 {
  margin-bottom: 1rem;
}

.service-contactus a {
  text-decoration: none;
  color: #000;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  border: 1px solid #000;
  border-radius: 2.5rem;
}

@media only screen and (max-width: 1024px) {
  .service-title {
    width: 100%;
  }

  .service-topics-row {
    flex-direction: column;
  }

  .service-topic {
    width: 100%;
    padding: 2rem;
    margin: 0.5rem 0;
  }

  .service-topic-invisible {
    display: none;
  }
}

.card-container {
  flex: 12rem;
  margin: 1rem;
}

.card-container .card {
  position: relative;
  padding: 2rem;
  height: 16rem;
  width: 16rem;
  background: white;
  text-decoration: none;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.25s ease;
}

.card-container .card:hover {
  background: #204B96;
  color: white;
}

.card-container .card:hover .card--display {
  display: none;
}

.card-container .card:hover .card--hover {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-container .card .card--display img {
  width: 50%;
}

.card-container .card .card--hover {
  display: none;
}

.card-container .card .card--hover p {
  font-weight: normal;
  line-height: 1.5;
}

.invisible {
  display: block;
}

@media only screen and (max-width: 1024px) {
  .card-container .card {
    width: 18rem;
  }

  .invisible {
    display: none;
  }
}