﻿#FAQ {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.faq-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
}

.faq-container {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #BEBEBE;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: #000000;
    outline: none;
}

    .faq-question:hover,
    .faq-question:focus {
        color: inherit;
        outline: none;
    }

.faq-question-text {
    flex: 1;
    padding-right: 1rem;
    font-weight: 600;
    user-select: none;
}

.chevron-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .chevron-icon::before {
        content: '';
        display: block;
        width: 14px;
        height: 14px;
        border-style: solid;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        border-color: #6c757d;
        position: relative;
        top: -4px;
        transition: transform 0.3s;
    }

.faq-question[aria-expanded='true'] .chevron-icon::before {
    transform: rotate(-135deg);
    top: 2px;
}


.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

    .faq-answer[aria-hidden='false'] {
        height: auto;
        margin-bottom: 1.25rem;
    }

.faq-answer-content {
    color: #707070;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0 0.5rem 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-answer[aria-hidden='false'] .faq-answer-content {
    opacity: 1;
}

.faq-answer a {
    color: #0078d4;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

    .faq-answer a:hover {
        color: #005a9e;
    }

@media (max-width: 768px) {
    .faq-title {
        font-size: 1.75rem;
    }

    .faq-question {
        padding: 1rem 0;
    }

    .faq-answer[aria-hidden='false'] {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 0.875rem 0;
    }

    .faq-answer[aria-hidden='false'] {
        margin-bottom: 0.875rem;
    }
}
