/* =====================================================
   Student Testimonials: Default + Layout 1 to Layout 5
   Uses only website primary/secondary color variables.
   ===================================================== */

.hs-st-section {
    --hs-primary: #0f3d5e;
    --hs-secondary: #0b7285;
    --hs-dark: #172033;
    --hs-text: #344054;
    --hs-muted: #667085;
    --hs-light: #f6f9fc;
    --hs-white: #ffffff;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    color: var(--hs-text);
    background: var(--hs-white);
}

.hs-st-section *,
.hs-st-section *::before,
.hs-st-section *::after {
    box-sizing: border-box;
}

.hs-st-section img {
    max-width: 100%;
}

.hs-st-heading {
    margin-bottom: 36px;
}

.hs-st-heading h2,
.hs-st-l1-left h2,
.hs-st-l3-title h2,
.hs-st-l5-head h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--hs-dark);
    margin: 0;
}

.hs-st-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 50px;
    background: var(--hs-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    line-height: 1;
    margin-bottom: 14px;
}

.hs-st-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hs-secondary);
    border: 1px solid #fff;
}

.hs-st-divider {
    width: 74px;
    height: 4px;
    border-radius: 10px;
    background: var(--hs-secondary);
    margin-top: 16px;
}

.hs-st-divider.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.hs-st-intro {
    color: var(--hs-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 22px 0 0;
}

.hs-st-section .scrollable-paragraph,
.testimonial-area .scrollable-paragraph {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--hs-primary) transparent;
}

.hs-st-section .scrollable-paragraph::-webkit-scrollbar,
.testimonial-area .scrollable-paragraph::-webkit-scrollbar {
    width: 4px;
}

.hs-st-section .scrollable-paragraph::-webkit-scrollbar-thumb,
.testimonial-area .scrollable-paragraph::-webkit-scrollbar-thumb {
    background: var(--hs-primary);
    border-radius: 20px;
}

.hs-st-section .owl-stage,
.testimonial-area .testimonial-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.hs-st-section .owl-item,
.testimonial-area .testimonial-slider .owl-item {
    display: flex;
    align-items: stretch;
}

.hs-st-section .owl-item > div,
.testimonial-area .testimonial-slider .owl-item > div {
    width: 100%;
}

.hs-st-section .owl-dots,
.testimonial-area .owl-dots {
    margin-top: 24px !important;
}

.hs-st-section .owl-theme .owl-dots .owl-dot span,
.testimonial-area .owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(15, 61, 94, .22);
    transition: .25s ease;
}

.hs-st-section .owl-theme .owl-dots .owl-dot.active span,
.hs-st-section .owl-theme .owl-dots .owl-dot:hover span,
.testimonial-area .owl-theme .owl-dots .owl-dot.active span,
.testimonial-area .owl-theme .owl-dots .owl-dot:hover span {
    width: 28px;
    background: var(--hs-primary);
}

.hs-st-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease var(--hs-st-delay, 0ms), transform .7s ease var(--hs-st-delay, 0ms);
}

.hs-st-visible {
    opacity: 1;
    transform: translateY(0);
}

.hs-st-card {
    height: 100%;
}

.hs-st-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hs-st-author img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 22px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 12px 28px rgba(23, 32, 51, .12);
}

.hs-st-author h4 {
    margin: 0 0 4px;
    color: var(--hs-dark);
    font-size: 19px;
    font-weight: 800;
}

.hs-st-author span {
    display: block;
    color: var(--hs-secondary);
    font-size: 13px;
    font-weight: 700;
}

.hs-st-quote-mark {
    position: absolute;
    top: 12px;
    right: 26px;
    color: rgba(15, 61, 94, .08);
    font-size: 120px;
    line-height: .8;
    font-weight: 900;
    pointer-events: none;
}

.hs-st-quote-small {
    color: var(--hs-primary);
    font-size: 58px;
    line-height: .8;
    font-weight: 900;
    margin: 20px 0 8px;
}

.hs-st-card-line {
    height: 1px;
    background: rgba(15, 61, 94, .14);
    margin: 22px 0;
}

/* Layout 1 */
.hs-st-layout-one {
    background: var(--hs-light);
}

.hs-st-l1-wrap {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 28px;
    align-items: stretch;
}

.hs-st-l1-left {
    min-height: 430px;
    padding: 36px;
    border-radius: 32px;
    background: var(--hs-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hs-st-l1-left h2,
.hs-st-l1-left .hs-st-intro {
    color: #fff;
}

.hs-st-l1-left .hs-st-intro {
    opacity: .88;
}

.hs-st-l1-left .hs-st-kicker {
    background: #fff;
    color: var(--hs-primary);
}

.hs-st-l1-left .hs-st-divider {
    background: var(--hs-secondary);
}

.hs-st-l1-count-card {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
}

.hs-st-l1-count-card img {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 20px;
    object-fit: cover;
    background: #fff;
    padding: 3px;
}

.hs-st-l1-count-card strong {
    display: block;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.hs-st-l1-count-card span {
    display: block;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: 5px;
}

.hs-st-l1-right {
    min-width: 0;
}

.hs-st-l1-card {
    min-height: 430px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(15, 61, 94, .09);
    box-shadow: 0 22px 60px rgba(23, 32, 51, .10);
    overflow: hidden;
}

.hs-st-l1-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--hs-secondary);
}

.hs-st-l1-card p {
    position: relative;
    z-index: 1;
    color: var(--hs-text);
    font-size: 17px;
    line-height: 1.78;
    margin: 0 0 28px;
}

/* Layout 2 */
.hs-st-layout-two {
    background: #fff;
}

.hs-st-l2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hs-st-l2-card {
    position: relative;
    min-height: 320px;
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(15, 61, 94, .10);
    box-shadow: 0 18px 48px rgba(23, 32, 51, .08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}

.hs-st-l2-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 5px;
    border-radius: 0 0 10px 10px;
    background: var(--hs-secondary);
}

.hs-st-l2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(23, 32, 51, .12);
    border-color: rgba(15, 61, 94, .18);
}

.hs-st-l2-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hs-st-l2-author img {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 20px;
    object-fit: cover;
}

.hs-st-l2-author h4 {
    margin: 0 0 4px;
    color: var(--hs-dark);
    font-size: 18px;
    font-weight: 800;
}

.hs-st-l2-author span {
    color: var(--hs-secondary);
    font-size: 13px;
    font-weight: 700;
}

.hs-st-l2-card p {
    color: var(--hs-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

/* Layout 3 */
.hs-st-layout-three {
    background: var(--hs-primary);
    color: #fff;
}

.hs-st-layout-three .hs-st-kicker {
    background: #fff;
    color: var(--hs-primary);
}

.hs-st-layout-three .hs-st-divider {
    background: var(--hs-secondary);
}

.hs-st-l3-title {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
}

.hs-st-l3-title h2,
.hs-st-l3-title .hs-st-intro {
    color: #fff;
}

.hs-st-l3-title .hs-st-intro {
    opacity: .86;
}

.hs-st-l3-card {
    min-height: 390px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px;
    border-radius: 32px;
    background: #fff;
    color: var(--hs-text);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
}

.hs-st-l3-card p {
    position: relative;
    z-index: 1;
    color: var(--hs-text);
    font-size: 17px;
    line-height: 1.78;
    margin: 0 0 28px;
}

.hs-st-author-soft {
    position: relative;
    z-index: 1;
    padding: 15px;
    border-radius: 22px;
    background: var(--hs-light);
}

.hs-st-layout-three .owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, .32);
}

.hs-st-layout-three .owl-theme .owl-dots .owl-dot.active span,
.hs-st-layout-three .owl-theme .owl-dots .owl-dot:hover span {
    background: #fff;
}

/* Layout 4 */
.hs-st-layout-four {
    background: var(--hs-light);
}

.hs-st-l4-timeline {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 10px 0;
}

.hs-st-l4-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: var(--hs-secondary);
    border-radius: 20px;
}

.hs-st-l4-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: center;
    margin-bottom: 28px;
}

.hs-st-l4-row:last-child {
    margin-bottom: 0;
}

.hs-st-l4-photo {
    grid-column: 2;
    width: 86px;
    height: 86px;
    padding: 5px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--hs-secondary);
    box-shadow: 0 14px 34px rgba(23, 32, 51, .14);
    overflow: hidden;
    z-index: 2;
}

.hs-st-l4-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.hs-st-l4-card {
    grid-column: 3;
    position: relative;
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(15, 61, 94, .10);
    box-shadow: 0 18px 48px rgba(23, 32, 51, .08);
}

.hs-st-l4-row-even .hs-st-l4-card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.hs-st-l4-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    margin-bottom: 14px;
    background: var(--hs-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.hs-st-l4-card p {
    color: var(--hs-text);
    line-height: 1.75;
    margin: 0 0 18px;
}

.hs-st-l4-card h4 {
    color: var(--hs-dark);
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 800;
}

.hs-st-l4-card small {
    color: var(--hs-secondary);
    font-weight: 700;
}

/* Layout 5 */
.hs-st-layout-five {
    background: #fff;
}

.hs-st-l5-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.hs-st-l5-count {
    min-width: 122px;
    padding: 18px;
    border-radius: 24px;
    background: var(--hs-primary);
    color: #fff;
    text-align: center;
}

.hs-st-l5-count strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.hs-st-l5-count span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    opacity: .82;
}

.hs-st-l5-card {
    min-height: 350px;
    padding: 28px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(15, 61, 94, .10);
    box-shadow: 0 18px 48px rgba(23, 32, 51, .08);
    overflow: hidden;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hs-st-l5-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--hs-secondary);
}

.hs-st-l5-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(23, 32, 51, .12);
}

.hs-st-l5-card p {
    color: var(--hs-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .hs-st-l1-wrap {
        grid-template-columns: 1fr;
    }

    .hs-st-l1-left {
        min-height: 340px;
    }

    .hs-st-l2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hs-st-section {
        padding: 60px 0;
    }

    .hs-st-l1-count-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 30px;
    }

    .hs-st-l4-timeline::before {
        left: 42px;
    }

    .hs-st-l4-row,
    .hs-st-l4-row-even {
        grid-template-columns: 84px 1fr;
        gap: 16px;
        align-items: start;
    }

    .hs-st-l4-photo {
        grid-column: 1;
        width: 76px;
        height: 76px;
    }

    .hs-st-l4-card,
    .hs-st-l4-row-even .hs-st-l4-card {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .hs-st-section {
        padding: 50px 0;
    }

    .hs-st-l2-grid {
        grid-template-columns: 1fr;
    }

    .hs-st-l1-left,
    .hs-st-l1-card,
    .hs-st-l2-card,
    .hs-st-l3-title,
    .hs-st-l3-card,
    .hs-st-l4-card,
    .hs-st-l5-card {
        border-radius: 22px;
        padding: 22px;
    }

    .hs-st-l1-card,
    .hs-st-l3-card,
    .hs-st-l5-card {
        min-height: auto;
    }

    .hs-st-l5-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hs-st-author {
        align-items: flex-start;
    }

    .hs-st-section .scrollable-paragraph,
    .testimonial-area .scrollable-paragraph {
        max-height: 180px;
    }
}

@media (max-width: 575.98px) {
    .hs-st-section {
        padding: 44px 0;
    }

    .hs-st-author img,
    .hs-st-l2-author img {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 18px;
    }

    .hs-st-l1-count-card {
        align-items: flex-start;
    }

    .hs-st-l1-count-card strong {
        font-size: 34px;
    }

    .hs-st-l4-timeline::before {
        display: none;
    }

    .hs-st-l4-row,
    .hs-st-l4-row-even {
        display: block;
    }

    .hs-st-l4-photo {
        margin-bottom: 14px;
    }

    .hs-st-l4-card,
    .hs-st-l4-row-even .hs-st-l4-card {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-st-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
