/* Modern FAQ Styles */
.faq-section {
    padding: 100px 20px;
    background: transparent;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.faq-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    width: fit-content;
}

.faq-section .section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #3675ff;
    border-radius: 2px;
}

.faq-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px !important;
    color: #0f172a;
    line-height: 1.2;
    font-weight: 400;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Spacing between cards */
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: #3675ff;
    background: #f8fafc;
    box-shadow: 0 10px 25px -5px rgba(54, 117, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.faq-question span {
    font-size: 18px;
    font-weight: 500;
    color: #0f172a;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    padding-right: 24px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question span {
    color: #3675ff;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #64748b;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question svg {
    color: #3675ff;
}

/* Rotate icon on active */
.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #3675ff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 32px;
    /* Add padding when open */
}

.faq-answer p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 16px;
    font-family: var(--font-secondary, 'Roboto', sans-serif);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

    .faq-section h2 {
        font-size: 32px;
        margin-bottom: 40px !important;
    }

    .faq-question {
        padding: 20px 24px;
    }

    .faq-question span {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 24px;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 24px;
    }
}