/* ── Testimonials & Success Stories (course-testimonials partial) ─────────── */
#testimonials {
  overflow: hidden;
}

.testimonials-section-wrapper {
  position: relative;
  max-width: 1150px;
  margin: 40px auto;
  overflow: hidden;
}

.testimonials-section-wrapper::before,
.testimonials-section-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 5;
  pointer-events: none;
}

.testimonials-section-wrapper::before {
  left: -1px;
  background: linear-gradient(
    to right,
    #0c0c0c 0px,
    #0c0c0c 8px,
    transparent 100%
  );
}

.testimonials-section-wrapper::after {
  right: -1px;
  background: linear-gradient(
    to left,
    #0c0c0c 0px,
    #0c0c0c 8px,
    transparent 100%
  );
}

.testimonials-scroll {
  display: flex;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
}
.testimonials-track {
  display: flex;
  gap: 25px;
  width: max-content;
}

.testimonial-card-new {
  min-width: 300px;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid #333;
  transition: transform 0.3s ease;
  background: #000;
}

.testimonial-card-new:hover {
  transform: translateY(-5px);
  z-index: 4;
}

.testimonial-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.testimonial-card-new:hover .play-icon-overlay {
  background: rgba(37, 37, 37, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-meta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 72px;
  padding: 0 16px;
  background: transparent;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.company-logo-box {
  width: 42px;
  height: 42px;
  background: #000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.company-logo-box img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.graduate-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.graduate-info h5 {
  font-family: "Switzer", sans-serif;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.graduate-info p {
  margin: 0;
  font-size: 0.75rem;
  color: #ccc;
  font-weight: 400;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .testimonial-card-new {
    min-width: 260px;
    height: 380px;
    border-radius: 18px;
  }
  .testimonial-meta {
    height: 60px;
    padding: 10px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    gap: 10px;
  }
  .company-logo-box {
    width: 32px;
    height: 32px;
  }
  .graduate-info h5 {
    font-size: 0.9rem;
  }
  .graduate-info p {
    font-size: 0.7rem;
  }
  .play-icon-overlay {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

.section-title-main {
  font-family: "Switzer", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: -1px;
  padding-bottom: 1.5rem;
}

/* Success Stories */
.success-stories-section {
  position: relative;
  padding-bottom: 100px;
  overflow: hidden;
}
.success-stories-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.success-stories-wrapper::before,
.success-stories-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 5;
  pointer-events: none;
}

.success-stories-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    #0c0c0c 0px,
    #0c0c0c 8px,
    transparent 100%
  );
}
.success-stories-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    #0c0c0c 0px,
    #0c0c0c 8px,
    transparent 100%
  );
}

@media (max-width: 992px) {
  .success-stories-wrapper::before {
    background: linear-gradient(to right, hsl(0, 0%, 5%) 1%, transparent 100%);
  }
  .success-stories-wrapper::after {
    background: linear-gradient(to left, hsl(0, 0%, 5%) 1%, transparent 100%);
  }
}

.success-stories-scroll {
  display: flex;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
}
.success-stories-track {
  display: flex;
  gap: 25px;
  width: max-content;
  padding: 0 50px;
}
.success-story-card {
  border: 1px solid #222;
}

.story-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-family: "Switzer", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 992px) {
  .testimonials-section-wrapper {
    width: 100%;
    margin: 20px 0;
  }
  .testimonials-section-wrapper::before,
  .testimonials-section-wrapper::after {
    width: 80px;
  }
  .testimonials-scroll {
    padding: 10px 0;
  }
  .testimonials-track {
    gap: 15px;
    padding: 0 50px;
  }
  #testimonials h2 {
    font-size: 1.8rem;
  }
}
