/* ── Testimonial section ── */
.testimonial_sec .testimonial_sec-inner {
    padding: 0 50px;
}

/* ── Slick dots ── */
.testimonial_sec .slick-dots {
    bottom: 0;
    position: unset;
}
.testimonial_sec .slick-dots button:before {
    width: 16px;
    height: 16px;
    color: #227F7B !important;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.3 !important;
    background: #227F7B !important;
}
.testimonial_sec .slick-active button:before {
    color: #227F7B !important;
    background: #227F7B !important;
    opacity: 1 !important;
}

/* ── Card layout ── */
.card_testimonial { padding: 20px; }
.card_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ─────────────────────────────────────────────
   IMAGE WRAP
   The SVG decorative ring is a background-image
   on the wrap div — this makes it scale perfectly
   to the container box regardless of each SVG's
   internal viewBox, fixing misalignment.

   The photo sits centred inside with an inset
   of ~8% on each side, so the ring strokes show
   all the way around the edge of the circle.
───────────────────────────────────────────── */

/* CSS custom properties make the responsive
   breakpoints a single number change each time */
.edu-img-wrap {
    --wrap: 335px;
    --photo: 295px; /* wrap minus ~12% for the ring to breathe */

    position: relative;
    width: var(--wrap);
    height: var(--wrap);
    margin: 0 auto 30px;
    flex-shrink: 0;

    /* SVG ring as background — stretches to fill box exactly */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;

    /* flex so the photo centres automatically */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Circular educator photo ── */
.edu-photo {
    width: var(--photo) !important;
    height: var(--photo) !important;
    max-width: none !important;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    margin: 0 !important;
    display: block;
    position: relative;
    z-index: 1;
}

/* ── Initials fallback ── */
.edu-initials-avatar {
    width: var(--photo);
    height: var(--photo);
    flex-shrink: 0;
    border-radius: 50%;
    background: #E1F5EE;
    color: #0F6E56;
    font-size: calc(var(--photo) * 0.24);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ── Text ── */
.testimonial_sec h3 {
    font-family: "Poetsen One", Sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    color: #201811;
    margin: 0;
    text-align: center;
}
.testimonial_sec h5 {
    font-family: "Lato", Sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #404040;
    margin: 0 0 20px;
    text-align: center;
}
.testimonial_sec p {
    font-family: "Lato", Sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 150%;
    color: #404040;
    margin: 0 0 20px;
    min-height: 98px;
    text-align: center;
    max-width: 365px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — only the two CSS vars change.
   The ring always fills the wrap (background-size
   100% 100%) and the photo stays at ~88% of wrap.
───────────────────────────────────────────── */

/* Tablet 2-up */
@media (max-width: 1024px) {
    .edu-img-wrap {
        --wrap: 240px;
        --photo: 211px;
    }
}

/* Mobile 1-up — give it more room since full column */
@media (max-width: 768px) {
    .testimonial_sec .testimonial_sec-inner {
        padding: 0 20px;
    }
    .edu-img-wrap {
        --wrap: 290px;
        --photo: 255px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .edu-img-wrap {
        --wrap: 250px;
        --photo: 220px;
    }
}

/* ── Empty state ── */
.edu-slider-empty {
    text-align: center;
    color: #888;
    padding: 2rem 0;
}


