/* =========================
   VOICES / COMMENTS
========================= */

#voices {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}

/* subtle animated background */
#voices::before,
#voices::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.18;
  animation: floatBg 12s ease-in-out infinite;
  pointer-events: none;
}
#voices::before {
  left: -200px;
  top: -240px;
  background: radial-gradient(circle, rgba(47,111,230,.6), transparent 65%);
}
#voices::after {
  right: -220px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(26,79,183,.5), transparent 65%);
  animation-delay: -4s;
}

@keyframes floatBg {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(28px); }
}

.voices-title {
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-800);
  margin-bottom: 22px;
}

.voices-row {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* CARD */
.voice-card {
  background: linear-gradient(180deg, #ffffff, #f3f6ff);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
  border: 1px solid rgba(15,47,106,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.16);
}

/* IMAGE */
.voice-photo {
  height: 300px;                 /* ↑ BIGGER visual presence */
  background: linear-gradient(135deg, #eef3ff, #f8faff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.voice-photo img {
  width: auto;
  height: 100%;                  /* fill height instead of width */
  object-fit: contain;           /* NEVER crop */
  transition: transform .4s ease;
}

.voice-card:hover .voice-photo img {
  transform: scale(1.08);
}

/* BODY */
.voice-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 14px);
  height: 100%;
  flex: 1;
}

.voice-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voice-meta strong {
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-900);
}

.school {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(15,47,106,.8);
  background: rgba(238,241,246,.9);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,47,106,.08);
}

.voice-quote {
  font-size: .98rem;
  line-height: 1.55;
  color: #0b1220;
  background: rgba(255,255,255,.7);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,47,106,.08);
}

/* CTA */
.btn-watch {
  margin-top: 6px;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(34,91,203,.25);
  transition: background .2s ease, transform .2s ease;
}

.btn-watch:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .voices-row {
    grid-template-columns: 1fr;
  }
}
