/*==========================================================================
* About One CSS
==========================================================================*/
.about__one {
    &-left {
        &-list {
            &-item {
                display: flex;
                align-items: start;
                gap: 25px;
                margin-bottom: 20px;
                padding-bottom: 20px;
                border-bottom: 1px solid var(--border-color-2);
                i {
                    font-size: 60px;
                    margin-top: 6px;
                    color: var(--text-heading-color);
                }
                &-content {
                    h4 {
                        font-size: 24px;
                        line-height: 34px;
                    }
                    p {
                        margin-bottom: 0;
                        margin-top: 5px;
                    }
                }
                &:last-child {
                    margin: 0;
                    padding: 0;
                    border: 0;
                }
            }
        }
        &-image {
            position: relative;
            img {
                object-fit: cover;
                height: 335px;
                filter: brightness(0.6);
            }
            .video {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                a {
                    background: #ffffff33;
                    color: var(--text-white);
                }
            }
        }
    }
}
/*==========================================================================
* About Two CSS
==========================================================================*/
.about__two {
    background: var(--color-1);
    &-left {
        .subtitle {
            border-color: #474644;
            color: var(--text-white);
        }
        h2 {
            margin-bottom: 25px;
            color: var(--text-white);
        }
        p {
            color: var(--color-6);
            max-width: 450px;
        }
    }
    &-right {
        img {
            object-fit: cover;
            height: 480px;
            border-radius: 0px 0px 10px 10px;
        }
        &-counter {
            h2 {
                color: var(--text-white);
                font-size: 56px;
                line-height: 66px;
            }
            p {
                color: var(--color-6);
                margin-bottom: 0;
            }
        }
    }
}
/*==========================================================================
* About Three CSS
==========================================================================*/
.about__three {
    background: var(--color-2);
    position: relative;
    z-index: 1;
    &-image {
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
    }
    &-right {
        background: var(--color-2);
    }
}
/*==========================================================================
* About Four CSS
==========================================================================*/
.about__four {
    &-title {
        p {
            max-width: 460px;
        }
    }
    &-counter {
        background: var(--color-2);
        border-radius: 10px;
        padding: 35px 40px;
        &-item {
            padding: 15px 0;
            .box {
                display: inline-block;
                text-align: left;
            }
            h2 {
                font-size: 64px;
                line-height: 64px;
            }
            &.borders {
                border-left: 1px solid var(--border-color-2);
                border-right: 1px solid var(--border-color-2);
            }
        }
    }
    &-right {
        margin-top: -200px;
    }
}
/*==========================================================================
* About Five CSS
==========================================================================*/
.about__five {
    &-right {
        .features {
            background-position: top center;
            background-repeat: no-repeat;
            background-size: cover;
            padding: 50px;
            margin-top: 30px;
            margin-bottom: 35px;
            position: relative;
            z-index: 1;
            &::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-image: linear-gradient(115deg, var(--color-1) 0%, #F2295B00 100%);
                z-index: -1;
            }
            h3 {
                color: var(--text-white);
            }
        }
    }
}
/*==========================================================================
* Company History CSS
==========================================================================*/
.company__history {
    &-area {
        &-item {
            display: grid;
            align-items: center;
            grid-template-columns: repeat(2, 1fr);
            &-inner {
                border-left: 1px solid var(--border-color-1);
                padding-left: 120px;
                &-image {
                    margin: 0 30px;
                    img {
                        max-width: 100%;
                    }
                }
                &-content {
                    box-shadow: 0 0 80px rgba(0, 0, 0, 0.1);
                    background: var(--bg-white);
                    padding: 60px 30px 30px 30px;
                    margin-top: -30px;
                    p {
                        margin: 0;
                    }
                }
            }
            &-date {
                text-align: right;
                span {
                    background: var(--primary-color-1);
                    width: 80px;
                    height: 80px;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    color: var(--color-1);
                    border-radius: 50%;
                    margin-right: -40px;
                    font-size: 20px;
                    position: relative;
                    z-index: 1;
                    &::after {
                        position: absolute;
                        content: '';
                        right: -45px;
                        top: 0;
                        background-image: url(../../assets/img/icon/arrow.png);
                        width: 60%;
                        height: 100%;
                        background-repeat: no-repeat;
                        z-index: 9999;
                        background-position: center;
                        background-size: contain;
                    }
                }
            }
            &:nth-child(even) {
                direction: rtl;
                margin-right: -2px;
                .company__history-area-item {
                    &-inner {
                        border-left: 0;
                        padding-left: 0;
                        border-right: 1px solid var(--border-color-1);
                        padding-right: 120px;
                        direction: ltr;
                    }
                    &-date {
                        text-align: left;
                        span {
                            margin-right: 0;
                            margin-left: -40px;
                            &::after {
                                right: initial;
                                left: -45px;
                                transform: scaleX(-1);
                            }
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 1199px) {
    .about__four-right {
        margin-top: -136px;
        height: 330px;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
}
@media (max-width: 991px) {
    .about__two-right img {
        height: 380px;
    }
    .about__two-left p {
        max-width: 100%;
    }
    .about__three-image {
        position: inherit;
        width: 100%;
    }
    .about__four-left img {
        height: 420px;
        width: 100%;
        object-fit: cover;
    }
    .about__four-title p {
        max-width: 100%;
    }
    .about__four-right {
        margin-top: 0;
        height: 330px;
        img {
            width: 100%;
            object-fit: cover;
            object-position: top center;
        }
    }
    .company__history-area-item {
        &-inner {
            padding-left: 65px;
            &-image {
                margin: 0 25px;
            }
            &-content {
                background: var(--color-11);
                padding: 60px 22px 30px 22px;
                margin-top: -30px;
            }
        }
        &-date span {
            width: 60px;
            height: 60px;
            margin-right: -30px;
            font-size: 16px;
            &::after {
                right: -25px;
            }
        }
        &:nth-child(even) .company__history-area-item {
            &-inner {
                padding-right: 65px;
            }
            &-date span {
                margin-left: -30px;
                &::after {
                    left: -25px;
                }
            }
        }
    }
}
@media (max-width: 767px) {
    .about__four-counter-item.borders {
        border: 0;
    }
}
@media (max-width: 660px) {
    .company__history-area {
        display: grid;
        gap: 80px;
        &-item {
            grid-template-columns: 1fr;
            gap: 40px;
            &-inner {
                padding-left: 0;
                border: 0;
            }
            &-date {
                text-align: center;
                span {
                    width: 60px;
                    height: 60px;
                    margin-right: 0;
                    font-size: 16px;
                    &::after {
                        top: 35px;
                        transform: rotate(90deg);
                        right: 12px;
                    }
                }
            }
            &:nth-child(even) .company__history-area-item {
                &-inner {
                    padding-right: 0;
                    border: 0;
                }
                &-date {
                    text-align: center;
                    span {
                        margin-left: 0;
                        &::after {
                        top: 35px;
                            transform: rotate(90deg);
                            left: 12px;
                        }
                    }
                }
            }
        }
    }
}