
/* FAQ Section */
section {
    background: var(--blue-pink-gradient);
}

h1 {
    text-align: center;
}

.hero figure {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -2rem;
}

.hero figure img {
    max-width: 200px;
}

#faq nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#faq nav p {
    width: 100%;
    font-weight: 600;
    color: black;
}

#faq nav button {
    border: 1px solid var(--orange);
    color: var(--grey);
    font-size: 14px;
    text-wrap: balance;
    width: 100%;
}

#faq nav button.active {
    background: var(--primary-gradient);
    color: white;
}

#faq #questions {
    margin-top: 30px;
}

#faq ul {
    display: flex;
    flex-direction: column;
    margin: 0;
}

#faq .list-item {
    padding: 20px 0;
    list-style-type: none;
    border-bottom: var(--border);
}

#faq .list-item:last-of-type {
    border: none;
}

#faq .list-item .theme {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
}

#faq .list-item p {
    margin: 0;
    text-align: left;
    text-wrap: initial;
}

#faq .list-item .theme p {
    display: flex;
    align-items: center;
    text-wrap: initial;
    font-weight: 500;
    color: black;
}

#faq .list-item .theme i {
    transition: all 0.3s ease;
    color: var(--orange);
    margin-left: 10px;
}

#faq .list-item .theme.active i {
    rotate: 180deg;
}

#faq .list-item .desc {
    max-height: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    padding-right: 20px;
}

#faq .list-item .desc p {
    margin-top: 10px;
    text-wrap: initial;
}


    /* Pad Version */
    @media screen and (min-width: 768px) {
        /* FAQ Section */
        .hero figure img {
            max-width: 225px;
        }

        #faq {
            max-width: 850px;
            margin-left: auto;
            margin-right: auto;
        }

        #faq nav {
            justify-content: center;
        }

        #faq nav button {
            font-size: 15px;
            width: max-content;
        }

        #faq #questions {
            max-width: 750px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 35px;
        }
    }


        /* Desktop Version */
        @media screen and (min-width: 992px) {
            /* FAQ Section */
            .hero div {
                max-width: 900px;
                margin-left: auto;
                margin-right: auto;
            }

            .hero figure {
                margin-bottom: -3rem;
            }

            .hero figure img {
                max-width: 250px;
            }

            #faq nav button {
                font-size: 16px;
            }

            #faq #questions {
                margin-top: 40px;
            }

            #faq .list-item {
                padding: 25px 0;
            }

            #faq .list-item .desc p {
                margin-top: 10px;
            }
        }