/* Synta-style Minimalist FAQ Section Styles */
.faq-section {
    width: 100%;
    max-width: 820px; /* Matched typical content width for better focus */
    margin: 0 auto;
    padding: 3rem 1rem 8rem; /* 3rem top gives breathing room below the divider line */
    display: flex;
    flex-direction: column;
    align-items: center;
}



.faq-header {
    text-align: center;
    margin-bottom: 5rem;
    width: 100%;
}

.faq-header h2 {
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.2;
    padding: 10px 0; /* Vertical padding prevents descenders (q, y) from being clipped */
}

.faq-header h2 span {
    color: rgba(255, 255, 255, 0.35); /* Grayed out "questions." as in Synta */
}

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Sleek separator line */
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Closing line */
}

.faq-item:hover {
    background: transparent; /* Keep it clean */
}

.faq-accordion {
    width: 100%;
    padding: 2rem 0; /* Padding matched to image spacing */
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 400; /* Regular weight for cleaner look */
    font-family: 'Public Sans', sans-serif;
}

.faq-accordion .bi-plus {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

.faq-item.active .bi-plus {
    transform: rotate(45deg); /* Optional visual feedback for open state */
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Public Sans', sans-serif;
}

.faq-item.active .faq-content {
    padding-top: 0.25rem;   /* Small gap between question and answer */
    padding-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 2.5rem;
    }
    .faq-accordion {
        font-size: 1.05rem;
        padding: 1.5rem 0;
    }
}
