.service-testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.service-testimonial-heading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-testimonial-heading h1 {
  color: #32457e;
  font-size: 2rem;
  font-weight: 600;
}

.service-content {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 2rem;
}

.service-box-container {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid #32457e38;
  position: relative;
}

.service-box-container img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.service-box-icon {
  height: 5rem;
  width: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12rem;
  background-color: #32457e;
  position: absolute;
  inset: 1;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: 20%;
}

.service-box-icon img {
  height: 3rem;
}

.service-box-text {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding-top: 2.5rem;
}

.service-box-text h1 {
  color: #32457e;
  font-size: 1.3rem;
  font-weight: 550;
}

.service-box-text p {
  font-size: 18px;
  line-height: 24px;
  color: #777777;
}

@media (max-width: 1300px) {
  .service-container {
    gap: 1rem;
  }
  .service-box-icon {
    height: 4.5rem;
    width: 4.5rem;
    bottom: 23%;
  }
  .service-box-icon img {
    height: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .service-testimonial-container {
    gap: 1rem;
  }
  .service-content {
    gap: 0.5rem;
  }
  .service-box-container {
    gap: 0.5rem;
  }

  .service-box-icon {
    height: 4rem;
    width: 4rem;
    bottom: 30%;
  }
  .service-box-icon img {
    height: 2rem;
  }
  .service-box-text h1 {
    font-size: 1.3rem;
  }
  .service-box-text p {
    font-size: 16px;
    line-height: 20px;
  }
}

@media (max-width: 900px) {
  .service-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-testimonial-heading h1 {
    font-size: 1.5rem;
  }
  .service-box-icon {
    bottom: 28%;
  }
  .service-box-text h1 {
    font-size: 1.2rem;
  }
  .service-box-text {
    padding: 0.5rem;
    padding-top: 1.5rem;
  }
  .service-box-text {
    font-size: 13px;
    font-weight: 400;
  }
}

@media (max-width: 800px) {
  .service-box-icon {
    bottom: 33%;
  }
}

@media (max-width: 600px) {
  .service-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box-container h1 {
    font-size: 13px;
    font-weight: 500;
  }
  .service-testimonial-container {
    gap: 1rem;
  }
  .service-box-icon {
    height: 3rem;
    width: 3rem;
    bottom: 23%;
  }
  .service-box-icon img {
    height: 1.5rem;
  }
  .service-box-text h1 {
    font-size: 1rem;
  }
  .service-box-text p {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 500px) {
  .service-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box-container h1 {
    font-size: 13px;
    font-weight: 500;
  }
  .service-testimonial-container {
    gap: 1rem;
  }
  .service-box-icon {
    height: 3rem;
    width: 3rem;
    bottom: 32%;
  }
  .service-box-icon img {
    height: 1.5rem;
  }
  .service-box-text h1 {
    font-size: 1rem;
  }
  .service-box-text p {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 400px) {
  .service-box-icon {
    bottom: 37%;
  }
  .service-box-text h1 {
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .service-box-text h1 {
    font-size: 0.8rem;
  }
  .service-box-icon {
    bottom: 37%;
  }
}

@media (max-width: 350px) {
  .service-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .service-box-icon {
    bottom: 20%;
  }
}
