@use '../utils' as *;

/*=============================
    	04. About
===============================*/
.about {
    &__area {
        &-two {
            &::after {
                content: "";
                position: absolute;
                left: -244px;
                top: -87px;
                width: 590px;
                height: 590px;
                @include border-radius(50%);
                filter: blur(250px);
                background: #C56FD3;
                z-index: -2;
                opacity: .2;
                pointer-events: none;
            }
            &::before {
                content: "";
                position: absolute;
                right: -237px;
                top: -188px;
                width: 640px;
                height: 640px;
                @include border-radius(50%);
                filter: blur(200px);
                background: #DFA175;
                z-index: -2;
                opacity: .2;
                pointer-events: none;
            }
        }
    }
    &__img {
        position: relative;
        z-index: 1;
        margin-left: -30px;
        padding-right: 40px;
        @media #{$lg} {
            margin-left: 0;
            padding-right: 0;
        }
        @media #{$md} {
            margin-bottom: 50px;
        }
        @media #{$xs} {
            margin-bottom: 30px;
        }
        & .main-img {
            @include border-radius(24px);
            width: 100%;
        }
        & .shape {
            position: absolute;
            right: -79px;
            top: -92px;
            z-index: -1;
            -webkit-animation-duration: 90s;
            animation-duration: 90s;
            @media #{$xl} {
                right: -25px;
                top: -74px;
                width: 220px;
            }
            @media #{$md} {
                right: -78px;
                top: -74px;
            }
            @media #{$xs} {
                right: -50px;
                top: -44px;
                width: 150px;
            }
        }
        &-two {
            text-align: center;
            position: relative;
            @media #{$md} {
                margin-bottom: 50px;
            }
            & .shape {
                & img {
                    position: absolute;
                    &:nth-child(1) {
                        top: 0;
                        right: 0;
                        @media #{$lg} {
                            width: 130px;
                        }
                        @media #{$xs} {
                            width: 100px;
                        }
                        @media #{$sm} {
                            width: 130px;
                        }
                    }
                    &:nth-child(2) {
                        top: 25%;
                        right: 0;
                        @media #{$lg} {
                            width: 40px;
                            top: 31%;
                            right: -9%;
                        }
                        @media #{$xs} {
                            width: 30px;
                            top: 25%;
                            right: 0;
                        }
                    }
                }
            }
        }
        &-three {
            position: relative;
            z-index: 1;
            &-inner {
                @include flexbox();
                align-items: center;
                gap: 20px;
                @media #{$md} {
                    margin-bottom: 50px;
                }
                @media #{$xs} {
                    gap: 10px;
                }
                & img {
                    @include border-radius(25px);
                    object-fit: cover;
                    &.big-img {
                        width: 330px;
                        height: 490px;
                        flex: 0 0 auto;
                        @media #{$lg} {
                            width: 240px;
                            height: 420px;
                        }
                        @media #{$md} {
                            width: 290px;
                        }
                        @media #{$xs} {
                            width: 205px;
                            height: 350px;
                        }
                    }
                }
                & .img-right {
                    @include flexbox();
                    flex-direction: column;
                    gap: 20px;
                    @media #{$xs} {
                        gap: 10px;
                    }
                    & img {
                        &:nth-child(1) {
                            width: 100%;
                            height: 320px;
                            @media #{$lg} {
                                height: 260px;
                            }
                            @media #{$xs} {
                                height: 230px;
                            }
                        }
                        &:nth-child(2) {
                            width: 100%;
                            height: 205px;
                            @media #{$xs} {
                                height: 190px;
                            }
                        }
                    }
                }
            }
            & .shape {
                width: 133px;
                height: 133px;
                @include flexbox();
                align-items: center;
                justify-content: center;
                background: var(--tg-theme-primary);
                color: var(--tg-color-white-default);
                @include border-radius(50%);
                position: absolute;
                right: 36%;
                bottom: 30%;
                @media #{$xs} {
                    width: 100px;
                    height: 100px;
                }
                &::before {
                    content: "";
                    position: absolute;
                    width: 181px;
                    height: 181px;
                    background: transparent;
                    border: 15px solid rgba(255 255 255 / 50%);
                    @include border-radius(50%);
                    pointer-events: none;
                    @media #{$xs} {
                        width: 145px;
                        height: 145px;
                    }
                }
                & svg {
                    @media #{$xs} {
                        width: 50px;
                        height: auto;
                    }
                }
            }
        }
        &-four {
            position: relative;
            text-align: right;
            z-index: 1;
            @media #{$md} {
                margin-bottom: 50px;
            }
            @media #{$xs} {
                padding-left: 80px;
            }
            & .main-img {
                width: 400px;
                height: 554px;
                object-fit: cover;
                @include border-radius(24px);
                @media #{$lg} {
                    width: 280px;
                    height: 480px;
                }
                @media #{$md} {
                    width: 335px;
                    height: 445px;
                }
                @media #{$xs} {
                    width: 100%;
                    height: 370px;
                }
            }
            & .img-two {
                position: absolute;
                left: 0;
                top: 37px;
                width: 300px;
                height: 304px;
                @include border-radius(16px);
                border: 10px solid var(--tg-color-white-default);
                object-fit: cover;
                @media #{$lg} {
                    top: 25px;
                    width: 240px;
                    height: 240px;
                }
                @media #{$lg} {
                    width: 200px;
                    height: 200px;
                    border-width: 5px;
                }
            }
            & .shape {
                position: absolute;
                left: -24px;
                bottom: -38px;
                z-index: -1;
            }
        }
        &-five {
            @include flexbox();
            align-items: center;
            position: relative;
            margin-left: -30px;
            @media #{$lg} {
                margin-left: 0;
            }
            @media #{$md} {
                margin-bottom: 50px;
            }
            @media #{$xs} {
                flex-wrap: wrap;
                gap: 20px;
            }
            & .main-img {
                width: 390px;
                flex: 0 0 auto;
                overflow: hidden;
                height: 520px;
                object-fit: cover;
                border-radius: 24px;
                @media #{$lg} {
                    width: 225px;
                }
                @media #{$md} {
                    width: 300px;
                }
                @media #{$xs} {
                    width: 100%;
                    height: 300px;
                }
            }
            & .right-img {
                margin-left: 20px;
                @include flexbox();
                gap: 20px;
                flex-direction: column;
                @media #{$xs} {
                    margin-left: 0;
                    flex-grow: 1;
                }
                & .img-two {
                    width: 100%;
                    height: 320px;
                    object-fit: cover;
                    @include border-radius(16px);
                    @media #{$xs} {
                        display: none;
                    }
                }
            }
            & .shape {
                position: absolute;
                right: -40px;
                bottom: -24px;
                z-index: -1;
            }
        }
    }
    &__content {
        margin-right: 80px;
        @media #{$lg} {
            margin-right: 0;
        }
        & > p {
            margin-bottom: 40px;
            text-transform: capitalize;
            font-weight: 500;
            @media #{$lg} {
                margin-bottom: 30px;
            }
        }
        &-inner {
            @include flexbox();
            align-items: center;
            gap: 40px;
            @media #{$lg} {
                gap: 20px;
            }
            @media #{$xs} {
                flex-wrap: wrap;
            }
            &-two {
                @include flexbox();
                align-items: center;
                justify-content: space-between;
                & .choose__list-three {
                    border-right: 1px solid #CED0DE;
                    margin-right: 35px;
                    padding-right: 35px;
                    flex-grow: 1;
                    @media #{$lg} {
                        margin-right: 20px;
                        padding-right: 20px;
                    }
                    @media #{$xs} {
                        margin-right: 12px;
                        padding-right: 12px;
                    }
                }
            }
            &-three {
                @include flexbox();
                align-items: center;
                gap: 20px;
                justify-content: space-between;
                @media #{$xs} {
                    flex-wrap: wrap;
                }
                @media #{$sm} {
                    flex-wrap: nowrap;
                }
            }
        }
        &-video {
            width: 53.5%;
            flex: 0 0 auto;
            position: relative;
            @media #{$lg} {
                width: 45.5%;
            }
            @media #{$xs} {
                width: 100%;
            }
            & img {
                @include border-radius(24px);
                height: 250px;
                object-fit: cover;
                width: 100%;
            }
            & .video__icon {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }
            &-two {
                width: 43.5%;
                flex: 0 0 auto;
                @media #{$xs} {
                    width: 100%;
                }
                @media #{$sm} {
                    width: 43.5%;
                }
                & img {
                    height: 142px;
                    width: 100%;
                    @include border-radius(16px 30px 21px 30px);
                }
                & .video__icon {
                    width: 45px;
                    height: 45px;
                    & svg {
                        width: 13px;
                        height: auto;
                    }
                }
            }
        }
        &-two {
            padding: 0 55px 0 60px;
            @media #{$lg} {
                padding: 0 0 0 35px;
            }
            @media #{$md} {
                padding: 0 ;
            }
            & > p {
                margin-bottom: 25px;
                font-weight: 500;
                width: 90%;
            }
        }
        &-three {
            margin-left: 45px;
            @media #{$lg} {
                margin-left: 0;
            }
            & p {
                margin-bottom: 35px;
                font-weight: 500;
                width: 95%;
                @media #{$lg} {
                    margin-bottom: 25px;
                    width: 100%;
                }
            }
            & .counter__item {
                width: 35%;
                flex: 0 0 auto;
                @media #{$lg} {
                    width: 40%;
                }
                @media #{$xs} {
                    width: 35%;
                }
            }
        }
        &-four {
            margin-left: 50px;
            @media #{$lg} {
                margin-left: 0;
            }
            & p {
                margin-bottom: 25px;
                font-weight: 500;
                width: 95%;
                @media #{$lg} {
                    width: 100%;
                }
            }
        }
        &-five {
            margin-right: 80px;
            @media #{$lg} {
                margin-right: 0;
            }
            & p {
                margin-bottom: 30px;
            }
        }
        &-bottom {
            @include flexbox();
            align-items: center;
            gap: 15px 35px;
            flex-wrap: wrap;
            margin-top: 50px;
            @media #{$lg} {
                margin-top: 30px;
            }
            @media #{$xs} {
                gap: 15px 15px;
                flex-direction: column-reverse;
                align-items: flex-start;
            }
            &-two {
                margin-top: 30px;
            }
        }
    }
    &__list {
        &-item {
            @include flexbox();
            align-items: flex-start;
            gap: 18px;
            &:hover {
                & .icon {
                    background: var(--tg-theme-primary);
                    color: var(--tg-color-white-default);
                }
            }
            & .icon {
                width: 60px;
                height: 60px;
                @include flexbox();
                align-items: center;
                justify-content: center;
                flex: 0 0 auto;
                background: var(--tg-color-gray-1);
                @include border-radius(12px);
                font-size: 32px;
                line-height: 0;
                color: var(--tg-theme-primary);
                @include transition(.3s);
            }
            & .content {
                & .title {
                    margin-bottom: 4px;
                    font-size: 20px;
                }
                & p {
                    margin-bottom: 0;
                    text-transform: capitalize;
                    font-weight: 500;
                }
            }
        }
        &-wrap {
            @include flexbox();
            flex-direction: column;
            gap: 25px;
            align-items: flex-start;
        }
    }
    &__tab-wrap {
        & .accordion {
            &-item {
                margin-bottom: 10px;
                background: var(--tg-color-white-default);
                border: none;
                @include border-radius(10px !important);
                overflow: hidden;
                &:last-child {
                    margin-bottom: 0;
                }
            }
            &-button {
                font-weight: 600;
                font-size: 20px;
                text-transform: capitalize;
                color: var(--tg-heading-color);
                border: none;
                padding: 18px 30px;
                &::after {
                    display: none;
                }
                &:not(.collapsed) {
                    background: var(--tg-color-white-default);
                    color: var(--tg-theme-primary);
                    box-shadow: none;
                }
                &:focus {
                    box-shadow: none;
                }
            }
            &-body {
                padding: 0 30px 25px;
                & p {
                    margin-bottom: 0;
                    font-weight: 500;
                    text-transform: capitalize;
                }
            }
        }
    }
    &__rating {
        @include flexbox();
        align-items: center;
        gap: 8px;
        & .thumb {
            @include flexbox();
            & img {
                width: 50px;
                height: 50px;
                object-fit: cover;
                @include border-radius(50%);
                border: 2px solid var(--tg-color-white-default);
                &:not(:nth-child(1)) {
                    margin-left: -20px;
                }
            }
        }
        & .rating {
            gap: 2.5;
            margin-bottom: 5px;
        }
        & .content {
            & span {
                display: block;
                font-weight: 500;
                font-size: 14px;
                text-transform: capitalize;
                color: #444;
            }
        }
    }
    &__shape {
        & img {
            position: absolute;
            right: -148px;
            top: 34%;
            z-index: -1;
            @media #{$lg} {
                right: -194px;
                top: 28%;
                width: 300px;
            }
            @media #{$md} {
                top: 35%;
                right: -180px;
            }
            @media #{$xs} {
                top: 35%;
                right: -160px;
                width: 240px;
            }
        }
    }
}

.video__icon {
    width: 60px;
    height: 60px;
    @include flexbox();
    align-items: center;
    background: var(--tg-color-white-default);
    justify-content: center;
    @include border-radius(50%);
    position: relative;
    &:hover {
        background: var(--tg-theme-primary);
        color: var(--tg-color-white-default);
    }
    &::before,
    &::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 100%;
        border: 1px solid var(--tg-color-white-default);
        border-radius: 50%;
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        animation: pulse-border 2200ms ease-out infinite;
    }
}
.video__icon::after {
    animation-delay: 1100ms;
}

.experience__wrap {
    @include flexbox();
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 0;
    gap: 5px;
    background: var(--tg-theme-primary);
    @include border-radius(0 24px 0 15px);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: 80px;
    transform: rotate(180deg);
    min-height: 230px;
    padding: 23px 0 26px 0;
    & .count {
        margin-bottom: 0;
        color: var(--tg-color-white-default);
        @include flexbox();
        align-items: flex-start;
        font-size: 50px;
        & span {
            font-size: 30px;
        }
    }
    & span {
        color: var(--tg-color-white-default);
        font-weight: 500;
        font-size: 18px;
        text-transform: capitalize;
        line-height: 1.1;
    }
}

.satisfaction__wrap {
    background: var(--tg-theme-primary);
    position: absolute;
    left: 7px;
    bottom: 0;
    @include border-radius(21px 0 21px 21px);
    text-align: center;
    padding: 44px 37px;
    @media #{$lg} {
        padding: 25px 20px;
        left: 0;
    }
    @media #{$xs} {
        padding: 18px 15px;
    }
    & .icon {
        margin-bottom: 18px;
        @media #{$xs} {
            margin-bottom: 12px;
        }
        & img {
            @media #{$xs} {
                width: 60px;
            }
        }
    }
    & span {
        display: block;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.3;
        text-transform: capitalize;
        color: var(--tg-color-white-default);
        @media #{$lg} {
            font-size: 16px;
        }
        @media #{$xs} {
            font-size: 14px;
        }
    }
    &-two {
        position: initial;
        border-radius: 20px;
        padding: 30px 37px;
        @media #{$xs} {
            width: 100%;
        }
    }
}

.mfp-iframe-holder .mfp-content {
    max-width: 1200px;
}