.all-testi > h2 {
  font-size: calc(1vw + 1rem) !important;
}
.all-testi {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: calc(100vw - 40px);
}

.testimonial-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  row-gap: 60px;
}

.testimonial {
  background: white;
  border: 2px solid #5b3fc4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Softer shadow */
  padding: 20px;
  height: 300px;
  width: 300px;
  position: relative;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* Enhance shadow on hover */
}

.testimonial .pic {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -30px;
  border: 3px solid #5b3fc4;
  /* Added border around images */
}

.testimonial .pic img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Ensures image covers the container */
}

.testimonial .description {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-top: 60px;
  text-align: center;
  padding: 0 10px;
}

.testimonial .title {
  font-size: 22px;
  font-weight: bold;
  color: #5b3fc4;
  margin: 10px 0 5px;
}

.testimonial .post {
  font-size: 18px;
  color: #5b3fc4;
  font-style: italic;
}

@media (max-width: 600px) {
  .testimonial {
    min-height: 250px;
    /* Reduced min height for smaller screens */
  }
}
.taggbox {
  margin-top: 100px;
}
.platform_rating {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.rating {
  font-size: 1.5rem;
  padding: 20px;
  color: gold;
  border: 2px solid #ccc;
  max-width: fit-content;
  display: flex;
  flex-direction: column;
}

.rating-link {
  text-align: right;
  margin-bottom: 10px;
}

.stars {
  display: inline-flex;
  align-items: center;
  position: relative;
}

svg {
  width: 32px;
  height: 32px;
}

.full-star {
  fill: gold;
}

.half-star {
  position: absolute;
  fill: gold;
  clip-path: inset(0 50% 0 0);
  /* Show only the left half */
  z-index: 1;
  left: calc(4 * 32px);
}

.empty-star {
  fill: lightgray;
}

.rating-num {
  margin-left: 20px;
}

img.rating-logo {
  height: 30px;
  width: 100px;
  margin-top: 30px;
  border-top: 2px solid green;
}
