.result-testimonial-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(85, 70, 232, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(255, 196, 92, 0.18),
      transparent 28%
    ),
    radial-gradient(circle at 8% 28%, rgba(85, 70, 232, 0.13), transparent 32%),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 55px rgba(47, 38, 69, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}

.result-testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--cobalt), #9b8cff, var(--coral));
}

.result-testimonial-card::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 13px;
  aspect-ratio: 1;
  border: 3px solid rgba(85, 70, 232, 0.3);
  border-radius: 50%;
}

.result-testimonial-card:hover {
  box-shadow:
    0 30px 68px rgba(47, 38, 69, 0.17),
    inset 0 1px 0 #fff;
  transform: translateY(-8px);
}

.result-student-photo {
  display: block;
  position: relative;
  z-index: 1;
  width: 190px;
  height: 190px;
  min-height: 0;
  margin: 1.8rem auto 0;
  border: 6px solid #fff;
  border-radius: 50%;
  background-color: #e9e6ff;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 0 0 5px rgba(85, 70, 232, 0.13),
    0 16px 30px rgba(47, 38, 69, 0.2);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.result-testimonial-card:hover .result-student-photo {
  box-shadow:
    0 0 0 6px rgba(85, 70, 232, 0.18),
    0 20px 38px rgba(47, 38, 69, 0.25);
  transform: scale(1.035);
}

.result-card-content {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.55rem 1.7rem;
  text-align: center;
}

.result-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.result-score {
  min-width: 68px;
  padding: 0.55rem 0.75rem;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--cobalt), #7566f5);
  box-shadow: 0 10px 24px rgba(85, 70, 232, 0.25);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.result-card-content h2 {
  margin-bottom: 0.2rem;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.result-qualification {
  margin-bottom: 1rem;
  color: #6d6876;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.result-achievement {
  display: flex;
  max-width: 290px;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto;
  color: #514d5b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.result-achievement i {
  flex: 0 0 auto;
  color: var(--coral);
}

.result-source-note {
  max-width: 850px;
  margin: 2rem auto 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(85, 70, 232, 0.1);
  border-radius: 16px;
  color: #625e69;
  background: rgba(237, 235, 255, 0.48);
  font-size: 0.8rem;
  text-align: center;
}

.result-source-note i {
  margin-right: 0.35rem;
  color: var(--cobalt);
}

@media (max-width: 767.98px) {
  .result-student-photo {
    width: 180px;
    height: 180px;
  }

  .result-testimonial-card {
    border-radius: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-testimonial-card {
    transition: none;
  }
}
