// FAQ Section Styles
.faq-section {
    margin: 40px 0;
    width: 100%;

    .faq-section-title {
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        color: #363A3D;
        margin-bottom: 30px;
        position: relative;
        padding-bottom: 15px;

        &:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(to right, #25D366, #2BB885);
            border-radius: 3px;
        }
    }

    .faq-container {
        max-width: 900px;
        margin: 0 auto;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        background-color: #fff;
        overflow: hidden;

        @media (max-width: 768px) {
            margin: 0 15px;
        }
    }

    .faq-item {
        border-bottom: 1px solid #e6e6e6;
        overflow: hidden;

        &:last-child {
            border-bottom: none;
        }

        &.active {
            .faq-question {
                background-color: #f9f9f9;

                h5 {
                    color: #0a632c;
                }
            }
        }
    }

    .faq-question {
        padding: 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;

        &:hover {
            background-color: #f5f5f5;
        }

        h5 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            color: #444;
            transition: color 0.3s ease;
            flex: 1;
            padding-right: 15px;

            @media (max-width: 576px) {
                font-size: 14px;
            }
        }

        .faq-icon {
            font-size: 24px;
            font-weight: 300;
            color: #777;
            transition: transform 0.3s ease, color 0.3s ease;
            width: 24px;
            height: 24px;
            text-align: center;
            line-height: 20px;
        }
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background-color: #fbfbfb;

        &.show {
            max-height: 1000px;
            padding: 20px;
        }

        div {
            color: #666;
            font-size: 15px;
            line-height: 1.6;

            @media (max-width: 576px) {
                font-size: 14px;
            }

            a {
                color: #25D366;
                text-decoration: none;
                font-weight: 500;

                &:hover {
                    text-decoration: underline;
                }
            }

            .code-format {
                display: inline-block;
                padding: 3px 5px;
                margin: 0 2px;
                background: rgba(0, 0, 0, 0.07);
                border-radius: 3px;
                font-size: 13px;
                color: #a45b41;
                font-family: monospace;
            }
        }
    }
}

// Keep existing documentation card styles
.documentation-flex-row {
    @media screen and (max-width: 781px) {
        margin-left: -10px;
        margin-right: -10px;

        .nts-col {
            flex: 1 1 220px;
            padding-left: 20px;
            padding-right: 10px;
        }
    }
}

.documentation-card {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px; // Updated to more modern radius
    padding: 50px 20px;
    background: #FFFFFF;
    border: 1px solid #ECECEF;
    height: 180px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    svg {
        margin-bottom: 30px;
    }

    h4 {
        margin: 0;
        color: #1E1E1E;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        transition: all 0.3s ease;
    }

    img.wpnts_logo_footer {
        margin-bottom: 15px;
    }

    img.wpnts_logo_footer.youtube-icon {
        width: 162px;
        margin-bottom: 30px;
    }

    .single-doc-item {
        top: 0;
        left: 0;
        outline: 0;
        width: 100%;
        height: 100%;
        box-shadow: none;
        position: absolute;
        cursor: pointer;

        &:any-link {
            &:hover+svg+h4 {
                color: #2BB885;
            }
        }
    }

    button.unlock-register.button {
        width: 122px;
        height: 51px;
        background: #25D366;
        border-radius: 4px;
        border: 0px solid;
        font-weight: 600;
        font-size: 16px;
        line-height: 32px;
        text-align: center;
        color: #F8F9FA;
        transition: all 0.3s ease;
        padding: 0;
        margin-top: 10px;
        cursor: pointer;
        font-size: 13px;

        &:hover {
            background: #1fb857;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
        }

        &:active {
            transform: translateY(0);
        }
    }
}

// Media queries for responsiveness
@media (max-width: 992px) {
    .faq-section {
        .faq-container {
            max-width: 100%;
        }
    }
}

@media (max-width: 576px) {
    .faq-section {
        .faq-section-title {
            font-size: 24px;
        }

        .faq-question {
            padding: 15px;

            h5 {
                font-size: 14px;
            }
        }

        .faq-answer.show {
            padding: 15px;
        }
    }

    .documentation-card {
        padding: 30px 15px;

        h4 {
            font-size: 14px;
        }

        button.unlock-register.button {
            width: 110px;
            height: 45px;
            font-size: 15px;
            line-height: 45px;
        }
    }
}