/* About 1 ---------------------------------- */
.img-box1 {
    position: relative;
    z-index: 2;
    .img1 {
        margin-right: 260px;
    }
    .img2 {
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .about-grid {
        position: absolute;
        top: 0;
        right: 0;
        padding: 35px 33px 35px 35px;
        .about-grid_year {
            font-size: 45px;
            font-weight: 800;
            color: $white-color;
            margin-bottom: 2px;
            margin-top: -0.3em;
        } 
        .about-grid_text {
            font-size: 18px;
            font-weight: 500;
            color: $white-color;
            margin-bottom: -0.6em;
        }
        .about-grid_thumb {
            padding: 23px 0 13px;
        }
    }
}
.img-box2 {
    height: 100%;
    position: relative;
    z-index: 2;
    margin-right: 56px;
    .img2 {
        position: absolute;
        right: 0;
        top: 0;
    }
    .img3 {
        position: absolute;
        right: 0;
        bottom: 0;
        img {
            border-top: 10px solid $white-color;
            border-left: 10px solid $white-color;
        }
    }
}
.img-box3 {
    text-align: right;
    padding-left: 195px;
    position: relative;
    margin-left: 90px;
    .img-2 {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .play-btn {
        position: absolute;
        top: 29px;
        left: 35px;
        i {
            --icon-size: 90px;
        }
    }
}
.img-box4 {
    text-align: end;
    position: relative;
    height: 100%;
    .customer-wrap {
        right: auto;
        text-align: start;
        left: -110px;
        top: 56px;
        padding: 32px 35px 31px 30px;
        .customer-wrap-icon {
            transform: translate(-50%, 0);
            margin-right: -10px;
        }
        .customer-wrap-text {
            margin-right: 0;
        }
    }
    .img1 {
        height: 100%;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
}
.img-box5 {
    padding-bottom: 64px;
    margin-right: 56px;
    .about-grid {
        position: absolute;
        top: 0;
        right: 0;
        padding: 26px 35px 35px 35px;
        .about-grid_year {
            font-size: 45px;
            font-weight: 800;
            color: $white-color;
            margin-bottom: 2px;
            margin-top: -0.3em;
        } 
        .about-grid_text {
            font-size: 18px;
            font-weight: 500;
            color: $white-color;
            margin-bottom: -0.6em;
        }
        .about-grid_thumb {
            padding: 32px 0 23px;
        }
    }
    .img2 {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}
.about-bg-shape1 {
    width: 49.5%;
    height: 100%;
    min-height: 717px;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.about-feature {
    margin-top: 30px;
    display: flex;
    gap: 25px;
    ~ .about-feature {
        border-top: 1px solid $gray-color;
        padding-top: 30px;
    }
    &-wrap {
        margin-bottom: 50px;
        max-width: 470px;
    }
    &_icon {
        height: 70px;
        width: 70px;
        line-height: 68px;
        border-radius: 10px;
        background: $theme-color;
        text-align: center;
        img {
            transition: 0.4s;
        }
    }
    &_title {
        font-size: 18px;
        margin-bottom: 8px;
        margin-top: -0.3em;
    }
    &_text {
        margin-bottom: -0.5em;
    }
    &:hover {
        .about-feature_icon {
            img {
                transform: rotateY(180deg);
            }
        }
    }
}
.about-feature2 {
    display: flex;
    padding: 40px;
    background: $smoke-color;
    gap: 30px;
    transition: 0.4s;
    .box-title {
        margin-bottom: 5px;
        transition: 0.4s;
    }
    .feature_icon {
        transition: 0.4s;
        flex: none;
    }
    .about-feature_text {
        margin-bottom: -0.6em;
        transition: 0.4s;
    }
    &:hover {
        background: $title-color;
        .box-title {
            color: $white-color;
        }
        .about-feature_text {
            color: $white-color;
        }
        .feature_icon {
            transform: rotateY(360deg);
        }
    }
}
.about-feature-wrap3 {
    display: flex;
}
.about-feature3 {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    .about-feature_title {
        margin-bottom: -0.3em;
        font-size: 22px;
        font-weight: 700;
    }
    .icon {
        flex: none;
        transition: 0.4s;
    }
    ~ .about-feature3 {
        border-left: 1px solid #CDCDCD;
        padding-left: 50px;
        margin-left: 12px;
    }
    &:hover {
        .icon {
            transform: rotateY(180deg);
        }
    }
}
.about-profile {
    display: flex;
    gap: 20px;
    align-items: center;
    .avater {
        img {
            border-radius: 50%;
        }
    }
    .title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .desig {
        font-size: 14px;
        font-weight: 500;
        font-family: $title-font;
    }
}
.about-grid-wrap {
    display: flex;
    gap: 30px;
    .thumb {
        flex: none;
    }
    .about-grid {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-bottom: 7px;
        &_year {
            font-size: 60px;   
            margin-bottom: 0;    
            margin-top: -0.15em;     
        } 
        &_text {
            font-size: 20px;
            font-weight: 700;
            line-height: 30px;
            font-family: $title-font;
            color: $title-color;
        }
    }
    &.style2 {
        padding: 40px 40px 33px;
        align-items: center;
        gap: 40px;
        .about-grid_year {
            font-weight: 800;
            margin-top: -0.25em;
        }
        .about-grid_text {
            font-size: 16px;
            line-height: 26px;
        }
        .details {
            border-right: 1px solid #CDCDCD;
            padding-right: 40px;
        }
    }
}
.about-info-wrap {
    display: flex;
    gap: 20px;
    .icon {
        height: 60px;
        width: 60px;
        line-height: 60px;
        border-radius: 50%;
        font-size: 20px;
        color: $theme-color;
        text-align: center;
        background: $white-color;
    }
    .about-info-title {
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 500;
    }
    .about-info-link {
        font-size: 20px;
        font-weight: 500;
        color: $white-color;
        &:hover {
            color: $theme-color;
        }
    }
    &.style2 {
        .icon {
            background: $title-color;
            color: $white-color;
        }
        .about-info-link {
            color: $title-color;
            &:hover {
                color: $theme-color;
            }
        }
    }
    &.style3 {
        .icon {
            background: $smoke-color;
            color: $theme-color;
        }
        .about-info-title {
            font-size: 16px;
            font-weight: 700;
            color: $title-color;
            margin-bottom: 0;
        }
        .about-info-link {
            color: $body-color;
            font-size: 16px;
            font-weight: 500;
        }
    }
    &.style4 {
        align-items: center;
        .icon {
            background: rgba(230, 58, 39, 0.1);
            color: $theme-color;
        }
        .about-info-title {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 2px;
        }
        .about-info-link {
            color: $title-color;
            font-size: 20px;
            font-weight: 600;
        }
    }
}
.about-grid2 {
    display: flex;
    border-top: 1px solid $border-color;
    padding-top: 40px;
    margin-top: 40px;
    align-items: center;
    overflow: hidden;
    .about-grid_year {
        -webkit-background-clip: text;
        background-clip: text;
        background-size: cover;
        background-position: center;
        color: transparent;
        display: inline-block;
        border-right: 1px solid $border-color;
        padding-right: 25px;
        margin-right: 30px;
        font-size: 100px;
        font-weight: 900;
        margin-bottom: 0;
        margin-top: -0.04em;
        line-height: 80px;
    }
    .about-grid_text {
        font-size: 20px;
        font-weight: 600;
        color: #363739;
        line-height: 30px;
    }
}
.about-thumb-4 {
    img {
        object-position: top right;
    }
}
@include xxl {
    .img-box2 {
        margin-right: 40px;
    }
    .about-bg-shape2 {
        right: -35% !important;
    }
}
@include ml {
    .img-box1 .img1 {
        img {
            height: 603px;
        }
    }
    .img-box2 {
        margin-right: 20px;
        .img1 {
            margin-right: 240px;
        }
    }
    .img-box5 {
        margin-right: 20px;
        padding-right: 229px;
        padding-bottom: 177px;
    }
}
@media (max-width: 1200px) {
    .img-box1 .img1 {
        margin-right: 260px;
    }
    .img-box3 {
        padding-bottom: 100px;
    }
    .about-grid2 .about-grid_year {
        font-size: 80px;
        line-height: 63px;
    }
    .about-feature2 {
        padding: 30px;
        .about-feature_text {
            font-size: 15px;
        }
    }
    .img-box5 {
        margin-right: 0;
        padding-right: 219px;
        padding-bottom: 211px;
    }
}
@include lg {
    .img-box1 {
        display: inline-block;
    }
    .img-box2 {
        margin-right: 20px;
        display: inline-block;
        padding-bottom: 60px;
        .img1 {
            img {
                width: 660px;
            }
        }
        .img3 img {
            width: 560px;
        }
    }
    .about-grid-wrap {
        max-width: 530px;
    }
    .img-box3 {
        display: inline-block;
        padding-bottom: 0;
        margin-bottom: 20px;
        margin-left: 0;
    }
    .about-feature2 {
        padding: 40px;
        .about-feature_text {
            font-size: 16px;
        }
    }
    .img-box4 {
        display: inline-block;
        margin-left: 140px;
    }
    .about-feature3 ~ .about-feature3 {
        border-left: 0;
        padding-left: 0;
        margin-left: 28px;
    }
    .img-box5 {
        display: inline-block;
        padding-right: 229px;
        padding-bottom: 65px;
    }
    .img-box1 .img1 img {
        width: 570px;
        object-fit: cover;
    }
    .about-grid2 {
        display: inline-flex;
    }
}
@include md {
    .img-box2 {
        margin-right: 0;
    }
    .about-grid-wrap .about-grid_year {
        font-size: 45px;
    }
    .about-feature2 {
        padding: 25px;
        display: block;
        .feature_icon {
            margin-bottom: 15px;
            display: inline-block;
        }
        .box-title {
            font-size: 20px;
            margin-bottom: 10px;
        }
        .about-feature_text {
            font-size: 14px;
        }
    }
    .about-thumb-4.img-half {
        position: initial;
        width: calc(100% - 50px);
        margin-bottom: 50px;
    }
    .img-box2 .img3 img,
    .img-box2 .img1 img,
    .img-box1 .img1 img {
        width: auto;
    }
}
@include sm {
    .img-box2 {
        padding-right: 225px;
        padding-bottom: 250px;
        .img1 {
            margin-right: 0;
        }
    }
    .img-box3 {
        padding-bottom: 140px;
    }
    .img-box5 {
        padding-bottom: 269px;
    }
    .about-grid-wrap.style2 {
        .details {
            border-right: 0;
            padding: 0;
        }
    }
}

@include xs {
    .img-box1 {
        display: block;
        .img1 {
            margin: 0;
            padding-bottom: 30px;
            img {
                width: 100%;
            }
        }
        .img2 {
            position: initial;
            img {
                width: 100%;
                max-height: 250px;
                object-fit: cover;
            }
        }
    }
    .img-box2 {
        padding: 0;
        .img1 {
            margin-bottom: 20px;
        }
        .img2 {
            position: initial;
            width: 48%;
            display: inline-block;
            img {
                width: 100%;
                height: 250px;
                object-fit: cover;
            }
        }
        .img3 {
            position: initial;
            width: 47%;
            display: inline-block;
            margin-left: 13px;
            img {
                width: 100%;
                border: 0;
                height: 250px;
                object-fit: cover;
            }
        }
    }
    .about-feature-wrap {
        display: block;
    }
    .about-grid-wrap {
        display: block;
        .thumb {
            margin-bottom: 20px;
        }
    }
    .img-box3 {
        padding-left: 125px;
        .play-btn i {
            --icon-size: 60px;
        }
    }
    .about-grid2 .about-grid_year {
        font-size: 60px;
    }
    .about-grid2 .about-grid_text {
        font-size: 16px;
        line-height: inherit;
    }
    .img-box4 {
        margin-left: 90px;
        .customer-wrap {
            right: auto;
            text-align: start;
            left: -50px;
            padding: 12px 20px 11px 20px;
        }
    }
    .about-feature3 .about-feature_title {
        font-size: 16px;
    }
    .about-thumb-4.img-half {
        width: calc(100% - 15px);
    }
    .img-box5 {
        padding-bottom: 378px;
    }
    .about-grid-wrap.style2 .details {
        margin-bottom: 20px;
    }
}
@include vxs {
    .img-box2 .img2 {
        width: 47%;
    }
    .img-box3 {
        padding-bottom: 200px;
    }
    .about-feature-wrap3 {
        display: block;
    }
    .about-feature3 ~ .about-feature3 {
        margin: 30px 0 0;
    }
    .about-grid-wrap.style2 {
        padding: 30px 30px 23px;
    }
    .img-box5 {
        padding: 0;
        .about-grid {
            position: initial;
            margin: 20px 0;
        }
        .img2 {
            position: initial;
        } 
    }
}
@media (max-width: 320px) {
    .img-box3 {
        padding-bottom: 255px;
        padding-left: 120px;
    }
}
