/* Base modal overlay */
.feedback-modal {
  display: none;
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
  
}

/* Show state */
.feedback-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal content box */
.feedback-modal-content {
  background: #fff;
  width: 90%!important;
  height: 80%;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  overflow-y: auto; /* Enable scroll inside */
  display: flex;
  flex-direction: column;
}

/* Close button */
.close-feedback-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
}

/* Testimonial grid container inside the modal */
.testimonial-all-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* Individual testimonial cards */
.testimonial-card {
  padding: 1rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .testimonial-all-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonial-all-cards {
    grid-template-columns: 1fr;
  }
}
.feedback-modal-content {
  scroll-behavior: smooth;
}

