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

.faq-categories {
    margin-bottom: 30px;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.faq-categories a {
    display: inline-block;
    padding: 8px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.faq-categories a:hover {
    background: #17479c;
    color: #fff;
    border-color: #17479c;
}

.faq-categories a.active {
    background: #17479c;
    color: #fff;
    border-color: #17479c;
}

.faq-content {
    background: #fff;
    border-radius: 8px;
    padding: 10px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 20px 25px;
    background: #fafafa;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
}

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

.faq-question.active {
    background: #17479c;
    color: #fff;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    padding: 20px 25px;
    background: #fff;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    display: block;
}

.faq-answer strong {
    color: #333;
    font-weight: 600;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
}

.faq-answer table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

.faq-answer table th,
.faq-answer table td {
    padding: 10px 15px;
    border: 1px solid #eee;
    text-align: left;
}

.faq-answer table th {
    background: #f8f8f8;
    font-weight: 600;
    color: #333;
}

.faq-answer table tr:nth-child(even) {
    background: #fafafa;
}

.faq-answer a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: #17479c;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.faq-answer a:hover {
    background: #0f3470;
}

.related-faq {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.related-faq h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-left: 30px;
}

.related-faq h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background: #17479c;
    border-radius: 3px;
}

.faq-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.faq-links a {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.faq-links a::before {
    content: '❓';
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.faq-links a:hover {
    background: #f0f4fc;
    color: #333;
    border-color: #17479c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 71, 156, 0.15);
}

.faq-links a:hover::before {
    content: '💡';
}

.faq-more {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #17479c 0%, #2a5cb8 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-more:hover {
    background: #0f3470;
}

@media (max-width: 768px) {
    .faq-categories a {
        display: block;
        text-align: center;
        margin-right: 0;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-answer table th,
    .faq-answer table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .faq-links {
        grid-template-columns: 1fr;
    }
    
    .related-faq {
        padding: 20px;
    }
}