/* FAQ Page */

.doa-faq-page {
    background: #f8f9fa;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Override any parent containers */
.page-template-page-faq {
    max-width: 100% !important;
}

.page-template-page-faq .site-content,
.page-template-page-faq .content-area,
.page-template-page-faq .inside-article {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.doa-faq-page .doa-container {
    max-width: 100%;
    padding: 0 40px;
}

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.faq-hero h1 {
    margin: 0 0 12px;
    font-size: 42px;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    margin: 0 0 40px;
    opacity: 0.9;
}

/* FAQ Search */
.faq-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 16px 48px 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-search input:focus {
    outline: none;
}

.faq-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Content Section */
.faq-content {
    padding: 60px 0;
}

/* Category Tabs */
.faq-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.category-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

/* Section Headers */
.faq-section-header {
    color: #667eea;
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
}

.faq-section-header:first-child {
    margin-top: 0;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #667eea;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer > * {
    padding: 12px 24px 24px;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    margin: 0 0 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    color: #555;
    line-height: 1.8;
    margin: 0;
    padding-left: 44px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer a {
    color: #667eea;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.faq-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-cta h2 {
    color: #333;
    font-size: 32px;
    margin: 0 0 16px;
}

.faq-cta p {
    color: #666;
    font-size: 18px;
    margin: 0 0 32px;
}

.btn-contact {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 32px;
    }

    .faq-categories {
        gap: 8px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-answer > * {
        padding: 0 20px 20px;
    }

    .faq-cta {
        padding: 40px 24px;
    }

    .faq-cta h2 {
        font-size: 26px;
    }
}
