@use '../utils' as *;

/*=============================
    FAQ 01
===============================*/
.faq-bg-shape1-1 {
    position: absolute;
    width: 110%;
    height: 350px;
    bottom: 0;
    left: 50%;
    background: var(--tg-color-smoke-5);
    transform: rotate(7deg) translate(-50%, -50%);
    z-index: -1;
    @media #{$md} {
        display: none;
    }
}
.faq-thumb1-1 {
    border-radius: 15px;
    overflow: hidden;
    img {
        width: 100%;
    }
}
.accordion-card {
    transition: 0.3s;
    background: var(--tg-color-white-default);
    border-radius: 5px;
    position: relative;
    padding: 18px 30px;
    box-shadow: 0px 0px 18px rgba(24, 16, 16, 0.1);
    &:not(:last-child) {
        margin-bottom: 20px;
    }
    .accordion-button {
        font-size: 18px;
        font-weight: 600;
        font-family: var(--tg-heading-font-family);
        color: var(--tg-heading-color);
        border: 0;
        background-color: transparent;
        text-align: left;
        transition: 0.3s;
        box-shadow: none;
        padding: 0px 45px 0px 0;
        line-height: normal;
        display: block;
        span {
            margin-right: 5px;
            align-self: start;
        }
        @media #{$xs} {
            font-size: 18px;
        }
        &:after {
            content: "\f107";
            height: 30px;
            width: auto;
            background: transparent;
            border: 0;
            font-family: 'Font Awesome 5 Free';
            color: var(--tg-theme-primary);
            font-weight: 900;
            font-size: 24px;
            display: grid;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: absolute;
            line-height: normal;
            top: -2px;
            right: 2px;
            transition: 0.3s ease-in-out;
            @media #{$xs} {
                font-size: 20px;
                right: 1px;
            }
        }
        &:not(.collapsed)::after {
            color: var(--tg-theme-primary);
        }
        &:focus {
            outline: none;
            box-shadow: none;
        }
    }
    .accordion-collapse {
        border: none;
        position: relative;
    }
    .accordion-body {
        border-radius: 0;
        background-color: transparent;
        border: none;
        padding: 12px 0 5px 0;      
        p {
            font-weight: 400;
            font-size: 16px;
            margin: 0;
            opacity: 0.7;
            color: var(--tg-heading-color);
            @media #{$xs} {
                font-size: 16px;
            }
        }
    }
    &:last-child {
        margin-bottom: 0;
    }
}