HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/dreamssalon-wp-market/wp-content/themes/dreamsalon/assets/scss/pages/_testimonials.scss
/*============================
    35. Testimonials
============================*/

@use "../utils/mixins" as *;
@use '../variables' as *;

.gallery-item {
    border-radius: $border-radius-lg;
    img {
        display: block;
        width: 100%;
        height: auto;
    }
}
.testimonial-section {
    background: url('../img/bg/testimonial-bg.png'), $darkmode-dark;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: url('../img/bg/banner-bg-01.png');
        height: 187px;
        width: 100%;
        background-size: 100% 100%;
    }
    &-four {
        overflow: hidden;
        background: $light;
        z-index: 1;
        .blog-bg-01 {
            position: absolute;
            right: 0;
            top: 28%;
            z-index: -1;
            @include transform(translate(30%, -93%));
            opacity: 0.2;
            animation: spins 30s linear infinite;
            @keyframes spins {
                from { 
                    transform: translate(30%, -93%) rotate(0deg);
                }
                to   { 
                    transform: translate(30%, -93%) rotate(360deg);
                }
            }
        }
        .blog-bg-02 {
            position: absolute;
            left: 2%;
            top: 2%;
            z-index: -1;
        }
        .blog-bg-03 {
            position: absolute;
            left: 4%;
            top: 6%;
            z-index: -1;
        }
        .blog-bg-04 {
            position: absolute;
            left: 40%;
            top: 0;
            z-index: -1;
        }
        .blog-bg-05 {
            position: absolute;
            right: 4%;
            top: 0;
            z-index: -1;
        }
    }
    &-six {
        position: relative;
        z-index: 1;
        .testimonial-bg-01 {
            position: absolute;
            left: 0;
            top: 0;
            z-index: -1;
        }
        .testimonial-bg-02 {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: -1;
        }
    }
}
.rating {
    i {
        color: $gray-100;
        &.filled {
            color: $warning;
        }
    }
}
.testimonial-item {
    background: $light;
    border-radius: $border-radius-md;
    padding: 20px;
    .testimonial-img {
        margin-bottom: 16px;        
        h6 {
            font-size: 16px;
            font-weight: $font-weight-medium;
            a {
                &:hover {
                    color: $primary;
                }
            }            
        }
    }
    .testimonial-author {
        color: $heading-color;
        font-size: 16px;
        font-weight: $font-weight-bold;
        line-height: 1.2;
    }
    .testimonial-content {
        h6 {
            font-size: 16px;
        }
        p {
            margin-bottom: 16px;
        }
        .rating {
            i {
                color: $gray-100;
                &.filled {
                    color: $warning;
                }
            }
            .text-dark {
                color: $darkmode-gray-900 !important;
            }
        }
    }
    &-two {
        background: $white;
        border-radius: $border-radius-md;
        border: 1px solid $border-color;
        padding: 20px;
        box-shadow: $box-shadow;
        .testimonial-author {
            color: $heading-color;
            font-size: 16px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
        }
    }
    &-three {
        background: $white;
        border-radius: $border-radius-xl;
        padding: 40px;
        position: relative;
        overflow: hidden;
        .testimonial-author {
            color: $heading-color;
            font-size: 16px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
        }
        p {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card-shape {
            background: $light;
            &::before {
                background: $light;
            }
            .shape-one, .shape-two {
                background: transparent;
                box-shadow: .313rem .313rem 0 .313rem $light;
            }
            .view-icon {
                background: $linear-gradient-theme;
                color: $darkmode-white;
            }
        }
    }
    &-four {
        background: $white;
        border: 1px solid $border-color;
        border-radius: $border-radius-md;
        padding: 24px;
        box-shadow: $box-shadow;
        gap: 20px;
        display: flex;
        align-items: center;
        @include respond-below(md) {
            flex-direction: column;
            box-shadow: none;
        }
        .testimonial-user {
            max-width: 240px;
            flex-shrink: 0;
            @include respond-below(md) {
                max-width: 200px;
            }
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: $border-radius-md;
            }
        }
        .testimonial-author {
            color: $heading-color;
            font-size: 16px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
        }
        p {
            @include respond-below(md) {
                text-align: center;
            }
        }
        .rating {
            @include respond-below(md) {
                justify-content: center;
            }
        }
        .text-start {
            p {
                text-align: left;
            }
        }
        .quote-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: $primary;
            color: $darkmode-white;
            font-size: 26px;
        }
    }
    &-five {
        padding: 20px;
        border: 1px solid $border-color;
        background-color: $white;
        border-radius: $border-radius-lg;
        transition: all 0.5s;
        box-shadow: $box-shadow;
        &:hover {
            transform: translateY(-10px);
        }
        .avatar {
            width: 45px;
            height: 45px;
        }
        .testimonial-author {
            color: $heading-color;
            font-size: 16px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
        }
    }
}
.testimonials-section-two {
    background: $darkmode-dark;
    z-index: 0;
    .quote{
        position: absolute;
        right: 20px;
        top: 20px;
    }
    .testimonial-bg {
        left: 3%;
        top: 5%;
    }
     .testimonial-bg2 {
        right: 0;
        bottom: 0;
    }
    .testimonial-author {
        color: $heading-color;
        font-size: 16px;
        font-weight: $font-weight-bold;
        line-height: 1.2;
    }
}
.testimonials-three {
    .testimonials-bg1 {
        position: absolute;
        right: 4%;
        top: 4%;
        animation: twinkle 2s infinite ease-in-out;
    }
}
@keyframes sparkleFloat {
    0% {
        transform: scale(1) rotate(0deg) translateY(0);
        opacity: 1;
    }
    25% {
        transform: scale(1.1) rotate(3deg) translateY(-5px);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05) rotate(-3deg) translateY(0);
        opacity: 1;
    }
    75% {
        transform: scale(1.1) rotate(3deg) translateY(-5px);
        opacity: 0.95;
    }
    100% {
        transform: scale(1) rotate(0deg) translateY(0);
        opacity: 1;
    }
}
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}
.testimonial-sec {
    margin-bottom: 80px;
    @include respond-below(lg) {
        margin-bottom: 50px;
    }
}
.testimonials-slider {
    .slick-slide {
        margin: 0 12px;
    }
}
.slick-arrow, .slick-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: $white;
    border: 1px solid $border-color;
    box-shadow: $box-shadow;
    display: flex;
    align-items: center;
    justify-content: center;
    color: $gray-900;
    font-size: 24px;
    transition: all 0.3s;
    @include respond-below(lg) {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    &:hover {
        background: $primary;
        color: $white;
    }
}

// Testimonial Section Five
.testimonial-section-five {
    background: $light;
    overflow: hidden;
    &:before {
        content: unset;
    }
    .testimonial-details {
        background: $white;
        border-radius: $border-radius-lg;
        padding: 20px;
        position: relative;
        z-index: 1;
        @include respond-below(lg) {
            padding: 40px;
        }
        .testimonial-text {
            margin-top: -70px;
            @include respond-below(xxl) {
                margin-top: -80px;

            }
            @include respond-below(lg) {
                margin-top: -0px;
            }
            h2 {
                font-size: 52px;
            }
            .testimonial-label {
                color: $heading-color;
            }
        }
        .testimonial-content {
            border-left: 1px solid $border-color;
            padding: 20px;
            @include respond-below(lg) {
                border: none;
                padding: 28px 0 0px !important;
                margin: 30px 0px 0px;
            }
            @include respond-below(xl) {
                padding: 15px;
            }
            @include respond-below(lg) {
                text-align: center;
            }
            .testimonial-item {
                padding: 25px;
                background: $white;
                position: relative;
                z-index: 1;
                margin: 0px 12px;
                @include respond-below(sm) {
                    padding: 16px;
                }
                @include respond-below(xl) {
                    padding: 15px;
                }
                @include respond-below(lg) {
                    padding: 30px 0px 0px;
                }
                img {
                    @include respond-below(lg) {
                        margin: auto;
                    }
                }
                .user-info {
                    @include respond-below(lg) {
                        justify-content: center;
                        text-align: start;
                    }
                }
            }
            &:before {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                right: 0;
                left: 0;
                z-index: 0;
                width: 1px;
                height: 80%;
                background: $border-color;
                margin: auto;
                @include respond-below(lg) {
                    display: none;
                }
            }
        }
    }
    .slick-arrow {
        background: $white;
        border: 1px solid $border-color;
        box-shadow: 0px 1px 4px 0px #8888881A;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        gap: 12px;
        position: absolute;
        @include respond-below(sm) {
            width: 30px;
            height: 30px;
        }
        i {
            font-size: 24px;
            color: $gray-900;
        }
    }
    .slick-prev {
        left: -170px;
        bottom: 13px;
        top: unset;
        @include respond-below(xxl) {
            left: -145px;
            bottom: 21px;
            right: unset;
        }
        @include respond-below(xl) {
            left: -123px;
            right: unset;
        }
        @include respond-below(lg) {
            right: 41%;
            top: -5px;
            left: unset;
        }
        @include respond-below(md) {
            right: 38%;
            top: -5px;
            left: unset;
        }
        @include respond-below(sm) {
            right: 35%;
            top: -18px;
            left: unset;
        }
    }
    .slick-next {
        left: -232px;
        bottom: 13px;
        top: unset;
        @include respond-below(xxl) {
            left: -208px;
            bottom: 21px;
            right: unset;
        }
        @include respond-below(xl) {
            left: -182px;
            right: unset;
        }
        @include respond-below(lg) {
            left: 41%;
            top: -5px;
            right: unset;
        }
        @include respond-below(md) {
            left: 38%;
            top: -5px;
            right: unset;
        }
        @include respond-below(sm) {
            left: 35%;
            top: -18px;
            right: unset;
        }
    }
    .element-one {
        left: -294px;
        bottom: 90px;
    }
    .element-two {
        right: 24px;
        bottom: 0%;
        width: 200px;
    }
}