

/********************************************************************************/ /* Faq */
.faq-list-wrap {
    padding-top: 40px;
}

.faq-img-wrap {
    position: relative;
    width: 305px;
    background: color-mix(in srgb, var(--primary_color) 8%, transparent);
    border-radius: 24px;
    overflow: hidden;
}

.faq-img-wrap img {
    width: 162px;
    height: auto;
    margin: 95px auto 38px;
    display: block;
}

.faq-img-wrap:before {
    content: " ";
    width: 192px;
    height: 130px;
    background-color: var(--primary_color);
    -webkit-mask-image: url(../img/vector-hero-2.svg);
    mask-image: url(../img/vector-hero-2.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    transform: scaleX(-1);
    position: absolute;
    top: 0;
    left: 0;

}

.faq-img-wrap .btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    justify-content: space-between;
}

.faq-items {
    width: calc(100% - 305px);
    padding-right: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item .question-wrap {
    width: calc(60% - 26px);
    padding: 13px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #ffffff;
    cursor: pointer;
}

.faq-item:hover .question-wrap,
.faq-item.active .question-wrap {
    border-color: var(--primary_color);
}

.faq-item .question-wrap span {
    padding-right: 7px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text_color);
    width: calc(100% - 45px);
}

.faq-item:hover .question-wrap span,
.faq-item.active .question-wrap span {
    color: var(--primary_color);
}

.faq-item .question-wrap i {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    color: var(--primary_color);
    background: color-mix(in srgb, var(--primary_color) 6%, transparent);
    transition: all .3s ease;
}

.faq-item.active .question-wrap i {
    background: var(--primary_color);
    color: var(--bg_color);
    transform: scaleX(-1);
}

.faq-item .answer-wrap {
    visibility: hidden;
    opacity: 0;
    width: 40%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary_color);
    border-radius: 24px;
    padding: 40px 40px 113px 30px;
}

.faq-item.active .answer-wrap {
    visibility: visible;
    opacity: 1;
}

.faq-item .answer-wrap .answer {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--bg_color);
    text-align: justify;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-color: var(--secondary_color) var(--primary_color);
    scrollbar-width: thin;
    padding-left: 10px;
}


.faq-item .answer-wrap .respondent {
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    color: var(--bg_color);
    position: absolute;
    right: 30px;
    bottom: 42px;
    padding-right: 45px;
}

.faq-item .answer-wrap .respondent:before {
    content: ",,";
    font-family: "playfair";
    font-size: 59px;
    font-weight: 800;
    line-height: 21px;
    color: var(--bg_color);
    position: absolute;
    right: 4px;
    top: 32px;
    transform: rotate(180deg);
}

.faq-item .answer-wrap span {
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    color: #ffffff;
    opacity: 0.06;
    position: absolute;
    left: 26px;
    bottom: 21px;
}

@media (max-width: 991px) {

    .faqs .section-sub-title {
        text-align: center;
        display: block;
    }

    .faq-img-wrap {
        display: none;
    }

    .faq-items {
        width: 100%;
    }

    .faq-item .question-wrap {
        width: 100%;
    }

    .faq-item .answer-wrap {
        width: 100%;
        position: relative;
        height: 0;
        padding: 0;
        margin: 0;
    }

    .faq-item.active .answer-wrap {
        margin-top: 16px;
        padding: 40px 40px 113px;
        height: auto;
    }
}
