.service-container {
  display: flex;
  justify-content: center;
}

.service-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.single-service-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
  position: relative;
  width: 100%;
  max-width: 250px;
}

.service-icon-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #f5f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-icon-circle i,
.service-icon-circle svg {
  font-size: 50px;
  color: #f39c12;
  transition: all 0.3s ease;
}

.single-service-circle h4 {
  font-size: 18px;
  color: #3c4a62;
  margin-top: 15px;
}

.service-hover-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 180px; /* Adjust this to cover both the icon and the title */
  background-color: rgba(
    60,
    74,
    98,
    0.5
  ); /* Changed to #3c4a62 with 90% opacity */
  color: #fff;
  padding: 16px;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.single-service-circle:hover .service-hover-text {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}

@media (max-width: 767px) {
  .service-icon-circle {
    width: 120px;
    height: 120px;
  }

  .service-icon-circle i,
  .service-icon-circle svg {
    font-size: 40px;
  }

  .single-service-circle h4 {
    font-size: 16px;
  }

  .service-hover-text {
    font-size: 12px;
    padding: 10px;
    height: 140px; /* Adjust for smaller screens */
  }
}
