
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-search {
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i.fa-search {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8be9fd;
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 233, 253, 0.2);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #8be9fd;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 233, 253, 0.1);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.clear-search.visible {
    opacity: 1;
    visibility: visible;
}

.clear-search:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.faq-categories {
    margin-bottom: 2rem;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-tab:hover {
    background: rgba(139, 233, 253, 0.1);
    color: #8be9fd;
    transform: translateY(-2px);
}

.category-tab.active {
    background: rgba(139, 233, 253, 0.2);
    border-color: #8be9fd;
    color: #8be9fd;
    box-shadow: 0 4px 12px rgba(139, 233, 253, 0.2);
}

.faq-section {
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.faq-section.hidden {
    display: none;
}

.faq-section.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.faq-section-title {
    font-size: 1.5rem;
    color: #8be9fd;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 233, 253, 0.3);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 233, 253, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(139, 233, 253, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.faq-toggle i {
    position: absolute;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #8be9fd;
}

.faq-toggle .fa-plus {
    opacity: 1;
}

.faq-toggle .fa-minus {
    opacity: 0;
}

.faq-item.active .faq-toggle {
    background: rgba(139, 233, 253, 0.2);
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle .fa-plus {
    opacity: 0;
}

.faq-item.active .faq-toggle .fa-minus {
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.faq-answer a {
    color: #8be9fd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #50fa7b;
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.no-results h3 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.faq-contact {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 233, 253, 0.1), rgba(80, 250, 123, 0.1));
    border: 1px solid rgba(139, 233, 253, 0.2);
    border-radius: 1rem;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card i {
    font-size: 1.5rem;
    color: #8be9fd;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .category-tabs {
        gap: 0.25rem;
    }
    
    .category-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-actions .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .search-box input {
        padding: 0.875rem 2.5rem 0.875rem 2.5rem;
    }
    
    .faq-section-title {
        font-size: 1.25rem;
    }
    
    .contact-card {
        padding: 2rem 1rem;
    }
}