.services {
  background: var(--light-blue);
  padding-bottom: 4rem;
}
.services.dark-bg {
  background: var(--navy-gradient) !important;
}
.services.dark-bg .services-top {
  color: white;
}
.services.dark-bg .services-top a {
  color: var(--medium-blue);
}
.services.dark-bg .services-top a:hover {
  color: var(--orange);
}
.services-top {
  text-align: center;
  padding: 4rem 0;
}
.services-top-title {
  margin-bottom: 1rem;
}
.services-top-description {
  font-size: var(--step-1);
  max-width: 450px;
  margin: auto;
  margin-bottom: 2rem;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}
.services-item {
  max-width: 417px;
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid #e5e3df;
  background: white;
  position: relative;
  transition: 200ms ease all;
  overflow: hidden;
}
.services-item:hover {
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.2);
}
.services-item:hover img {
  transform: scale(1.05);
}
.services-item-image {
  width: 100%;
  display: block;
  height: 275px;
  overflow: hidden;
}
.services-item-image img {
  width: 100%;
  height: 100%;
  transition: 200ms ease all;
  object-fit: cover;
}
.services-item-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.services-item-content-title {
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--medium-navy);
  position: relative;
}
.services-item-content-icon {
  position: absolute;
  top: -60px;
  right: 0;
  background: white;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  border: 3px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-item-content-icon svg {
  width: 30px;
  height: 30px;
  transform: none;
}
.services-item-content-excerpt {
  margin: 0;
  margin-bottom: 2rem;
  font-size: calc(var(--step-0) + 2px);
  color: var(--medium-navy);
}
.services-item-content-link {
  margin-top: auto;
  margin-bottom: 0;
}
.services-item-content-link a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
