@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@700&family=Poppins:wght@400;500;600&display=swap");



* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#section-4 {
  /* font-family: 'Noto Serif', serif; */
  font-family: "Poppins", sans-serif;
  background-color: white;
  min-height: 30vh;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  text-align: center;
}

.testimonial-heading {
  margin-bottom: 2rem;
}

.testimonial-heading p {
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: 500;
}

.testimonial-heading h1 {
  font-family: "Noto Serif", serif;
  font-size: 2rem;
  font-weight: 900;
}

.testimonials-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.card {
  padding: 2rem;
  display: grid;
  gap: 1rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.card i {
  font-size: 2.5rem;
  color:red;
}

.card p {
  font-size: 1rem;
  font-weight: 500;
}

.card hr {
  width: 40px;
  margin: auto;
  color: var(--text-light);
}

.card img {
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 100%;
  border: 1px solid var(--primary-color);
}

.card .name {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  transition: 0.3s;
}

.card .name:hover {
  color: var(--primary-color);
}



@media (max-width:900px){
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width:600px) {
  .testimonials-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}