/* Extracted FAQ styles from membership.css */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-column h5 {
    color: #6f42c1;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6f42c1;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    position: relative;
}

/* Gradient underline for active FAQ item */
.faq-question::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    height: 3px;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-4px);
    border-radius: 2px;
    background: linear-gradient(90deg, #1287dc, #FFC107);
}

.faq-item.active .faq-question::before {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    display: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.2s ease, padding 0.2s ease;
}

.faq-item.active .faq-answer {
    display: block;
    max-height: 500px;
    opacity: 1;
    padding: 12px 20px 20px;
}

/* Chevron icon styling */
.faq-question .faq-chevron {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #6c757d;
    margin-left: 12px;
    font-size: 0.9rem;
}

.faq-item.active .faq-question .faq-chevron {
    transform: rotate(90deg);
    color: #1287dc;
}

/* Remove old arrow */
.faq-question::after {
    display: none;
}

@media (max-width: 768px) {
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
