.service-block {
  font-family: "Space Grotesk", sans-serif;
  margin: 40px auto;
  max-width: 1300px;
  padding: 0 15px;
}

.service-block .contact-item {
  position: relative;
  display: inline-block;
  color: #ff7426;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: left;
}

.service-block .contact-item::before, .service-block .contact-item::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 45px;
    background-color: #ff7426;
    top: 50%;
    left: 100px;
}

.service-block .service-item {
  font-size: 50px;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  color: #121212;
}

.service-block .service-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 20px;
}

.service-block .service-card {
  background-color: #fff;
  border: 1px dashed #eaecefe4;
  border-radius: 5px;
  padding: 30px 20px;
  text-align: center;
  flex: 1 1 260px;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  position: relative;
}

.service-block .service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #f59c04;
}

.service-block .service-card::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0;
  background: linear-gradient(0deg, rgba(255, 190, 61, 1) 0%, #ff7426 100%);
  top: 0;
  right: 50%;
  transition: 0.5s ease;
  z-index: 0;
}
.service-block .service-card:hover::before {
  width: 100%;
  right: 0;
}
.service-block .service-card * {
  position: relative;
  z-index: 1;
}

.service-block .service-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.service-block .service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.service-block .service-card:hover .service-icon {
  filter: brightness(0) saturate(100%) invert(54%) sepia(76%) saturate(747%)
    hue-rotate(-7deg) brightness(103%) contrast(101%);
}

.service-block .service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0;
  color: #121212;
  text-align: center;
}

.service-block .service-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

/* Card style6 */
.service-block .service-card.style6 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-block .service-card.style6 .service-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  height: 85px;
  width: 85px;
  text-align: center;
  background: linear-gradient(0deg, rgba(255, 190, 61, 1) 50%, #ff7426 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  margin-bottom: 25px;
  overflow: hidden;
}

.service-block .service-card.style6::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url(https://pypresswebai.com/wp-content/plugins/solute-elementor-extension/assets/images/noise.png);
  animation: noise 3s steps(5, end) infinite;
}
.service-block .service-card:hover::before {
  width: 100%;
  right: 0;
}
.service-block .service-card * {
  position: relative;
  z-index: 1;
}
.service-block .service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.service-block .service-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.service-block .service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.service-block .service-card:hover .service-icon {
  filter: brightness(0) saturate(100%) invert(54%) sepia(76%) saturate(747%)
    hue-rotate(-7deg) brightness(103%) contrast(101%);
}
.service-block .service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #121212;
}
.service-block .service-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}
.service-block .service-card:hover .service-title,
.service-block .service-card:hover .service-desc {
  color: #fff;
}
.service-block .service-card.style6 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-block .service-card.style6 .service-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: "Flaticon";
  font-style: normal;
  font-size: 36px;
  height: 85px;
  width: 85px;
  text-align: center;
  background: linear-gradient(0deg, rgba(255, 190, 61, 1) 50%, #ff7426 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  margin-bottom: 25px;
  overflow: hidden; 
}
.service-block .service-card.style6 .service-icon-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url(https://pypresswebai.com/wp-content/plugins/solute-elementor-extension/assets/images/noise.png);
  animation: noise 3s steps(5, end) infinite;
}
.service-block .service-card.style6:hover .service-icon-wrapper::before {
  opacity: 1;
}
.service-block .service-card.style6 .service-icon-wrapper::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #ffffff;
  opacity: 0;
  transition: 0.5s;
}
@keyframes noise {
  0% {
    background-position: 0% 0%;
  }
  20% {
    background-position: 25% 15%;
  }
  40% {
    background-position: 50% 69%;
  }
  60% {
    background-position: 33% 25%;
  }
  80% {
    background-position: 72% 4%;
  }
  100% {
    background-position: 80% 91%;
  }
}

@media (max-width: 768px) {
  .service-block .service-item {
    font-size: 36px;
  }
  .service-block .service-cards-container {
    justify-content: center;
  }
  .service-block .service-card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width: 480px) {
  .service-block {
    margin: 30px auto;
    padding: 0 10px;
  }
  .service-block .service-item {
    font-size: 36px;
  }
  .service-block .service-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
  }
}
