
.faq-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.faq-header h1 {
    color: #2d3436;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header p {
    color: #636e72;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.faq-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 184, 148, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    color: #00b894;
    font-weight: 600;
    margin-top: 15px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(0, 184, 148, 0.05);
    color: #00b894;
}

.faq-question.active {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
}

.faq-question.active .faq-icon {
    color: white;
    transform: rotate(180deg);
}

.faq-icon {
    font-size: 18px;
    transition: all 0.3s ease;
    color: #00b894;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    max-height: 500px;
    padding: 25px 30px;
}

.faq-answer-content {
    color: #636e72;
    line-height: 1.7;
    font-size: 15px;
}

.faq-category {
    display: inline-block;
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Error State */
.error-message {
    background: linear-gradient(135deg, #ff7675, #e84393);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0;
    font-weight: 500;
}

.error-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #636e72;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state h3 {
    color: #2d3436;
    margin-bottom: 10px;
}

/* Search Results */
.search-results-info {
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid rgba(0, 184, 148, 0.2);
    color: #00b894;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.5s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

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

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-answer.active {
        padding: 20px;
    }

    .faq-container {
        padding: 0 15px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #00b894;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}