/* FAQ Page Styles */
.faq-container {
    max-width: 900px;
}

.faq-header {
    text-align: center;
    padding: 3rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
}

.faq-header h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* FAQ List */
.faq-list {
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 24px var(--shadow-hover);
}

.faq-question {
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 1rem;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.faq-answer li {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.faq-answer strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
    border-radius: 24px;
    margin-bottom: 2rem;
}

.contact-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--shadow);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.contact-btn svg {
    transition: transform 0.3s ease;
}

.contact-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header {
        padding: 2rem 1rem 1rem 1rem;
    }

    .faq-header h2 {
        font-size: 2.5rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.5rem 1.25rem;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.5rem 1.25rem;
    }

    .contact-cta {
        padding: 2rem 1rem;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.25rem 1rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1.25rem 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .contact-btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
