.faq-container {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 20px;
}

.faq-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category {
    background: rgba(5, 6, 3, 0.7);
    border: 1px solid rgba(5, 6, 3, 0.4);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category:hover,
.faq-category.active {
    background: #5A6DB3;
    border-color: #5A6DB3;
}

.faq-search {
    position: relative;
    margin-bottom: 30px;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    background: rgba(5, 6, 3, 0.6);
    border: 1px solid rgba(5, 6, 3, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.faq-search input:focus {
    outline: none;
    border-color: #5A6DB3;
}

.faq-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(5, 6, 3, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(5, 6, 3, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(5, 6, 3, 0.5);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(5, 6, 3, 0.05);
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5A6DB3;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

.faq-question h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #5A6DB3;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 20px;
    display: flex;
    gap: 15px;
}

.faq-answer-text {
    color: #b3b3b3;
    line-height: 1.6;
}

.faq-answer-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.faq-answer-text li {
    margin-bottom: 5px;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(5, 6, 3, 0.5);
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-heading {
    color: #fff;
    font-size: 2.5rem;
    margin: 50px 0 50px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.faq-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, rgba(77, 127, 255,0) 0%, #5A6DB3 50%, rgba(77, 127, 255,0) 100%);
}

@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
    }

    .faq-category {
        width: 100%;
        text-align: center;
    }

    .faq-question-content {
        flex: 1;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-heading {
        margin: 70px 0 30px;
        font-size: 2rem;
    }
}

.faq-answer-text a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin: 4px 0;
}

.faq-answer-text a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.faq-answer-text a.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin: 6px 4px;
    border-radius: 6px;
    background-color: rgba(25, 25, 25, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
}

.faq-answer-text a.social-link:hover {
    background-color: rgba(25, 25, 25, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-answer-text a.social-link i {
    font-size: 18px;
}