
.faq-wrap .img,
.faq-wrap .content{
    width: 50%;
    height: auto;
}
.faq-wrap .head-box{
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}
.faq-wrap .head-box .faq-head{
    display: flex;
    align-items: center;
    gap: 16px;
    /*background-color: var(--bs-body-bg,--bg_color);*/
    padding-left: 24px;
}
.faq-wrap .faq-head .head-icon{
    width: 48px;
    height: 48px;
    background-color: var(--black_color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-wrap .faq-head .head-icon svg {
    width: 18px;
    height: 18px;
}
.faq-wrap .head-box .faq-head .head-icon i{
    font-size: 18px;
    color: var(--white_color);
}
.faq-wrap .head-box .faq-head .head-icon svg path{
    fill: var(--white_color);
}
.faq-wrap .head-box .faq-head .faq-head-inner{
    display: flex;
}
.faq-wrap .head-box .faq-head .faq-head-inner.flex-direction-row{
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
.faq-wrap .head-box .faq-head .faq-head-inner.flex-direction-column{
    flex-direction: column;
}
.faq-wrap .faq-head .title{
    font-size: 24px;
    font-weight: 900;
    line-height: normal;
}
.faq-wrap .faq-head .subtitle{
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--black-70);
}
.faq-wrap .head-box .line{
    content: "";
    height: 1px;
    width: auto;
    background: var(--black-10);
    z-index: -1;
    flex-grow: 1;
}
.faq-wrap .text{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--black-70);
    text-align: justify;
    margin-bottom: 8px;
}
.faq-wrap .head-btns{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.faq-wrap .head-btns .btn{
    min-width: 156px;
    border: 0;
}
.faq-wrap .img{
    position: relative;
}
.faq-wrap .img:before{
    content:"";
    width: 84%;
    height: 70%;
    background-color: var(--primary_color);
    border-radius: 24px;
    position: absolute;
    left: 12px;
    bottom: 0;
    z-index: -1;
}
.faq-wrap .img img{
    width: 100%;
    height: auto;
}

.faq-items{
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}
.faq-items .faq-item{
    background-color: var(--white_color);
    padding: 12px 8px;
    border-radius: 24px;
}
.faq-items .faq-item .question-wrap{
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.faq-items .faq-item .question-wrap *{
    transition: all .3s ease-in-out;
}
.faq-items .faq-item .question-wrap .icon{
    width: 40px;
    height: 40px;
    background-color: var(--secondary-5);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-items .faq-item.active .question-wrap .icon{
    background-color: var(--secondary_color);
}
.faq-items .faq-item .question-wrap .icon i{
    color: var(--dark_secondary_color);
}
.faq-items .faq-item .question-wrap > svg{
    margin-right: auto;
    margin-left: 8px;
    opacity: 0.5;
}
.faq-items .faq-item .question-wrap .icon svg{
    width: 18px;
    height: 18px;
}
.faq-items .faq-item .question-wrap .icon svg path{
    stroke: var(--dark_secondary_color);
}
.faq-items .faq-item.active .question-wrap .icon i{
    font-size: 18px;
    color: var(--white_color);
}
.faq-items .faq-item.active .question-wrap .icon svg path{
    stroke: var(--white_color);
}
.faq-items .faq-item .question-wrap b{
    font-size: 16px;
    font-weight: 600;
    color: var(--black_color);
}
.faq-items .faq-item .answer-wrap{
    visibility: hidden;
    opacity: 0;
    height: 0;
}
.faq-items .faq-item.active .answer-wrap{
    visibility: visible;
    opacity: 1;
    height: auto;
}
.faq-items .faq-item .answer-wrap .answer{
    padding: 16px 24px;
    background-color: var(--gray_color);
    border-radius: 24px;
    color: var(--black-70);
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
}
.faq-items .faq-item.active .answer-wrap .answer{
    margin: 16px 0 -4px;
}

.faq-wrap .d-flex .content{
    margin-top: 52px;
}
.faq-wrap .no-header.content{
    margin-top: 0;
}

.show-liner .faq-items{
    position: relative;
}
.show-liner .faq-items .faq-item {}
.show-liner .faq-items .faq-item .question-wrap > svg {
    transform: rotate(90deg);
}
.show-liner .faq-items .faq-item .question-wrap{
    width: calc(55% - 24px);
    margin-left: 24px;
}
.show-liner .faq-items .faq-item .answer-wrap{
    width: calc(45% - 24px);
    height: 100%;
    max-height: 100%;
    position: absolute;
    left: 0;
    top: -56px;
    bottom: 0;
}
.show-liner .faq-items .faq-item.active .answer-wrap .answer{
    height: 100%;
    margin-top: 0;
    overflow-y: auto;
}

.show-liner.show-hook .faq-items .faq-item.active .answer-wrap .answer:before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 17px;
    background-color: var(--black-20);
    mask-image: url(../img/hook.svg);
}

.faq-wrap .contact-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    width: 43%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 32px;
}
.faq-wrap .contact-wrap{
    display: flex;
    align-items: center;
    gap: 16px;
}
.faq-wrap .contact-box .icon{
    display: flex;
    align-items: center;
    justify-content: center;
}
.show-liner .contact-box{
    position: absolute;
    left: 0;
    /*top: 284px;*/
    max-width: 45%;
    bottom: 0;
}
.with-contact-box .faq-items .faq-item .answer-wrap .answer{
    padding-bottom: 100px;
}


.faq-wrap.faq-full .content{
    width: 100%;
}
.faq-wrap.faq-full .inner{
    position: relative;
}
.faq-wrap.faq-full .bg_svg .shape-unit {
    --height: 302px;
    filter: url(#smooth-join2);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100px;
    z-index: -1;
    height: var(--height);
}

.faq-wrap.faq-full .bg_svg .rect {
    position: absolute;
    background: var(--gray_color);
}

.faq-wrap.faq-full .bg_svg .rect1 {
    max-width: 100%;
    width: 443px;
    height: 90px;
    right: 0;
    top: 0;
    border-radius: 0;
    z-index: 2;
}
.faq-wrap.faq-full .bg_svg .rect2 {
    width: 100%;
    height: calc(var(--height) - 70px);
    border-radius: 0;
    right: 0;
    top: 80px;
    z-index: 1;
}

.faq-wrap.faq-full .head-box{
    margin-bottom: 14px;
}
.faq-wrap.faq-full .faq-items{
    padding-left: 40px;
    padding-right: 40px;
}



@media (max-width: 1024px) {
    .faq-wrap .img img{
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
    .faq-items .faq-item.active .question-wrap{
        box-shadow: none !important;
    }
    .show-liner .contact-box{
        display: none;
    }
    .faq-wrap .content{
        width: 100%;
    }
    .show-liner .faq-items .faq-item .question-wrap{
        width: 100%;
        margin-left: 0;
    }
    .show-liner .faq-items .faq-item.active .answer-wrap .answer{
        width: 100%;
        height: auto;
    }
    .show-liner .faq-items .faq-item.active .answer-wrap{
        position: relative;
        width: 100%;
        height: auto;
        top: 3px;
    }
    .show-liner .faq-items .faq-item .question-wrap > svg {
        transform: rotate(0);
    }
    .faq-wrap.swaped .d-flex{
        flex-direction: column;
    }
}
@media (max-width: 991px) {

    .faq-wrap .head-box{
        margin-bottom: 16px;
    }
    .faq-wrap .d-flex{
        padding: 0 50px;
        flex-direction: column-reverse;
    }
    .faq-wrap .img:before{
        width: calc(100% - 24px);
    }
    .faq-wrap .img{
        width: 58%;
        display: block;
        margin: 0 auto;
    }
    .faq-wrap .d-flex .content{
        margin-top: 0;
        margin-bottom: 18px;
    }

    .show-liner.show-hook .faq-items .faq-item{
        overflow: hidden;
    }

    .show-liner.show-hook .faq-items .faq-item.active .answer-wrap .answer:before{
        display: none;
    }


}
@media (max-width: 767px) {
    .faq-wrap .d-flex{
        padding: 0 12px;
    }
    /*.faq-wrap {*/
    /*    margin-bottom: 43px;*/
    /*}*/
}
@media (max-width: 575px) {
    .faq-wrap .d-flex{
        padding: 0;
    }
    .faq-items .faq-item .question-wrap .icon {
        width: 32px;
        height: 32px;
    }
    .faq-items .faq-item .answer-wrap .answer{
        font-size: 14px;
        padding: 16px;
    }
    .faq-wrap .head-btns{
        justify-content: center;
    }
    .faq-wrap .head-btns .btn{
        min-width: 152px;
    }


    .faq-wrap.faq-full .head-box{
        margin-bottom: 8px;
    }
    .faq-wrap.faq-full .faq-items{
        padding-left: 16px;
        padding-right: 16px;
    }
}
