.ecqa-testimonials {
    --ecqa-testimonials-bg: #1d2430;
    --ecqa-testimonials-image: none;
    --ecqa-testimonials-position: center;
    --ecqa-testimonials-overlay: .64;
    --ecqa-section-radius: 40px;
    --ecqa-card-bg: #ffffff;
    --ecqa-title: #ffffff;
    --ecqa-name: #27378f;
    --ecqa-text: #52647a;
    --ecqa-dot: #a852e5;
    --ecqa-card-radius: 12px;
    --ecqa-avatar-size: 88px;
    --ecqa-pad-top: 72px;
    --ecqa-pad-bottom: 72px;
    --ecqa-max-width: 1180px;

    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: var(--ecqa-pad-top) 20px var(--ecqa-pad-bottom);
    overflow: hidden;
    border-radius: var(--ecqa-section-radius);
    background-color: var(--ecqa-testimonials-bg);
    background-image: var(--ecqa-testimonials-image);
    background-repeat: no-repeat;
    background-position: var(--ecqa-testimonials-position);
    background-size: cover;
    font-family: inherit;
}

/* ECQA shared section heading standard */
.ecqa-testimonials__headline {
    font-family: inherit !important;
    font-size: 36px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}
@media (max-width: 991px) { .ecqa-testimonials__headline { font-size: 32px !important; } }
@media (max-width: 767px) { .ecqa-testimonials__headline { font-size: 28px !important; } }

.ecqa-testimonials *,
.ecqa-testimonials *::before,
.ecqa-testimonials *::after {
    box-sizing: border-box;
}

.ecqa-testimonials__overlay{
position:absolute;inset:0;z-index:0;pointer-events:none
}

.ecqa-testimonials__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--ecqa-max-width);
    margin: 0 auto;
}

.ecqa-testimonials__headline {
    margin: 0 0 56px;
    color: var(--ecqa-title);
    text-align: center;
    font-family: inherit;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.ecqa-testimonials__viewport {
    overflow: hidden;
}

.ecqa-testimonials__track {
    position: relative;
    min-height: 400px;
}

.ecqa-testimonial {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 48px 50px 54px;
    border-radius: var(--ecqa-card-radius);
    background: var(--ecqa-card-bg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .20);
    text-align: center;
    transform: translate3d(105%, 0, 0);
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    transition: transform 700ms cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.ecqa-testimonial.is-active {
    position: relative;
    z-index: 3;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.ecqa-testimonial.is-entering {
    position: absolute;
    z-index: 3;
    transform: translate3d(105%, 0, 0);
}

.ecqa-testimonial.is-leaving {
    position: absolute;
    z-index: 2;
    transform: translate3d(-105%, 0, 0);
}

.ecqa-testimonial__avatar {
    width: var(--ecqa-avatar-size);
    height: var(--ecqa-avatar-size);
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 50%;
    background: #eef1f6;
}

.ecqa-testimonial__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecqa-testimonial h3 {
    margin: 0;
    color: var(--ecqa-name);
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.ecqa-testimonial__role {
    margin-top: 6px;
    color: var(--ecqa-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.ecqa-testimonial blockquote {
    max-width: 980px;
    margin: 32px auto 0;
    color: var(--ecqa-text);
    font-family: inherit;
    font-size: 17px;
    font-style: normal;
    line-height: 1.6;
}

.ecqa-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 62px;
}

.ecqa-testimonials__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ecqa-dot);
    opacity: .58;
    cursor: pointer;
    transition:
        opacity 260ms ease,
        transform 320ms cubic-bezier(.22, .61, .36, 1);
}

.ecqa-testimonials__dots button:hover,
.ecqa-testimonials__dots button:focus-visible {
    opacity: .85;
}

.ecqa-testimonials__dots button.is-active {
    opacity: 1;
    transform: scale(1.45);
}

@media (max-width: 850px) {
    .ecqa-testimonials__headline {
        font-size: 32px;
        margin-bottom: 42px;
    }

    .ecqa-testimonial {
        min-height: 430px;
        padding: 42px 30px 46px;
    }

    .ecqa-testimonial blockquote {
        font-size: 16px;
    }

    .ecqa-testimonial__role {
        font-size: 12px;
    }

    .ecqa-testimonials__dots {
        margin-top: 44px;
    }
}

@media (max-width: 560px) {
    .ecqa-testimonials {
        padding-left: 18px;
        padding-right: 18px;
        border-radius: 28px;
    }

    .ecqa-testimonials__headline {
        font-size: 28px;
    }

    .ecqa-testimonial {
        min-height: 470px;
        padding: 36px 22px 40px;
    }

    .ecqa-testimonial h3 {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecqa-testimonial,
    .ecqa-testimonials__dots button {
        transition: none !important;
    }
}

.ecqa-testimonials__inner{position:relative;z-index:1}


/* ECQA Testimonials 1.0.2 fixes */
.ecqa-testimonials{
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

.ecqa-testimonials__overlay{
    z-index:0 !important;
    pointer-events:none;
}

.ecqa-testimonials__inner{
    position:relative;
    z-index:1;
}


/* ECQA Testimonials 1.0.4 – unified overlay */
.ecqa-testimonials__overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background-color: #111c2f !important;
    opacity: var(--ecqa-testimonials-overlay, .64) !important;
}
/* ECQA universal main module heading */
html body h2.ecqa-section-title.ecqa-section-title {
    font-family: inherit !important;
    font-size: 36px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}
@media (max-width: 991px) {
    html body h2.ecqa-section-title.ecqa-section-title { font-size: 32px !important; }
}
@media (max-width: 767px) {
    html body h2.ecqa-section-title.ecqa-section-title { font-size: 28px !important; }
}

/* ECQA unified action-button hover — 2026-09-11 */
@media (hover: hover) and (pointer: fine) {
  .ecqa-project__button:hover,
  .ecqa-contactcta__button:hover,
  .ecqa-hero .ecqa-button:hover,
  .ecqa-project-card__button:hover,
  .ecqa-contentblock__button:hover,
  .ecqa-contentblock__button--primary:hover,
  .ecqa-contentblock__button--secondary:hover,
  .ecqa-newsletter__fields button:hover,
  .ecqa-video-services__button:hover,
  .ecqa-featurecard__button:hover,
  .ecqa-contactform__form button[type="submit"]:hover,
  .ecqa-contactform__form input[type="submit"]:hover,
  .ecqa-contactform__form .btn-primary:hover,
  .ecqa-contactform__form .visBtn:hover,
  .ecqa-trainingprovider__button:hover,
  .ecqa-exam-card__button:hover,
  .ecqa-news__button:hover {
    background: #1f2d73 !important;
    border-color: #1f2d73 !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-2px);
  }
}

/* Ensure the configured testimonial headline colour wins over Helix heading styles. */
html body .ecqa-testimonials h2.ecqa-testimonials__headline.ecqa-section-title {
    color: var(--ecqa-title) !important;
}

/* ECQA Testimonials 1.0.15 – mouse drag + touch swipe */
.ecqa-testimonials__viewport.is-swipeable {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.ecqa-testimonials__viewport.is-swipeable.is-dragging {
    cursor: grabbing;
}

.ecqa-testimonials__viewport.is-swipeable img {
    -webkit-user-drag: none;
    user-drag: none;
}

.ecqa-testimonial.is-entering-reverse {
    position: absolute;
    z-index: 3;
    transform: translate3d(-105%, 0, 0);
}

.ecqa-testimonial.is-leaving-reverse {
    position: absolute;
    z-index: 2;
    transform: translate3d(105%, 0, 0);
}
