.services-section {
  padding: 4rem 8rem;
  margin: 0 0 4rem 0;
  background: #172d63;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url(images/pattern.png) center/cover;
  opacity: 0.08;
}

.services-section .container {
  padding: 0;
  width: 100%;
  position: relative;
  /* border: 1px solid white; */
  z-index: 2;
}

.section-heading {
  text-align: center;
  color: #fff;
  margin-bottom: 70px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff1d;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
}

.services-section .section-heading h2 {
  font-size: 30px;
  color: white;
  margin-bottom: 16px;
}

.services-section .section-heading p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
}

.services-slider {
  position: relative;
}

.servicesSwiper {
  padding: 15px 10px 80px;
}

.swiper-slide {
  height: auto;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.35s;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  height: fit-content;
}

.service-card:hover {
  transform: translateY(-8px);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 2/1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.counter {
  position: absolute;
  left: 16px;
  top: 16px;

  background: #fff;

  padding: 8px 14px;

  border-radius: 30px;

  font-weight: 700;
}

.card-body {
  padding: 24px;
}

.label {
  display: inline-block;

  padding: 3px 8px;
  font-size: 13px;

  background: #fafafa;
  border: 1px solid #ededed;

  color: #2767ff;

  border-radius: 99px;

  font-weight: 600;

  margin-bottom: 18px;
}

.label.dark {
  background: #18284f;
  color: #fff;
}

.line {
  width: 55px;
  height: 4px;
  background: #2f6bff;
  margin: 22px 0;
  border-radius: 20px;
}

.text-blue {
  color: #2865f4;
}

.card-body h3 {
  font-size: 20px;
  margin: 0;
  color: #000000;
}

.card-body p {
  margin: 0;
  margin-top: 20px;
  color: #000000;
  line-height: 1.8;
}

.swiper-button-next,
.swiper-button-prev {
  width: 35px;
  height: 35px;

  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: #ffffff2a;

  color: #fff;

  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.18);
}

.swiper-button-prev {
  left: -30px;
}

.swiper-button-next {
  right: -30px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 15px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;

  background: #fff;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 991px) {
  .section-heading h2 {
    font-size: 42px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .card-image {
    height: 180px;
  }

  .card-body {
    padding: 25px;
  }

  .card-body h3 {
    font-size: 26px;
  }
}
