/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: #f8faff;
  padding-bottom: 40px;
}

.center-text {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styling */
.testimonial-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(230, 57, 70, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-color: #f0f2f5;
  clip-path: circle(70% at 100% 0%);
  z-index: 0;
  opacity: 0.5;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.08);
}

/* Featured Card */
.testimonial-card.featured {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-header,
.testimonial-card p,
.card-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

/* Avatar */
.avatar {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  object-fit: cover;
  background: #eee;
}

/* Quote */
.quote-mark {
  font-size: 60px;
  color: #e63946;
  opacity: 0.15;
  line-height: 1;
  font-family: serif;
}

/* Text */
.testimonial-card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

/* Footer */
.role-tag {
  display: inline-block;
  background: #f0f2f5;
  color: #666;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.testimonial-card h4 {
  margin: 0;
  color: #0c1a35;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

.testimonial-btn-wrap{
  display: flex;
  justify-content: center;
  margin-top: 50px;
  
}

.testimonial-view-btn{
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.testimonial-view-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.15);
}
/* Responsive */
@media (max-width: 1024px) {
  .cards-grid.three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cards-grid.three-col {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 30px 24px;
  }
}


@media(max-width:768px){

.testimonials-section {
    padding: 25px 0;
    background-color: #f8faff;
    padding-bottom: 40px;
    margin-top: 0px;
}
}