/* FAQ Section Block Styles */

.faq-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.faq-description {
    margin-top: 16px;
    max-width: 800px;
}

.faq-description p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #5f6368;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.faq-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item-open {
    border-color: #ffb703;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #ffb703;
}

.faq-chevron {
    transition: transform 0.3s ease;
}

.faq-item-open .faq-chevron {
    transform: rotate(90deg);
}

.faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    line-height: 1.4;
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item-open .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
    padding: 0 20px 0 56px;
    font-size: 15px;
    line-height: 1.6;
    color: #5f6368;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.faq-answer::before {
    content: '';
    display: block;
    height: 8px;
}

.faq-answer::after {
    content: '';
    display: block;
    height: 20px;
}

.faq-item-open .faq-answer {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .faq-section {
        padding: 50px 30px;
    }

    .faq-list-grid {
        grid-template-columns: 1fr;
    }

    .faq-list {
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 16px;
        gap: 10px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer {
        padding-left: 46px;
        font-size: 14px;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }

    .faq-chevron {
        width: 16px;
        height: 16px;
    }
}
