:root {
    --sm-primary: #0f766e;
    --sm-primary-dark: #064e3b;
    --sm-accent: #f59e0b;
    --sm-dark: #0f172a;
    --sm-text: #475569;
    --sm-muted: #64748b;
    --sm-bg: #f8fafc;
    --sm-white: #ffffff;
    --sm-border: rgba(15, 23, 42, 0.09);
    --sm-green-border: rgba(21, 128, 61, 0.85);
    --sm-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --sm-shadow-hover: 0 26px 80px rgba(15, 23, 42, 0.14);
    --sm-radius: 24px;
}

.sm-testimonial-wrapper {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.sm-testimonial-wrapper *,
.sm-testimonial-wrapper *::before,
.sm-testimonial-wrapper *::after {
    box-sizing: border-box;
}

.sm-section {
    padding: 80px 0;
    position: relative;
}

.sm-section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.sm-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--sm-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.sm-section-heading h2,
.sm-website-review-summary h2 {
    margin: 0;
    color: var(--sm-dark);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.15;
}

.sm-section-heading p {
    margin: 16px auto 0;
    color: var(--sm-text);
    font-size: 17px;
    line-height: 1.7;
}

.sm-empty-message {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px dashed rgba(15, 118, 110, 0.25);
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.04);
    color: var(--sm-muted);
    text-align: center;
    font-weight: 700;
}

/* READ MORE COMMON */
.sm-read-more-wrap {
    position: relative;
}

.sm-readmore-check {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sm-readmore-text {
    margin: 0;
}

.sm-full-text,
.sm-label-less {
    display: none;
}

.sm-readmore-check:checked ~ .sm-readmore-text .sm-short-text {
    display: none;
}

.sm-readmore-check:checked ~ .sm-readmore-text .sm-full-text {
    display: inline;
}

.sm-readmore-check:checked ~ .sm-label-more {
    display: none;
}

.sm-readmore-check:checked ~ .sm-label-less {
    display: inline-flex;
}

.sm-readmore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--sm-primary);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sm-readmore-btn:hover,
.sm-readmore-btn:focus-visible {
    color: var(--sm-primary-dark);
    transform: translateY(-1px);
    outline: none;
}

.sm-dots {
    font-weight: 700;
}

/* TOP REVIEW SECTION */
.sm-top-review-section {
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 32%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.08), transparent 36%),
        #ffffff;
}

.sm-top-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.sm-top-review-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 30px;
    border: 1.5px solid var(--sm-green-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    animation: smReviewFadeUp 0.45s ease both;
}

.sm-top-review-card:hover {
    transform: translateY(-7px);
    border-color: #0f766e;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.13);
}

.sm-review-hidden {
    display: none;
}

.sm-review-visible {
    display: flex;
}

.sm-top-review-date {
    margin-bottom: 14px;
    color: #7c8189;
    font-size: 17px;
    font-weight: 700;
}

.sm-review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1;
}

.sm-review-stars span.active {
    color: var(--sm-accent);
}

.sm-top-stars {
    margin-bottom: 20px;
    font-size: 22px;
}

.sm-top-quote-icon {
    height: 34px;
    margin-bottom: 14px;
    color: #000000;
    font-size: 50px;
    font-weight: 900;
    line-height: 0.6;
    letter-spacing: -10px;
}

.sm-top-review-text-box {
    padding: 24px 24px 22px;
    border: 1px solid rgba(15, 23, 42, 0.13);
    border-radius: 22px;
    background: #ffffff;
}

.sm-top-review-text-box p {
    color: #555555;
    font-size: 17px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.8;
}

.sm-top-review-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 28px;
}

.sm-top-review-user img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.sm-top-review-user h3 {
    margin: 0;
    color: #242830;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.15;
}

.sm-top-review-user span {
    display: block;
    margin-top: 3px;
    color: #555555;
    font-size: 16px;
    font-weight: 800;
}

.sm-review-load-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 70px;
    margin-top: 30px;
    color: var(--sm-muted);
    text-align: center;
}

.sm-review-load-trigger span {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(15, 118, 110, 0.18);
    border-top-color: var(--sm-primary);
    border-radius: 50%;
    animation: smSpin 0.8s linear infinite;
}

.sm-review-load-trigger p {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.sm-review-load-trigger.is-complete {
    display: none;
}

@keyframes smSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes smReviewFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* COMPANY / SERVICE BOX SECTION */
.sm-service-proof-section {
    background: #f8fafc;
}

.sm-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.sm-service-card {
    position: relative;
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius);
    background: var(--sm-white);
    box-shadow: var(--sm-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sm-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow: var(--sm-shadow-hover);
}

.sm-service-image-box {
    position: relative;
    display: flex;
    height: 170px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 26px 28px;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.06), transparent 35%),
        #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sm-service-image-box img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 100%;
    max-height: 112px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.sm-service-card:hover .sm-service-image-box img {
    transform: scale(1.04);
}

.sm-service-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.sm-service-content h3 {
    margin: 0 0 12px;
    color: var(--sm-dark);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
}

.sm-service-content p {
    margin: 0;
    color: var(--sm-text);
    font-size: 15px;
    line-height: 1.75;
}

.sm-service-content .sm-readmore-btn {
    align-self: flex-start;
}

/* TESTIMONIAL SLIDER SECTION */
.sm-review-section {
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.13), transparent 36%),
        #f8fafc;
}

.sm-slider {
    position: relative;
}

.sm-slider-window {
    overflow: hidden;
    padding: 8px 2px 16px;
}

.sm-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.sm-review-card {
    display: flex;
    min-width: calc((100% - 48px) / 3);
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--sm-shadow);
    backdrop-filter: blur(10px);
}

.sm-big-stars {
    justify-content: center;
    margin-top: 16px;
    font-size: 24px;
}

.sm-review-text {
    min-height: 110px;
    color: var(--sm-text);
    font-size: 16px;
    line-height: 1.8;
}

.sm-review-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--sm-border);
}

.sm-review-user img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(15, 118, 110, 0.14);
}

.sm-review-user h3,
.sm-website-user h3 {
    margin: 0;
    color: var(--sm-dark);
    font-size: 17px;
    font-weight: 900;
}

.sm-review-user span,
.sm-website-user span {
    display: block;
    margin-top: 4px;
    color: var(--sm-muted);
    font-size: 14px;
    font-weight: 700;
}

.sm-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--sm-white);
    color: var(--sm-primary);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sm-slider-btn:hover {
    background: var(--sm-primary);
    color: var(--sm-white);
    transform: translateY(-50%) scale(1.06);
}

.sm-prev {
    left: -22px;
}

.sm-next {
    right: -22px;
}

/* WEBSITE REVIEW SECTION */
.sm-website-review-section {
    background: #ffffff;
}

.sm-website-review-box {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: center;
    padding: 34px;
    border-radius: 32px;
    background:#34a853;
   /* background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(6, 78, 59, 0.96)),
        var(--sm-primary);*/
    box-shadow: 0 30px 90px rgba(15, 118, 110, 0.22);
}

.sm-website-review-summary {
    text-align: center;
    color: var(--sm-white);
}

.sm-website-review-summary .sm-section-badge {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.sm-website-review-summary h2 {
    color: var(--sm-white);
}

.sm-website-review-summary p {
    margin: 18px 0 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
}

.sm-website-review-summary small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.sm-website-slider {
    overflow: hidden;
    position: relative;
}

.sm-website-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.sm-website-review-card {
    min-width: 100%;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
}

.sm-website-review-card p {
    margin: 0;
    color: var(--sm-text);
    font-size: 18px;
    line-height: 1.8;
}

.sm-website-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.sm-user-letter {
    display: inline-flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark));
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.sm-website-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.sm-website-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.sm-website-dots button.active {
    width: 28px;
    background: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .sm-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-top-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-review-card {
        min-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 991px) {
    .sm-section {
        padding: 64px 0;
    }

    .sm-website-review-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sm-section {
        padding: 52px 0;
    }

    .sm-section-heading {
        margin-bottom: 30px;
    }

    .sm-service-grid,
    .sm-top-review-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sm-service-image-box {
        height: 150px;
        padding: 22px;
    }

    .sm-service-content {
        padding: 20px;
    }

    .sm-top-review-card {
        padding: 26px 22px;
        border-radius: 22px;
    }

    .sm-top-review-date {
        font-size: 16px;
    }

    .sm-top-stars {
        font-size: 20px;
    }

    .sm-top-quote-icon {
        font-size: 46px;
    }

    .sm-top-review-text-box {
        padding: 22px;
        border-radius: 20px;
    }

    .sm-top-review-text-box p {
        font-size: 16px;
    }

    .sm-top-review-user {
        padding-top: 24px;
    }

    .sm-top-review-user h3 {
        font-size: 19px;
    }

    .sm-top-review-user span {
        font-size: 15px;
    }

    .sm-review-card {
        min-width: 100%;
        padding: 24px;
    }

    .sm-slider-btn {
        display: none;
    }

    .sm-review-text {
        min-height: auto;
    }

    .sm-website-review-box {
        padding: 22px;
        border-radius: 24px;
    }

    .sm-website-review-card {
        padding: 24px;
    }

    .sm-website-review-card p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sm-section-heading h2,
    .sm-website-review-summary h2 {
        font-size: 28px;
    }

    .sm-section-heading p {
        font-size: 15px;
    }

    .sm-service-content h3 {
        font-size: 18px;
    }

    .sm-top-review-card {
        padding: 24px 18px;
    }

    .sm-top-review-user img,
    .sm-review-user img,
    .sm-user-letter {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }
}
