.faq-section {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background: #f8fafc;
border-radius: 8px;
border: 1px solid #e2e8f0;
}
.faq-section h2 {
color: #1e293b;
font-size: 20px;
font-weight: 700;
margin: 0 0 20px 0;
text-align: center;
}
.faq-item {
border: 1px solid #e2e8f0;
border-radius: 6px;
background: #ffffff;
margin-bottom: 8px;
}
.faq-item:last-child {
margin-bottom: 0;
}
.faq-question {
color: #1e293b;
font-size: 15px;
font-weight: 600;
margin: 0;
padding: 14px 18px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
background: #ffffff;
}
.faq-question:hover {
background: #f1f5f9;
}
.faq-question::after {
content: '+';
font-size: 18px;
font-weight: 400;
color: #3b82f6;
margin-left: 10px;
transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
content: '−';
transform: rotate(180deg);
}
.faq-answer {
display: none;
color: #475569;
line-height: 1.6;
font-size: 14px;
margin: 0;
padding: 14px 18px;
background: #fafafa;
border-top: 1px solid #e2e8f0;
}
.faq-item.active .faq-answer {
display: block;
} @media (max-width: 768px) {
.faq-section {
margin: 20px 15px;
padding: 15px;
}
.faq-section h2 {
font-size: 17px;
text-align: left;
margin-bottom: 15px;
}
.faq-item {
margin-bottom: 6px;
}
.faq-question {
font-size: 14px;
padding: 12px 15px;
}
.faq-answer {
font-size: 13px;
padding: 12px 15px;
}
}