/* Social Proof Section */
.social-proof-section {
  padding: 50px 0;
  background-color: #fdfbf7; /* matching the Why Choose section bg */
}

.social-proof-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.sp-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Crucial fix for Swiper inside CSS Grid */
}

.sp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.sp-card-header h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: #111;
  margin: 0;
}

.sp-view-all {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

/* 1. Testimonials */
.sp-testimonial-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.sp-testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.sp-test-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: #dfc282;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.sp-test-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
}

.sp-test-prev { left: 10px; }
.sp-test-next { right: 10px; }

.sp-testimonial-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #444;
  text-align: center;
  margin: 0;
}

/* 2. Informative Videos */
.sp-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sp-video-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.sp-video-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.sp-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sp-video-item:hover .sp-video-thumb img {
  transform: scale(1.05);
}

.sp-video-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-video-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.sp-video-item p {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #666;
  margin: 0;
}

/* 3. Achievements */
.sp-card.sp-achievements {
  background-color: #0b1c1d; /* Dark green/teal */
  color: #fff;
}

.sp-card.sp-achievements h3 {
  color: #fff;
}

.sp-ach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.sp-ach-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-ach-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(223, 194, 130, 0.2);
  color: #dfc282;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sp-ach-text {
  display: flex;
  flex-direction: column;
}

.sp-ach-text strong {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.sp-ach-text span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #ccc;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 1200px) {
  .social-proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sp-card.sp-achievements {
    grid-column: span 2;
  }
  .sp-ach-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .social-proof-grid {
    grid-template-columns: 1fr;
  }
  .sp-card.sp-achievements {
    grid-column: 1;
  }
  .sp-videos-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sp-ach-grid {
    grid-template-columns: 1fr 1fr;
  }
}
