/* YouMind Video Testimonial — index.html sc405–sc440 + mobile sc823–sc860 */

.ymct-video-testimonial {
  font: 400 16px/1.5 Poppins, sans-serif;
  color: #021019;
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: visible;
}
.ymct-video-testimonial.alignfull {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.ymct-video-testimonial *,
.ymct-video-testimonial *::before,
.ymct-video-testimonial *::after { box-sizing: border-box; }
.ymct-video-testimonial p { margin: 0; }
.ymct-video-testimonial img {
  max-width: none;
  border: 0;
  display: block;
}
.ymct-video-testimonial button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.ymct-video-testimonial button:disabled {
  cursor: default;
  opacity: 1;
}

/* sc405 */
.ymct-video-testimonial .vt-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 80px 120px;
  border-radius: 24px;
  background: #fff;
}
.ymct-video-testimonial .vt-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
  justify-content: center;
}

/* sc406 */
.ymct-video-testimonial .vt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.ymct-video-testimonial .vt-heading {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  color: #021019;
  font-size: 48px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ymct-video-testimonial .vt-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  flex: none;
}
.ymct-video-testimonial .vt-nav--mob {
  display: none;
}
.ymct-video-testimonial .vt-nav-btn {
  position: relative;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
}
.ymct-video-testimonial .vt-nav-btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ymct-video-testimonial .vt-nav-flip {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  transform: scaleY(-1) rotate(180deg);
}

/* sc415 stage */
.ymct-video-testimonial .vt-stage {
  width: 100%;
  position: relative;
}
.ymct-video-testimonial .vt-slide {
  display: none;
  gap: 24px;
  align-items: center;
  line-height: 0;
  width: 100%;
}
.ymct-video-testimonial .vt-slide.is-active {
  display: flex;
}

/* sc416 media */
.ymct-video-testimonial .vt-media {
  position: relative;
  flex: none;
  width: 497px;
  height: 418px;
}
.ymct-video-testimonial .vt-thumb {
  position: absolute;
  inset: 0;
  border-radius: 33px;
  overflow: hidden;
}
.ymct-video-testimonial .vt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 33px;
  pointer-events: none;
}
.ymct-video-testimonial .vt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 13.333px;
  border-radius: 53.333px;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.ymct-video-testimonial .vt-play-icon {
  position: relative;
  width: 53.333px;
  height: 53.333px;
  flex: none;
}
.ymct-video-testimonial .vt-play-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ymct-video-testimonial .vt-play-icon--mob {
  display: none;
}

/* sc422 card */
.ymct-video-testimonial .vt-card {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  height: 418px;
  border-radius: 26px;
  overflow: hidden;
}
.ymct-video-testimonial .vt-card-bg {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  background-image: linear-gradient(179.582deg, rgb(202, 253, 249) 22.283%, rgb(255, 255, 255) 99.346%);
}
.ymct-video-testimonial .vt-card-body {
  position: absolute;
  left: 5.44%;
  top: 37.16px;
  width: 89.12%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.ymct-video-testimonial .vt-person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  width: 100%;
}
.ymct-video-testimonial .vt-name {
  line-height: 1.4;
  color: #031728;
  font-size: 24px;
  width: 100%;
}
.ymct-video-testimonial .vt-role {
  line-height: normal;
  color: #021019;
  font-size: 14px;
  width: 100%;
  opacity: 0.8;
}
.ymct-video-testimonial .vt-quote {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #031728;
  font-size: 20px;
  width: 100%;
  overflow-wrap: break-word;
}
.ymct-video-testimonial .vt-stars {
  position: absolute;
  left: 5.44%;
  bottom: 37px;
  z-index: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  height: 50px;
}
.ymct-video-testimonial .vt-star {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}
.ymct-video-testimonial .vt-star img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* —— Tablet —— */
@media (max-width: 1439px) and (min-width: 768px) {
  .ymct-video-testimonial .vt-section {
    padding: 72px 32px 100px;
  }
  .ymct-video-testimonial .vt-heading {
    font-size: 36px;
    white-space: normal;
  }
  .ymct-video-testimonial .vt-nav {
    gap: 20px;
  }
  .ymct-video-testimonial .vt-media {
    width: 42%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 497 / 418;
  }
  .ymct-video-testimonial .vt-card {
    height: auto;
    min-height: 360px;
    align-self: stretch;
  }
  .ymct-video-testimonial .vt-quote {
    font-size: 18px;
  }
}

/* —— Mobile sc823+ —— */
@media (max-width: 767px) {
  .ymct-video-testimonial .vt-section {
    padding: 60px 20px;
    border-radius: 24px;
  }
  .ymct-video-testimonial .vt-inner {
    gap: 24px;
    max-width: none;
  }
  .ymct-video-testimonial .vt-head {
    justify-content: center;
  }
  .ymct-video-testimonial .vt-heading {
    font-size: 32px;
    line-height: 1.2;
    color: #0a0a0a;
    white-space: nowrap;
    text-align: center;
  }
  .ymct-video-testimonial .vt-nav--desk {
    display: none;
  }
  .ymct-video-testimonial .vt-nav--mob {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    gap: 0;
  }
  .ymct-video-testimonial .vt-nav--mob .vt-nav-btn {
    width: 46px;
    height: 46px;
  }
  .ymct-video-testimonial .vt-slide.is-active {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .ymct-video-testimonial .vt-media {
    width: 100%;
    max-width: 353px;
    height: 418px;
    margin-inline: auto;
  }
  .ymct-video-testimonial .vt-play {
    width: auto;
    height: 80px;
    min-width: 80px;
  }
  .ymct-video-testimonial .vt-play-icon--desk {
    display: none;
  }
  .ymct-video-testimonial .vt-play-icon--mob {
    display: block;
  }
  .ymct-video-testimonial .vt-card {
    width: 100%;
    height: auto;
    min-height: 524px;
  }
  .ymct-video-testimonial .vt-card-bg {
    background-image: linear-gradient(178.876deg, rgb(202, 253, 249) 22.283%, rgb(255, 255, 255) 99.346%);
  }
  .ymct-video-testimonial .vt-card-body {
    position: relative;
    left: auto;
    top: auto;
    width: 89.12%;
    margin: 20px auto 0;
    gap: 22px;
  }
  .ymct-video-testimonial .vt-stars {
    position: relative;
    left: auto;
    bottom: auto;
    width: 89.12%;
    margin: 24px auto 28px;
  }
}
