.services-two {
  position: relative;
  display: block;
  counter-reset: count;
  padding: 50px;
  overflow: visible;
  z-index: 1;
  /* background-color: #0b192c;
    color: #0e38b1; */
  background: linear-gradient(
    135deg,
    rgba(14, 56, 177, 0.1),
    rgba(26, 75, 199, 0.1)
  );
  margin-top: 37px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.services-two__top {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 58px;
}
.services-two__top .section-title {
  margin-bottom: 0px;
}
.section-title {
  position: relative;
  display: block;
  margin-top: -12px;
  margin-bottom: 58px;
  z-index: 1;
}
.section-title__tagline-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.section-title__tagline-shape-1 {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 2px;
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
}
.section-title__tagline {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  text-transform: capitalize;
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title__tagline-shape-2 {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 2px;
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
}
.section-title__title {
  color: #ffffff;
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  text-transform: capitalize;
  margin-top: 26px;
}
.services-two__bottom {
  position: relative;
  display: block;
}
.services-two__services-list {
  position: relative;
  display: block;
}
.services-two__services-list-single {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 15px 0;
  z-index: 1;
  cursor: pointer;
  transition: all 0.4s ease;
}
.services-two__services-list-single:hover {
  background: rgba(255, 255, 255, 0.05);
  /* transform: translateX(15px); */
}
.services-two__services-list-single::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
  opacity: 0.2;
  z-index: -1;
}
.services-two__count-and-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}
.services-two__count {
  position: relative;
  display: block;
}
.services-two__count:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #6065d4, #fa5674) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 500ms ease;
  visibility: visible;
  opacity: 1;
  z-index: -1;
}
.services-two__count::after {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  color: #0e38b1;
  counter-increment: count 1;
  content: "0" counter(count);
  transition: 500ms;
}
.services-two__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  text-transform: capitalize;
}
.services-two__title a {
  color: #0e38b1;
  text-decoration: none;
  transition: all 0.4s ease;
  display: inline-block;
}
.services-two__title a:hover {
  color: #5cb0e9;
}
.services-two__service-list-box {
  position: relative;
  display: block;
  max-width: 650px;
  width: 100%;
}
.list-unstyled {
  padding-left: 0;
  list-style: none;
}
.services-two__services-list-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 35px;
}
.services-two__services-list-inner li {
  position: relative;
  display: block;
  max-width: 260px;
  width: 100%;
}
.services-two__services-list-inner li p {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 500;
  color: #0e38b1;
  margin: 5px 0;
}
.services-two__services-list-inner li p span {
  position: relative;
  font-size: 8px;
}
.services-two__hover-img {
  position: absolute;
  top: -50px;
  left: 400px;
  height: 250px;
  width: 200px;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  border: 1px solid #0e38b1;
  clip-path: inset(0 100% 0 0);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 10;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
}
.services-two__hover-img a {
  display: inline-block;
}

.services-two__hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease;
  pointer-events: auto;
  cursor: pointer;
}

.services-two__services-list-single:hover h3 a,
.services-two__services-list-single:hover p {
  background: linear-gradient(270deg, #fa5674 0%, #6065d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Optional: Add transition for smooth effect */
.services-two__services-list-single h3 a,
.services-two__services-list-single p {
  transition: all 0.3s ease;
}

.services-two__services-list-single:hover .services-two__hover-img {
  opacity: 1;
  visibility: visible;
  /* transform: translateX(0); */
  clip-path: inset(0 0 0 0);
}

.services-two__services-list-single:hover .services-two__hover-img img {
  transform: scale(1.05);
}

.services-two__services-list-single-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
  opacity: 0.2;
  z-index: -1;
}

/* Service item specific positioning for hover images */
.services-two__services-list-single:nth-child(1) .services-two__hover-img {
  top: -100px;
}
.services-two__services-list-single:nth-child(2) .services-two__hover-img {
  top: -80px;
}
.services-two__services-list-single:nth-child(3) .services-two__hover-img {
  top: -60px;
}
.services-two__services-list-single:nth-child(4) .services-two__hover-img {
  top: -40px;
}

/* Icon styles */
.icon-plus::before {
  content: "+";
  color: #5cb0e9;
  font-weight: bold;
}
