.title {
    color: var(--text-color-500);
}

.accordion {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: 0 0 12px #00ffd522;
}

.accordion-header {
    width: 100%;
    padding: 1.2rem 1.6rem;
    font-size: 1rem;
    cursor: pointer;
    text-align: right;
    color: #00ffd5;
    background: var(--primary-color);
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: rgba(0, 255, 213, 0.05);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.6rem;
    line-height: 2rem;
    background: #000;
    color: #ccc;
    transition: max-height 0.4s ease, padding 0.3s;
}

.accordion-content.open {
    padding-bottom: 1.6rem;
}

ol {
    font-family: 'Vazirmatn', 'IranSans', sans-serif;
    list-style: decimal;
    list-style-position: inside;
    /* یا outside اگر بخوای عدد بیاد بیرون باکس */
}

.fa-numbered-list {
    counter-reset: list-counter;
    /* شمارش از 0 شروع میشه */
    list-style: none;
    /* پیش‌فرض مرورگر غیرفعال */
    direction: rtl;
}

.fa-numbered-list li {
    counter-increment: list-counter;
    position: relative;
    line-height: 2.5rem;
    color: #ccc;
    padding-right: 1.2rem;
}

.fa-numbered-list li::before {
    content: counter(list-counter, persian) " . ";
    position: absolute;
    right: 0;
    color: #00ffd5;
    /* رنگ عدد */
    font-weight: 600;
}

.accordion-content p {
    line-height: 2.5rem;
    text-align: justify;
}