﻿/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq {
    padding-bottom: 60px;
}

    .faq .content h3 {
        font-weight: 400;
        font-size: 34px;
    }

    .faq .content p {
        font-size: 15px;
        color: var(--default-color);
        text-align: justify;
    }

    .faq .faq-container .faq-item {
        background-color: var(--surface-color);
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

        .faq .faq-container .faq-item:last-child {
            margin-bottom: 0;
        }

        .faq .faq-container .faq-item h3 {
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            margin: 0 30px 0 0;
            transition: 0.3s;
            cursor: pointer;
            display: flex;
            align-items: flex-start;
        }

            .faq .faq-container .faq-item h3 .num {
                color: var(--accent-color);
                padding-right: 5px;
            }

            .faq .faq-container .faq-item h3:hover {
                color: var(--accent-color);
            }

        .faq .faq-container .faq-item .faq-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: 0.3s ease-in-out;
            visibility: hidden;
            opacity: 0;
        }

            .faq .faq-container .faq-item .faq-content p {
                margin-bottom: 0;
                overflow: hidden;
                text-align: justify;
            }

        .faq .faq-container .faq-item .faq-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 16px;
            line-height: 0;
            transition: 0.3s;
            cursor: pointer;
        }

            .faq .faq-container .faq-item .faq-toggle:hover {
                color: var(--accent-color);
            }

    .faq .faq-container .faq-active h3 {
        color: var(--accent-color);
    }

    .faq .faq-container .faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
    }

    .faq .faq-container .faq-active .faq-toggle {
        transform: rotate(90deg);
        color: var(--accent-color);
    }
