/* FAQ Page Specific Styles */
.faq-container {
    padding-top: var(--header-height);
}

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.faq-hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

#faq-search {
    width: 100%;
    padding: 20px 60px 20px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Category Navigation */
.faq-categories {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

.category-nav {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* FAQ Accordion */
.faq-accordion {
    padding: 100px 0;
    background-color: #f8fafc;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 20px;
    flex: 1;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Contact Support */
.contact-support {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.support-options .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
}

/* Search Highlight */
.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 2.5rem;
    }
    
    .faq-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .category-nav {
        justify-content: flex-start;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .support-options {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}