.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.faq-header p {
    opacity: 0.8;
    font-size: 15px;
}

.faq-search {
    max-width: 450px;
    margin: 20px auto 0;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    background: rgba(255,255,255,0.1);
    color: white;
    outline: none;
}

.faq-search input::placeholder {
    color: rgba(255,255,255,0.6);
}

.faq-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
}

.faq-category {
    margin-bottom: 30px;
}

.faq-category-title {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border-left: 4px solid var(--blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category-title i {
    color: var(--blue);
    font-size: 18px;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item.active {
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(26, 86, 219, 0.1);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    transition: all 0.2s;
    gap: 15px;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-item.active .faq-question {
    background: #f0f7ff;
    color: var(--blue);
}

.faq-question-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-question-icon i {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.3s;
}

.faq-item.active .faq-question-icon {
    background: var(--blue);
}

.faq-item.active .faq-question-icon i {
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.faq-contact {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    margin-top: 40px;
}

.faq-contact h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.faq-contact p {
    color: #64748b;
    margin-bottom: 24px;
}

.faq-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-contact-buttons .btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-contact-buttons .btn-primary {
    background: var(--blue);
    color: white;
}

.faq-contact-buttons .btn-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
}

.faq-contact-buttons .btn-outline {
    background: white;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.faq-contact-buttons .btn-outline:hover {
    background: var(--blue);
    color: white;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 30px 20px;
    }
    
    .faq-header h1 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 13px;
    }
    
    .faq-contact {
        padding: 30px 20px;
    }
    
    .faq-contact-buttons {
        flex-direction: column;
    }
    
    .faq-contact-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}