.reviews-section-carousel {
  background-color: var(--color-neutral-100);
}

.embla {
  position: relative;
  width: 100%;
  --slide-height: 19rem;
  --slide-spacing: 2rem;
  --slide-size: 100%;

  --detail-high-contrast: rgb(192, 192, 192);
  --detail-medium-contrast: rgb(234, 234, 234);
  --text-high-contrast-rgb-value: 49, 49, 49;
  --text-body: rgb(54, 49, 61);
}
.embla__viewport {
  overflow: hidden;
}
.embla__container {
  padding: 7rem 0 4.5rem;
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
  transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Standard slide styles */
.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
  padding-left: var(--slide-spacing);
}

/* Fade plugin styles */
.embla--fade .embla__container {
  margin-left: 0;
}

.embla--fade .embla__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 0;
  opacity: 0;
}

.embla--fade .embla__slide.is-snapped {
  opacity: 1;
}
.embla__slide__number {
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  border-radius: 1.8rem;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--slide-height);
  user-select: none;
}
.embla__controls {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}
.embla__buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.embla__button {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 3.6rem;
  height: 3.6rem;
  z-index: 1;
  border-radius: 50%;
  color: var(--color-neutral-500);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: color var(--transition-fast);
}
.embla__button:disabled {
  color: var(--detail-high-contrast);
}
.embla__button:hover  {
  color: var(--color-secondary);
}
.embla__button__svg {
  width: 35%;
  height: 35%;
}
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 7rem;
  gap: 8px;
}
@media (max-width: 768px) {
  .embla__container {
    padding: 3rem 0 2rem;
  }
  .embla__dots {
    padding-bottom: 3rem;
  }
}
@media (max-width: 1024px) {
  .embla__dots-wrapper {
    position: relative
  }
  .embla__controls {
    justify-content: flex-start;
  }
}
.embla__dot {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}
.embla__dot:after {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  content: '';
}

/* Profile Picture Dots */
.embla__dot--profile {
  width: 3rem;
  height: 3rem;
  border-radius: 0px;
  overflow: hidden;
  outline: 3px solid transparent;
  outline-offset: 1px;
  transition: outline 0.2s ease;
  padding: 0;
  position: relative;
  transition: all 0.2s cubic-bezier(0.31,0.75,0.22,1);
}

.embla__dot--profile:focus-visible {
  outline: 3px solid var(--color-primary);
}

.embla__dot--profile:after {
  display: none; /* Hide the default dot styling */
}

.embla__dot__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
}

.embla__dot--profile:hover {
  border-radius: 24px;
}

.embla__dot--profile.embla__dot--selected {
  outline: 3px solid var(--color-primary);
}

.review-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  user-select: none;
}

.review-content .review-text {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  font-family: var(--font-sans);
  color: var(--color-secondary);
  max-width: var(--container-3xl);
  margin: 0 auto;
  text-wrap: balance;
  text-align: center;
}

@media (max-width: 768px) {
  .review-content .review-text {
    font-size: var(--text-xl);
  }
}
/* @media (min-width: 769px) {
  .review-content .review-text {
    text-align: center;
  }
} */

.review-content .review-text p:before {
  content: "\201C";
}

.review-content .review-text p:after {
  content: "\201D";
}

@media (max-width: 768px) {
  
}

.review-card .review-image {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  font-family: var(--font-sans);
}
/* @media (min-width: 769px) {
  .review-author {
    justify-content: center;
  }
} */

.review-author .review-name {
  color: var(--color-secondary);
}

.review-author .review-program {
  color: var(--color-neutral-500);
}

.embla__dots-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}