/* FAQ Page Styles */

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4rem 0;
    text-align: center;
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 500px;
    margin: 0 auto;
}

/* FAQ Content */
.faq-content {
    padding: 4rem 0;
    background: #ffffff;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Category */
.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.faq-category-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
}

.faq-category-icon svg {
    width: 16px;
    height: 16px;
}

.faq-category-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
    border-radius: 0 0 12px 12px;
}

.faq-item:only-child {
    border-radius: 12px;
}

.faq-item:not(:last-child) {
    border-bottom: none;
}

.faq-item.active {
    background: #fffbeb;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-item.active .faq-question {
    background: transparent;
}

.faq-question span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a202c;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: #a0aec0;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #f59e0b;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Contact Section */
.faq-contact {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.faq-contact-content {
    text-align: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.faq-contact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.faq-contact p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.faq-contact .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a202c;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.faq-contact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.4);
}

.faq-contact .btn svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 3rem 0;
    }
    
    .faq-hero h1 {
        font-size: 1.75rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .faq-content {
        padding: 2.5rem 0;
    }
    
    .faq-category-header h2 {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-question span {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-contact-content {
        padding: 2rem 1.5rem;
    }
    
    .faq-contact h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq-hero h1 {
        font-size: 1.5rem;
    }
    
    .faq-category-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-category-icon svg {
        width: 14px;
        height: 14px;
    }
}
