/* Enhanced FAQ Page Styles */

/* Hero Section with Search */
.faq-hero {
    min-height: 500px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.faq-hero .hero-content {
    width: 100%;
}

.faq-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.faq-hero .hero-subtitle {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    color: white;
}

/* Search Box */
.faq-search-box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.faq-search-box .search-icon {
    position: absolute !important;
    left: 32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    pointer-events: none;
    z-index: 2;
    width: 28px !important;
    height: 28px !important;
}

.faq-search-box input {
    width: 100% !important;
    padding: 28px 32px 28px 80px !important;
    font-size: 1.375rem !important;
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
    min-height: 72px !important;
    height: 72px !important;
    font-weight: 500 !important;
}

.faq-search-box input:focus {
    outline: none;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.faq-search-box input::placeholder {
    color: #94a3b8;
}

/* FAQ Content Section */
.faq-content-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

/* Category Navigation */
.faq-categories {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.faq-cat-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 20px 36px !important;
    background: white !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 16px !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    white-space: nowrap;
    min-height: 64px !important;
    height: auto !important;
}

.faq-cat-btn svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5 !important;
}

.faq-cat-btn:hover {
    border-color: #3b82f6;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.faq-cat-btn:hover svg {
    transform: scale(1.1);
}

.faq-cat-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-color: #1e40af;
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.faq-cat-btn.active svg {
    color: white;
    stroke: white;
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Items */
.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1e40af;
}

/* FAQ Icon */
.faq-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    transform: scale(1.1);
}

/* FAQ Text */
.faq-text {
    flex: 1;
    line-height: 1.5;
}

.faq-text mark {
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 4px;
    border-radius: 3px;
}

/* FAQ Chevron */
.faq-chevron {
    flex-shrink: 0;
    color: #64748b;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    stroke: currentColor;
    fill: none;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #3b82f6;
    stroke: #3b82f6;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer-content {
    padding: 0 28px 28px 88px;
    color: #475569;
    font-size: 1.0625rem;
    line-height: 1.75;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer-content strong {
    color: #1e293b;
    font-weight: 600;
}

.faq-answer-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.faq-answer-content li {
    margin: 10px 0;
    color: #475569;
}

.faq-answer-content li strong {
    color: #1e40af;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

.no-results svg {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #64748b;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-results p {
    color: #94a3b8;
    font-size: 1.125rem;
}

/* CTA Section */
.faq-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 80px 0;
}

.faq-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.faq-cta h2 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.faq-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta .btn-primary,
.faq-cta .btn-secondary {
    padding: 16px 36px;
    font-size: 1.125rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-cta .btn-primary {
    background: white;
    color: #1e40af;
    border: 2px solid white;
}

.faq-cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.faq-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.faq-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero {
        min-height: 450px;
        padding: 60px 0;
    }

    .faq-hero .hero-title {
        font-size: 2.5rem;
    }

    .faq-hero .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .faq-search-box {
        max-width: 100%;
        padding: 0 20px;
    }

    .faq-search-box .search-icon {
        left: 28px;
        width: 26px;
        height: 26px;
    }

    .faq-search-box input {
        padding: 24px 28px 24px 72px;
        font-size: 1.25rem;
        min-height: 68px;
        border-radius: 20px;
    }

    .faq-categories {
        gap: 14px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .faq-cat-btn {
        padding: 16px 28px;
        font-size: 1.125rem;
        min-height: 60px;
        border-radius: 14px;
        gap: 12px;
    }

    .faq-cat-btn svg {
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1.0625rem;
        gap: 12px;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px 68px;
        font-size: 1rem;
    }

    .faq-cta h2 {
        font-size: 2rem;
    }

    .faq-cta p {
        font-size: 1.125rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-cta .btn-primary,
    .faq-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

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

    .faq-search-box {
        padding: 0 16px;
    }

    .faq-search-box .search-icon {
        left: 24px;
        width: 24px;
        height: 24px;
    }

    .faq-search-box input {
        padding: 22px 24px 22px 64px;
        font-size: 1.125rem;
        min-height: 64px;
        border-radius: 18px;
    }

    .faq-categories {
        gap: 12px;
        padding: 0 16px;
    }

    .faq-cat-btn {
        padding: 14px 22px;
        font-size: 1rem;
        min-height: 56px;
        gap: 10px;
    }

    .faq-cat-btn svg {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
    }

    .faq-question {
        flex-wrap: wrap;
    }

    .faq-icon {
        order: -1;
    }

    .faq-chevron {
        margin-left: auto;
    }
}
