/**=====================
     About Us scss
==========================**/
.about-us-section,
.about-us-section-1 {
    position: relative;

    .about-us-content {
        margin-right: 0.3px;
        position: relative;

        &::before {
            @include pos;
            top: 0;
            left: 0;
            width: 34%;
            height: 100%;
            background: $white;
            background: linear-gradient(90deg, $white 19%, rgba($white, 0.4) 100%);
            z-index: 1;
            backdrop-filter: blur(10px);
            mask-image: linear-gradient(to right, $white, transparent);

            body.dark & {
                background: linear-gradient(90deg, #171b27 19%, rgb(23 27 39 / 40%) 100%);
                mask-image: linear-gradient(to right, #171b27, transparent);
            }
        }

        &::after {
            @include pos;
            top: 0;
            right: 0;
            width: 34%;
            height: 100%;
            background: $white;
            background: linear-gradient(-90deg, $white 19%, rgba($white, 0.4) 100%);
            z-index: 1;
            backdrop-filter: blur(10px);
            mask-image: linear-gradient(to left, $white, transparent);

            body.dark & {
                background: linear-gradient(-90deg, #171b27 19%, rgb(23 27 39 / 40%) 100%);
                mask-image: linear-gradient(to left, #171b27, transparent);
            }
        }

        .swiper-wrapper {
            transition-timing-function: linear;
        }

        .card {
            body.dark & {
                border-color: #454851;
                background-color: #252934;
            }

            .card-body {
                padding: calc(12px + (18 - 12) * ((100vw - 320px) / (1920 - 320))) calc(14px + (20 - 14) * ((100vw - 320px) / (1920 - 320)));

                .card-title {
                    display: flex;
                    align-items: center;
                    gap: calc(8px + (10 - 8) * ((100vw - 320px) / (1920 - 320)));
                    margin: 0;
                    margin-top: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));
                    ;

                    h3 {
                        font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));

                        body.dark & {
                            color: $white;
                        }
                    }

                    img {
                        width: calc(46px + (52 - 46) * ((100vw - 320px) / (1920 - 320)));
                        height: calc(46px + (52 - 46) * ((100vw - 320px) / (1920 - 320)));
                        border-radius: 6px;

                        &.star {
                            width: calc(13px + (15 - 13) * ((100vw - 320px) / (1920 - 320)));
                            height: calc(13px + (15 - 13) * ((100vw - 320px) / (1920 - 320)));
                            border-radius: 0;
                        }
                    }

                    .rate {
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        .rating-list {
                            display: flex;
                            align-items: center;
                            line-height: 1;
                            gap: 2px;
                        }

                        small {
                            margin-top: 1px;
                            font-weight: 400;
                            color: $title-color;

                            body.dark & {
                                color: rgba($white, 0.8);
                            }
                        }
                    }
                }

                .card-detail {
                    p {
                        margin: 0;
                        color: $title-color;
                        font-size: calc(15px + (18 - 15) * ((100vw - 320px) / (1920 - 320)));
                        line-height: 1.4;
                        width: 100%;
                        transition: all 0.6s ease;

                        body.dark & {
                            color: $white;
                        }
                    }
                }
            }
        }

        .swiper-wrapper {
            &:has(.no-data-found) {
                height: unset;
            }
        }

        .image-1 {
            top: 140px;
            left: 20px;
            height: 16px;
            position: absolute;
            animation: mover 2s infinite alternate;
            animation-delay: 1s;

            [dir="rtl"] & {
                left: unset;
                right: 20px;
            }

            @media (max-width: 991.98px) {
                display: none;
            }
        }

        .swiper-pagination {
            position: relative;
            inset: unset;
            margin: 14px auto 0;
            bottom: 0;
            @include flex_common;
            gap: 6px;

            .swiper-pagination-bullet {
                height: 8px;
                width: 8px;
                min-width: 8px;
                background-color: var(--theme-color);
                margin: 0;
                border-radius: 100px;
                transition: all 0.2s ease;

                &-active {
                    width: 25px;
                }
            }
        }

        .swiper-button-next3 {
            bottom: 0;
            top: unset;
            right: 43%;
            z-index: 1;
            left: unset;
        }

        .swiper-button-prev3 {
            bottom: 0;
            right: unset;
            top: unset;
            left: 43%;
            z-index: 1;
        }
    }
}

.more-section,
.feature-section {
    .more-content {
        h3 {
            font-size: calc(20px + (22 - 20) * ((100vw - 320px) / (1920 - 320)));
            font-weight: 600;
            margin-bottom: 4px;
        }

        p {
            font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
            color: $light-color;
            font-weight: 500;

            a {
                color: var(--theme-color);
            }
        }
    }


    .feature-content {
        .feature-box {
            width: 45px;
            height: 45px;
            border-radius: 4px;
            background-color: var(--theme-color);
            color: $white;
            @include flex_common;
            margin: auto;
            margin-bottom: 12px;

            i {
                --Iconsax-Size: 24px;
                --Iconsax-Color: #ffffff;
            }
        }

        p {
            font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
            margin: auto;
            margin-top: 4px;
            width: 90%;
            font-weight: 500;
            color: rgba($title-color, 0.6);
        }

        .feature-list {
            @include flex_common;
            flex-wrap: wrap;
            gap: calc(8px + (16 - 8) * ((100vw - 320px) / (1920 - 320)));
            margin-top: 16px;

            .list-item {
                padding: 8px calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));
                border-radius: 6px;
                border: 1px solid rgba($title-color, 0.1);
                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                font-weight: 500;
                line-height: 1.2;
                display: flex;
                align-items: center;
                gap: 8px;
                color: rgba($title-color, 0.8);

                i {
                    --Iconsax-Size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                    --Iconsax-Color: var(--theme-color);
                }
            }
        }
    }
}

.about-us {
    .section-wrap {
        margin-top: 42px;
    }

    .image-grp {
        @include flex_common;
        width: 100%;
        gap: calc(10px + (20 - 10) * ((100vw - 320px) / (1920 - 320)));

        img {
            border-radius: 12px;
            object-fit: cover;
            aspect-ratio: 32 / 25;
        }
    }

    .image-grp-1 {
        @include flex_common;
        width: 100%;
        gap: calc(10px + (20 - 10) * ((100vw - 320px) / (1920 - 320)));

        img {
            border-radius: 12px;
            object-fit: cover;
            width: 100%;
            aspect-ratio: 133 / 50;
        }
    }

    .content-detail {
        color: rgba($title-color, 0.8);

        p {
            font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1920 - 320)));
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .item-lists {
            list-style: none;
            margin: 0;
            gap: calc(12px + (20 - 12) * ((100vw - 320px) / (1920 - 320)));

            [dir="rtl"] & {
                margin: 0;
            }

            li {
                display: flex;
                align-items: start;
                gap: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));

                &::before {
                    display: none;
                }

                .icon-box {
                    i {
                        --Iconsax-Size: calc(16px + (24 - 16) * ((100vw - 320px) / (1920 - 320)));
                        --Iconsax-Color: #ffffff;
                        @include flex_common;
                        border-radius: 100%;
                        height: calc(30px + (60 - 30) * ((100vw - 320px) / (1920 - 320)));
                        width: calc(30px + (60 - 30) * ((100vw - 320px) / (1920 - 320)));
                        min-width: calc(30px + (35 - 30) * ((100vw - 320px) / (1920 - 320)));
                        position: relative;
                        z-index: 0;
                        overflow: hidden;

                        &::before {
                            @include pos;
                            top: 0;
                            left: 0;
                            @include pseudowh;
                            background-color: var(--theme-color);
                            opacity: 0.8;
                            z-index: -1;
                        }
                    }
                }

                .detail {
                    h4 {
                        font-size: calc(18px + (22 - 18) * ((100vw - 320px) / (1920 - 320)));
                        font-weight: 500;
                        line-height: 1.2;
                        margin-bottom: 4px;
                        color: $title-color;
                    }

                    p {
                        line-height: 1.5;
                        font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                        margin-bottom: 0;
                        color: $light-color;
                    }
                }
            }
        }
    }

    .about-list-box {
        .item-list {
            display: flex;
            align-items: start;
            gap: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0px 2.87px 17.2px 0px #00162E0F;

            .icon-box {
                i {
                    --Iconsax-Size: 35px;
                    --Iconsax-Color: var(--theme-color);
                    margin-top: 3px;
                }
            }

            .detail {
                h4 {
                    font-size: calc(18px + (22 - 18) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 500;
                    line-height: 1.2;
                    margin-bottom: 4px;
                    color: $title-color;
                }

                p {
                    line-height: 1.5;
                    font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                    margin-bottom: 0;
                    color: $light-color;
                }
            }
        }

        body.dark & {
            .item-list {
                background-color: #252934;

                h4 {
                    color: $white;
                }

                p {
                    color: rgba($white, 0.6);
                }
            }
        }
    }
}

.about-us-section-1 {
    .title-1 {
        width: 100%;
    }

    .about-us-content {
        .card {
            box-shadow: 0 0 8px rgba($title-color, 0.15);
            border-radius: 4px;

            .card-body {
                padding: 20px;

                .card-detail {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    text-align: center;
                    margin: 0;
                    border: none;
                    padding: 0;
                    align-items: center;

                    i {
                        --Iconsax-Size: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320)));
                        --Iconsax-Color: var(--theme-color);
                    }

                    .avatar {
                        width: 50px;
                        height: 50px;
                        border-radius: 100%;
                    }

                    .hr {
                        background-color: $border-color;
                        height: 2px;
                        width: 25px;
                    }

                    h3 {
                        font-size: 16px;
                        color: $light-color;
                    }

                    .rate {
                        justify-content: center;
                        margin-top: 8px;
                        gap: 8px;
                    }

                    p {
                        color: rgba($title-color, 0.8);
                        overflow: unset;
                        display: block;
                        font-size: 17px;
                    }
                }
            }
        }

        .swiper {
            padding: 0 4px;

            .swiper-wrapper {
                height: auto;
                padding: 5px 0;

                .swiper-slide {
                    transform: unset;
                    transition: none;

                    &.swiper-slide-active {
                        transform: none;

                        .card {
                            border: none;
                            background-color: unset;
                        }
                    }
                }
            }
        }
    }
}

.our-work {
    .our-work-content {
        .work-box {
            padding: calc(25px + (30 - 25) * ((100vw - 320px) / (1920 - 320))) calc(10px + (20 - 10) * ((100vw - 320px) / (1920 - 320)));
            border-radius: 6px;
            background-color: $section-bg;
            text-align: center;

            h3 {
                font-size: calc(20px + (28 - 20) * ((100vw - 320px) /(1920 - 320)));
                font-weight: 600;
                line-height: 1.2;
                color: var(--theme-color);
            }

            p {
                font-size: calc(14px + (16 - 14) * ((100vw - 320px) /(1920 - 320)));
                text-align: center;
                display: inline-block;
                font-weight: 600;
                color: rgba($title-color, 0.6);
            }
        }
    }
}