/* Faq 1 ---------------------------------- */ 
.accordion-card {
    margin-bottom: 20px;
    transition: 0.4s ease-in-out;
    box-shadow: 0px 4px 30px rgba(1, 19, 60, 0.08);
    overflow: hidden;
    .accordion-button {
        font-size: 20px;
        font-weight: 600;
        font-family: $title-font;
        border: 0;
        color: $title-color;
        background-color: $white-color;
        border-radius: 0;
        padding: 12px 45px 12px 30px;
        min-height: 50px;
        gap: 10px;
        margin-bottom: 0;
        text-align: left;
        transition: 0.3s;
        position: relative;
        &:after {
            content: "\2b";
            height: 100%;
            width: auto;
            line-height: 1;
            background-color: transparent;
            font-family: $icon-font;
            color: $title-color;
            font-weight: 700;
            font-size: 1em;
            display: grid;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: absolute;
            top: 0;
            right: 30px;
            clip-path: polygon(20px 0%, 100% 0, 100% 100%, 0% 100%);
            padding-left: 10px;
            transition: 0.3s ease-in-out;
        }
        &:focus {
            outline: none;
            box-shadow: none;
        }
        &:not(.collapsed) {
            color: $white-color;
            background: $theme-color;
            border-bottom: 1px solid $theme-color;
            box-shadow: none;
            border-radius: 0;
            // padding: 17px 70px 17px 25px;
            &:after {
                content: '\f068';
                transform: rotate(0);
                color: $white-color;
            }
        }
    }
    .accordion-collapse {
        border: none;
    }
    .accordion-body {
        border-radius: 0;
        background-color: $white-color;
        border: none;
        padding: 23px 30px 30px 30px;
    }
    .faq-text {
        margin-bottom: -0.48em;
    }
    .faq-img {
        height: 100%;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
    &:last-child {
        margin-bottom: 0;
    }
    &.style2 {
        box-shadow: none;
        border: 1px solid $border-color;
        &:not(:last-child) {
            margin-bottom: 30px;
        }
        .accordion-button {
            background-color: $smoke-color;
            box-shadow: none;
            &:after {
                content: '\f063';
                color: $body-color;
            }
            &:not(.collapsed) {
                color: $title-color;
                border-bottom: none;
                &:after {
                    transform: rotate(180deg) translateX(-11px);
                }
            }
        }
    }
}

.faq-img {
    padding-left: 25px;
    text-align: center;
    img {
        max-width: max-content;
    }
}

@include xs {
    .accordion-card .accordion-button {
        font-size: 16px;
    }
}

@include lg {
    .accordion-card .accordion-button {
        font-size: 18px;
    }
}

.faq-widget {
    background-color: $smoke-color;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
    text-align: center;
    .title {
        margin-top: -0.23em;
    }
}

.faq-form-wrap {
    margin-top: 70px;
    .form-text {
        max-width: 500px;
        margin-bottom: 25px;
    }
}

@include md {
    .faq-form-wrap {
        margin-top: 45px;
    }
}

@include vxs {
    .faq-widget {
        padding: 40px 20px;
    }
}