.testimonial-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center image and text */
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #ff4da6;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255, 77, 166, 0.5);
  padding: 20px; /* Add padding to space contents */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 77, 166, 0.8), 0 0 40px rgba(255, 77, 166, 0.4);
  border-color: #ff1a8c;
}

.testimonial-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px; /* Space between image and name */
}


.testimonial-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;         /* Center horizontally */
  text-align: center;          /* Center text */
  justify-content: center;     /* Vertically center if needed */
}

.testimonial-content h3 {
  margin: 0;
  font-size: 20px;
  color: #222;
}

.org-course {
  font-size: 14px;
  /*color: #666;*/
  color: #ff66b2;
  font-weight: 600;
  margin: 5px 0;
}

.testimonial-year {
  font-size: 14px;
  color: #ff66b2;
  font-weight: 600;
  margin-bottom: 10px;
}

.testimonial-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  font-style: italic;
  margin-top: 10px;
