/* FAQ Specific Styles */

.faq-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #4F46E5 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

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

.faq-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Search Bar */
.faq-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

/* Category Navigation */
.faq-nav-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
    sticky-top: 70px;
}

.category-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.category-btn:hover {
    border-color: #4F46E5;
    background: rgba(79, 70, 229, 0.05);
    color: #4F46E5;
}

.category-btn.active {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* FAQ Content */
.faq-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-category {
    margin-bottom: 4rem;
    animation: fadeIn 0.5s ease;
}

.faq-category.hidden {
    display: none;
}

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

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

.faq-items {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.faq-item.active {
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
}

/* FAQ Question */
.faq-question {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

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

.faq-item.active .faq-question {
    background: #f8f9fa;
    color: #4F46E5;
}

.question-text {
    flex: 1;
}

.question-icon {
    color: #9CA3AF;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .question-icon {
    transform: rotate(180deg);
    color: #4F46E5;
}

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

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

.answer-content {
    padding: 1.5rem;
    color: #555;
    line-height: 1.8;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 1.05rem;
}

.answer-content strong {
    color: #1a1a1a;
}

.answer-content a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
}

.answer-content a:hover {
    text-decoration: underline;
}

/* Contact CTA */
.contact-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #4F46E5 0%, #10B981 100%);
}

.cta-card {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 3rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-option i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-option h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: white;
}

.contact-option p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.contact-option .btn {
    background: white;
    color: #4F46E5;
    font-weight: 600;
}

.contact-option .btn:hover {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 2.5rem;
    }
    
    .faq-hero p {
        font-size: 1.1rem;
    }
    
    .category-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px;
        margin: 0 -20px;
        scroll-behavior: smooth;
    }
    
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .answer-content {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .faq-hero,
    .faq-nav-section,
    .contact-cta,
    .footer {
        display: none !important;
    }
    
    .faq-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .faq-answer {
        max-height: none !important;
    }
}